Visual inspection device for square shell

By designing a visual detection device of multiple lighting units and cameras, combined with image processing, the problem of low detection accuracy of corner curved surface defects in the secondary battery case in the prior art is solved, and high-precision detection of the square case is achieved.

CN119086553APending Publication Date: 2024-12-06ENSCAPE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311750595.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-12-07
Filing Date
2023-12-19
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing secondary battery case appearance detection device is difficult to accurately detect curved surface defects at the corners of the case, resulting in low detection accuracy.

Method used

A visual detection device for a square shell is designed, and a plurality of lighting units and cameras are used to acquire images of the shell through reflectors, and a detection image is generated using image processing components, so that planes, edges, and three-dimensional defects can be detected.

Benefits of technology

It significantly improves the detection accuracy of the corners of the shell and can accurately judge the appearance defects of the shell, including plane, edge and three-dimensional defects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119086553A_ABST
    Figure CN119086553A_ABST
Patent Text Reader

Abstract

The present invention relates to a visual inspection device for a square housing, which can effectively and accurately acquire images of planes and corners of the square housing, and can generate a 2.5 D image based on the acquired images to determine whether there is a defect, thereby improving inspection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The research related to the present invention was conducted with the support of the Small and Medium Enterprise Technology Innovation Development under the Ministry of SMEs and Startups (Research Project Name: Development of AI Visual Inspection System for Prismatic Battery CAN·CAP Components, Research Project Number: RS-2023-00277033). Technical Field

[0002] The invention relates to a visual inspection device for judging defects of a part including corners of a square shell. Background Art

[0003] In the process of producing secondary batteries, a variety of detection methods are used to determine whether the shell used to wrap the outside is normal or defective. Among them, the visual inspection device is a process of obtaining an image of an object to determine defects in appearance. Small defects in the shell of a secondary battery may become major flaws in the finished product, so the defects of the shell should be detected more precisely and accurately.

[0004] Korean Patent No. 1287464 discloses such a detection device for a housing of a secondary battery. However, such a prior art has a problem that it is difficult to detect defects because the corners of the housing of the secondary battery are three-dimensional curved surfaces.

[0005] Prior Art Literature

[0006] Patent document: Korean authorized patent No. 1287464 Summary of the invention

[0007] Technical issues

[0008] An object of the present invention is to provide a visual inspection device for a square case, which is used to solve the problem of low accuracy of the existing appearance inspection device for a secondary battery case.

[0009] Technical Solution

[0010] As a technical solution for solving the above-mentioned technical problems, according to the present invention, a visual inspection device for a square shell can be provided, which includes: a placement portion for placing a square shell for a secondary battery; a first lighting portion, which can irradiate light to the upper side of the square shell placed on the placement portion; a second lighting portion, which irradiates light from the periphery of the square shell toward the square shell; a reflector, which is concave relative to the square shell and is formed with a center hole; and a camera, which can obtain an image of the square shell including corners through the center hole.

[0011] On the other hand, the second lighting unit can emit surface light, and the height of the lowest point of the light-emitting surface is lower than the height of the upper end of the square shell mounted on the mounting portion.

[0012] In addition, the second lighting unit can irradiate light from outside the angle of view of the camera.

[0013] On the other hand, the height of the highest point of the light emitting surface may be higher than the height of the upper end of the square shell mounted on the mounting portion.

[0014] On the other hand, the reflector may be disposed on the upper side of the second lighting unit.

[0015] In addition, the second lighting unit may include a plurality of lighting units spaced apart in the up-down direction.

[0016] On the other hand, the plurality of lighting units can operate independently of each other.

[0017] Furthermore, the first lighting unit can emit light coaxially with the optical axis of the camera.

[0018] In addition, a beam splitter may be further included, wherein the beam splitter is capable of separating the optical path of the camera from the optical path of the first illumination unit.

[0019] On the other hand, the second lighting unit is configured in a cylindrical shape.

