A pinhole detector and automated apparatus

By incorporating smoothing, inspection, and winding mechanisms within the inspection chamber, combined with image recognition and aperture measurement elements, automated inspection is achieved, solving the problems of time-consuming, labor-intensive, and low-precision manual inspection, and improving inspection efficiency and accuracy.

CN224593914UActive Publication Date: 2026-08-04JIANGZHONG PHARMA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
JIANGZHONG PHARMA CO LTD
Filing Date
2025-06-25
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

In existing technologies, pinhole detection relies heavily on manual operation, which is time-consuming, labor-intensive, and has low detection accuracy, making it prone to missed detections and misjudgments.

Method used

A pinhole detector is provided, comprising a smoothing mechanism, a detection mechanism, and a winding mechanism within a detection chamber. It automatically detects pinholes using image recognition elements, aperture measuring elements, and counting elements, and achieves automated detection by combining an illumination mechanism and a displacement sensor.

Benefits of technology

It eliminates the need for manual handling and positioning of the materials to be tested, reducing labor intensity, improving testing efficiency and accuracy, avoiding human error, and ensuring the accuracy and reliability of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224593914U_ABST
    Figure CN224593914U_ABST
Patent Text Reader

Abstract

The application provides a pinhole degree detector and an automatic device, and relates to the technical field of detection. The pinhole degree detector comprises a detection box, and a flattening mechanism, a detection mechanism and a winding mechanism are sequentially arranged in the detection box along a preset direction. The winding mechanism is used for winding the material to be detected, so that the material to be detected moves along the preset direction. It can be understood that the preset direction here is the conveying direction of the material to be detected. On the moving path of the material to be detected, the flattening mechanism is used for flattening the material to be detected. The detection mechanism is used for acquiring pinhole information on the material to be detected. Based on this, the pinhole degree detector provided by the application does not need manual carrying and positioning of the material to be detected, greatly reduces the manual labor intensity, improves the production efficiency, avoids subjective errors and uncertainties caused by manual operation, and improves the accuracy and reliability of the detection structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of detection technology, and more specifically, to a pinhole detector and an automated device. Background Technology

[0002] Pinhole density, as a key indicator for evaluating the sealing performance of inner packaging materials, has received widespread attention. However, related technologies heavily rely on manual operation for pinhole detection, such as visually identifying pinholes on the surface of inner packaging materials.

[0003] However, the inventors discovered that this method is not only time-consuming and labor-intensive, but also prone to decreased detection accuracy due to human factors. In particular, prolonged work can lead to visual fatigue among inspectors, thereby increasing the risk of missed detections and misjudgments. Utility Model Content

[0004] The purpose of this invention is to provide a pinhole detector and an automated device that can automatically detect and record information of the material to be tested, avoid human error, and improve detection efficiency and accuracy.

[0005] The embodiments of this utility model can be implemented as follows: In a first aspect, this utility model provides a pinhole detector, including a testing box, in which a smoothing mechanism, a testing mechanism, and a winding mechanism are arranged sequentially along a preset direction; wherein, the winding mechanism is used to wind up the material to be tested so that the material to be tested moves along the preset direction, the smoothing mechanism is used to smooth the material to be tested, and the testing mechanism is used to obtain pinhole information on the material to be tested.

[0006] In an optional implementation, the detection mechanism includes an image recognition element used to determine whether pinholes exist in the material to be tested.

[0007] In an optional embodiment, the detection mechanism further includes an aperture measuring element and a counting element; wherein the aperture measuring element is communicatively connected to an image recognition element for obtaining the pinhole size on the material to be tested; and the counting element is communicatively connected to the image recognition element for counting the number of pinholes on the material to be tested.

[0008] In an optional embodiment, the pinhole detector further includes an illumination mechanism located below the winding mechanism, which carries the material to be tested and emits a light beam upwards onto the material to be tested.

[0009] In an optional embodiment, the pinhole detector further includes a displacement sensor, which is mounted on the illumination mechanism to acquire position information of the material to be tested.

[0010] In an optional embodiment, the smoothing mechanism includes a support base and a smoothing component. The support base is provided with a slide rail extending along a preset direction, and the smoothing component is used to smooth the material to be tested.

[0011] In an optional embodiment, the smoothing assembly includes a drive element and a smoothing plate. The drive element is slidably connected to a slide rail and is drively connected to the smoothing plate to cause the smoothing plate to reciprocate in the vertical direction.

