Visual inspection mechanism for battery box

By designing a visual detection mechanism for the battery box, using the transmission mechanism, light source mechanism and camera detection mechanism, the problems of high detection cost and slow detection process in the prior art are solved, and a more efficient and convenient detection process is achieved.

CN222887673UActive Publication Date: 2025-05-20ZHEJIANG JUNRUI INTELLIGENT EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421397438.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2025-05-20
Estimated Expiration
2034-06-18

AI Technical Summary

Technical Problem

In the prior art, the appearance detection of the battery case requires the help of a robotic arm, which leads to high costs, slow detection process and may damage the surface of the battery case.

Method used

A visual detection mechanism for a battery box is designed, including a transmission mechanism, a light source mechanism and a camera detection mechanism. Through the transmission mechanism, the battery box, the light source mechanism lighting, and the camera detection mechanism taking pictures, reducing the use of the robotic arm.

Benefits of technology

It improves the convenience and speed of battery box detection, reduces the detection cost, and reduces the influence of external light sources through light shields.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222887673U_ABST
    Figure CN222887673U_ABST
Patent Text Reader

Abstract

The visual inspection mechanism comprises a conveying mechanism used for conveying a product to be detected, a light source mechanism used for illumination and a camera detection mechanism used for detecting the surface of the product, and the light source mechanism and the camera detection mechanism are arranged close to the conveying mechanism. Enabling the light source mechanism to irradiate the to-be-detected surface of the to-be-detected product on the conveying mechanism, and enabling the camera detection mechanism to shoot the to-be-detected surface of the to-be-detected product; the device further comprises a light shielding body, and the light source mechanism is located between the product to be detected and the light shielding body. The battery box detection method has the effects of improving the convenience of the battery box detection process and reducing the detection cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of appearance detection equipment technology, and in particular to a visual detection mechanism for a battery box. Background Art

[0002] A battery box is a carrier for new energy vehicle battery modules, which plays a role in protecting the battery and can be regarded as the "skeleton" of the battery. The battery box plays a key role in strengthening the battery position, reducing external impacts, and maintaining battery safety. Generally, the battery box is formed by a metal material with good processing plasticity through any one of die-casting, stamping, and extrusion methods. After the battery box is produced, it is necessary to perform an appearance inspection on its shell to pick out defective products.

[0003] In the prior art, the appearance inspection of the battery box needs to pick up the battery box by a robotic arm for rotation inspection. However, the cost of the robotic arm is relatively high, and the processes of picking up, rotating, and putting down the robotic arm not only cause scratches on the surface of the battery box, but also make the inspection process slower. Utility Model Content

[0004] In order to improve the convenience of the battery box inspection process and reduce the inspection cost, this application provides a visual detection mechanism for a battery box.

[0005] The visual detection mechanism for a battery box provided by this application adopts the following technical solution:

[0006] A visual detection mechanism for a battery box includes a conveying mechanism for conveying the product to be detected, a light source mechanism for lighting, and a camera detection mechanism for detecting the surface of the product. The light source mechanism and the camera detection mechanism are arranged near the conveying mechanism, so that the light source mechanism irradiates the surface to be detected of the product to be detected on the conveying mechanism, and the camera detection mechanism takes a picture of the surface to be detected of the product to be detected; it also includes a light shielding body, so that the light source mechanism is located between the product to be detected and the light shielding body.

[0007] By adopting the above technical solution, the battery box is conveyed to the area to be detected through the conveying mechanism. The light source mechanism irradiates the surface to be detected of the battery box, and the camera detection mechanism takes a picture of the surface to be detected of the battery box. The light source mechanism illuminates the surface to be detected of the battery box, which is convenient for the camera detection mechanism to take pictures accurately. The conveying mechanism conveys the battery box to be detected to the area to be detected at regular intervals, ensuring the detection rate of the visual detection mechanism. Moreover, the battery box on the conveyor belt is detected by the positioned light source mechanism and camera detection mechanism, reducing the use of the robotic arm, improving the convenience of visual detection, and also reducing the cost of visual detection. By using the light shielding body to block the backlight of the light source mechanism, the influence of external light sources on the detected battery box is reduced, thereby ensuring the detection rate of the battery box.