[0020] On the other hand, a control unit may be further included, the control unit being capable of controlling the second lighting unit, the first lighting unit, and the camera, and performing control so as to acquire an image according to activation of the first lighting unit.

[0021] On the other hand, the camera can acquire an image showing at least two of the corners of the square housing through one shot.

[0022] On the other hand, the control unit can select the lighting unit to be activated according to the height of the upper end of the square shell placed on the placement portion.

[0023] In addition, at least a portion of the upper end of the square housing may be processed to be rounded.

[0024] On the other hand, it may further include an image processing unit, which can combine multiple images acquired by the camera to generate a detection image, and determine whether there is a defect in the appearance of the shell based on the detection image.

[0025] In addition, the image processing unit can detect planar defects and three-dimensional defects of the plane, corners, and vertices of the shell.

[0026] In addition, the control unit obtains a captured image of the square shell by changing the position where the second lighting unit emits light while the first lighting unit irradiates light, and the image processing unit can generate a detection image based on the captured image to determine the three-dimensional defect.

[0027] Beneficial Effects

[0028] The visual inspection device for a square shell of the present invention can significantly improve the inspection accuracy of the corners of the shell. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 1 is a diagram showing a square housing that is an object of appearance inspection in the present invention.

[0030] Figure 2 This is a block diagram showing the structure of a visual inspection device for a square casing according to an embodiment of the present invention.

[0031] Figure 3 It is a three-dimensional diagram of a visual inspection device of a square shell according to an embodiment of the present invention.

[0032] Figure 4 It is an exploded perspective view of a visual inspection device of a square shell according to an embodiment of the present invention.

[0033] Figure 5 It is a cross-sectional view of a visual inspection device of a square shell according to an embodiment of the present invention.

[0034] Figure 6 It is a working state diagram of a visual inspection device of a square shell for acquiring inspection images.

[0035] Figure 7a , Figure 7b , Figure 7c as well as Figure 7d It is a detailed working state diagram of a visual inspection device of a square shell for acquiring inspection images.

[0036] Figure 8 This is an enlarged view showing the path of light reflected by the corners of a square housing.

[0037] Fig. 9 This is a conceptual diagram showing the concept of generating a detection image by an image processing unit according to one embodiment of the present invention.

[0038] Fig.10 This is a conceptual diagram showing that the image processing unit detects a defect in a corner of a casing.

[0039] Fig.11 1 is a perspective view showing a visual inspection device with a square housing according to another embodiment of the present invention.

[0040] Fig.12 The inspection image is obtained by photographing a square shell using a visual inspection device for a square shell according to another embodiment of the present invention.

[0041] Fig.13a This is a front view showing a lighting module of a visual inspection device with a square casing according to another embodiment of the present invention.

[0042] Fig.13b and Fig.13c It is a diagram showing a modified example of a lighting module in a visual inspection device with a square casing according to another embodiment of the present invention.

[0043] Reference numerals

[0044] 1: Visual inspection device for square shell

[0045] 1000: Square shell 1100: Wall

[0046] 1200: Corners 1300: Vertices

[0047] 10: Resettlement Department

[0048] 100: first lighting unit 200: second lighting unit

[0049] 210: first lighting unit 220: second lighting unit

[0050] 230: third lighting unit 280: eighth lighting unit

[0051] 300: reflector 400: fixed box

[0052] 600: beam splitter 700: camera

[0053] 800: Control unit 900: Image processing unit

[0054] I0: captured image Id: detected image

[0055] f: Defect DETAILED DESCRIPTION