[0012] In an optional embodiment, the test box is provided with an air inlet and an air outlet on opposite sides, and the pinhole detector also includes an exhaust fan located at the air outlet.

[0013] In an optional implementation, the testing box has a feed inlet on the side near the smoothing mechanism.

[0014] In an optional embodiment, the pinhole detector further includes a displacement sensor, which is mounted on the conveying mechanism and is used to acquire position information of the material to be tested.

[0015] Secondly, this utility model provides an automated device, including a pinhole detector and a control box as described in any of the foregoing embodiments; wherein the control box is located below the detector and is electrically connected to the detector mechanism and the conveying mechanism.

[0016] The beneficial effects of the pinhole detector and automated equipment provided in this embodiment of the invention include: This application provides a pinhole detector and an automated device. The pinhole detector includes a testing box, and within the testing box, a smoothing mechanism, a testing mechanism, and a winding mechanism are sequentially arranged along a preset direction. The winding mechanism is used to wind up the material to be tested, causing the material to move along the preset direction. It is understood that the preset direction here is the conveying direction of the material to be tested. Along the movement path of the material to be tested, the smoothing mechanism smooths the material. The testing mechanism is used to acquire pinhole information on the material to be tested. Based on this, the pinhole detector provided by this application eliminates the need for manual handling and positioning of the material to be tested, greatly reducing labor intensity, improving production efficiency, avoiding subjective errors and uncertainties caused by manual operation, and improving the accuracy and reliability of the tested structure. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of this utility model, the drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this utility model and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1This is a schematic diagram of the structure of the automated equipment provided in this embodiment; Figure 2 This is a schematic diagram of the pinhole detector provided in this embodiment; Figure 3 This is a schematic diagram of the internal structure of the detection box provided in this embodiment; Figure 4 Provided for this embodiment Figure 3 Enlarged diagram of point A in the middle.

[0019] Icons: 1-Automated equipment; 10-Pinhole detector; 30-Control box; 100-Detection box; 110-Air inlet; 130-Air outlet; 150-Feed inlet; 171-Outward opening door; 173-Display screen; 175-Alarm; 177-Control button; 300-Smoothing mechanism; 310-Support base; 311-Slide rail; 330-Smoothing component; 331-Drive element; 333-Smoothing plate; 500-Detection mechanism; 510-Image recognition element; 530-Aperture measuring element; 550-Counting element; 600-Illumination mechanism; 700-Winding mechanism; 800-Supplemental lighting mechanism. Detailed Implementation

[0020] In related counting, pinhole information on the surface of inner packaging materials is generally identified by human eyes, which has the problems of being time-consuming and labor-intensive, having low detection accuracy, and having a high risk of missed detection and misjudgment.

[0021] To address the aforementioned problems, this invention provides a pinhole detector and an automated device that can automatically detect and record information about the material under test, avoiding human error and improving detection efficiency and accuracy.

[0022] To make the objectives, technical solutions, and advantages of the embodiments of this utility model clearer, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, and not all embodiments. The components of the embodiments of this utility model described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0023] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0024] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0025] In the description of this utility model, it should be noted that if terms such as "upper," "lower," "inner," or "outer" are used to indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship in which the utility model product is usually placed during use, they are only for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this utility model.

[0026] Furthermore, the terms "first" and "second" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.

[0027] It should be noted that, where there is no conflict, the features in the embodiments of this utility model can be combined with each other.

[0028] The following detailed description, through embodiments and in conjunction with the accompanying drawings, details the overall structure, working principle, and technical effects of the pinhole detector 10 and the automated equipment 1 provided by this utility model. Please refer to... Figures 1 to 3 This application provides a pinhole detector 10, applied to an automated device 1, to improve detection efficiency and accuracy. The automated device 1 includes the aforementioned pinhole detector 10 and a control box 30.

[0029] The pinhole detector 10 includes a detection box 100, and a smoothing mechanism 300, a detection mechanism 500, and a winding mechanism 700 are sequentially arranged in the detection box 100 along a preset direction. Based on this, the control box 30 is located below the detection box 100 and is electrically connected to the detection mechanism 500 and the winding mechanism 700.