[0008] Preferably, a sliding mechanism is further included. The sliding mechanism includes a slider and a sliding table. The slider cooperates with the sliding table, and the light source mechanism and / or the camera detection mechanism are connected to the sliding table.

[0009] By adopting the above technical solution, the position of the light source mechanism and / or the camera detection mechanism can be changed through the sliding mechanism, so that the same light source mechanism and camera detection mechanism can quickly realize illumination or photographing at different positions. In this way, the vision detection mechanism can not only take pictures and detect different positions of the battery box housing, but also adjust the position of the light source mechanism and / or the camera detection mechanism, and its own position can adapt to products to be detected with different sizes.

[0010] Preferably, the camera detection mechanism includes a camera component, a rotating component and a first connection component. The rotating component is connected to the sliding table. One end of the first connection component is connected to the rotating component, and the other end is connected to the camera component; the first connection component can be a clamping component or a sliding component.

[0011] By adopting the above technical solution, the camera component can slide in the vertical direction through the sliding mechanism, can also rotate the angle through the rotating component, and can also adjust the position of the camera component in the horizontal direction through the first connection component. In this way, the detection range and freedom degree of the camera component are increased.

[0012] Preferably, the light source mechanism includes a light source component and a second connection component. One end of the second connection component is connected to the sliding table, and the other end is connected to the light source component; the second connection component can be a clamping component or a sliding component.

[0013] By adopting the above technical solution, the light source mechanism can not only slide in the vertical direction through the sliding mechanism, but also adjust the position and freedom degree of the light source mechanism in the horizontal direction through the second connection component.

[0014] Preferably, the light source mechanism can be divided into a bottom light source mechanism and a side light source mechanism according to different installation positions. The bottom light source mechanism is installed parallel to the outer surface to be detected of the product. The side light source mechanism is located above the light source mechanism, and the side light source mechanism is inclined, so that the side light source component can illuminate the inside of the product to be detected.

[0015] By adopting the above technical solution, the outer surface to be detected of the product is illuminated by the bottom light source component, and the inside of the product to be detected can be illuminated by the side light source component.

[0016] Preferably, the camera detection mechanism can be divided into a bottom camera detection mechanism, a side camera detection mechanism, and a top camera detection mechanism according to different installation positions. The side camera detection mechanism and the top camera detection mechanism are both located above the bottom camera detection mechanism, so that the bottom camera detection mechanism can capture the outer surface of the product to be detected, the side camera detection mechanism can capture the inner side surface of the product to be detected, and the top camera detection mechanism can capture the inner end of the product to be detected.

[0017] By adopting the above technical solution, the bottom camera component can capture the outer surface of the product to be detected, the top camera component can capture the inner end of the product to be detected perpendicular to the product to be detected, and the side camera component can capture the inner wall of the product to be detected.

[0018] Preferably, a line scan mechanism is provided on the conveyor mechanism. The line scan mechanism includes a line scan light source component and a line scan camera component. The line scan light source component is located directly above the conveyor mechanism, and the line scan camera is located above the line scan light source component; the line scan mechanism further includes a rotary encoder, and the rotary encoder is connected to the conveyor mechanism and the line scan mechanism.

[0019] By adopting the above technical solution, the inner end of the product to be detected is finely detected through the cooperation of the line scan light source component and the line scan camera component, and the encoder ensures the consistency between the line scan camera and the conveyor mechanism.

[0020] Preferably, a position sensor is provided on the conveyor mechanism.

[0021] By adopting the above technical solution, the vision detection mechanism senses the position of the product to be detected through the position sensor.

[0022] Preferably, a linear guide shaft is provided on the conveyor mechanism.

[0023] By adopting the above technical solution, it is used to assist the guiding of the product to be detected on the conveyor mechanism and limit the mechanism to be detected between the linear guide shafts.

[0024] In summary, the present application includes at least one of the following beneficial technical effects:

[0025] 1. The battery box is conveyed to the area to be detected through a conveying mechanism. The light source mechanism irradiates the surface to be detected of the battery box, and the camera detection mechanism takes pictures of the surface to be detected of the battery box. The light source mechanism illuminates the surface to be detected of the battery box, facilitating the accuracy of the camera detection mechanism's photography. The conveying mechanism conveys the battery box to be detected to the area to be detected regularly, ensuring the detection rate of the vision detection mechanism. Moreover, by using the positioned light source mechanism and camera detection mechanism to detect the battery box on the conveyor belt, the use of the robotic arm is reduced, the convenience of vision detection is improved, and the cost of vision detection is also reduced. By using a light-shielding body to block the backlight of the light source mechanism, the influence of external light sources on the detected battery box is reduced, thereby ensuring the detection rate of the battery box;