[0056] Hereinafter, with reference to the accompanying drawings, the visual inspection device of the square shell of an embodiment of the present invention is described in detail. The names of the various components in the following description of the embodiment can be replaced by other names in the art for calling. However, as long as they are similar or identical in function, even if a deformed embodiment is adopted, it can be regarded as an equivalent structure. In addition, the figure marks marked on each component are for ease of description. However, the contents shown in the figures recorded with these figure marks do not limit each component to the scope in the figure. Similarly, even if an embodiment in which a part of the structure in the figure is deformed is adopted, as long as it is similar or identical in function, it can be regarded as an equivalent structure. In addition, the description of the components that a technician in the field considers to be included is omitted.

[0057] Figure 1 1 is a diagram showing a square housing 1000 that is a target of appearance inspection in the present invention.

[0058] Reference Figure 1In the present invention, the square housing 1000 to be detected may be prismatic. The square housing 1000 may have a space formed inside by a plurality of walls 1100 to accommodate the anode and cathode, etc. In addition, the square housing 1000 may be in a state where a portion of the plurality of walls 1100 is omitted so that one side is open.

[0059] In the present invention, the main detection area may be the surface observed from the upper side, the edge 1200 observed from the upper side, and the vertex 1300 which is the connection point of the plurality of edges 1200 .

[0060] Figure 2 1 is a block diagram showing the structure of a visual inspection device 1 of a square housing 1000 according to an embodiment of the present invention.

[0061] Reference Figure 2 The visual inspection device 1 of the square housing 1000 of the present invention may include a placement portion 10 , a first lighting portion 100 , a second lighting portion 200 , a camera 700 , a control portion 800 and an image processing portion 900 .

[0062] The installation part 10 can install the square housing 1000 as the detection object. The square housing 1000 sent from the outside can be installed on the installation part 10.

[0063] The second lighting unit 200 can irradiate light at various angles to the square housing 1000. The second lighting unit 200 may include a plurality of lighting units. Each lighting unit such as the first lighting unit 210, the second lighting unit 220, and the third lighting unit 230 may be controlled by the control unit 800 described later and operate independently.

[0064] The second lighting unit 200 can emit light to the square housing 1000 through various lighting units.

[0065] The first lighting unit 100 can irradiate light from the upper side of the square housing 1000. The first lighting unit 100 can irradiate light coaxially with a camera 700 described later.

[0066] The camera 700 can acquire an image vertically above the square housing 1000. The camera 700 can capture the plane of the square housing 1000 vertically above the square housing 1000, and can capture at least two of the corners 1200 in addition to the plane. That is, at least two corners 1200 can be displayed in one captured image Io.

[0067] The control unit 800 can control the second lighting unit 200, the first lighting unit 100, the camera 700, and the image processing unit 900 described later. The control unit 800 can start the plurality of lighting units arranged in the second lighting unit 200 sequentially or in a predetermined order, and simultaneously control to acquire an image from the camera 700. In addition, the control can be performed to synchronize the activation of the first lighting unit 100 to acquire an image from the camera 700.

[0068] The image processing unit 900 can generate a detection image based on the plurality of captured images Io acquired by the camera 700. The detection image can detect whether the square housing 1000 has defects, and transmit the result to the control unit 800.

[0069] Below, refer to Figure 3 7 , the structure and function of the visual inspection device 1 of the square housing 1000 of the present invention are described in detail.

[0070] Figure 3 is a three-dimensional diagram of a visual inspection device 1 of a square housing 1000 according to an embodiment of the present invention. Figure 4 is an exploded perspective view of a visual inspection device 1 of a square housing 1000 according to an embodiment of the present invention. Figure 5 4 is a cross-sectional view of a visual inspection device 1 of a square housing 1000 according to an embodiment of the present invention.

[0071] As described above, the visual inspection device 1 of the square housing 1000 of the present invention may include a placement portion 10 , a second lighting portion 200 , a first lighting portion 100 , a reflector 300 , a camera 700 , a beam splitter 600 , a fixing box 400 , and a control portion 800 .

[0072] As described above, the placement part 10 can place the square housing 1000 sent from the outside. The placement part 10 can place square housings 1000 of various sizes. At this time, a structure capable of adjusting the height of the placement part 10 can be further included so that the corners 1200 of the housing are located at a height suitable for detection.

