Lens flaw detection equipment and detection method
By using an adsorption assembly of an electromagnet and a driving structure and a clamping assembly of an air pressure track and an optoelectronic mechanism in the lens detection device, the shortcomings of stable clamping and precise positioning in lens detection in the prior art are solved, and a high-precision and highly automated lens detection effect is achieved.
Patent Information
- Application Number
- CN202510246303.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-04
- Publication Date
- 2025-04-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing lens detection equipment has insufficient stable clamping and precise positioning in high-precision lens detection, resulting in missed or missed detection problems, and the equipment's automation level and operation complexity are high.
The adsorption component is adopted that combines the electromagnet with the driving structure to accurately control the adsorption force through current adjustment, and combines the pneumatic track and optoelectronic mechanism of the clamping component to achieve stable adsorption and precise positioning of the lens.
It improves the positioning accuracy and stability of lens detection, reduces the problem of false detection or missed detection, and improves the automation level of the equipment and the flexibility and stability of operation.
Smart Images

Figure CN119780128A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of detection technology, and in particular to a lens defect detection device and a detection method. Background Art
[0002] With the development of science and technology and the advancement of optical technology, lenses have been widely used in many high-end application fields, such as consumer electronics, industrial inspection, medical imaging, etc. As the core component of the optical system, the manufacturing accuracy and quality of the lens directly affect the performance of the final product, especially for lenses with high precision requirements. Tiny defects may lead to a decline in image quality, thus affecting the market competitiveness of the product. Therefore, efficient and accurate detection of lens defects has become a technical problem that needs to be solved urgently.
[0003] There are some bottlenecks in the structural design of existing automated testing equipment. For example, the adsorption and clamping mechanisms used in some equipment usually rely on simple mechanical arms and pneumatic devices. Although this design can complete basic testing tasks, there is still a lot of room for improvement in lens positioning accuracy and operational stability. Especially in the process of high-precision lens testing, the clamping and positioning errors of the lens may affect the accuracy of the entire testing process, resulting in missed detection or false detection problems. The adsorption devices in traditional equipment often do not have enough flexibility and are difficult to adapt to the adsorption requirements of lenses of different shapes or materials; the clamping devices also have major deficiencies in stability and accuracy, and cannot effectively avoid the lens from affecting the test results due to slight displacement during the test process, and often require multiple calibrations and adjustments, which not only increases the complexity of the operation, but also reduces the automation level of the equipment. In the process of lens testing, how to accurately control the posture, angle and position of the lens, and how to ensure that the lens is not disturbed by the outside world during the test process are key issues that need to be solved in current technology. Summary of the invention
[0004] The purpose of this application is to provide a lens defect detection device and detection method to solve the technical problem that the existing technology cannot achieve stable clamping and precise positioning in high-precision lens detection.
[0005] To achieve this goal, this application adopts the following technical solutions: A lens defect detection device, comprising: frame; A track assembly, wherein the track assembly is arranged on the frame; An adsorption assembly, comprising an electromagnet, a first rotating member and a driving structure, wherein the adsorption assembly is connected to the inner side of the track assembly, one side of the first rotating member is connected to the electromagnet, and the other side is connected to the driving structure, the electromagnet is used to adsorb the lens, and the driving structure is used to drive the first rotating member to rotate and adjust the current of the electromagnet; A clamping assembly, comprising a first support frame, a second rotating member, an adjusting frame and a clamping member, wherein the support frame is arranged on the frame, the second rotating member is connected to the first support frame, the adjusting frame is rotatably connected to a side of the second rotating member away from the first support frame, a photoelectric mechanism is arranged in the adjusting frame, a pneumatic track is arranged on a side of the adjusting frame away from the second rotating member, and the clamping member is connected to the pneumatic track through a pneumatic piston, so that the pneumatic track controls the movement of the clamping member through positioning information of the photoelectric mechanism; The detection component includes a second support frame, a telescopic arm and a detection mechanism, wherein the second support frame is arranged on the frame, the telescopic arm is connected to the second support frame, and the detection mechanism is arranged at the end of the telescopic arm for detecting lens defects.
[0006] Furthermore, the track assembly includes a first track and a second track, the first track and the second track are arranged on the frame in parallel and at an interval, a slider is slidably connected to the inner side of the first track, the end of the slider away from the first track is connected to the adsorption assembly, and a first driving member is provided on the side of the slider close to the first track, and the first driving member is used to drive the slider to move along the length direction of the first track.
[0007] Further, a loading assembly is slidably connected to the inner side of the second track, and the loading assembly includes a fixing frame and a loading frame, the fixing frame and the loading frame are arranged on the inner side of the second track in parallel, the interior of the fixing frame is a circular hollow structure, an electric suction rod is arranged in the circular hollow structure, and the suction nozzle of the electric suction rod is parallel to the upper surface of the loading frame, and is used to fix the lens on the loading frame; A pushing member is provided on the upper surface of the fixing frame, and a second driving member and a push rod are arranged inside the fixing frame. The second driving member is used to drive the fixing frame to move along the length direction of the second track. The output end of the push rod is connected to the pushing member through a thrust arm, and is used to push the lens to move along the upper surface of the loading rack.
[0008] Furthermore, the adsorption assembly further includes an adsorption plate and a current control device, one side of the first rotating member is connected to the electromagnet, and the other side is connected to the driving structure through a coupling, the electromagnet is used to adsorb the lens, and the driving structure is used to drive the first rotating member to rotate around the central axis; The adsorption plate includes a metal base and an adsorption surface, the metal base is connected to the electromagnet, and the adsorption surface is provided with a plurality of adsorption points for achieving uniform adsorption of the lens; the current control device includes a voltage regulating module and a current sensing element, the voltage regulating module is connected to the electromagnet, and the current sensing element is connected to the current path of the electromagnet for adjusting the current size of the electromagnet.
[0009] Further, a plurality of slots are provided on the inner side of the second rotating member, the slots are used to receive the rotating shaft of the adjusting frame, and a linkage gear connected to the driving structure is provided on the outer side of the second rotating member, the linkage gear is meshed with the output gear of the driving structure, thereby driving the second rotating member to rotate around the central axis; A plurality of slide grooves are arranged on the inner side of the adjusting frame, and a photoelectric element is installed in the slide groove. The photoelectric element is connected to a photoelectric sensor for providing positioning feedback. The adjusting frame rotates in cooperation with the slot of the second rotating member through a rotating shaft.
[0010] Further, the clamping member includes two opposite clamps, a first groove is provided at one end of the clamp away from the air pressure track, second grooves are provided on both sides of the first groove, the width and the recessed depth of the first groove are greater than the second groove, and the port of the second groove is a slope structure; The pneumatic track is embedded in the adjusting frame and connected to the adjusting frame. A pneumatic interface and an airflow regulating device are arranged inside the pneumatic track. The pneumatic interface is connected to the pneumatic piston for adjusting the position and clamping force of the clamp. The airflow regulating device is connected to the pneumatic interface for controlling the flow rate and pressure of the airflow.
[0011] Furthermore, the second support frame is provided with a third track, and a third driving member is slidably connected to the third track, so that the third driving member slides along the length direction of the third track; A fourth driving member, a fourth track is arranged on the side of the fourth driving member, one end of the third driving member away from the third track is embedded in the fourth track, and is connected to the fourth driving member through a slider arranged in the fourth track, so that the fourth driving member can slide along the length direction of the fourth track through the slider, and the telescopic arm is connected to the fourth driving member through a rotating shaft, so that the telescopic arm rotates around the axis of the rotating shaft.
[0012] The present application also discloses a lens defect detection method, which is used to implement any of the lens defect detection devices described above, comprising the steps of: Controlling the electromagnet to adsorb the lens and moving the clamping assembly to above the lens; reducing the current of the electromagnet, controlling the clamping assembly to clamp the lens, and adjusting the position of the clamping assembly; Controlling the detection component to collect images of the lens to obtain image data of the lens surface; Defect detection and classification are performed on the image data to obtain defect determination results, and the lenses are sorted into qualified and unqualified areas based on the determination results.
[0013] Furthermore, the step of adjusting the position of the clamping assembly comprises: Acquiring preliminary position data of the clamping member based on the photoelectric mechanism, converting the preliminary position data into a global coordinate system through a coordinate conversion algorithm, and obtaining global position information of the clamping member; Acquire the coordinate deviation between the global position information and the target coordinate system to obtain the spatial deviation information of the clamping member, and calculate the shortest path displacement based on the spatial deviation information; Based on the fuzzy control algorithm, a plurality of output parameters are generated according to the shortest path displacement to obtain adjusted output data, wherein the output parameters include output parameters of the pneumatic piston and the second rotating member; Adjust the output pressure of the pneumatic piston and the second rotating member according to the output data to obtain the displacement information of the clamping member after adjustment; The airflow change value in the air pressure track is obtained, the displacement information is dynamically corrected based on the airflow change value to obtain a correction parameter, and the pneumatic piston and the second rotating member are adjusted based on the correction parameter until the clamping member reaches the target position.
[0014] Furthermore, the step of performing defect detection and classification on the image data to obtain defect determination results, and sorting the lenses into qualified and unqualified areas based on the determination results includes: Preprocessing the image data of the lens surface to obtain standardized image data, and extracting features from the standardized image data to obtain a defect feature vector; Classifying the defect feature vector to obtain defect types and their classification probabilities; Normalizing the classification probability of each defect type to obtain a standardized probability value, and judging the probability value of each defect type based on a preset threshold to obtain a confidence value of each defect type; Perform weighted average on multiple confidence values to obtain the final defect determination result; According to the defect determination result, a corresponding sorting instruction is generated, and according to the sorting instruction, the lens defect detection device is controlled to perform sorting processing.
[0015] Compared with the prior art, this application has the following beneficial effects: The present invention adopts an adsorption component that combines an electromagnet with a driving structure, and accurately controls the adsorption force through current regulation, thereby ensuring the stable adsorption of the lens, being able to adapt to lenses of different shapes and materials, and avoiding the detection errors caused by the poor adaptability of traditional mechanical devices. The synergy between the adsorption component and the track component improves the positioning accuracy and stability of the lens. Furthermore, the clamping component cooperates with the photoelectric mechanism through the pneumatic track, and can flexibly adjust the clamping force and position while ensuring the precise positioning of the lens, greatly reducing the problem of false detection or missed detection caused by improper clamping. The design of the adjustment frame and the rotating part makes the equipment more flexible and stable during operation, reducing the frequent calibration operations in traditional equipment. Finally, the detection component can perform accurate detection according to the different postures of the lens through the combination of the telescopic arm and the detection mechanism, thereby improving the coverage and accuracy of the detection.
[0016] Overall, the design of this equipment effectively solves the problems of insufficient adsorption, clamping and positioning accuracy in the existing technology, greatly improves the automation level and accuracy of the lens inspection process, reduces the possibility of errors, and significantly improves production efficiency and inspection quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0018] The structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which this application can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by this application, should still fall within the scope of the technical contents disclosed in this application.
[0019] Figure 1 It is a schematic diagram of the overall structure of the lens defect detection equipment; Figure 2 It is a structural schematic diagram of an embodiment of a loading component of a lens defect detection device; Figure 3 A schematic structural diagram of an embodiment of an adsorption component of a lens defect detection device; Figure 4 A schematic structural diagram of an embodiment of a clamping assembly of a lens defect detection device; Figure 5 for Figure 4 An enlarged schematic diagram of point A; Figure 6 A schematic structural diagram of an embodiment of a detection component of a lens defect detection device; Figure 7 Schematic diagram of the overall steps of the lens defect detection method.
[0020] Illustration Description: 1. Frame; 2. Track assembly; 21. First track; 213. First driving member; 22. Second track; 3. Adsorption assembly; 31. Electromagnet; 32. First rotating member; 33. Driving structure; 4. Clamping assembly; 41. First supporting frame; 42. Second rotating member; 43. Adjusting frame; 44. Clamping member; 441. Fixture; 442. First groove; 443. Second groove; 444. Inclined surface structure; 45. Pneumatic track; 5. Detection assembly; 51. Second supporting frame; 52. Telescopic arm; 53. Detection mechanism; 54. Third track; 55. Third driving member; 56. Fourth track; 57. Fourth driving member; 58. Rotating shaft; 6. Loading assembly; 61. Fixed frame; 62. Loading frame; 63. Electric suction rod; 64. Pushing member. DETAILED DESCRIPTION
[0021] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described below are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0022] In the description of the present application, it should be understood that the terms "upper", "lower", "top", "bottom", "inside", "outside", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. It should be noted that when a component is considered to be "connected" to another component, it may be directly connected to the other component or there may be a centrally arranged component at the same time.
[0023] The technical solution of the present application is further explained below with reference to the accompanying drawings and through specific implementation methods.
[0024] Reference Figures 1 to 6The present application provides a lens defect detection device, comprising: a frame 1; a track assembly 2, wherein the track assembly 2 is arranged on the frame 1; an adsorption assembly 3, comprising an electromagnet 31, a first rotating member 32 and a driving structure 33, wherein the adsorption assembly 3 is connected to the inner side of the track assembly 2, one side of the first rotating member 32 is connected to the electromagnet 31, and the other side is connected to the driving structure 33, wherein the electromagnet 31 is used to adsorb the lens, and the driving structure 33 is used to drive the first rotating member 32 to rotate and adjust the current of the electromagnet 31; a clamping assembly 4, comprising a first supporting frame 41, a second rotating member 42, an adjusting frame 43 and a clamping member 44, wherein the supporting frame is arranged on the frame 1, and the second rotating member 42 is connected to the first The support frame 41 is connected, the adjustment frame 43 is rotatably connected to the side of the second rotating member 42 away from the first support frame 41, a photoelectric mechanism is arranged in the adjustment frame 43, a pneumatic track 45 is arranged on the side of the adjustment frame 43 away from the second rotating member 42, the clamping member 44 is connected to the pneumatic track 45 through a pneumatic piston, so that the pneumatic track 45 controls the movement of the clamping member 44 through the positioning information of the photoelectric mechanism; the detection component 5 includes a second support frame 51, a telescopic arm 52 and a detection mechanism 53, the second support frame 51 is arranged on the frame 1, the telescopic arm 52 is connected to the second support frame 51, and the detection mechanism 53 is arranged at the end of the telescopic arm 52 for detecting lens defects.
[0025] In this embodiment, the adsorption assembly 3 is composed of an electromagnet 31, a first rotating member 32 and a driving structure 33. The adsorption assembly 3 firmly adsorbs the lens from the feeding device to the device to prevent the lens from moving during the detection process and ensure the accuracy of the detection. The electromagnet 31 changes the size of the adsorption force by adjusting the current, which can adapt to lenses of different sizes and weights and provide the necessary adsorption force to ensure the stability of the lens. The first rotating member 32 is connected to the electromagnet 31, and the driving structure 33 drives the rotating member to rotate to realize the rotation and positioning of the lens in the device, so that the lens can adjust the angle or position according to the detection requirements. This rotation function allows the lens to be detected in multiple directions, avoiding the limitation that traditional equipment can only be inspected from a fixed angle. The driving structure 33 can accurately adjust the current of the electromagnet 31, further optimize the adsorption force, ensure the stability of the lens during the entire detection process, and at the same time, the lens can be tightened and loosened by adjusting the current of the electromagnet 31. The clamping assembly 4 includes a first support frame 41, a second rotating member 42, an adjustment frame 43 and a clamping member 44. The first support frame 41 is installed on the frame 1, providing a support base for the clamping assembly 4. The second rotating member 42 is connected to the first support frame 41, and can adjust the position and angle of the adjustment frame 43. The photoelectric mechanism arranged in the adjustment frame 43 can accurately detect the position of the lens and provide real-time feedback. Through the positioning information of the photoelectric mechanism, the adjustment frame 43 can accurately control the movement of the clamping member 44 to ensure that the lens remains in the correct position during the clamping process. A pneumatic track 45 is also arranged on the other side of the adjustment frame 43, and the precise movement of the clamping member 44 is controlled by a pneumatic piston. The combination of the pneumatic track 45 and the pneumatic piston enables the clamping member 44 to be automatically adjusted according to the size and shape of the lens, improves the adaptability of the equipment to different lenses, and ensures the stability and accuracy of the clamping. The detection assembly 5 includes a second support frame 51, a telescopic arm 52 and a detection mechanism 53. The second support frame 51 is installed on the frame 1, providing a supporting function to ensure that the telescopic arm 52 and the detection mechanism 53 can work smoothly. The telescopic arm 52 is connected to the second support frame 51, and can be telescopically adjusted within a certain range to ensure that the detection mechanism 53 can adjust the detection angle and distance according to the position of the lens. The detection mechanism 53 is installed at the end of the telescopic arm 52 and is mainly responsible for detecting defects on the lens surface. The detection mechanism 53 can use a visual sensor or other detection methods to scan the lens surface and identify defects or flaws. By adjusting the telescopic arm 52, the detection mechanism 53 can flexibly adjust the detection range and detection accuracy, thereby ensuring that every part of the lens surface can be fully inspected.
[0026] The lens defect detection equipment of this embodiment achieves efficient and accurate detection of the lens through precise design and coordinated work of multifunctional components. The adsorption component 3 stabilizes the lens and adjusts it to the optimal detection angle through the adsorption of the electromagnet 31 and the precise control of the rotating part; the clamping component 4 uses the photoelectric mechanism and the air pressure track 45 to control the precise movement of the clamping part 44 to ensure that the lens will not produce errors due to improper clamping during the entire detection process; and the detection component 5 ensures that each lens can be fully inspected and defects can be found and located in time through the flexible adjustment of the telescopic arm 52 and the high-precision scanning of the detection mechanism 53. The design of this equipment not only improves the detection efficiency and reduces the need for manual intervention, but also ensures the accuracy and reliability of the detection through a highly automated control system, providing important technical support for the quality control of the lens.
[0027] It is worth noting that the driving structure 33 drives the first rotating member 32 to rotate by driving the motor and the transmission device. The first rotating member 32 is connected to one side of the electromagnet 31 and the other side is connected to the driving structure 33. The driving structure 33 can be a servo motor, a stepper motor or a DC motor. The rotation of the motor transmits power to the first rotating member 32 through gears, belts or other transmission devices to ensure that the first rotating member 32 can move at a predetermined angle or rotation speed, thereby achieving angle adjustment and position adjustment of the electromagnet 31. The function of the electromagnet 31 is to adsorb the lens. The driving structure 33 is also used to adjust the current of the electromagnet 31. The adjustment of the current determines the magnetic field strength of the electromagnet 31, thereby affecting the magnitude of the adsorption force. In order to achieve this control, the driving structure 33 can integrate a current regulation module, for example, a digital signal processing unit (DSP) or a microcontroller unit (MCU), which is connected to the current regulation circuit of the electromagnet 31. By adjusting the magnitude of the current, precise control of the adsorption force can be achieved, so that the electromagnet 31 can adjust its adsorption force according to the size, weight and other parameters of the lens, ensuring that the lens can be firmly adsorbed without loosening or falling off. The components of the driving structure 33 include a motor (such as a servo motor or a stepper motor), a current control module, and a drive circuit connected to the electromagnet 31. The motor is used to drive the first rotating member 32 to rotate, realize the lens positioning and the position adjustment of the electromagnet 31; and the current control module adjusts the adsorption force of the electromagnet 31 by controlling the magnitude of the current. The two functions complement each other to ensure that the lens can be stably and accurately adsorbed at a predetermined position during the detection process. A track is provided on the first support frame 41 to cooperate with the second rotating member 42 and the adjustment frame 43. The setting of the track enables the second rotating member 42 and the adjustment frame 43 to slide vertically along the track, thereby adjusting the distance between the clamping member 44 and the lens.
[0028] In another embodiment, the pneumatic track 45 is a track driven by a pneumatic system, and a plurality of pneumatic pistons are installed inside. The function of the pneumatic piston is to push the connected clamp 44 to move along the pneumatic track 45 according to the change of air pressure. The photoelectric mechanism mainly plays the role of position detection and feedback, and is composed of a light source and a light receiver to form a photoelectric sensor system. When the clamp 44 moves along the pneumatic track 45, the photoelectric mechanism can detect the position of the clamp 44 in real time and send a feedback signal according to the current position. Through this feedback, the system can understand the precise position of the clamp 44, thereby controlling the pneumatic piston of the pneumatic track 45 to make corresponding adjustments. The pneumatic piston adjusts the air pressure to achieve fine adjustment of the clamp 44, ensuring that the clamp 44 can move to a precise position along the pneumatic track 45.
[0029] In one embodiment, referring to Figure 1 The track assembly 2 includes a first track 21 and a second track 22, the first track 21 and the second track 22 are arranged on the frame 1 in parallel and at an interval, a slider is slidably connected to the inner side of the first track 21, and the end of the slider away from the first track 21 is connected to the adsorption assembly 3, and a first driving member 213 is arranged on the side of the slider close to the first track 21, and the first driving member 213 is used to drive the slider to move along the length direction of the first track 21.
[0030] In this embodiment, the track assembly 2 is composed of a first track 21 and a second track 22, and the two tracks are arranged to be parallel and spaced apart on the rack 1. The parallel arrangement of the track assembly 2 can ensure the stability of the device during movement. Since there is a certain interval between the two tracks, the slider can slide smoothly between the two tracks, while ensuring the directionality and accuracy of the movement, and avoiding offset or jamming. The slider is slidably connected to the inner side of the first track 21 and can move freely along the length direction of the track. One end of the slider is connected to the adsorption assembly 3, and the adsorption assembly 3 fixes the lens. A first driving member 213 is provided at the connection between the slider and the first track 21. The function of the first driving member 213 is to provide power to the slider so that it moves along the length direction of the first track 21. The first driving member 213 may include a motor, a drive belt or chain, a servo mechanism, etc., which generates power through a motor or other driving method and transmits it to the slider. It is worth noting that the parallel track layout can ensure that the slider will not be laterally offset during movement, thereby ensuring the position adjustment accuracy of the lens. In practical applications, the device needs to withstand a certain workload, so the track assembly 2 needs to have sufficient stability to withstand the effects of these forces. By using parallel tracks, the equipment can evenly distribute the load over a large range, avoid the phenomenon of excessive force on one side, and reduce the structural deformation or slider jamming caused by uneven load. The design of the interval of the track assembly 2 allows the slider to move smoothly between the two tracks, and at the same time, there is enough space in the design to accommodate the installation of the driver. For example, the setting of the driver usually requires a certain amount of space to install components such as motors and controllers, and the interval of the tracks provides enough space to ensure the reasonable layout and operation of these components. In this design, the first driver 213 is arranged on the side of the slider close to the first track 21. This design not only saves space, but also ensures that the driver can directly and effectively act on the slider, reducing energy loss or interference during power transmission.
[0031] In one embodiment, referring to Figure 2 A loading component 6 is slidably connected to the inner side of the second track 22, and the loading component 6 includes a fixed frame 61 and a loading frame 62. The fixed frame 61 and the loading frame 62 are arranged parallel to the inner side of the second track 22. The interior of the fixed frame 61 is a circular hollow structure. An electric suction rod 63 is arranged in the circular hollow structure. The suction nozzle of the electric suction rod 63 is parallel to the upper surface of the loading frame 62 and is used to fix the lens on the loading frame 62; a pushing member 64 is arranged on the upper surface of the fixed frame 61, and a second driving member and a pushing rod are arranged inside the fixed frame 61. The second driving member is used to drive the fixed frame 61 to move along the length direction of the second track 22, and the output end of the pushing rod is connected to the pushing member 64 through a thrust arm, which is used to push the lens to move along the upper surface of the loading frame 62.
[0032] In this embodiment, the inner side of the second track 22 is connected to the loading assembly 6 by sliding, so that the loading assembly 6 can slide along a certain direction on the track. The loading assembly 6 is composed of a fixed frame 61 and a loading frame 62. These two parts are arranged in parallel on the inner side of the second track 22. The fixed frame 61 and the loading frame 62 jointly bear the position stability of supporting and guiding the lens to ensure that the lens will not be displaced or misplaced during movement. The interior of the loading frame 62 is a circular hollow structure. This design enables the loading frame 62 to accommodate the electric suction rod 63 and provide effective support and fixation for the lens without affecting other operations. The suction nozzle of the electric suction rod 63 is parallel to the upper surface of the loading frame 62, and its adsorption capacity is controlled by electric drive. When the lens is placed on the loading frame 62, the electric suction rod 63 will adjust the adsorption force as needed to firmly adsorb the lens on the loading frame 62. This can effectively avoid the change of the lens position caused by vibration or external force during the lens transmission process. The upper surface of the fixed frame 61 is provided with a pusher 64, and the pusher 64 is connected to the push rod through a thrust arm to form a power transmission system. The fixed frame 61 is also equipped with a second driving member inside, and the second driving member is responsible for driving the fixed frame 61 to move smoothly along the length direction of the second track 22. Specifically, the second driving member provides power to the fixed frame 61 through a motor or other driving mechanism, so that the fixed frame 61 can slide accurately on the track. The push rod drives the pusher 64 through the force of the thrust arm to push the lens to move smoothly along the upper surface of the loading rack 62, and then pushes the lens from the loading rack 62 to the adsorption assembly 3. In another embodiment, a stroke detection device is also included, which is arranged in the first track 21 and the second track 22, and is fixedly connected to the frame 1, and is used to detect the moving position of the fixed frame 61 in real time. The stroke detection device includes two sensor heads. The diameter range of the first sensor head is larger than that of the second sensor head, and the second sensor head is arranged obliquely above the first sensor head. The first sensor head detects the moving position of the feeding component 6, and the second sensor head is used to detect whether the adsorption component 3 adsorbs the lens.
[0033] In one embodiment, the adsorption component 3 also includes an adsorption plate and a current control device, one side of the first rotating part 32 is connected to the electromagnet 31, and the other side is connected to the driving structure 33 through a coupling, the electromagnet 31 is used to adsorb the lens, and the driving structure 33 is used to drive the first rotating part 32 to rotate around the central axis; the adsorption plate includes a metal base and an adsorption surface, the metal base is connected to the electromagnet 31, and the adsorption surface is provided with multiple adsorption points for achieving uniform adsorption of the lens; the current control device includes a voltage regulating module and a current sensing element, the voltage regulating module is connected to the electromagnet 31, and the current sensing element is connected to the current path of the electromagnet 31, for adjusting the current size of the electromagnet 31.
[0034] In this embodiment, the current control of the electromagnet 31 is realized by a current control device, which includes a voltage regulating module and a current sensing element. The voltage regulating module is used to adjust the voltage of the electromagnet 31, thereby indirectly adjusting the current size of the electromagnet 31 and controlling the adsorption force of the electromagnet 31. The current sensing element monitors the current path of the electromagnet 31 in real time, and feeds back the current change to the control system so as to further adjust the working state of the electromagnet 31 according to the detection result. When it is necessary to adsorb lenses of different sizes or different weights, the current size can be flexibly adjusted to ensure that the adsorption of the lens is neither too weak to be firmly adsorbed, nor too strong to cause damage to the lens. The first rotating member 32 is connected to the electromagnet 31, and the other side is connected to the driving structure 33 through a coupling to form a rotating mechanism. The driving structure 33 rotates the first rotating member 32 around the central axis through a driving device such as a motor. When the lens is adsorbed on the adsorption plate, the lens can be positioned or adjusted at a specific angle through a rotating mechanism. The surface of the adsorption plate is designed with multiple adsorption points for uniformly adsorbing the lens. The adsorption points allow the lens to be evenly distributed when adsorbed, avoiding the situation where the local adsorption is too strong or too weak, thereby ensuring the stability of the lens during the transmission process. When the lens is adsorbed, multiple adsorption points can work together to balance the gravity distribution of the lens during the adsorption process, reducing deformation or damage of the lens during the adsorption process.
[0035] In one embodiment, a plurality of slots are provided on the inner side of the second rotating member 42, and the slots are used to receive the rotating shaft 58 of the adjusting frame 43. A linkage gear connected to the driving structure 33 is provided on the outer side of the second rotating member 42, and the linkage gear is meshed with the output gear of the driving structure 33, so as to drive the second rotating member 42 to rotate around the central axis. A plurality of slide grooves are provided on the inner side of the adjusting frame 43, and photoelectric elements are installed in the slide grooves. The photoelectric elements are connected to photoelectric sensors for providing positioning feedback. The adjusting frame 43 rotates in cooperation with the slots of the second rotating member 42 via the rotating shaft 58.
[0036] In this embodiment, a plurality of slots are provided on the inner side of the second rotating member 42, and the function of the slots is to receive the rotating shaft 58 of the adjusting frame 43, so that the adjusting frame 43 and the second rotating member 42 are fixedly connected through the rotating shaft 58, ensuring that the adjusting frame 43 can rotate together with the second rotating member 42 without being disengaged or offset. A linkage gear is provided on the outer side of the second rotating member 42, and the linkage gear is meshed with the output gear of the driving structure 33. The output gear of the driving structure 33 drives the linkage gear to rotate through gear transmission, thereby driving the second rotating member 42 to rotate around its central axis. A plurality of slide grooves are provided on the inner side of the adjusting frame 43, and photoelectric elements are installed in the slide grooves. These photoelectric elements are connected to photoelectric sensors and play a role in providing positioning feedback. Specifically, the photoelectric element senses the specific position of the adjusting frame 43 and feeds back the position data to the control system, thereby monitoring the motion state of the adjusting frame 43 in real time and making adjustments. This design improves the accuracy of positioning, so that the adjusting frame 43 can move according to a precise trajectory during the rotation process, and ensures the stability and reliability of the equipment operation.
[0037] In one embodiment, reference Figure 5 The clamping member 44 includes two opposite clamps 441, and a first groove 442 is provided at one end of the clamp 441 away from the pneumatic track 45, and second grooves 443 are provided on both sides of the first groove 442. The width and the recessed depth of the first groove 442 are greater than those of the second groove 443, and the port of the second groove 443 is a slope structure 444; the pneumatic track 45 is embedded in the adjusting frame 43 and connected to the adjusting frame 43, and a pneumatic interface and an airflow regulating device are provided inside the pneumatic track 45, and the pneumatic interface is connected to the pneumatic piston for adjusting the position and clamping force of the clamp 441, and the airflow regulating device is connected to the pneumatic interface for controlling the flow rate and pressure of the airflow.
[0038] In this embodiment, the clamping member 44 includes two opposing clamps 441. A first groove 442 is provided at one end of each clamp 441 away from the pneumatic track 45. The first groove 442 is designed to have a larger width and a recessed depth, which is used to accommodate and clamp the main part of the lens to ensure that the clamping force is sufficient and stable. Second grooves 443 are provided on both sides adjacent to the first groove 442. The width and depth of the second groove 443 are smaller than the first groove 442, and the port of the second groove 443 is a slope structure 444, which accommodates and clamps both sides of the lens, especially at the place where the clamp 441 is close to the port, and a more uniform force distribution is achieved through the slope structure 444 to avoid unnecessary damage to the object. The pneumatic track 45 is embedded in the adjustment frame 43 and connected to the adjustment frame 43. The pneumatic track 45 adjusts the position and clamping force of the clamp 441 through pneumatic control. A pneumatic interface and an airflow regulating device are installed inside the pneumatic track 45. The pneumatic interface is connected to the pneumatic piston. The position of the clamp 441 is adjusted by changing the displacement of the pneumatic piston, so that the clamp 441 can be accurately adjusted in displacement when needed, so as to adapt to clamped objects of different sizes or shapes. The airflow regulating device is connected to the pneumatic interface and is used to control the flow and pressure of the airflow. By adjusting the flow and pressure of the airflow, the airflow regulating device can accurately control the movement of the pneumatic piston, thereby adjusting the clamping force of the clamp 441. When the pressure of the airflow increases, the pneumatic piston will push the clamp 441 inward to clamp, increasing the clamping force; when the airflow pressure decreases, the clamp 441 will loosen, reducing the clamping force. The pneumatic system can flexibly adjust the clamping force of the clamp 441 to ensure that different types of objects will not be deformed or loosened due to excessive clamping or insufficient clamping force during the clamping process.
[0039] In one embodiment, reference Figure 6 , a third track 54 is provided on the second support frame 51, and a third driving member 55 is slidably connected to the third track 54, so that the third driving member 55 slides along the length direction of the third track 54; a fourth driving member 57, a fourth track 56 is provided on the side of the fourth driving member 57, and the end of the third driving member 55 away from the third track 54 is embedded in the fourth track 56, and is connected to the fourth driving member 57 through a slider provided in the fourth track 56, so that the fourth driving member 57 can slide along the length direction of the fourth track 56 through the slider, and the telescopic arm 52 is connected to the fourth driving member 57 through a rotating shaft 58, so that the telescopic arm 52 rotates around the axis of the rotating shaft 58.
[0040] In this embodiment, a third track 54 is provided on the second support frame 51, and a third driving member 55 is slidably connected to the third track 54. The third driving member 55 can slide along the length direction of the track, and the entire detection assembly 5 can be accurately displaced on the frame 1, ensuring that the device can perform comprehensive detection of the lens. One end of the third driving member 55 is embedded in the fourth track 56, and is connected to the fourth driving member 57 through a slider. The fourth driving member 57 can slide along the length direction of the fourth track 56 through the slider. The telescopic arm 52 is connected to the fourth driving member 57 through a rotating shaft 58. The setting of the rotating shaft 58 enables the telescopic arm 52 to rotate around the axis of the rotating shaft 58, which provides a more flexible operation mode for the detection of the lens. The telescopic arm 52 can change the angle or position of the detection mechanism 53 by rotating, ensuring that the lens can be inspected at various angles. Combined with the coordinated movement of the third driving member 55 and the fourth driving member 57, the telescopic arm 52 can accurately adjust the position of the detection mechanism 53 in three-dimensional space, ensuring the comprehensiveness and efficiency of the detection process.
[0041] Reference Figure 7 The present application also proposes a lens defect detection method, which is applied to any of the lens defect detection devices described above, comprising the steps of: S1: Control the electromagnet to adsorb the lens and move the clamping assembly above the lens; S2: reducing the current of the electromagnet, controlling the clamping assembly to clamp the lens, and adjusting the position of the clamping assembly; S3: Control the detection component to collect images of the lens to obtain image data of the lens surface; S4: performing defect detection and classification on the image data to obtain defect determination results, and sorting the lenses into qualified and unqualified areas based on the determination results.
[0042] In steps S1 to S4, the lens is adsorbed by the force of the electromagnet, and the electromagnet generates a magnetic field by the change of the current to attract or release the lens. In specific operation, when the electromagnet is activated, the lens is firmly adsorbed by generating suction. A closed-loop control system can be used to adjust the current to ensure that the suction force is suitable for the weight and size of the lens, thereby avoiding the situation where the lens slips or is not firmly clamped. After the electromagnet adsorbs the lens, the lens is accurately moved to a predetermined position, that is, the clamping assembly moves the lens to the lens detection area. In this process, the displacement of the clamping assembly is usually controlled by a high-precision servo motor, and the control system of the servo motor needs to be feedback-adjusted according to the real-time position of the lens, the position of the clamping assembly and the target position to ensure that the lens can be accurately moved to the top. The lens is converted from the adsorption state of the electromagnet to the clamping state, so that the lens can be detected in all directions. When achieving this, the current of the electromagnet is gradually reduced until the suction of the electromagnet is completely turned off, and the clamping assembly gradually clamps the lens firmly. At this time, the clamping component may adopt two methods: one is to clamp the outer edge of the lens by a mechanical clamp, and the other is to fix the lens by a vacuum suction cup, pneumatic clamp, etc. While the lens is clamped, the clamping component also needs to adjust the position of the lens to ensure that the lens is in the best shooting position of the detection component. For example, if the lens detection is performed by a high-precision camera, then the clamping component needs to adjust the angle and position of the lens according to the requirements of the detection area, so that the lens surface can be presented flatly in front of the detection camera to ensure that the shooting effect is not affected. Then, the lens image is obtained based on the detection component. Image acquisition can be completed by a high-resolution camera or image sensor. In order to ensure the quality of image acquisition, a strong light source, such as an LED light, can be installed above the lens. The brightness and angle of the light source can be adjusted as needed to avoid poor image quality due to uneven lighting or reflection problems. In this process, the collected image data can be preliminarily processed by image processing algorithms, such as denoising, edge detection, color adjustment, etc., to provide a clear data basis for the next step of defect detection. After the image data acquisition is completed, the collected data is analyzed using image processing technology. The core technology of defect detection is generally based on computer vision and machine learning algorithms. Specifically, the defect detection algorithm learns how to distinguish defects from normal areas on the lens surface through a large amount of image data in the training set. The system looks for the characteristics of defects in the image, such as scratches, bubbles, stains, or other irregular areas on the lens surface. Once the system recognizes these features, it will classify them according to pre-set standards to determine the type and severity of the defects. If the defects meet the unqualified standards, the lens will be marked as defective. In actual operation, the standards for defect classification may vary depending on different application scenarios.For example, in the production process of camera lenses, small bubbles or tiny scratches may be considered unacceptable, while in other industries, such as the manufacture of optical components, some smaller defects may be allowed. Therefore, the system needs to be able to flexibly adjust according to specific standards to adapt to different product requirements. Finally, based on the results of the defect judgment, the lens will be sorted into a qualified area or an unqualified area. This process is usually completed through a mechanical sorting system, which sends the lens to different areas through a robotic arm, conveyor belt, etc. according to the judgment results. For example, if the lens is judged to be qualified, it will be sent to the next process via a conveyor belt; if it is judged to be unqualified, it will be sent to the scrap area or reprocessed.
[0043] It is worth noting that the implementation method in this embodiment can be implemented by various hardware, such as a microprocessor, a microcontroller, a digital signal processor (DSP) or other programmable logic devices. The control module can be composed of one or more of these hardware devices, which implement the control algorithm and planning algorithm through programming.
[0044] In one embodiment, the step of adjusting the position of the clamping assembly comprises: Acquiring preliminary position data of the clamping member based on the photoelectric mechanism, converting the preliminary position data into a global coordinate system through a coordinate conversion algorithm, and obtaining global position information of the clamping member; Acquire the coordinate deviation between the global position information and the target coordinate system to obtain the spatial deviation information of the clamping member, and calculate the shortest path displacement based on the spatial deviation information; Based on the fuzzy control algorithm, a plurality of output parameters are generated according to the shortest path displacement to obtain adjusted output data, wherein the output parameters include output parameters of the pneumatic piston and the second rotating member; Adjust the output pressure of the pneumatic piston and the second rotating member according to the output data to obtain the displacement information of the clamping member after adjustment; The airflow change value in the air pressure track is obtained, the displacement information is dynamically corrected based on the airflow change value to obtain a correction parameter, and the pneumatic piston and the second rotating member are adjusted based on the correction parameter until the clamping member reaches the target position.
[0045] In this embodiment, the preliminary position data of the clamping member is obtained based on the photoelectric mechanism. The photoelectric mechanism can be composed of a laser sensor or a photoelectric sensor, etc., and can detect the position of the clamping member within a very precise range. When the clamping assembly is close to the lens, the photoelectric sensor captures the spatial position of the clamping member in real time by reflecting a light beam or emitting a laser beam. Through these data, the preliminary position of the clamping member is obtained, and the position data in the global coordinate system is converted into the position data in the global coordinate system through a coordinate conversion algorithm. Tools such as rotation matrices and displacement vectors can be used to convert the data in the local coordinate system into values in the global coordinate system. The spatial deviation information of the clamping member is obtained according to the coordinate deviation between the global position information of the clamping member and the target coordinate system. The target coordinate system is a preset reference position, which indicates the position where the clamping assembly should reach, which can be set by the user or automatically calculated by the system; based on the spatial deviation information, the shortest path displacement required by the clamping member is calculated, and the path from the current deviation to the target position is calculated. It can be realized based on geometry and the shortest path algorithm to ensure that the clamping member can move along the shortest path, reduce unnecessary movement, and improve the efficiency and accuracy of positioning. Once the shortest path displacement is calculated, the fuzzy control algorithm is used for further adjustment. Fuzzy control is a nonlinear control method, which is particularly suitable for complex systems where the control target is not easy to accurately describe. Here, the fuzzy control algorithm processes the shortest path displacement and converts it into multiple output parameters. Through fuzzy rules, a series of control instructions can be generated for the system, which include the output parameters of the pneumatic piston and the second rotating member. The role of the pneumatic piston and the rotating member in the system is to drive the clamping component to make precise displacement adjustments, and fuzzy control can dynamically adjust these parameters according to real-time data to ensure that the clamping component can reach the target position along the optimal path. In this process, the pneumatic piston drives the displacement of the mechanical component through the change of airflow pressure, and the rotating member is responsible for adjusting the rotation angle of the clamping component. The precise adjustment of these output parameters needs to be continuously corrected through the feedback mechanism, specifically, the real-time monitoring of the changes in the airflow in the pneumatic track. The change value of the airflow is usually related to the pressure of the pneumatic piston and the rotation of the rotating member. These changes can reflect whether the clamping component deviates from the predetermined path during the adjustment process. If a deviation is detected, the displacement information will be dynamically corrected according to the change value of the airflow, and the correction parameters will be updated. This correction process is automatic, and the real-time and precision requirements are extremely high to ensure that the clamping component does not deviate excessively during the adjustment process. Through this series of algorithms and control processes, when the clamp reaches the target position, the position adjustment process is completed, and the clamping assembly will firmly fix the lens, preparing for subsequent image acquisition and defect detection.
[0046] In one embodiment, the step of performing defect detection and classification on the image data to obtain defect determination results, and sorting the lenses into qualified and unqualified areas based on the determination results includes: Preprocessing the image data of the lens surface to obtain standardized image data, and extracting features from the standardized image data to obtain a defect feature vector; Classifying the defect feature vector to obtain defect types and their classification probabilities; Normalizing the classification probability of each defect type to obtain a standardized probability value, and judging the probability value of each defect type based on a preset threshold to obtain a confidence value of each defect type; Perform weighted average on multiple confidence values to obtain the final defect determination result; According to the defect determination result, a corresponding sorting instruction is generated, and according to the sorting instruction, the lens defect detection device is controlled to perform sorting processing.
[0047] In this embodiment, the purpose of preprocessing is to eliminate or reduce interference factors such as noise and uneven illumination in the image, and convert the image data into a format suitable for subsequent processing through standardization operations. Standardization operations include image resizing, grayscale value normalization, contrast enhancement, etc. Key information that can represent defect features is extracted from the standardized image data. Feature extraction can be based on computer vision methods, such as edge detection, texture analysis, etc., or it can be automatically learned through deep learning algorithms. Defect feature vectors can be obtained by extracting these features, which is a set of numerical values describing the defect features in the image. The defect feature vector is a high-dimensional data expression of the surface defects of the lens, and each feature vector represents the characteristics of a certain type of defect in the image. These features generally include information such as the shape, size, edge features, and texture patterns of the defects. Machine learning algorithms, especially classification algorithms, are used for classification. The purpose of classification processing is to map the defect feature vectors to different defect types, such as scratches, bubbles, stains, etc., and assign a classification probability to each defect type. Classification algorithms may include support vector machines (SVM), decision trees, random forests, neural networks, etc. The specific choice of algorithm depends on the characteristics of the training data and the requirements for classification accuracy. After classification, each defect type obtained will be accompanied by a classification probability, indicating the possibility of the occurrence of the defect type. The purpose of normalization is to convert the probability values of different defect types into a unified range, which can be a value in the interval [0, 1], so that the probabilities of various defects are comparable. On this basis, the probability value of each defect type is judged according to the preset threshold. If the probability value of a defect type exceeds the preset threshold, then the defect type will be judged to exist and meet the defect standard. After the probability values of all defect types are judged, the confidence value of each defect type will be obtained. The confidence value is a value obtained based on the reliability evaluation of each classification result, between 0 and 1. The larger the value, the more reliable the judgment of the defect type. The confidence values of multiple defect types will be weighted averaged to obtain a final defect judgment result. The purpose of weighted averaging is to comprehensively consider the relative importance and reliability of each type of defect, and finally obtain a comprehensive defect judgment result. Based on the final defect judgment result, the system will generate corresponding sorting instructions. The sorting instructions will determine whether the lens is sorted into the qualified area or the unqualified area, and then control the lens defect detection equipment to perform the sorting operation. This sorting operation is usually completed by a robotic arm or other automated equipment. According to the test results, the system will automatically place the lens on a qualified conveyor belt, or move it to an unqualified area for further processing or elimination. For a specific example, suppose that on a lens production line, a batch of lenses are undergoing automatic defect detection. Through image acquisition and preprocessing, the system obtains standardized image data for each lens, and obtains the defect feature vector of each lens through feature extraction.Suppose a lens has a scratch in the image. After classification, the scratch is judged as a scratch type with a classification probability of 0.85. This probability value exceeds the preset threshold of 0.7, so it is judged to have a defect. After weighted averaging of multiple confidence values, the final defect judgment result shows that the lens is unqualified, and the system will then move the lens to the unqualified area through sorting instructions. If another lens is judged to be flawless, the system will move the lens to the qualified area.
[0048] In another embodiment, the algorithm expression of the above embodiment is: ,in, It is the preliminary position data conversion item, which represents the conversion process of the fixture from the local coordinate system to the global coordinate system. It is the preliminary position data of the clamp (local coordinate system). is the target coordinate system position. It is the function expression for calculating the coordinate deviation and determining the displacement of the shortest path. α, β, γ are weight coefficients, which respectively represent the importance of each part in the final decision, and these coefficients are used to balance the contribution of each part. The final sorting instruction determines whether the lens enters the qualified area. The final defect judgment result is used to generate sorting instructions. It is the product of the defect feature vector and the classification confidence value, which is used to calculate the final defect judgment result. It is the fuzzy control output, used to generate the control parameters of the pneumatic piston and rotating parts.
[0049] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A lens defect detection device, characterized in that: include: Rack(1); A track assembly (2), wherein the track assembly (2) is arranged on the frame (1); An adsorption component (3) comprising an electromagnet (31), a first rotating member (32) and a driving structure (33), wherein the adsorption component (3) is connected to the inner side of the track component (2), one side of the first rotating member (32) is connected to the electromagnet (31), and the other side is connected to the driving structure (33); A clamping assembly (4), comprising a first support frame (41), a second rotating member (42), an adjusting frame (43) and a clamping member (44), wherein the support frame is arranged on the frame (1), the second rotating member (42) is connected to the first support frame (41), the adjusting frame (43) is rotatably connected to a side of the second rotating member (42) away from the first support frame (41), a photoelectric mechanism is arranged in the adjusting frame (43), a pneumatic track (45) is arranged on a side of the adjusting frame (43) away from the second rotating member (42), and the clamping member (44) is connected to the pneumatic track (45) via a pneumatic piston; The detection assembly (5) comprises a second support frame (51), a telescopic arm (52) and a detection mechanism (53), wherein the second support frame (51) is arranged on the frame (1), the telescopic arm (52) is connected to the second support frame (51), and the detection mechanism (53) is arranged at the end of the telescopic arm (52).
2. The lens defect detection device according to claim 1, characterized in that: The track assembly (2) comprises a first track (21) and a second track (22), the first track (21) and the second track (22) being arranged on the frame (1) in parallel and spaced apart from each other, a slider being slidably connected to the inner side of the first track (21), an end of the slider away from the first track (21) being connected to the adsorption assembly (3), a first driving member (213) being arranged on a side of the slider close to the first track (21), the first driving member (213) being used to drive the slider to move along the length direction of the first track (21).
3. The lens defect detection device according to claim 2, characterized in that: A loading assembly (6) is slidably connected to the inner side of the second track (22), the loading assembly (6) comprising a fixing frame (61) and a loading frame (62), the fixing frame (61) and the loading frame (62) being arranged in parallel on the inner side of the second track (22), the interior of the fixing frame (61) being a circular hollow structure, an electric suction rod (63) being arranged in the circular hollow structure, the suction nozzle of the electric suction rod (63) being parallel to the upper surface of the loading frame (62) and being used for fixing the lens on the loading frame (62); A pushing member (64) is provided on the upper surface of the fixing frame (61), and a second driving member and a push rod are provided inside the fixing frame (61), wherein the second driving member is used to drive the fixing frame (61) to move along the length direction of the second track (22), and the output end of the push rod is connected to the pushing member (64) via a thrust arm, and is used to push the lens to move along the upper surface of the loading frame (62).
4. The lens defect detection device according to claim 1, characterized in that: The adsorption assembly (3) further comprises an adsorption plate and a current control device; one side of the first rotating member (32) is connected to the electromagnet (31), and the other side is connected to the driving structure (33) via a coupling; the electromagnet (31) is used to adsorb the lens, and the driving structure (33) is used to drive the first rotating member (32) to rotate around the central axis; The adsorption plate comprises a metal base and an adsorption surface, the metal base is connected to the electromagnet (31), and the adsorption surface is provided with a plurality of adsorption points for achieving uniform adsorption of the lens; the current control device comprises a voltage regulating module and a current sensing element, the voltage regulating module is connected to the electromagnet (31), and the current sensing element is connected to the current path of the electromagnet (31) for adjusting the current magnitude of the electromagnet (31).
5. The lens defect detection device according to claim 1, characterized in that: A plurality of slots are provided on the inner side of the second rotating member (42), the slots being used to receive the rotating shaft (58) of the adjusting frame (43); a linkage gear connected to the driving structure (33) is provided on the outer side of the second rotating member (42), the linkage gear meshing with the output gear of the driving structure (33), thereby driving the second rotating member (42) to rotate around the central axis; A plurality of slide grooves are arranged on the inner side of the adjustment frame (43), and photoelectric elements are installed in the slide grooves. The photoelectric elements are connected to photoelectric sensors and are used to provide positioning feedback. The adjustment frame (43) rotates in cooperation with the slot of the second rotating member (42) via a rotating shaft (58).
6. The lens defect detection device according to claim 1, characterized in that: The clamping member (44) comprises two opposing clamps (441); a first groove (442) is provided at one end of the clamp (441) away from the air pressure track (45); second grooves (443) are provided on both sides of the first groove (442); the width and recessed depth of the first groove (442) are greater than those of the second groove (443); and the end of the second groove (443) is a slope structure (444); The pneumatic track (45) is embedded in the adjustment frame (43) and connected to the adjustment frame (43); a pneumatic interface and an airflow regulating device are provided inside the pneumatic track (45); the pneumatic interface is connected to a pneumatic piston and is used to adjust the position and clamping force of the clamp (441); the airflow regulating device is connected to the pneumatic interface and is used to control the flow rate and pressure of the airflow.
7. The lens defect detection device according to claim 1, characterized in that: The second support frame (51) is provided with a third track (54), and the third track (54) is slidably connected to a third driving member (55), so that the third driving member (55) slides along the length direction of the third track (54); A fourth driving member (57), a fourth track (56) is arranged on the side of the fourth driving member (57), one end of the third driving member (55) away from the third track (54) is embedded in the fourth track (56), and is connected to the fourth driving member (57) via a slider arranged in the fourth track (56), so that the fourth driving member (57) can slide along the length direction of the fourth track (56) through the slider, and the telescopic arm (52) is connected to the fourth driving member (57) via a rotating shaft (58), so that the telescopic arm (52) rotates around the axis of the rotating shaft (58).
8. A lens defect detection method, used to implement the lens defect detection device according to any one of claims 1 to 7, characterized in that: Includes steps: Controlling the electromagnet to adsorb the lens and moving the clamping assembly to above the lens; reducing the current of the electromagnet, controlling the clamping assembly to clamp the lens, and adjusting the position of the clamping assembly; Controlling the detection component to collect images of the lens to obtain image data of the lens surface; Defect detection and classification are performed on the image data to obtain defect determination results, and the lenses are sorted into qualified and unqualified areas based on the determination results.
9. The lens defect detection method according to claim 8, characterized in that: The step of adjusting the position of the clamping assembly comprises: Acquiring preliminary position data of the clamping member based on the photoelectric mechanism, converting the preliminary position data into a global coordinate system through a coordinate conversion algorithm, and obtaining global position information of the clamping member; Acquire the coordinate deviation between the global position information and the target coordinate system to obtain the spatial deviation information of the clamping member, and calculate the shortest path displacement based on the spatial deviation information; Based on the fuzzy control algorithm, a plurality of output parameters are generated according to the shortest path displacement to obtain adjusted output data, wherein the output parameters include output parameters of the pneumatic piston and the second rotating member; Adjust the output pressure of the pneumatic piston and the second rotating member according to the output data to obtain the displacement information of the clamping member after adjustment; The airflow change value in the air pressure track is obtained, the displacement information is dynamically corrected based on the airflow change value to obtain a correction parameter, and the pneumatic piston and the second rotating member are adjusted based on the correction parameter until the clamping member reaches the target position.
10. The lens defect detection method according to claim 8, characterized in that: The step of performing defect detection and classification on the image data to obtain defect determination results, and sorting the lenses into qualified and unqualified areas based on the determination results includes: Preprocessing the image data of the lens surface to obtain standardized image data, and extracting features from the standardized image data to obtain a defect feature vector; Classifying the defect feature vector to obtain defect types and their classification probabilities; Normalizing the classification probability of each defect type to obtain a standardized probability value, and judging the probability value of each defect type based on a preset threshold to obtain a confidence value of each defect type; Perform weighted average on multiple confidence values to obtain the final defect determination result; According to the defect determination result, a corresponding sorting instruction is generated, and according to the sorting instruction, the lens defect detection device is controlled to perform sorting processing.
Citation Information
Patent Citations
Robot multi-gripper assembly and method for gripping and holding objects
CN111993448A
Multi-robot cooperative workpiece flaw detection method
CN112394065A
Device and method for detecting surface defects of brake disc
CN117969537A
Circuit board defect detection equipment and detection method thereof
CN118258827A
Pot surface flaw detection device and method
CN119198760A