[0030] It should be noted that the control box 30, as the core control system of the entire pinhole detector 10, can coordinate the operation of the detection mechanism 500 and the winding mechanism 700. For example, based on a pre-set program and algorithm, the control box 30 can precisely control the start, stop, and operating rhythm of the winding mechanism 700 and the detection mechanism 500, avoiding unnecessary waiting and improving work efficiency.

[0031] Furthermore, the control box 30 can flexibly adjust the operating parameters of each component (such as winding speed, detection sensitivity, etc.) according to different detection requirements or material properties, thereby improving the adaptability and versatility of the system. Optionally, the control box 30 can perform corresponding electrical control operations through a controller installed within it.

[0032] Additionally, it should be noted that, to improve the flexibility of the automated equipment 1, a movable component is provided at the bottom of the control box 30. It is easy to understand that the movable component enables the automated equipment 1 provided in this application to be moved and repositioned in places such as production workshops or laboratories. Optionally, this movable component can be a roller or a caster wheel.

[0033] As mentioned above, the pinhole size detector 10 includes a detection box 100, and within the detection box 100, a smoothing mechanism 300, a detection mechanism 500, and a winding mechanism 700 are sequentially arranged along a preset direction. The winding mechanism 700 is used to wind up the material to be tested, so that the material to be tested moves along the preset direction. It can be understood that the preset direction here is the conveying direction of the material to be tested.

[0034] Along the movement path of the material to be tested, the smoothing mechanism 300 smooths the material to ensure that its surface is flat before entering the detection area, reducing false or missed detections caused by wrinkles, bends, or irregular shapes. After smoothing by the smoothing mechanism 300, the detection mechanism 500 acquires pinhole information on the material to be tested, facilitating subsequent analysis and processing and improving product quality control.

[0035] Understandably, the aforementioned continuous and efficient process design reduces the conversion time of the material to be tested between different stages, further improving the overall testing efficiency. Based on this, the pinhole detector 10 provided in this application eliminates the need for manual handling and positioning of the material to be tested, significantly reducing labor intensity, improving production efficiency, avoiding subjective errors and uncertainties caused by manual operation, and enhancing the accuracy and reliability of the tested structure.

[0036] It should be further noted that the winding mechanism 700 can be a motor-driven reel, which precisely controls the rotation speed and tension to accommodate test components of different specifications, materials, and sizes, ensuring smooth movement of the test material. Based on this, each part of the test material is wound by the winding mechanism 700 after passing through the smoothing mechanism 300 and the detection mechanism 500. It is understood that the test material tested in this application is specifically different types and specifications of inner packaging materials. For example, the test material can specifically be a composite film or aluminum foil.

[0037] Please see Figure 2 To enable the pinhole detector 10 to test long materials, the testing chamber 100 has a feed inlet 150 on the side near the smoothing mechanism 300. This design allows the size of the material to be tested to be unrestricted by the testing chamber 100. In actual testing, longer materials can directly enter the smoothing mechanism 300 through the feed inlet 150, and after being smoothed by the smoothing mechanism 300, quickly enter the testing area of ​​the testing mechanism 500. In addition, considering that the pinhole detector 10 generates a certain amount of heat during operation, the detection chamber 100 is provided with an air inlet 110 and an air outlet 130 on opposite sides. Furthermore, the pinhole detector 10 also includes an exhaust fan located at the air outlet 130. It is understood that the rotation of the exhaust fan creates an air pressure difference between the inside and outside of the detection chamber 100, drawing in cool external air through the air inlet 110. As the cool air flows within the chamber, it comes into contact with the heat-generating electronic components (detection mechanism 500 or winding mechanism 700), absorbing heat and increasing in temperature before being discharged from the air outlet 130. Through this continuous air circulation, the heat generated by the electronic components is carried out of the chamber, lowering the temperature inside.

[0038] Based on the above settings, on the one hand, the risk of electronic components operating at high temperatures for extended periods is reduced, and the failures and downtime caused by excessive temperature are decreased; on the other hand, component aging or damage caused by overheating is reduced, extending the overall service life of the equipment and reducing maintenance and replacement costs.