[0073] The second lighting unit 200 may surround the square housing 1000 from the side with the placement portion 10 as the center. The second lighting unit 200 may have a shape arranged along the side of the cylinder. The lower end of the light-emitting surface of the second lighting unit 200 may be set at a position lower than the upper end of the square housing 1000 placed on the placement portion 10, and the upper end of the light-emitting surface may be set at a position higher than the upper end of the square housing 1000.

[0074] The second lighting unit 200 may be cylindrical and irradiate light from its periphery to the square housing 1000 when the square housing 1000 is placed on the placement unit 10. The second lighting unit 200 may have a predetermined height. The second lighting unit 200 may include a plurality of lighting units arranged in the up-down direction. Each lighting unit may be configured in a ring shape that irradiates light inward.

[0075] The reflector 300 can keep the background brightness of the square housing 1000 at a specified level. The reflector 300 can be arranged on the upper side of the second lighting unit 200, and can be recessed relative to the housing placed on the placement unit 10. That is, the reflector 300 can be dome-shaped, and an opening is formed in the center portion for the camera 700 to capture images. The focus generated by the reflector 300 can be formed on the square housing 1000 or at a position roughly adjacent to it. The inner side of the reflector 300 can be matte. That is, the inner surface of the reflector 300 can be matte treated with a small amount of reflection. The reflector 300 can make the light reflected by the square housing 1000 be reflected again in a disordered manner to improve the illumination around the square housing 1000.

[0076] The fixing box 400 may be disposed on the upper side of the opening of the reflector 300. The fixing box 400 has a space formed inside and a beam splitter 600 disposed inside. In addition, the camera 700 may be disposed on the upper side of the fixing box 400. The fixing box 400 may be open at the upper and lower parts, and the direction of the side part combined with the first lighting unit 100 may be open.

[0077] The first lighting unit 100 is disposed on the side of the fixed box 400 and can irradiate light toward the beam splitter 600 inside the fixed box. The light irradiated from the first lighting unit 100 is reflected by the beam splitter 600 and irradiates toward the square housing 1000. The light reflected by the square housing 1000 can be received by the camera 700 through the beam splitter 600. The first lighting unit 100 can also perform surface light emission similar to the second lighting unit 200.

[0078] On the other hand, although not shown, the placement unit 10 may be disposed on a base. In addition, the second lighting unit 200, the first lighting unit 100, the reflector 300, and the camera 700 may be combined and fixed on a separate frame. In addition, the visual inspection device 1 of the square housing 1000 may use a conveying unit to convey the square housing 1000, and may further include a separate frame or a plurality of driving elements capable of adjusting the spacing in the vertical direction with the conveying unit to irradiate light from an appropriate position.

[0079] The control unit (not shown) may be disposed in a separate space and may control the second lighting unit 200, the first lighting unit 100 and the camera 700. In addition, the image processing unit (not shown) may be disposed outside to receive photographing information from the camera 700 and perform image processing.

[0080] Figure 6 It is a working state diagram of the visual inspection device 1 of a square shell for acquiring the inspection image Id.

[0081] Reference Figure 6 The visual inspection device 1 of the square shell 1000 of one embodiment of the present invention can irradiate the plane of the square shell 1000 with light from the second lighting unit 200 and the reflector 300, and irradiate light from the first lighting unit 100 to obtain a captured image Io.

[0082] On the other hand, the corner 1200 is partially curved, and the plurality of lighting units 210, 220, 230, 240, 250, 260, 270, and 280 of the second lighting unit 200 arranged in the up-down direction are selectively activated so that an appropriate amount of light reflected by the corner 1200 is received by the camera 700. The detection image Id can be generated based on an image obtained in such a manner that the second lighting unit 200 further irradiates light while the first lighting unit 100 irradiates light to the square housing 1000.