[0026] 2. The camera component can slide vertically through a sliding mechanism, can also rotate the angle through a rotating part, and can also adjust the position of the camera component horizontally through a first connection component. In this way, the detection range and freedom of the camera component are increased; The light source mechanism can slide vertically through a sliding mechanism and can also adjust the position and freedom of the light source mechanism horizontally through a second connecting part;

[0027] 3. The outer surface to be detected of the product is illuminated by a bottom light source component, and the inside of the product to be detected can be illuminated by a side light source component; The bottom camera component can take pictures of the outer surface of the product to be detected, the top camera component is perpendicular to the product to be detected and takes pictures of the inner end of the product to be detected, and the side camera component takes pictures of the inner wall of the product to be detected. Description of the Drawings

[0028] Figure 1 It is a schematic structural diagram of the battery box and the vision detection mechanism in this embodiment;

[0029] Figure 2 It is a partial schematic structural diagram of the battery box and the vision detection mechanism in this embodiment;

[0030] Figure 3 It is a schematic structural diagram of the sliding mechanism, the light source mechanism and the camera detection mechanism in this embodiment;

[0031] Figure 4 It is a schematic position diagram of the battery box, the light source component and the bottom camera component in this embodiment.

[0032] Reference numerals: 1, conveying mechanism; 2, light source mechanism; 3, camera detection mechanism; 4, sliding mechanism; 5, slider; 6, slide table; 7, camera unit; 8, rotating member; 9, first connection assembly; 10, first conveying mechanism; 11, second conveying mechanism; 12, light source unit; 13, second connection assembly; 14, bottom light source mechanism; 15, side light source mechanism; 16, bottom camera detection mechanism; 17, side camera detection mechanism; 18, top camera detection mechanism; 19, line scan mechanism; 20, line scan light source unit; 21, line scan camera unit; 22, rotary encoder; 23, position sensor; 24, light shield; 25, linear guide shaft; 26, lower sliding mechanism; 27, angular sliding mechanism; 28, top sliding mechanism; 29, rod; 30, clamping member; 31, connection table; 32, connection block; 33, first position sensor; 34, second position sensor. Detailed implementation mode

[0033] The following further elaborates on this application Figures 1-4 in conjunction with the accompanying drawings.

[0034] An embodiment of this application discloses a vision detection mechanism for a battery box.

[0035] Referring to Figure 1 and Figure 2 , it includes a frame, a conveying mechanism 1 for conveying the battery box, a light source mechanism 2 for detecting the light source for illumination, a camera detection mechanism 3 for detecting the surface of the product, and a light shield 24. The conveying mechanism 1, the light source mechanism 2, the camera detection mechanism 3, and the light shield 24 are all located on the frame. The light shield 24 is arranged to cover a part of the conveying mechanism 1. The light source mechanism 2 and the camera detection mechanism 3 are both arranged inside the light shield 24, so that the light shield 24 blocks the interference of external light. The light source mechanism 2 can irradiate the surface of the product to be detected on the conveying mechanism 1, and the camera detection mechanism 3 can capture the surface of the product to be detected.

[0036] The conveying mechanism 1 includes two rotating members and a conveyor belt. A connecting plate is symmetrically rotatably connected between the two rotating members. The conveyor belt is sleeved on the surfaces of the two conveying members. A motor is rotatably connected to the conveying member, so that the motor supplies energy to the conveying member to drive the conveying member to rotate. The conveying member drives the conveyor belt to rotate, thereby moving the battery box on the conveyor belt. A guardrail clip is bolted to the connecting plate, and a linear guide shaft 25 is clamped on the guardrail clip, and the linear guide shaft 25 is symmetrically located on the conveyor belt along the conveying direction of the conveyor belt. The linear guide shaft 25 has excellent linear guiding function, so that the battery box is conveyed by the conveyor belt between the two linear guide shafts 25. The linear guide shaft 25 can also limit the battery box, so that the battery box will not slide off the conveyor belt, and the material of the linear guide shaft 25 is soft and will not damage the surface of the battery box.