[0039] To further improve work efficiency and user experience, the testing box 100 is also rationally equipped with an outward-opening door 171, a display screen 173, control buttons 177, and an alarm 175. Based on the above, operators can open the outward-opening door 171 when needed to manually adjust the testing mechanism 500 or other mechanisms to adapt to different testing requirements; perform manual operations via the control buttons 177, such as starting and pausing testing, and adjusting testing parameters; view various information during the testing process at any time via the display screen 173, such as the current material number being tested, testing progress, and pinhole information; and promptly handle abnormal situations such as the number of pinholes exceeding a set threshold or equipment malfunction via the alarm 175. Optionally, the display screen 173, control buttons 177, and alarm 175 are also electrically connected to the control box 30; the alarm 175 can be an alarm light or a buzzer.

[0040] Please refer to it again. Figure 3 The pinhole detector 10 also includes an illumination mechanism 600, located below the winding mechanism 700. The illumination mechanism 600 carries the material to be tested and projects an upward beam of light onto the material. Understandably, by illuminating the material from below, the material can be clearly illuminated, making pinholes and defects easier to detect. Furthermore, the illumination mechanism 600 provides uniform, stable, and appropriate wavelength illumination conditions to enhance the contrast between the pinholes and the material surface.

[0041] In the embodiments provided by this utility model, the lighting mechanism 600 is a transparent light box. A winding mechanism 700 is disposed on the top wall of the transparent light box, and a smoothing mechanism 300 and a detection mechanism 500 are sequentially disposed on one side of the transparent light box along a preset direction. Additionally, a supplementary lighting mechanism 800 is disposed on the opposite side of the transparent light box to provide additional illumination when operators are loading, unloading, or repairing components. Optionally, the lighting mechanism 600 can also be electrically connected to an electrical control box to adjust the lighting intensity according to actual conditions, ensuring that the material under test is under suitable lighting conditions.

[0042] Furthermore, the pinhole detector 10 also includes a displacement sensor, which is mounted on the illumination mechanism 600 to acquire the position information of the material under test. It is easy to understand that, on the one hand, the displacement sensor can detect when the material under test enters the detection area of ​​the detection element, avoiding false or missed detections due to inaccurate positioning; on the other hand, the displacement sensor can monitor whether the material under test shifts or gets stuck during transmission, preventing transmission failures.

[0043] Optionally, the displacement sensor is electrically connected to the control box 30, feeding back position and status information to the control box 30. The control box 30 can then automatically adjust the speed or direction of the winding mechanism 700 based on the information from the sensor, ensuring the smooth progress of the detection process.

[0044] Please see Figure 4 The smoothing mechanism 300 includes a support base 310 and a smoothing component 330. The support base 310 is provided with a slide rail 311 extending along a preset path. The smoothing component 330 is used to smooth the material to be tested. That is to say, the slide rail 311 is arranged parallel to the lighting mechanism 600 so that the smoothing component 330 can apply uniform pressure across the entire width of the material, avoiding excessive or insufficient local pressure and ensuring the overall flatness of the material to be tested.

[0045] To ensure that the smoothing component 330 can directly contact and smooth different test materials during testing, the smoothing component 330 includes a driving element 331 and a smoothing plate 333. Specifically, the driving element 331 is slidably connected to the slide rail 311 and is also drive-connected to the smoothing plate 333, enabling the smoothing plate 333 to reciprocate vertically.

[0046] Based on this, before the material enters the testing area, the drive element 331 drives the smoothing plate 333 to move downwards, so that the smoothing plate 333 contacts the surface of the material to be tested and applies a certain pressure, thereby flattening the uneven parts such as wrinkles and curls on the material to be tested. Optionally, the drive element 331 can be a hydraulic or pneumatic telescopic component, with its cylinder body slidably connected to the slide rail 311 and the telescopic rod connected to the smoothing plate 333.

[0047] Please refer to it again. Figure 3 The testing mechanism 500 provided in this application employs a non-contact testing method. Specifically, the testing mechanism 500 includes an image recognition element 510, which is used to determine whether pinholes exist in the material under test. For example, the image recognition element 510 can be an industrial camera. After capturing an image of the material under test, the industrial camera processes the captured image using an image acquisition and analysis algorithm. Subsequently, by comparing the pixel features and grayscale values ​​of different regions of the image, the presence and location of pinholes are detected. It should be noted that if no pinholes exist, the pixel distribution of the image of the material under test is uniform; if pinholes exist, the pixel distribution of the image of the material under test changes abruptly (or the grayscale value changes abnormally). Accordingly, the image analysis algorithm can also simultaneously obtain the location of the pinholes based on this.