[0083] Figure 7a , Figure 7b , Figure 7c as well as Figure 7d 2 is a diagram showing the working state of the second lighting unit 200 .

[0084] Figure 7a , Figure 7b , Figure 7c as well as Figure 7d The figure shows a state where the first lighting unit 210, the second lighting unit 220, the third lighting unit 230 are arranged from the upper side in the second lighting unit 200, and finally the eighth lighting unit 280 is arranged. A plurality of images captured each time the activated lighting units in the second lighting unit 200 are rapidly switched can be used to form a photometric image.

[0085] Reference Figure 7a , when the coaxial illumination of the first illumination unit 100 is irradiated to the square housing 1000, the first illumination unit 210 disposed at the uppermost side of the second illumination unit 200 performs surface emission, so the light irradiated to the corner 1200 of the square housing 1000 in the illumination light is reflected toward the camera 700. At this time, the control unit can activate the camera 700 at the same time as the first illumination unit 210 is activated to obtain the captured image Io. In addition, the remaining light emitted from the first illumination unit 210 can be irradiated to the surface of the housing, or irradiated to the reflector 300 and reflected.

[0086] Reference Figure 7bAfter that, the control unit may start the second lighting unit 220 directly below after the first lighting unit 210 is started, and start the camera 700 to obtain the captured image Io.

[0087] Reference Figure 7c After that, the control unit may start the third lighting unit 230 located directly below the second lighting unit 220, and start the camera 700 to obtain the captured image Io.

[0088] Reference Figure 7d , showing that the control unit Figure 7c After that, the fourth to seventh lighting units 240, 250, 260, 270 are sequentially activated, and finally the eighth lighting unit 280 is activated. The control unit may activate the camera 700 to obtain the captured image Io while activating the eighth lighting unit 280.

[0089] On the other hand, the activation of the second lighting unit 200 and the acquisition of the captured image Io can be implemented when the first lighting unit 100 is turned on, or when the first lighting unit 100 is turned off.

[0090] Figure 8 FIG. 1 is an enlarged view showing the path of light reflected by the corner 1200 of the square housing 1000 .

[0091] Reference Figure 8 , the corners 1200 of the housing may be rounded during the manufacturing process and form a curved surface. In particular, when the camera 700 is used to obtain an image from the upper side, it is difficult to obtain a portion of the curved surface, i.e., Figure 8 To obtain an image of 0 to -45 degrees in the image, the first lighting unit 210, the second lighting unit 220, the third lighting unit 230, the fourth lighting unit 240, the fifth lighting unit 250, the sixth lighting unit 260, the seventh lighting unit 270, and the eighth lighting unit 280 in the second lighting unit 200 irradiate light toward the corner 1200 at different angles. At this time, although the reflected light is reflected at different angles, it is possible to ensure that the camera 700 receives an appropriate amount of light. As an example, when the lighting unit located on the upper side is activated, the angle formed by the curved surface of the corner 1200 and the optical axis is close to 90 degrees, and when the lighting unit located on the lower side is activated, the angle formed by the curved surface of the corner 1200 and the optical axis is close to 0 degrees. In addition, as each lighting unit is activated, the position where the axis of the irradiated light is reflected also changes slightly. This change in the optical axis of the second lighting unit 200 and the change in the position where the optical axis is reflected can make it easier to detect the overall appearance of the corner 1200.

[0092] As described above, in the present invention, the control of the lighting unit of the second lighting unit 200 and the control of the camera can be implemented in a state where the first lighting unit 100 is activated, or can be implemented independently of the first lighting unit 100. That is, the control unit can further activate the second lighting unit 200 when irradiating light to the square housing 1000 using the first lighting unit 100 and the reflector 300 to obtain a plurality of captured images Io.

[0093] Fig. 9 This is a conceptual diagram showing the concept of generating a detection image Id by an image processing unit according to one embodiment of the present invention.