[0037] On one side of the left part of the conveying mechanism 1, there is a line scanning mechanism 19. The line scanning mechanism 19 includes a line scanning support frame, a line scanning light source member 20, a line scanning camera member 21, and a rotary encoder 22. The line scanning support frame is arranged near the conveying mechanism 1. The line scanning light source member 20 and the line scanning camera member 21 are located on the line scanning support frame, and the line scanning light source member 20 is located directly above the conveyor belt, and the line scanning camera member 21 is located directly above the line scanning light source member 20. The rotary encoder 22 is electrically connected to the motor, and the rotary encoder 22 is also electrically connected to the line scanning camera. The line scanning mechanism 19 has extremely high clarity and can effectively inspect the appearance of the battery case. The rotary encoder 22 ensures the speed synchronization between the conveyor belt and the line scanning camera member 21, thereby ensuring the smoothness and continuity of the line scanning process of the line scanning camera member 21.

[0038] The light shielding body 24 includes a bottom plate, two side sealing plates, two front and rear sealing plates, and a top plate. The bottom plate is arranged under the conveying mechanism 1. The bottom plate, the two side sealing plates, the two front and rear sealing plates, and the top plate form a cuboid light shielding body 24. There are conveying holes for the conveying mechanism 1 to pass through on the two front and rear sealing plates, so that the conveying mechanism 1 passes through the conveying holes of the light shielding body 24. Support shafts are bolted at the four corners inside the light shielding body 24, and the support shafts reinforce the load-bearing capacity of the light shielding body 24.

[0039] Reference Figure 2 、 Figure 3 and Figure 4, the vision detection mechanism further includes a sliding mechanism 4. The sliding mechanism 4 includes a slide table 6 arranged in the vertical direction and a slider 5 cooperatively connected with the slide table 6. The sliding mechanism 4 includes four lower sliding mechanisms 26 installed at the edge of the bottom plate, two corner sliding mechanisms 27 installed on the diagonal of the top plate, and four top sliding mechanisms 28 installed in the middle of the top plate. Among them, there are two sliders 5 on the lower sliding mechanism 26. One slider 5 is connected to the camera detection mechanism 3, and one slider 5 is connected to the light source mechanism 2, so that the light source mechanism 2 on the lower sliding mechanism 26 illuminates the outer surface to be detected of the battery case. This light source mechanism 2 is called the bottom light source mechanism 14, and the camera detection mechanism 3 takes pictures of the outer surface of the battery case. This camera detection mechanism 3 is called the bottom camera detection mechanism 16; there are also two sliders 5 on the corner sliding mechanism 27. One slider 5 is connected to the camera detection mechanism 3, and one slider 5 is connected to the light source mechanism 2, so that the light source mechanism 2 on the corner sliding mechanism 27 obliquely irradiates the inside of the battery case. This light source mechanism 2 is called the side light source mechanism 15, and the camera detection mechanism 3 can take pictures of one side of the inner wall of the battery case. This camera detection mechanism 3 is called the side camera detection mechanism 17; there is one slider 5 on the top sliding mechanism 28, and the slider 5 is connected to the camera detection mechanism 3, so that the camera detection mechanisms 3 of the two top sliding mechanisms 28 respectively irradiate both sides inside the battery case. This camera detection mechanism 3 is still called the side camera detection mechanism 17, and the camera detection mechanisms 3 of the other two top sliding mechanisms 28 irradiate the inner end face of the battery case. This camera detection mechanism 3 is called the top camera detection mechanism 18; in addition to the two side light source mechanisms 15 installed on the sliding mechanism 4, there are two groups of side light sources arranged through the top of the battery case, and each group of side light source mechanisms 15 has two.