[0048] To facilitate further identification of suspected pinholes and confirm their actual size, the detection mechanism 500 also includes an aperture measuring element 530. The aperture measuring element 530 is communicatively connected to the image recognition element 510 and is used to acquire the pinhole size on the material under test. In actual detection processes, the aperture measuring element 530 can utilize optical measurement principles, employing methods such as laser diffraction or projection measurement, to accurately calculate the diameter and area of ​​the pinhole.

[0049] Furthermore, the testing mechanism 500 also includes a counting element 550, which is communicatively connected to the image recognition element 510, for counting the number of pinholes on the material under test. It is easy to understand that after detecting a pinhole and determining its size, the image recognition element 510 transmits the data to the counting element 550 for counting and recording, thereby recording the number of pinholes on each batch or each sheet of material under test, providing data for product quality control.

[0050] In addition, the counting element 550 can also be electrically connected to the control box 30, so that when the number of pinholes exceeds a preset threshold, the alarm 175, which is also electrically connected to the control box 30, will respond, and the winding mechanism 700, which is also electrically connected to the control box 30, will stop operating and wait for operator intervention. Similarly, the aforementioned aperture measuring element 530 and counting element 550 can also be electrically connected to the control box 30, so that the acquired number of pinholes, pinhole positions, and pinhole sizes can be displayed on the display screen 173, and the data acquired by the above elements can be processed and stored.

[0051] Taking the automated device 1 provided in the embodiment as an example, its working principle and workflow are as follows: The control box 30 is locked in the predetermined working position by moving the component. Then, the detection box 100 is installed on the control box 30, and the various mechanisms / components of the pinhole detector 10 are electrically connected to the control box 30 accordingly. Next, the controller inside the control box 30 is connected to an external power supply, and initial settings such as operating parameters and communication protocols are performed, while the displacement sensor in the pinhole detector 10 is calibrated.

[0052] The lighting element and smoothing mechanism 300 are installed inside the test box 100, and the winding mechanism 700 is installed on the lighting element. Then, the electrical components in the lighting element, smoothing mechanism 300, and winding mechanism 700 are electrically connected to the control box 30. Subsequently, the uniformity of illumination is tested, and the illumination intensity of the lighting element is adjusted to a suitable range; the sliding between the drive element 331 and the slide rail 311 is tested, and the stroke of the drive element 331 is adjusted so that the smoothing plate 333 can contact the surface of the material to be tested and apply a certain pressure.

[0053] Image recognition element 510, aperture measuring element 530, and counting element 550 are installed inside the detection chamber 100. The position and angle of image recognition element 510 are adjusted to ensure that a complete image of the portion of the material to be tested located in the detection area can be captured. Simultaneously, the focal length, resolution, and other parameters of image recognition element 510 are adjusted. Aperture measuring element 530 and counting element 550 are also installed in their corresponding positions and electrically connected to image recognition element 510 to ensure normal data transmission. Additionally, supplementary lighting mechanism 800 is installed on one side of lighting mechanism 600.

[0054] Accordingly, the display screen 173, control button 177, and alarm 175 are installed on the detection box 100. After electrical connection with the control box 30, the display and control functions are debugged to ensure that the display screen 173 can correctly display various detection information, the control button 177 can effectively control the operation of the equipment, and the alarm 175 can sound an alarm in abnormal situations. Finally, the power supply of the exhaust fan is connected, and the operating effect is tested to ensure that the air inside the box can circulate normally and achieve good heat dissipation.

[0055] After the installation and debugging work is completed, the operator starts the equipment via control button 177. At this time, the winding mechanism 700 is stopped, the image recognition element 510 and the aperture measuring element 530 are in preheating and self-testing state, and the counting element 550 is zeroed. After the initialization process is completed, the material to be tested is placed on the lighting mechanism 600 through the feed port 150, and one end of the material to be tested is fixed to the winding mechanism 700. Then, the drive element 331 drives the smoothing plate 333 to move downward, so that the smoothing plate 333 contacts the surface of the corresponding part of the material to be tested and applies a certain pressure, thereby flattening the wrinkles, curls, and other uneven parts on the material to be tested. Afterward, the drive element 331 and the smoothing mechanism 300 are reset, the winding mechanism 700 is started, and the material to be tested moves in a preset direction at a set speed.