[0094] Fig. 9 For the sake of explanation, the captured image Io is shown in a manner in which a corner 1200 portion is cut out.

[0095] The image processing unit can obtain the detection image Id from these captured images Io. The image processing unit synthesizes the eight captured images Io obtained by changing the light emitting position of the second lighting unit 200 when the first lighting unit 100 is turned on, thereby obtaining a detection image Id.

[0096] Fig.10 This is a conceptual diagram showing that the image processing unit detects a defect in a corner of a casing.

[0097] For ease of explanation, Fig.10 A shell having a scratch defect along the direction in which the corner 1200 is formed and a detection image Id obtained by photographing the shell.

[0098] Reference Fig.10 , the detection image Id can be obtained by using the light of the second lighting unit 200 under the state of light irradiation of the first lighting unit 100 and the reflector 300. The image processing unit can generate the detection image Id based on the acquired captured image, so that it is easy to detect planar defects such as contamination or stains on the outer surface of the shell. In addition, the detection image Id is a so-called 2.5D image. Therefore, the image processing unit can easily detect three-dimensional defects such as dents or scratches based on the detection image Id.

[0099] Below, refer to Figure 11 to Figure 13c , a visual inspection device of a square shell according to another embodiment of the present invention is described. Another embodiment of the present invention may include components such as a reflector 300, a fixing box 400, and a camera 700 in the same manner as the above-mentioned embodiment. Hereinafter, descriptions of the same components are omitted, and different components are described to avoid repeated descriptions.

[0100] Fig.11 1 is a perspective view showing a visual inspection device with a square housing according to another embodiment of the present invention.

[0101] Reference Fig.11 In another embodiment of the visual inspection device 1' of the square shell of the present invention, the second lighting unit 200 can be composed of plate-shaped lighting modules 201, 202, 203, and 204. A plurality of plate-shaped lighting modules 201, 202, 203, and 204 can be arranged at a predetermined angle toward the inner space. As an example, each lighting module 201, 202, 203, and 204 can be arranged at intervals of 90 degrees along the circumference. At this time, each lighting module can be arranged to be parallel to the corners of the square shell placed in the placement portion.

[0102] Fig.12 The inspection image is obtained by photographing a square shell using a visual inspection device for a square shell according to another embodiment of the present invention.

[0103] Reference Fig.12 , shows an image obtained by starting the first lighting unit and the second lighting unit when the square battery is placed in the placement unit. At this time, the second lighting unit can irradiate light from four directions. In addition, each lighting module is composed of multiple channels, so that light can be irradiated toward the square housing from various angles. The detection image finally generated in the image processing unit is a 2.5D image that highlights the three-dimensional shape.

[0104] Fig.13a This is a front view showing a lighting module of a visual inspection device with a square casing according to another embodiment of the present invention.

[0105] Reference Fig.13a , each plate-shaped lighting module 201, 202, 203, 204 may include a plurality of lighting units 210, 220, 230, 240, 250, 260, 270, 280 that can work independently. In this embodiment, the plurality of lighting units 210, 220, 230, 240, 250, 260, 270, 280 may be started sequentially from top to bottom or from bottom to top as described above, and an image is acquired by a camera, and a detection image is acquired based on the plurality of captured images.

[0106] Fig.13b and Fig.13c It is a diagram showing a modified example of a lighting module in a visual inspection device with a square casing according to another embodiment of the present invention.

[0107] Reference Fig.13bIn the present invention, the plate-shaped lighting modules 201, 202, 203, 204 may include a plurality of lighting units 210, 220, 230, 240, 250, 260, 270, 280 extending in the vertical direction. The plurality of lighting units 210, 220, 230, 240, 250, 260, 270, 280 may be arranged in the left-right direction on the lighting modules 201, 202, 203, 204. In this variant, the plurality of lighting units 210, 220, 230, 240, 250, 260, 270, 280 may be started in sequence from left to right or from right to left, and the camera may obtain the captured image of the square shell.