[0040] The light source mechanism 2 includes a light source part 12 and a second connection component 13. The second connection component 13 includes a rod member 29 and a clamping member 30. The clamping member 30 cooperates with the rod member 29, so that the light source part 12 adjusts the lighting position and lighting angle of the light source part 12 by adjusting the connection position between the clamping member 30 and the rod member 29, which is beneficial to increasing the detection range of the vision detection mechanism and increasing the freedom degree of the light source mechanism 2; the camera detection mechanism 3 includes a camera part 7, a rotating part 8 and a first connection component 9. One end of the first connection component 9 is connected to the rotating part 8, and the other end is connected to the camera part 7, so that the camera part 7 adjusts the angle through the rotating part 8. The first connection component 9 includes a connection platform 31 and a connection block 32 cooperatively connected with the connection platform 31. The connection block 32 can slide on the connection platform 31, which is beneficial to increasing the detection range of the vision detection mechanism and increasing the freedom degree of the camera detection mechanism 3.

[0041] Furthermore, in this embodiment, the light-shielding body can also remove the bottom plate and is only composed of two side sealing plates, two front and rear sealing plates and a top plate.

[0042] Furthermore, in this embodiment, the light source mechanism 2 and the camera detection mechanism 3 can be assembled and installed through the first connection component 9 or / and the second connection component 13; the first connection component 9 and the second connection component 13 can also be other sliding components or clamping components.

[0043] Furthermore, in this embodiment, there can be two or more light source elements 12 on the light source mechanism 2; there can be two or more camera elements 7 on the camera detection mechanism 3.

[0044] Furthermore, in this embodiment, the bottom light source mechanism 14 is arranged parallel to the outer surface of the battery box, so that the bottom light source mechanism 14 can directly illuminate each face of the outer surface of the battery box; the side light source mechanism 15 is inclined and arranged above the battery box, so that each side light source mechanism 15 is aligned with each side wall of the battery box, so that the side light source mechanism 15 can illuminate each side wall of the battery box and incidentally illuminate the inner end of the battery box.

[0045] Furthermore, in this embodiment, the bottom camera detection mechanism 16 takes pictures of each outer surface of the battery box; the side camera detection mechanism 17 takes pictures of each inner side of the battery box, and the top camera detection mechanism 18 takes pictures of the inner end of the battery box.

[0046] Furthermore, in this embodiment, the conveying mechanism 1 is provided with a first position sensor 33 near the light shielding body 24, so that the first position sensor senses the position of the battery box, and further enables the line scanning mechanism 19 to determine the position of the battery box, so as to perform precise scanning of the battery box; the conveying mechanism 1 is bolted with a second position sensor 34 inside the light shielding body 24, and the position of the battery box is determined through the second position sensor 34, so as to control the light source mechanism 2 and the camera detection mechanism 3 to illuminate and take pictures of the battery box.

[0047] Furthermore, in this embodiment, the light shielding body 24 can not only be set as a cuboid, but also be designed into other shapes; and for a polyhedral battery box or a special-shaped battery box, in order to facilitate the installation of the light source mechanism 2 and the camera detection mechanism 3, the shape of the light shielding body 24 can be consistent with the shape of the battery box.

[0048] Furthermore, in this embodiment, under the premise of a multi-faceted battery box / irregular-shaped battery box, the bottom light source mechanism 14 is arranged parallel to each face of the multi-faceted battery box / irregular-shaped battery box, so that the surface of the multi-faceted battery box / irregular-shaped battery box is illuminated by the bottom light source mechanism 14; the side light source mechanism 15 is arranged obliquely above the multi-faceted battery box / irregular-shaped battery box, so that each face inside the multi-faceted battery box / irregular-shaped battery box can be illuminated by the side light source mechanism 15; the bottom camera detection mechanism 16 shoots each face of the multi-faceted battery box / irregular-shaped battery box; the side camera detection mechanism 17 is above the multi-faceted battery box / irregular-shaped battery box, so that the side camera detection mechanism 17 is aimed at the side wall inside the multi-faceted battery box / irregular-shaped battery box for shooting; the top camera detection mechanism 18 is located directly above the multi-faceted battery box / irregular-shaped battery box, so that the top camera detection mechanism 18 shoots and detects the inner end of the multi-faceted battery box / irregular-shaped battery box, thereby realizing the outer surface detection of the multi-faceted battery box / irregular-shaped battery box.

[0049] Furthermore, in this embodiment, not only can the degree of freedom of the light source mechanism 2 and the camera detection mechanism 3 be increased by the sliding mechanism, but the sliding mechanism can also replace the screw assembly, the cylinder assembly, the cylinder assembly, etc. to achieve the displacement of the light source mechanism 2 and the camera detection mechanism 3.