[0056] When the smoothed portion of the material to be tested enters the detection area of ​​the detection mechanism 500, the displacement sensor sends a signal back to the control box 30. The control box 30 then controls the image recognition element 510 to capture an image of the material. Subsequently, the image data is transmitted to the image processing unit inside the element for analysis to detect the presence of pinholes. If a pinhole is detected, the aperture measuring element 530 measures its size, and the counting element 550 tallies the measurement data and the number of pinholes. During the above detection process, various data (such as the number and size of pinholes) are displayed in real time on the display screen 173, which the operator can view at any time. If the number of pinholes exceeds a preset threshold or other abnormalities occur, the control box 30 will activate the warning light and simultaneously pause the operation of the winding mechanism 700, awaiting operator intervention. After successful detection, if the material to be tested is qualified, the winding mechanism 700 continues to wind the material until it is sent from the detection box 100 to the next process. Additionally, the counting element 550 saves the statistical data of this detection, which the operator can export for further analysis and archiving as needed.

[0057] In summary, this application provides a pinhole detector 10 and an automated device 1. The pinhole detector 10 includes a detection box 100, and within the detection box 100, a smoothing mechanism 300, a detection mechanism 500, and a winding mechanism 700 are sequentially arranged along a preset direction. The winding mechanism 700 is used to wind up the material to be tested, so that the material moves along the preset direction. It is understood that the preset direction here is the conveying direction of the material to be tested. Along the movement path of the material to be tested, the smoothing mechanism 300 smooths the material. The detection mechanism 500 is used to acquire pinhole information on the material to be tested. Based on this, the pinhole detector 10 provided by this application eliminates the need for manual handling and positioning of the material to be tested, greatly reducing labor intensity, improving production efficiency, avoiding subjective errors and uncertainties caused by manual operation, and improving the accuracy and reliability of the detection structure.

[0058] The above are merely specific embodiments of this utility model, but the protection scope of this utility model is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this utility model should be included within the protection scope of this utility model.

Claims

1. A pinhole detector, characterized by, The device includes a testing box (100), and inside the testing box (100) are arranged sequentially along a preset direction a smoothing mechanism (300), a testing mechanism (500), and a winding mechanism (700); wherein, the winding mechanism (700) is used to wind up the material to be tested so that the material to be tested moves along the preset direction, the smoothing mechanism (300) is used to smooth the material to be tested, and the testing mechanism (500) is used to obtain pinhole information on the material to be tested; The detection mechanism (500) includes an image recognition element (510), which is used to determine whether pinholes exist in the material to be tested. The detection mechanism (500) further includes an aperture measuring element (530) and a counting element (550); wherein, the aperture measuring element (530) is communicatively connected to the image recognition element (510) and is used to obtain the pinhole size on the material to be tested; the counting element (550) is communicatively connected to the image recognition element (510) and is used to count the number of pinholes on the material to be tested.

2. The pinhole detector of claim 1, wherein The pinhole detector (10) also includes an illumination mechanism (600), which is located below the winding mechanism (700) and is used to carry the material to be tested and to emit a light beam upward onto the material to be tested.

3. The pinhole detector of claim 2, wherein, The pinhole detector (10) also includes a displacement sensor, which is disposed on the lighting mechanism (600) and is used to obtain the position information of the material to be tested.

4. The pinhole detector according to any one of claims 1 to 3, wherein The smoothing mechanism (300) includes a support base (310) and a smoothing component (330). The support base (310) is provided with a slide rail (311) extending along the preset direction. The smoothing component (330) is used to smooth the material to be tested.

5. The pinhole detector of claim 4, wherein, The smoothing assembly (330) includes a driving element (331) and a smoothing plate (333). The driving element (331) is slidably connected to the slide rail (311) and is drive-connected to the smoothing plate (333) to cause the smoothing plate (333) to reciprocate in the vertical direction.

6. The pinhole detector according to any one of claims 1 to 3, wherein The testing box (100) has an air inlet (110) and an air outlet (130) on opposite sides. The pinhole detector (10) also includes an exhaust fan, which is located at the air outlet (130).

7. The pinhole detector according to any one of claims 1 to 3, wherein The testing box (100) has a feed inlet (150) on the side near the smoothing mechanism (300).

8. An automated apparatus, characterized by, Includes a pinhole detector (10) and a control box (30) as described in any one of claims 1 to 7; wherein the control box (30) is located below the detector (100) and is electrically connected to the detector (500) and the winding mechanism (700).