[0108] Reference Figure 1 3c, the surface of each lighting module 201, 202, 203, 204 facing the square housing can be divided into four parts, and lighting units 210, 220, 230, 240 can be respectively configured in the areas divided into four parts. Each lighting unit 210, 220, 230, 240 can be turned on in a predetermined order, for example, in a clockwise direction or a counterclockwise direction, and the camera obtains a captured image of the square housing.

[0109] As described above, the visual inspection device for a square shell of the present invention can effectively and accurately obtain images of the plane and corners of the square shell. In addition, a 2.5D image can be generated based on the obtained image to determine whether there are defects, thereby improving the inspection accuracy.

Claims

1. A visual inspection device for a square shell, It is characterized in that include: A placement part, used for placing a square housing for a secondary battery; A first lighting unit, used for irradiating light to the upper side of the square housing placed on the placement portion; A second lighting unit, irradiating light from the periphery of the square shell toward the square shell; a reflector, which is concave relative to the square shell and has a central hole; and The camera acquires an image of the square shell including its corners through the middle hole.

2. The visual inspection device for a square housing according to claim 1, It is characterized in that The second lighting portion performs surface light emission, and the height of the lowest point of the light emitting surface is lower than the height of the upper end of the square shell placed on the placement portion.

3. The visual inspection device for a square housing according to claim 2, It is characterized in that The second lighting unit irradiates light from outside the viewing angle of the camera.

4. The visual inspection device for a square housing according to claim 3, It is characterized in that The height of the highest point of the light emitting surface is higher than the height of the upper end of the square shell placed on the placement portion.

5. The visual inspection device for a square housing according to claim 4, It is characterized in that The reflector is arranged on the upper side of the second lighting unit.

6. The visual inspection device for a square housing according to claim 5, It is characterized in that The second lighting unit includes a plurality of lighting units spaced apart in a vertical direction.

7. The visual inspection device for a square housing according to claim 6, It is characterized in that The plurality of lighting units operate independently of each other.

8. The visual inspection device for a square housing according to claim 7, It is characterized in that The first lighting unit irradiates light coaxially with the optical axis of the camera.

9. The visual inspection device for a square housing according to claim 8, It is characterized in that The device further includes a beam splitter capable of separating the optical path of the camera from the optical path of the first illumination unit.

10. The visual inspection device for a square housing according to claim 9, It is characterized in that The second lighting unit is configured in a cylindrical shape.

11. The visual inspection device for a square housing according to claim 7, It is characterized in that The device further includes a control unit that controls the second lighting unit, the first lighting unit, and the camera, and performs control to acquire an image in response to activation of the first lighting unit.

12. The visual inspection device for a square housing according to claim 11, It is characterized in that The camera can acquire an image showing at least two corners of the square housing through one shooting.

13. The visual inspection device for a square housing according to claim 12, It is characterized in that The control unit selects the lighting unit to be activated according to the height of the upper end of the square shell placed on the placement part.

14. The visual inspection device for a square housing according to claim 13, It is characterized in that At least a portion of the upper end of the square shell is processed into a rounded corner.

15. The visual inspection device for a square housing according to claim 14, It is characterized in that The device further includes an image processing unit, which combines a plurality of images acquired by the camera to generate a detection image, and determines whether there is a defect in the appearance of the shell based on the detection image.

16. The visual inspection device for a square housing according to claim 15, It is characterized in that The image processing unit can detect planar defects and three-dimensional defects of the plane, corners, and vertices of the shell.

17. The visual inspection device for a square housing according to claim 16, It is characterized in that The control unit acquires a captured image of the square housing by changing the light emitting position of the second lighting unit while the first lighting unit is irradiating light. The image processing unit generates a detection image based on the captured image to determine a three-dimensional defect.