[0050] Furthermore, in this embodiment, the conveyor belt includes a sponge layer, so that the conveyor belt contacts the battery box through the sponge layer, so that when the battery box is transmitted on the conveyor belt, the battery box will not be damaged by the friction between the conveyor belt and the conveyor belt, thereby ensuring the stability and safety of the performance of the subsequent battery product.

[0051] Further, in this embodiment, the conveying mechanism 1 includes a first conveying mechanism 10 and a second conveying mechanism 11, the line scanning mechanism 19 is arranged on the first conveying mechanism 10, the junction between the second conveying mechanism 11 and the first conveying mechanism 10 is located in the light shielding body 24, and the second position sensor 34 is located on the second conveying mechanism 11.

[0052] Furthermore, in this embodiment, when the external light does not affect the visual detection process, the visual detection mechanism can also remove the light shielding body 24.

[0053] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A visual inspection mechanism for a battery box, characterized in that: The invention comprises a conveying mechanism (1) for conveying a product to be inspected, a light source mechanism (2) for lighting, and a camera detection mechanism (3) for detecting the surface of the product, wherein the light source mechanism (2) and the camera detection mechanism (3) are arranged near the conveying mechanism (1), so that the light source mechanism (2) illuminates the surface of the product to be inspected on the conveying mechanism (1), and the camera detection mechanism (3) photographs the surface of the product to be inspected; It also comprises a light shielding body (24), so that the light source mechanism (2) is located between the product to be inspected and the light shielding body.

2. The visual inspection mechanism according to claim 1, characterized in that: It also includes a sliding mechanism (4), wherein the sliding mechanism (4) includes a slider (5) and a slide table (6), wherein the slider (5) cooperates with the slide table (6), and the light source mechanism (2) and / or the camera detection mechanism (3) are connected to the slide table (6).

3. The visual inspection mechanism according to claim 2, characterized in that: The camera detection mechanism (3) comprises a camera component (7), a rotating component (8) and a first connecting component (9); the rotating component (8) is connected to the slide (6); one end of the first connecting component (9) is connected to the rotating component (8) and the other end is connected to the camera component (7); the first connecting component (9) can be a clamping component or a sliding component.

4. The visual inspection mechanism according to claim 2, characterized in that: The light source mechanism (2) comprises a light source component (12) and a second connecting component (13); one end of the second connecting component (13) is connected to the slide (6) and the other end is connected to the light source component (12); the second connecting component (13) can be a clamping component or a sliding component.

5. The visual inspection mechanism according to claim 1, characterized in that: The light source mechanism (2) can be divided into a bottom light source mechanism (14) and a side light source mechanism (15) according to different installation positions. The bottom light source mechanism (14) is installed parallel to the outer surface of the product to be inspected, and the side light source mechanism (15) is located above the light source mechanism (2). The side light source mechanism (15) is arranged at an angle so that the side light source element (12) can illuminate the interior of the product to be inspected.

6. The visual inspection mechanism according to claim 1, characterized in that: The camera detection mechanism (3) can be divided into a bottom camera detection mechanism (16), a side camera detection mechanism (17) and a top camera detection mechanism (18) according to different setting positions. The side camera detection mechanism (17) and the top camera detection mechanism (18) are both located above the bottom camera detection mechanism (16), so that the bottom camera detection mechanism (16) can photograph the outer surface of the product to be detected, the side camera detection mechanism (17) can photograph the inner side of the product to be detected, and the top camera detection mechanism (18) can photograph the inner end of the product to be detected.

7. The visual inspection mechanism according to claim 1, characterized in that: The transmission mechanism (1) is provided with a line scanning mechanism (19), and the line scanning mechanism (19) comprises a line scanning light source component (20) and a line scanning camera component (21), wherein the line scanning light source component (20) is located directly above the transmission mechanism (1), and the line scanning camera is located above the line scanning light source component (20); the line scanning mechanism (19) further comprises a rotary encoder (22), and the rotary encoder (22) is connected to the transmission mechanism (1) and the line scanning camera component (21).

8. The visual inspection mechanism according to claim 1, characterized in that: The conveying mechanism (1) is provided with a position sensor (23).

9. The visual inspection mechanism according to claim 1, characterized in that: The transmission mechanism (1) is provided with a linear guide shaft (25).