Machine vision detection device based on machine learning
By using single-wheel drive five-way components, fixed-point trigger mechanism and zoom adjustment components in the machine vision detection device, the problems of high cost and complex operation of existing devices are solved, efficient and accurate material detection is achieved, and production and maintenance costs are significantly reduced.
Patent Information
- Application Number
- CN202510116037.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-05-06
AI Technical Summary
The existing machine vision detection devices limit their wide application in industrial automation due to their high procurement and maintenance costs, while complex control logic increases operational difficulty and training costs.
A machine vision detection device based on machine learning is proposed, which only has one motor and one timing unit to drive the camera to perform efficient shooting, and realizes flexible shooting tasks through a single-drive five-way component and a fixed-point trigger mechanism, and combines the zoom adjustment component to achieve flexible switching between overall long-range shooting and close-up shooting.
The design simplifies the operation process, reduces production costs, simplifies maintenance operations, improves detection efficiency and accuracy, and significantly enhances the practicality and application value of the device.
Smart Images

Figure CN119936036A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of machine vision detection equipment, and in particular to a machine vision detection device based on machine learning. Background Art
[0002] In the wave of industrial automation production, rapid and accurate inspection of materials has always been the core link to ensure product quality and production efficiency. Although traditional manual inspection methods can meet basic inspection needs to a certain extent, their inherent limitations are becoming increasingly prominent. Manual inspection is not only time-consuming and labor-intensive, but also inefficient, and is easily affected by human factors, such as fatigue and vision differences. These factors may make it difficult to effectively guarantee inspection accuracy and consistency. Therefore, seeking a more efficient and accurate inspection method has become an urgent problem to be solved in the field of industrial automation.
[0003] In order to overcome the shortcomings of manual inspection, technical personnel in this field have developed machine vision inspection devices through unremitting efforts. The emergence of such devices marks that industrial automated inspection has entered a new stage. Most of the existing machine vision inspection devices adopt a design that combines a 6-axis robot with a CCD camera. In actual applications, the 6-axis robot can flexibly drive the CCD camera to take all-round photos of the top and sides of the material, thereby realizing visual inspection of material appearance, size, defects and other aspects.
[0004] However, although the existing machine vision inspection devices have improved the inspection efficiency and accuracy to a certain extent, their high cost has become a key factor restricting their widespread application. The 6-axis robot, as the core component of the device, has a complex mechanical structure and built-in multiple motors and multiple sensors, which leads to high procurement costs. In addition, since the control logic of the 6-axis robot is relatively complex, it requires the use of a dedicated control program for operation, which undoubtedly increases the difficulty of operation and training costs. What is more serious is that the sensor, as an important component of the 6-axis robot, is vulnerable to damage, which leads to an increase in maintenance frequency and an increase in maintenance costs, which brings a considerable burden to the company's production and operation. Summary of the invention
[0005] The present invention aims to solve one of the technical problems in the related art at least to a certain extent.
[0006] To this end, the purpose of the present invention is to propose a machine vision inspection device based on machine learning. The present invention has a reasonable structure and is only equipped with a motor and a timing unit. It can drive the camera to efficiently complete the shooting task of the preset positions on the top and side of the material. It can also easily realize the flexible switching between long-range overall shooting and close-up enlarged shooting. This design not only simplifies the operating process and makes the control extremely simple, but also greatly saves production costs, facilitates maintenance operations, greatly enhances practicality, and has a good use effect.
[0007] To achieve the above object, the present invention proposes a machine vision detection device based on machine learning, comprising: Visual inspection rack: fixedly installed on the conveying mechanism; Visual inspection component: including a single-drive five-way component, a camera with a built-in timing unit and a zoom adjustment component, wherein the single-drive five-way component is arranged on a visual inspection rack, the camera is arranged on the single-drive five-way component and is located on one side of the top of the workbench where the material is fixed in the conveying mechanism, the zoom adjustment component is respectively arranged on the camera, the single-drive five-way component and the visual inspection rack, and one end of the zoom adjustment component is respectively connected to the zoom ring and the focus ring in the camera; The single-drive five-way component is electrically connected to an external power source, and the camera and the conveying mechanism are respectively connected to an external controller through a bus system to achieve data transmission and reception of control instructions.
[0008] In addition, the machine vision detection device based on machine learning proposed in the application may also have the following additional technical features: Specifically, the single-drive five-way assembly includes a turntable, a key cylinder, a limit cylinder, a key rod, a rotating frame, a lifting rod, a damping ring, a clamping hole, a side guide part, a through groove, a stop rod, a first spring, a first rotating cylinder, a first convex shaft, a first spiral guide groove, a driving gear, a T-shaped seat, a sliding frame, an adjusting gear and a single-drive mechanism, wherein: The turntable is slidably connected to the bottom of one end of the visual inspection frame, the key cylinder is rotatably connected to the bottom of one end of the visual inspection frame and is located on the inner side of the turntable, the outer surface of the key cylinder is slidably connected to the inner wall of the turntable, the limit cylinder is fixedly connected to the surface of the turntable and slidably connected to the bottom of one end of the visual inspection frame, one end of the key rod is vertically slidably connected to the bottom of the key cylinder, the other end of the key rod is fixedly connected to a rotating frame, the lifting rod is fixedly connected to the top of the rotating frame and is located inside the limit cylinder, and the damping ring is evenly arranged on the lifting rod The top of the lifting rod is provided with a conical elastic clamp and a clamping hole at positions corresponding to the inner wall of the limiting cylinder. The conical elastic clamp is clamped and fixed with the inner wall of the clamping hole. The side guide part is provided on the surface of the rotating frame, and the through groove is provided on the inner wall of the side guide part. The push rod is vertically slidably connected to the inner wall of the rotating frame, and a first spring is fixedly connected to the surface of the rotating frame. The first rotating cylinder is rotatably connected to the surface of the rotating frame and is located on one side of the bottom of the push rod. One end of the push rod passes through the top of the rotating frame. The cam is an angular channel formed on a pair of cam faces, and the cam is connected to a pair of camming wheels, wherein the cam is engaged with the first and second wheels, and the cam is engaged with the first and second wheels.
[0009] Specifically, the single drive mechanism includes a drive motor, a reciprocating screw, a slide seat, an elastic clamping rod, a fixing rod, a second rotating drum, a second spiral guide groove, a synchronous gear, a synchronous toothed belt and a transmission rod, wherein: The driving motor is fixedly connected to the inner wall of the visual inspection frame and is connected to an external power supply, the reciprocating screw is rotatably connected to the inner wall of the visual inspection frame and is fixedly connected to the output end of the driving motor, the sliding seat is threadedly connected to the outer surface of the reciprocating screw and is vertically slidably connected to the inner wall of the visual inspection frame, the elastic clamping rod and the fixed rod are respectively arranged on the sliding seat, one end of the elastic clamping rod passes through the outside of the visual inspection frame and is located on one side of the top of the side guide part, one end of the elastic clamping rod is slidably connected to the inner wall of the side guide part, the second rotating drum is rotatably connected to the inner wall of the visual inspection frame and is located on one side of the reciprocating screw, the second spiral guide groove is opened on the surface of the second rotating drum, one end of the fixed rod is located inside the second spiral guide groove and is slidably connected to the inner wall of the second spiral guide groove, the synchronous gears are symmetrically rotatably connected to the inner wall of the visual inspection frame and are connected through the synchronous toothed belt, one group of the synchronous gears is fixedly connected to one end of the key cylinder passing through the interior of the visual inspection frame, and the other group of the synchronous gears is connected to the top of the second rotating drum through a transmission rod.
[0010] Specifically, the side guide portion includes an inner oblique guide portion, a vertical portion and an outer oblique guide portion. The inner oblique guide portion, the vertical portion and the outer oblique guide portion are integrally formed and symmetrically opened on the surface of the rotating frame from the inside to the outside, and are located on the outside of the through groove. One end of the elastic clamping rod is respectively slidably connected to the surfaces of the inner oblique guide portion, the vertical portion and the outer oblique guide portion, and one end of the elastic clamping rod is clamped and fixed to the inner wall of the through groove.
[0011] Specifically, the driving motor further comprises a fixed-point trigger mechanism, which comprises a seat body, a rod body, a second spring, a power connection block and a power connection seat, wherein: The seat body is fixedly connected to the surface of the visual inspection frame and overlapped on the top of the conveying mechanism. The rod body is horizontally slidably connected to the inner wall of the seat body, and a second spring is fixedly connected to the inner wall of the seat body. One end of the rod body passes through the outside of the seat body and is located inside the V-shaped groove opened on the surface of the workbench. The end of the rod body that passes through the outside of the seat body is slidably connected to the inner wall of the V-shaped groove, and the other end of the rod body is fixedly connected to a power connection block. The power connection socket is fixedly connected to the inner wall of the seat body and is arranged on the power-on circuit of the drive motor. The power connection block corresponds to the position of the power connection socket and is slidably connected to the inner wall of the power connection socket. When the power connection block contacts the power connection socket, the power-on circuit of the drive motor is energized, and the drive motor is energized and runs. When the power connection block is separated from the power connection socket, the power-on circuit of the drive motor is de-energized, and the drive motor stops running.
[0012] Specifically, the camera also includes a mounting seat, the camera is clamped and fixed on the inner wall of the mounting seat, one end of the central axis of the adjustment gear is fixedly connected to the surface of the mounting seat, and the zoom adjustment component is respectively arranged on the mounting seat, the turntable and the visual inspection frame.
[0013] Specifically, the zoom adjustment assembly includes a gear double adjustment mechanism, a reset gear rod and an arc-shaped adjustment gear plate. The gear double adjustment mechanism is arranged on the inner wall of the mounting seat. One end of the gear double adjustment mechanism is respectively connected to the zoom ring and the focus ring on the camera, and the other end of the gear double adjustment mechanism passes through the outside of the mounting seat and is respectively meshed with the reset gear rod fixedly connected to the bottom of the turntable and the arc-shaped adjustment gear plate fixedly connected to the surface of the visual detection frame.
[0014] Specifically, the gear dual adjustment mechanism includes a semi-external gear, a worm, a one-way transmission, a worm wheel, a synchronization shaft, a first rotating gear and a second rotating gear, wherein: The semi-external gear is rotatably connected to the inner wall of the mounting seat, one end of the semi-external gear passes through the outside of the mounting seat and is respectively meshed with the reset gear rod and the arc-shaped adjustment gear plate, the worm is rotatably connected to the inner wall of the mounting seat and is located on one side of the semi-external gear, the worm is connected to the semi-external gear through a one-way transmission, the worm wheel is rotatably connected to the inner wall of the mounting seat and meshes with the worm, the synchronization shaft is rotatably connected to the inner wall of the mounting seat and is located on one side of the camera, one end of the synchronization shaft is fixedly connected to the surface of the worm wheel, the first rotating gear and the second rotating gear are fixedly connected to the surface of the synchronization shaft up and down, and the first rotating gear and the second rotating gear are respectively meshed with the zoom gear ring and the focus gear ring arranged on the outside of the zoom ring and the focus ring.
[0015] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention.
[0016] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention has a reasonable structure. It is only equipped with one motor and one timing unit, which can drive the camera to efficiently complete the shooting task of the preset positions on the top and side of the material, and can also easily realize the flexible switching between the long-range overall shooting and the close-up zoom shooting. This design not only simplifies the operation process and makes the control extremely simple, but also greatly saves the production cost, is easy to maintain and operate, greatly enhances the practicality, and has a good use effect; 2. The present invention innovatively integrates a single-drive five-way component, which is driven by a single high-performance motor and cooperates with other components to accurately control the camera, flexibly shooting the top and side of the material according to the preset trajectory to ensure the stability and consistency of the shooting quality. This single motor design not only shows excellent performance stability, but also greatly reduces production costs and simplifies the production process. At the same time, this design is not only easy to operate and control, but also greatly facilitates subsequent maintenance and repair work. The overall use effect is remarkable and shows extremely high application value; 3. The single-drive five-way assembly of the present invention innovatively incorporates a fixed-point trigger mechanism, which can intelligently identify the material position and automatically control the start and stop of the motor, ensuring the smooth operation of the single-drive five-way assembly and the camera-coordinated conveying mechanism, maintaining the continuity of the detection process, and significantly improving the use effect; 4. The present invention is also provided with a zoom adjustment component. When the camera moves, the zoom adjustment component can synchronously control the zoom and focus rings, automatically complete the zoom and focus operations, and realize rapid switching of focal length. This function enables the camera to easily switch between long-range overall shooting and close-up magnified shooting. The former is conducive to comprehensive detection of the volume of the material, and the latter accurately captures the defect characteristics of the surface of the material, which significantly improves the detection effect and practicality, and has a good use effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which: Figure 1 This is a schematic diagram of the structure of a machine vision detection device based on machine learning according to an embodiment of the present invention; Figure 2 A schematic diagram of the structure of a visual inspection frame in a machine vision inspection device based on machine learning according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of a single-drive five-direction component in a machine vision detection device based on machine learning according to an embodiment of the present invention; Figure 4 A schematic diagram of the structure of a rotating frame in a machine vision inspection device based on machine learning according to an embodiment of the present invention; Figure 5 A schematic diagram of the structure of a side guide portion in a machine vision inspection device based on machine learning according to an embodiment of the present invention; Figure 6 A schematic diagram of the structure of a fixed-point trigger mechanism in a machine vision detection device based on machine learning according to an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of a gear dual adjustment mechanism in a machine vision inspection device based on machine learning according to an embodiment of the present invention; Figure 8 This is a system principle block diagram of a machine vision detection device based on machine learning according to an embodiment of the present invention.
[0018] As shown in the figure: 1. Visual inspection rack; 10. Conveying mechanism; 11. Materials; 12. Workbench; 2. Visual detection component; 21. Single-drive five-way component; 22. Camera; 23. Zoom adjustment component; 211, turntable; 212, key cylinder; 213, limit cylinder; 214, key rod; 215, rotating frame; 216, lifting rod; 217, damping ring; 218, clamping hole; 219, side guide; 2110, through groove; 2111, stop rod; 2112, first spring; 2113, first rotating cylinder; 2114, first convex shaft; 2115, first spiral guide groove; 2116, driving gear; 2117, T-shaped seat; 2118, sliding frame; 2119, adjusting gear; 200, single drive mechanism; 2120, driving motor; 2121, reciprocating screw rod; 2122, slide seat; 2123, elastic clamping rod; 2124, fixing rod; 2125, second rotating drum; 2126, second spiral guide groove; 2127, synchronous gear; 2128, synchronous toothed belt; 2129, transmission rod; 2191, inner oblique guide portion; 2192, vertical portion; 2193, outer oblique guide portion; 100, fixed-point trigger mechanism; 101, seat body; 102, rod body; 103, second spring; 104, power connection block; 105, power connection seat; 13, V-shaped groove; 220, mounting seat; 231. Gear double adjustment mechanism; 232. Reset gear rod; 233. Arc-shaped adjustment gear plate; 2311, semi-external gear; 2312, worm; 2313, one-way transmission; 2314, worm wheel; 2315, synchronization shaft; 2316, first rotating gear; 2317, second rotating gear; 2210, zoom ring gear; 2220, focus ring gear. DETAILED DESCRIPTION
[0019] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and are not to be construed as limitations of the present invention. On the contrary, embodiments of the present invention include all changes, modifications and equivalents that fall within the spirit and connotation of the appended claims.
[0020] The following describes a machine vision detection device based on machine learning according to an embodiment of the present invention in conjunction with the accompanying drawings.
[0021] like Figure 1-Figure 8 As shown, the machine vision detection device based on machine learning in an embodiment of the present invention includes: Visual inspection frame 1: fixedly mounted on the conveying mechanism 10; Visual inspection component 2: includes a single-drive five-way component 21, a camera 22 with a built-in timing unit, and a zoom adjustment component 23. The single-drive five-way component 21 is arranged on the visual inspection frame 1. The camera 22 is arranged on the single-drive five-way component 21 and is located on one side of the top of the workbench 12 where the material 11 is fixed in the conveying mechanism 10. The zoom adjustment component 23 is respectively arranged on the camera 22, the single-drive five-way component 21 and the visual inspection frame 1, and one end of the zoom adjustment component 23 is respectively connected to the zoom ring and the focus ring in the camera 22; The single-drive five-way component 21 is electrically connected to an external power source, and the camera 22 and the conveying mechanism 10 are respectively connected to an external controller through a bus system to achieve data transmission and reception of control instructions.
[0022] It should be noted that the external power supply described in this embodiment also supplies power to the external controller.
[0023] It should also be noted that the conveying mechanism 10 described in this embodiment has a built-in encoder, which is used to detect the number of rotations of the conveying motor in the conveying mechanism 10 in real time, and send the number of rotations data to an external controller. The external controller determines the position of the workbench 12 and the material 11 based on the number of rotations data, wherein the material 11 is fixed at the top center of the workbench 12.
[0024] Specifically, the present invention has a reasonable structure and is only equipped with one motor and one timing unit, so that it can drive the camera 22 to efficiently complete the shooting task of the preset positions on the top and side of the material 11, and can also easily realize the flexible switching between the long-range overall shooting and the close-up zoom shooting. This design not only simplifies the operation process and makes the control extremely simple, but also greatly saves the production cost and is convenient for maintenance operation, which greatly enhances the practicality and has a good use effect. The present invention innovatively integrates a single-drive five-way component 21, which is driven by only a single high-performance motor and cooperates with other components to accurately control the camera 22, and flexibly shoots the top and side of the material 11 according to the preset trajectory to ensure the stability and consistency of the shooting quality. This single motor design not only shows excellent performance stability, but also greatly reduces the production cost and simplifies the production process. At the same time, this design is not only easy to operate and control, but also greatly improves the quality of the material 11. It has greatly promoted the subsequent maintenance and repair work, and the overall use effect is remarkable, showing extremely high application value. The single-drive five-way component 21 of the present invention innovatively integrates the fixed-point trigger mechanism 100, which can intelligently identify the position of the material 11, and automatically adjust the start and stop of the motor to ensure that the single-drive five-way component 21 and the camera 22 cooperate with the conveying mechanism 10 to operate smoothly, maintain the continuity of the detection process, and significantly improve the use effect. The present invention is also provided with a zoom adjustment component 23. The zoom adjustment component 23 can synchronously adjust the zoom and focus rings when the camera 22 moves, automatically complete the zoom and focus operations, and realize rapid switching of focal length. This function enables the camera 22 to easily switch between long-range overall shooting and close-up magnified shooting. The former is conducive to comprehensive detection of the volume of the material 11, and the latter accurately captures the defect characteristics of the surface of the material 11, which significantly improves the detection effect and practicality, and has a good use effect.
[0025] Specifically, when in use, the conveying mechanism 10 operates according to the instruction, and the operation of the conveying mechanism 10 drives the workbench 12 fixed with the material 11 to move from the loading end to the lower feeding end. When the workbench 12 fixed with the material 11 is transported to the position of the fixed-point trigger mechanism 100 and triggers the fixed-point trigger mechanism 100 to operate, the conveying mechanism 10 receives the instruction to stop operating. This position data can be obtained through the encoder built into the conveying mechanism 10. After the conveying mechanism 10 stops operating, the positions of the workbench 12 and the material 11 remain unchanged. The operation of the fixed-point trigger mechanism 100 enables the power-on circuit of the drive motor 2120 in the single-drive five-way component 21 to be energized, and the drive motor 2120 is powered on and operates, and cooperates with other components to accurately control the camera 22, and flexibly shoot the material 1 according to the preset trajectory. 1 top and side, that is, first drive the camera 22 to move downward to a set height, and during the downward movement, the camera 22 synchronously shoots the long-range overall view of the top of the material 11, and the shooting time is controlled by the timing unit of the camera 22, and then move diagonally downward, so that it moves from the top of the material 11 to the side of the material 11, and changes its rotation angle when it moves downward to the set height, so that it changes from a vertical state to a horizontal state, which is convenient for shooting the side of the material 11, and after the angle is adjusted, drive the camera 22 to rotate with the material 11 as the center, and shoot the material 11 360°. During the rotation process, the camera 22 synchronously shoots the long-range overall view of the preset position on the side of the material 11. This function can be achieved by setting the shooting time. To ensure the shooting quality, it is necessary to control the drive motor 2120 to run at a constant speed, and drive the camera 22 to reset to the initial point of rotation after 360° shooting. During the resetting process, the zoom adjustment component 23 is passively triggered and adjusts the zoom ring and focus ring of the camera 22 to change its focal length, so that it changes from long-range overall shooting to close-up zoom shooting, and after changing to close-up zoom shooting, a close-up zoom shooting is performed on a preset position on the side of the material 11. After the camera 22 is reset to the initial point of rotation, it begins to move diagonally upward, so that it moves from one side of the material 11 to the top of the material 11, and changes its rotation angle during the upward movement, so that it changes from a horizontal state to a vertical state, which is convenient for close-up zoom shooting of the top of the material 11. The camera 22 moves to the material 11 After reaching the top, the camera 22 synchronously performs a close-up zoom shot of the top of the material 11. After the top shooting is completed, the camera 22 continues to move up and triggers the zoom adjustment component 23 to operate. The zoom adjustment component 23 operates to adjust the zoom ring and focus ring of the camera 22 again to change its focal length, so that it changes from close-up zoom shooting to long-range overall shooting, which is convenient for the next shooting. When the camera 22 is reset to the origin, the conveying mechanism 10 operates according to the instruction and continues to drive the workbench 12 to move toward the lower material end. After the workbench 12 moves, the fixed-point trigger mechanism 100 separates from the workbench 12 and stops running. After the fixed-point trigger mechanism 100 stops running, it disconnects the power circuit of the drive motor 2120, so that the drive motor 2120 is powered off and stops running.This ensures that the camera 22 remains at the origin.
[0026] In one embodiment of the present invention, Figure 1-Figure 6 As shown, the single-drive five-way assembly 21 includes a turntable 211, a key cylinder 212, a limit cylinder 213, a key rod 214, a rotating frame 215, a lifting rod 216, a damping ring 217, a clamping hole 218, a side guide 219, a through groove 2110, a stop rod 2111, a first spring 2112, a first rotating cylinder 2113, a first convex shaft 2114, a first spiral guide groove 2115, a driving gear 2116, a T-shaped seat 2117, a sliding frame 2118, an adjusting gear 2119 and a single-drive mechanism 200, wherein: The turntable 211 is slidably connected to the bottom of one end of the visual inspection frame 1, the key cylinder 212 is rotatably connected to the bottom of one end of the visual inspection frame 1 and is located on the inner side of the turntable 211, the outer surface of the key cylinder 212 is slidably connected to the inner wall of the turntable 211, the limit cylinder 213 is fixedly connected to the surface of the turntable 211 and slidably connected to the bottom of one end of the visual inspection frame 1, one end of the key rod 214 is vertically slidably connected to the bottom of the key cylinder 212, and the other end of the key rod 214 is fixedly connected to the rotating frame 215, the lifting rod 216 is fixedly connected to the top of the rotating frame 215 and is located inside the limit cylinder 213, and the damping ring 217 is evenly arranged on the surface of the lifting rod 216 and is connected to the limit cylinder 213 is in contact with the inner wall of the limiting cylinder 213, and a conical elastic clamp and a clamping hole 218 are respectively provided at the top of the lifting rod 216 corresponding to the inner wall of the limiting cylinder 213. The conical elastic clamp is clamped and fixed with the inner wall of the clamping hole 218. The side guide part 219 is provided on the surface of the rotating frame 215, and the through groove 2110 is provided on the inner wall of the side guide part 219. The push rod 2111 is vertically slidably connected to the inner wall of the rotating frame 215, and a first spring 2112 is fixedly connected to the surface of the rotating frame 215. The first rotating cylinder 2113 is rotatably connected to the surface of the rotating frame 215 and is located on one side of the bottom of the push rod 2111. One end of the push rod 2111 passes through the top of the rotating frame 215 and is fixed to the rotating frame 215. The bottom of the disk 211 is in contact with each other, and the other end of the push rod 2111 penetrates into the first rotating cylinder 2113. The first convex shaft 2114 and the first spiral guide groove 2115 are respectively arranged at the end surface of the push rod 2111 that penetrates into the first rotating cylinder 2113 and the position corresponding to the inner wall of the first rotating cylinder 2113. One end of the first convex shaft 2114 is located in the first spiral guide groove 2115 and is slidably connected to the inner wall of the first spiral guide groove 2115. The driving gear 2116 is rotatably connected to the inner wall of the rotating frame 215 and is connected to the first rotating cylinder 2113. One end of the driving gear 2116 penetrates out of the rotating frame 215, and the T-shaped seat 2117 is fixedly connected At the bottom of the rotating frame 215, the sliding frame 2118 is slidably connected to the surface of the T-shaped seat 2117 and meshed with the driving gear 2116. The adjusting gear 2119 is rotatably connected to the surface of the sliding frame 2118 and meshed with the teeth on the surface of the T-shaped seat 2117. One end of the central axis of the adjusting gear 2119 is fixedly connected to the camera 22. The single-drive mechanism 200 is arranged inside the visual inspection frame 1 and connected to an external power supply. One end of the single-drive mechanism 200 is connected to one end of the key tube 212 that passes through the interior of the visual inspection frame 1, and the other end of the single-drive mechanism 200 passes through the outside of the visual inspection frame 1 and is located on the top side of the side guide 219.
[0027] It should be noted that a vertical section (not shown in the figure) is provided at the bottom of the first spiral guide groove 2115 described in this embodiment. The vertical section is provided to enable the camera 22 to continue to move upward after reaching the top of the material 11 so that the semi-external gear 2311 can be connected and meshed with the reset gear rod 232.
[0028] Specifically, the structure and connection relationship of the single-drive five-way component 21 are further explained. This component is driven by only a single high-performance motor, and cooperates with other components to accurately control the camera 22, and flexibly shoots the top and sides of the material 11 according to the preset trajectory to ensure the stability and consistency of the shooting quality. This single motor design not only shows excellent performance stability, but also greatly reduces production costs and simplifies the production process. At the same time, this design not only facilitates operation and control, but also greatly promotes subsequent maintenance and inspection work. The overall use effect is remarkable, showing extremely high application value.
[0029] Specifically, when in use, the single-drive mechanism 200 is powered on and operated, and the operation of the single-drive mechanism 200 synchronously drives the elastic clamping rod 2123 in the single-drive mechanism 200 to move downward and enter the inside of the side guide portion 219. When the elastic clamping rod 2123 moves to the position of the through groove 2110, it is clamped with the inner wall of the through groove 2110. As the single-drive mechanism 200 continues to operate, the elastic clamping rod 2123 synchronously drives the rotating frame 215 to descend, and the descent of the rotating frame 215 synchronously drives the camera 22 to descend. The descent of the rotating frame 215 also synchronously drives the key rod 214 to vertically descend along the inner wall of the key cylinder 212, and synchronously drives the lifting rod 216 to vertically descend along the inner wall of the limit cylinder 213. At this time, the operation of the single-drive mechanism 200 drives the rotating frame 21 The downward force is greater than the resistance of the damping ring 217, so that the lifting rod 216 can be pulled out. During the descending process of the rotating frame 215, the push rod 2111 is synchronously descended and separated from the bottom of the rotating disk 211. Under the elastic force of the first spring 2112, it drives the push rod 2111 to move upward. The upward movement of the push rod 2111 synchronously drives the first convex shaft 2114 to move upward along the inner wall of the first spiral guide groove 2115, and synchronously drives the first rotating cylinder 2113 to rotate. The rotation of the first rotating cylinder 2113 synchronously drives the driving gear 2116 to rotate. The rotation of the driving gear 2116 synchronously drives the sliding frame 2118 to move along the surface of the T-shaped seat 2117 toward one side close to the visual inspection frame 1. The movement of the sliding frame 2118 synchronously drives the camera 2113 to rotate. The camera 22 moves from the top of the material 11 to the oblique lower part of the material 11. When the adjusting gear 2119 on the slide frame 2118 contacts and meshes with the teeth on the T-shaped seat 2117, the camera 22 is synchronously driven to rotate, so that it changes from a vertical state to a horizontal state, so as to shoot the side of the material 11. When the camera 22 changes from a vertical state to a horizontal state, the conical elastic clamp on the lifting rod 216 is synchronously engaged and fixed with the clamping hole 218. After the conical elastic clamp is engaged and fixed with the clamping hole 218, the position of the lifting rod 216 is restricted, and the rotating frame 215 is synchronously driven to be fixed. After the rotating frame 215 is fixed, as the single-drive mechanism 200 continues to operate, the elastic clamping rod 2123 continues to descend. The clamping force between the elastic clamping piece and the clamping hole 218 is greater than the elastic force of the built-in spring of the elastic clamping rod 2123. Therefore, the elastic clamping rod 2123 is separated from the through groove 2110 under the drive of the single-drive mechanism 200, and continues to move downward along the side guide part 219 until it is separated from the side guide part 219 and enters the strip groove opened at the top of the conveying mechanism 10. When the elastic clamping rod 2123 enters the strip groove, the single-drive mechanism 200 synchronously drives the key cylinder 212 to rotate, and the rotation of the key cylinder 212 synchronously drives the key rod 214, the rotating frame 215, the lifting rod 216, the limit cylinder 213 and the turntable 211 to rotate. The rotation of the rotating frame 215 drives the camera 22 to move, and takes 360° photos of the side of the material 11.
[0030] In one embodiment of the present invention, Figure 3-Figure 5As shown, the single drive mechanism 200 includes a drive motor 2120, a reciprocating screw 2121, a slide 2122, an elastic clamping rod 2123, a fixing rod 2124, a second rotating drum 2125, a second spiral guide groove 2126, a synchronous gear 2127, a synchronous toothed belt 2128 and a transmission rod 2129, wherein: The driving motor 2120 is fixedly connected to the inner wall of the visual inspection frame 1 and is connected to an external power supply. The reciprocating screw rod 2121 is rotatably connected to the inner wall of the visual inspection frame 1 and is fixedly connected to the output end of the driving motor 2120. The slide 2122 is threadedly connected to the outer surface of the reciprocating screw rod 2121 and is vertically slidably connected to the inner wall of the visual inspection frame 1. The elastic clamping rod 2123 and the fixed rod 2124 are respectively arranged on the slide 2122. One end of the elastic clamping rod 2123 passes through the outside of the visual inspection frame 1 and is located on one side of the top of the side guide part 219. One end of the elastic clamping rod 2123 is slidably connected to the inner wall of the side guide part 219. The second rotating drum 2 125 is rotatably connected to the inner wall of the visual inspection frame 1 and is located on one side of the reciprocating screw rod 2121. The second spiral guide groove 2126 is opened on the surface of the second rotating cylinder 2125. One end of the fixed rod 2124 is located inside the second spiral guide groove 2126 and is slidingly connected to the inner wall of the second spiral guide groove 2126. The synchronous gears 2127 are symmetrically rotatably connected to the inner wall of the visual inspection frame 1 and are connected through a synchronous toothed belt 2128. One group of synchronous gears 2127 is fixedly connected to one end of the key cylinder 212 that passes through the interior of the visual inspection frame 1, and the other group of synchronous gears 2127 is connected to the top of the second rotating cylinder 2125 through a transmission rod 2129.
[0031] Specifically, the structure and connection relationship of the single drive mechanism 200 are further described. When in use, the drive motor 2120 is powered on and runs, and the drive motor 2120 runs and synchronously drives the reciprocating screw 2121 to rotate. The reciprocating screw 2121 rotates and synchronously drives the slide 2122, the elastic clamping rod 2123 and the fixed rod 2124 to move downward. The elastic clamping rod 2123 moves downward into the side guide part 219. When the elastic clamping rod 2123 separates from the side guide part 219 and enters the conveying mechanism, After entering the strip groove at the top of 10, the fixing rod 2124 enters into the second spiral guide groove 2126 on the surface of the second rotating cylinder 2125, and moves downward along the inner wall of the second spiral guide groove 2126, and synchronously drives the second rotating cylinder 2125 to rotate. The rotation of the second rotating cylinder 2125 cooperates with the transmission rod 2129, the synchronous gear 2127 and the synchronous toothed belt 2128 to synchronously drive the key cylinder 212 to rotate. The rotation of the key cylinder 212 synchronously drives the key rod 214 and the rotating frame 215 to rotate.
[0032] In one embodiment of the present invention, Figure 5As shown, the side guide portion 219 includes an inner oblique guide portion 2191, a vertical portion 2192 and an outer oblique guide portion 2193. The inner oblique guide portion 2191, the vertical portion 2192 and the outer oblique guide portion 2193 are integrally formed and symmetrically opened on the surface of the rotating frame 215 from the inside to the outside, and are located on the outside of the through groove 2110. One end of the elastic clamping rod 2123 is slidingly connected to the surfaces of the inner oblique guide portion 2191, the vertical portion 2192 and the outer oblique guide portion 2193 respectively, and one end of the elastic clamping rod 2123 is clamped and fixed to the inner wall of the through groove 2110.
[0033] Specifically, the structure and connection relationship of the side guide portion 219 are further explained, and the inner oblique guide portion 2191, the vertical portion 2192 and the outer oblique guide portion 2193 are provided to facilitate one end of the elastic clamping rod 2123 to smoothly enter the side guide portion 219 and the through groove 2110, and to smoothly move out of the through groove 2110 and the side guide portion 219, thereby achieving a good use effect.
[0034] In one embodiment of the present invention, Figure 6 As shown, the driving motor 2120 also includes a fixed-point trigger mechanism 100, which includes a seat body 101, a rod body 102, a second spring 103, a power connection block 104 and a power connection seat 105, wherein: The seat 101 is fixedly connected to the surface of the visual inspection frame 1 and overlapped on the top of the conveying mechanism 10. The rod 102 is horizontally slidably connected to the inner wall of the seat 101, and a second spring 103 is fixedly connected to the inner wall of the seat 101. One end of the rod 102 passes through the outside of the seat 101 and is located inside the V-shaped groove 13 opened on the surface of the workbench 12. The end of the rod 102 that passes through the outside of the seat 101 is slidably connected to the inner wall of the V-shaped groove 13, and the other end of the rod 102 is fixedly connected to the power connection block 104. The power socket 105 is fixedly connected to the inner wall of the socket body 101 and is arranged on the power circuit of the drive motor 2120. The power connection block 104 corresponds to the position of the power socket 105 and is slidably connected to the inner wall of the power socket 105. When the power connection block 104 contacts the power socket 105, the power circuit of the drive motor 2120 is energized, and the drive motor 2120 is powered on and runs. When the power connection block 104 is separated from the power socket 105, the power circuit of the drive motor 2120 is de-energized, and the drive motor 2120 stops running.
[0035] Specifically, the structure and connection relationship of the fixed-point trigger mechanism 100 are further explained. The mechanism can intelligently identify the position of the material 11, automatically control the start and stop of the motor, ensure the smooth operation of the single-drive five-way component 21 and the camera 22 to coordinate the conveying mechanism 10, maintain the continuity of the detection process, and significantly improve the use effect.
[0036] During use, after the rod body 102 enters the V-shaped groove 13 on the surface of the workbench 12, it is squeezed by the inner wall of the V-shaped groove 13, and one end of the rod body 102 retracts toward the inside of the seat body 101 and squeezes the second spring 103. When one end of the rod body 102 moves to the shallowest point of the V-shaped groove 13, one end of the rod body 102 synchronously drives the power connection block 104 to enter the power connection socket 105 and contact the inner wall of the power connection socket 105. When the power connection block 104 contacts the power connection socket 105, the power circuit of the drive motor 2120 is energized, and the drive motor 2120 is powered on and runs. When one end of the rod body 102 moves out of the shallowest point of the V-shaped groove 13, the power connection block 104 is separated from the power connection socket 105, the power circuit of the drive motor 2120 is de-energized, and the drive motor 2120 stops running.
[0037] In one embodiment of the present invention, Figure 4 As shown, the camera 22 also includes a mounting base 220, the camera 22 is clamped and fixed on the inner wall of the mounting base 220, one end of the central axis of the adjusting gear 2119 is fixedly connected to the surface of the mounting base 220, and the zoom adjustment component 23 is respectively arranged on the mounting base 220, the turntable 211 and the visual inspection frame 1.
[0038] Specifically, the installation seat 220 is provided to facilitate the disassembly and assembly of the camera 22 and the gear dual adjustment mechanism 231, and also provides a certain degree of protection for the camera 22, resulting in a good use effect.
[0039] In one embodiment of the present invention, Figure 1-Figure 4 and Figure 7 As shown, the zoom adjustment assembly 23 includes a gear dual adjustment mechanism 231, a reset gear rod 232 and an arc-shaped adjustment gear plate 233. The gear dual adjustment mechanism 231 is arranged on the inner wall of the mounting seat 220. One end of the gear dual adjustment mechanism 231 is respectively connected to the zoom ring and the focus ring on the camera 22. The other end of the gear dual adjustment mechanism 231 passes through the outside of the mounting seat 220 and is respectively meshed with the reset gear rod 232 fixedly connected to the bottom of the turntable 211 and the arc-shaped adjustment gear plate 233 fixedly connected to the surface of the visual inspection frame 1.
[0040] Specifically, the structure and connection relationship of the zoom adjustment component 23 are further explained. When the camera 22 moves, the zoom adjustment component 23 can synchronously control the zoom and focus rings, automatically complete the zoom and focus operations, and realize rapid switching of focal length. This function enables the camera 22 to easily switch between long-range overall shooting and close-up magnified shooting. The former is conducive to comprehensive detection of the volume of the material 11, and the latter accurately captures the defect characteristics of the surface of the material 11, which significantly improves the detection effect and practicality, and has a good use effect.
[0041] When in use, the mounting seat 220 moves downward and synchronously drives the gear double adjustment mechanism 231 to move downward. After the gear double adjustment mechanism 231 moves downward, it separates from the reset gear rod 232. Then the mounting seat 220 changes direction and drives the camera 22 to shoot a circle with the material 11 as the center. During this process, the gear double adjustment mechanism 231 contacts the arc-shaped adjustment tooth plate 233. Since the gear double adjustment mechanism 231 has a built-in one-way transmission 2313, the positions of the zoom ring and the focus ring on the camera 22 remain unchanged. After the camera 22 shoots a circle with the material 11 as the center, it starts to reset. During this process, the gear double adjustment mechanism 231 contacts the arc-shaped adjustment tooth plate 233 again. 3 are in contact and trigger the gear double adjustment mechanism 231 to run. The gear double adjustment mechanism 231 runs to adjust the zoom ring and the focus ring on the camera 22 to change it from long-range overall shooting to close-up zoom shooting. Then the mounting base 220 moves up and drives the camera 22 to reset. During the resetting process of the camera 22, the gear double adjustment mechanism 231 contacts the reset gear rod 232 and touches the gear double adjustment mechanism 231 again to run. The gear double adjustment mechanism 231 runs to adjust the zoom ring and the focus ring on the camera 22 to change it from close-up zoom shooting to long-range overall shooting, which is convenient for the next material 11 shooting.
[0042] In one embodiment of the present invention, Figure 7 As shown, the gear dual adjustment mechanism 231 includes a semi-external gear 2311, a worm 2312, a one-way transmission 2313, a worm wheel 2314, a synchronization shaft 2315, a first rotating gear 2316 and a second rotating gear 2317, wherein: The semi-external gear 2311 is rotatably connected to the inner wall of the mounting seat 220, one end of the semi-external gear 2311 passes through the outside of the mounting seat 220, and is respectively meshed with the reset gear rod 232 and the arc-shaped adjustment gear plate 233. The worm 2312 is rotatably connected to the inner wall of the mounting seat 220 and is located on one side of the semi-external gear 2311. The worm 2312 is connected to the semi-external gear 2311 through a one-way transmission 2313. The worm wheel 2314 is rotatably connected to the inner wall of the mounting seat 220 and is meshed with the worm 2 312 are meshed with each other, the synchronization shaft 2315 is rotatably connected to the inner wall of the mounting base 220 and is located on one side of the camera 22, one end of the synchronization shaft 2315 is fixedly connected to the surface of the worm gear 2314, the first rotating gear 2316 and the second rotating gear 2317 are fixedly connected to the surface of the synchronization shaft 2315 up and down, and the first rotating gear 2316 and the second rotating gear 2317 are respectively meshed with the zoom gear ring 2210 and the focus gear ring 2220 which are sleeved on the outside of the zoom ring and the focus ring.
[0043] It should be noted that the one-way transmission 2313 described in this embodiment is a ratchet one-way transmission.
[0044] Specifically, the structure and connection relationship of the gear double adjustment mechanism 231 are further explained. When in use, the mounting seat 220 moves downward and synchronously drives the semi-external gear 2311 to move downward. Since the semi-external gear 2311 is meshed and connected with the reset gear rod 232, the semi-external gear 2311 rotates synchronously during the downward movement. Since a one-way transmission device 2313 is provided, the rotation of the semi-external gear 2311 does not drive the worm 2312 to rotate, and the positions of the zoom ring and the focus ring remain unchanged. At this time, the camera 22 is in a long-range overall shooting state. When the camera 22 changes from a vertical state to a horizontal state, the rotating frame 215 rotates synchronously and drives the camera 22 to shoot a circle with the material 11 as the center, and performs 360-degree shooting of the side of the material 11. ° Take pictures. During this process, the semi-external gear 2311 contacts and meshes with the arc-shaped adjusting tooth plate 233, and rotates synchronously. Since a one-way transmission device 2313 is provided, the rotation of the semi-external gear 2311 will not drive the worm 2312 to rotate, and the zoom ring and the focus ring will remain in position. At this time, the camera 22 is still in the long-range overall shooting state. The long-range overall shooting is convenient for detecting the volume of the material 11. The shooting time is controlled by the timing unit. The shooting position is accurately controlled by accurately controlling the shooting time. When the rotating frame 215 rotates one circle, it starts to reset. The reset of the rotating frame 215 synchronously drives the camera 22 to reset. During the reset process, the semi-external gear 2311 contacts and meshes with the arc-shaped adjusting tooth plate 233 again, and rotates synchronously. The semi-external gear 2311 in the reset state rotates synchronously through the one-way transmission 2313 to drive the worm 2312 to rotate, the rotation of the worm 2312 synchronously drives the worm wheel 2314, the synchronization shaft 2315, the first rotating gear 2316 and the second rotating gear 2317 to rotate, the rotation of the first rotating gear 2316 and the second rotating gear 2317 synchronously drives the zoom gear ring 2210 and the focus gear ring 2220 to rotate, the rotation of the zoom gear ring 2210 and the focus gear ring 2220 synchronously drives the zoom ring and the focus ring to rotate, and the focal length and focus are automatically adjusted. After the zoom ring and the focus ring are adjusted, the camera 22 is in a close-up magnification state, which is convenient for taking pictures of the defect features on the surface of the material 11. When the mounting seat 220 moves up The semi-external gear 2311 is synchronously driven to move upward. When the semi-external gear 2311 contacts and meshes with the reset gear rod 232, it rotates synchronously and drives the worm 2312 to rotate synchronously through the one-way transmission 2313. The rotation of the worm 2312 synchronously drives the worm wheel 2314, the synchronization shaft 2315, the first rotating gear 2316 and the second rotating gear 2317 to rotate. The rotation of the first rotating gear 2316 and the second rotating gear 2317 synchronously drives the zoom gear ring 2210 and the focus gear ring 2220 to rotate. The rotation of the zoom gear ring 2210 and the focus gear ring 2220 synchronously drives the zoom ring and the focus ring to rotate, so as to automatically adjust the focal length and focus. After the zoom ring and the focus ring are adjusted, the camera 22 is in a long-range overall shooting state.It is convenient for the next shooting of material 11.
[0045] In summary, the machine vision inspection device based on machine learning in the embodiment of the present invention has a reasonable structure. It is only equipped with one motor and one timing unit, so it can drive the camera 22 to efficiently complete the shooting task of the preset positions on the top and side of the material 11, and can also easily realize the flexible switching between the overall long-range shooting and the close-up magnified shooting. This design not only simplifies the operating process and makes the control extremely simple, but also greatly saves production costs, facilitates maintenance operations, greatly enhances practicality, and has a good use effect.
[0046] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0047] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0048] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and deform the above embodiments within the scope of the present invention.
Claims
1. A machine vision detection device based on machine learning, characterized in that: include: Visual inspection frame (1): fixedly mounted on the conveying mechanism (10); A visual inspection component (2): comprising a single-drive five-direction component (21), a camera (22) with a built-in timing unit, and a zoom adjustment component (23), wherein the single-drive five-direction component (21) is arranged on a visual inspection frame (1), the camera (22) is arranged on the single-drive five-direction component (21) and is located on one side of the top of a workbench (12) on which a material (11) is fixed in the conveying mechanism (10), the zoom adjustment component (23) is respectively arranged on the camera (22), the single-drive five-direction component (21) and the visual inspection frame (1), and one end of the zoom adjustment component (23) is respectively connected to a zoom ring and a focus ring in the camera (22); The single-drive five-way component (21) is electrically connected to an external power source, and the camera (22) and the conveying mechanism (10) are respectively connected to an external controller via a bus system to achieve data transmission and control instruction reception.
2. The machine vision detection device based on machine learning according to claim 1, characterized in that: The single-drive five-way assembly (21) comprises a rotating disk (211), a key cylinder (212), a limiting cylinder (213), a key rod (214), a rotating frame (215), a lifting rod (216), a damping ring (217), a clamping hole (218), a side guide portion (219), a through groove (2110), a stop rod (2111), a first spring (2112), a first rotating cylinder (2113), a first convex shaft (2114), a first spiral guide groove (2115), a driving gear (2116), a T-shaped seat (2117), a sliding frame (2118), an adjusting gear (2119) and a single-drive mechanism (200), wherein: The turntable (211) is slidably connected to the bottom of one end of the visual inspection frame (1); the key cylinder (212) is rotatably connected to the bottom of one end of the visual inspection frame (1) and is located inside the turntable (211); the outer surface of the key cylinder (212) is slidably connected to the inner wall of the turntable (211); the limit cylinder (213) is fixedly connected to the surface of the turntable (211) and is slidably connected to the bottom of one end of the visual inspection frame (1); one end of the key rod (214) is vertically slidably connected to the bottom of the key cylinder (212); the other end of the key rod (214) is fixedly connected to a rotating frame (215); the lifting rod (216) is fixedly connected to the top of the rotating frame (215) and is located inside the limit cylinder (213); the damping The ring (217) is evenly arranged on the surface of the lifting rod (216) and contacts the inner wall of the limiting cylinder (213). The top of the lifting rod (216) and the inner wall of the limiting cylinder (213) are respectively provided with a conical elastic clamp and a clamping hole (218), and the conical elastic clamp is clamped and fixed to the inner wall of the clamping hole (218). The side guide part (219) is provided on the surface of the rotating frame (215), and the through groove (2110) is provided on the inner wall of the side guide part (219). The support rod (2111) is vertically slidably connected to the inner wall of the rotating frame (215), and a first spring (2112) is fixedly connected to the surface of the rotating frame (215). The first rotating cylinder (2113) is rotatably connected to the rotating frame (215). The first rotating drum (2113) is provided with a first protruding shaft (2114) and a first spiral guide groove (2115) at a position corresponding to the position of the inner wall of the first rotating drum (2113). One end of the first protruding shaft (2114) is located in the first spiral guide groove (2115) and is slidably connected to the inner wall of the first spiral guide groove (2115). The driving gear (2116) is rotatably connected to the rotating drum. (215) inner wall, and connected to the first rotating drum (2113), one end of the driving gear (2116) passes through the outside of the rotating frame (215), the T-shaped seat (2117) is fixedly connected to the bottom of the rotating frame (215), the sliding frame (2118) is slidably connected to the surface of the T-shaped seat (2117), and is meshed with the driving gear (2116), the adjusting gear (2119) is rotatably connected to the surface of the sliding frame (2118), and is meshed with the teeth on the surface of the T-shaped seat (2117), one end of the central axis of the adjusting gear (2119) is fixedly connected to the camera (22), the single drive mechanism (200) is arranged inside the visual inspection frame (1), and is connected to an external power supply,One end of the single drive mechanism (200) is connected to one end of the key tube (212) that penetrates into the interior of the visual inspection frame (1), and the other end of the single drive mechanism (200) penetrates out of the visual inspection frame (1) and is located on one side of the top of the side guide portion (219).
3. The machine vision detection device based on machine learning according to claim 2, characterized in that: The single-drive mechanism (200) comprises a drive motor (2120), a reciprocating screw (2121), a slide seat (2122), an elastic clamping rod (2123), a fixing rod (2124), a second rotating drum (2125), a second spiral guide groove (2126), a synchronous gear (2127), a synchronous toothed belt (2128) and a transmission rod (2129), wherein: The drive motor (2120) is fixedly connected to the inner wall of the visual inspection frame (1) and is connected to an external power source. The reciprocating screw rod (2121) is rotatably connected to the inner wall of the visual inspection frame (1) and is fixedly connected to the output end of the drive motor (2120). The slide seat (2122) is threadedly connected to the outer surface of the reciprocating screw rod (2121) and is vertically slidably connected to the inner wall of the visual inspection frame (1). The elastic clamping rod (2123) and the fixed rod (2124) are respectively arranged on the slide seat (2122). One end of the elastic clamping rod (2123) passes through the outside of the visual inspection frame (1) and is located on one side of the top of the side guide portion (219). One end of the elastic clamping rod (2123) is slidably connected to the inner wall of the side guide portion (219). The second rotating drum (2125) is rotatably connected to the inner wall of the visual inspection frame (1) and is located on one side of the reciprocating screw (2121); the second spiral guide groove (2126) is opened on the surface of the second rotating cylinder (2125); one end of the fixed rod (2124) is located inside the second spiral guide groove (2126) and is slidably connected to the inner wall of the second spiral guide groove (2126); the synchronous gears (2127) are symmetrically rotatably connected to the inner wall of the visual inspection frame (1) and are connected through the synchronous toothed belt (2128); one group of the synchronous gears (2127) is fixedly connected to one end of the key cylinder (212) that penetrates into the interior of the visual inspection frame (1); and the other group of the synchronous gears (2127) is connected to the top of the second rotating cylinder (2125) through the transmission rod (2129).
4. The machine vision detection device based on machine learning according to claim 3, characterized in that: The side guide portion (219) comprises an inner oblique guide portion (2191), a vertical portion (2192) and an outer oblique guide portion (2193); the inner oblique guide portion (2191), the vertical portion (2192) and the outer oblique guide portion (2193) are integrally formed and symmetrically arranged on the surface of the rotating frame (215) from the inside to the outside and are located outside the through slot (2110); one end of the elastic clamping rod (2123) is slidably connected to the surfaces of the inner oblique guide portion (2191), the vertical portion (2192) and the outer oblique guide portion (2193), respectively; and one end of the elastic clamping rod (2123) is clamped and fixed to the inner wall of the through slot (2110).
5. The machine vision detection device based on machine learning according to claim 3, characterized in that: The driving motor (2120) further comprises a fixed-point trigger mechanism (100), wherein the fixed-point trigger mechanism (100) comprises a seat body (101), a rod body (102), a second spring (103), a power connection block (104) and a power connection seat (105), wherein: The seat body (101) is fixedly connected to the surface of the visual inspection frame (1) and overlapped on the top of the conveying mechanism (10); the rod body (102) is horizontally slidably connected to the inner wall of the seat body (101), and a second spring (103) is fixedly connected to the inner wall of the seat body (101); one end of the rod body (102) passes through the outside of the seat body (101) and is located inside a V-shaped groove (13) provided on the surface of the workbench (12); the end of the rod body (102) that passes through the outside of the seat body (101) is slidably connected to the inner wall of the V-shaped groove (13); the other end of the rod body (102) is fixedly connected to a power connection block (104) The power connection socket (105) is fixedly connected to the inner wall of the socket body (101) and is arranged on the power circuit of the drive motor (2120). The power connection block (104) corresponds to the position of the power connection socket (105) and is slidably connected to the inner wall of the power connection socket (105). When the power connection block (104) contacts the power connection socket (105), the power circuit of the drive motor (2120) is energized and the drive motor (2120) is powered on and runs. When the power connection block (104) is separated from the power connection socket (105), the power circuit of the drive motor (2120) is de-energized and the drive motor (2120) stops running.
6. The machine vision detection device based on machine learning according to claim 2, characterized in that: The camera (22) further comprises a mounting seat (220), the camera (22) being fixedly engaged with the inner wall of the mounting seat (220), one end of the central axis of the adjustment gear (2119) being fixedly connected to the surface of the mounting seat (220), and the zoom adjustment assembly (23) being respectively arranged on the mounting seat (220), the turntable (211) and the visual inspection frame (1).
7. The machine vision detection device based on machine learning according to claim 6, characterized in that: The zoom adjustment assembly (23) comprises a gear dual adjustment mechanism (231), a reset gear rod (232) and an arc-shaped adjustment tooth plate (233); the gear dual adjustment mechanism (231) is arranged on the inner wall of the mounting seat (220); one end of the gear dual adjustment mechanism (231) is respectively connected to the zoom ring and the focus ring on the camera (22); the other end of the gear dual adjustment mechanism (231) passes through the outside of the mounting seat (220) and is respectively meshed with the reset gear rod (232) fixedly connected to the bottom of the turntable (211) and the arc-shaped adjustment tooth plate (233) fixedly connected to the surface of the visual inspection frame (1).
8. The machine vision detection device based on machine learning according to claim 7, characterized in that: The gear dual adjustment mechanism (231) comprises a semi-external gear (2311), a worm (2312), a one-way transmission (2313), a worm wheel (2314), a synchronous shaft (2315), a first rotating gear (2316) and a second rotating gear (2317), wherein: The semi-external gear (2311) is rotatably connected to the inner wall of the mounting seat (220); one end of the semi-external gear (2311) extends through the outside of the mounting seat (220) and is meshed with the reset gear rod (232) and the arc-shaped adjustment gear plate (233), respectively; the worm (2312) is rotatably connected to the inner wall of the mounting seat (220) and is located on one side of the semi-external gear (2311); the worm (2312) is connected to the semi-external gear (2311) via a one-way transmission (2313); the worm wheel (2314) is rotatably connected to the inner wall of the mounting seat (220) and is meshed with the reset gear rod (232) and the arc-shaped adjustment gear plate (233). The worms (2312) are meshed with each other, the synchronization shaft (2315) is rotatably connected to the inner wall of the mounting seat (220) and is located on one side of the camera (22), one end of the synchronization shaft (2315) is fixedly connected to the surface of the worm wheel (2314), the first rotating gear (2316) and the second rotating gear (2317) are fixedly connected to the surface of the synchronization shaft (2315) up and down, and the first rotating gear (2316) and the second rotating gear (2317) are respectively meshed with the zoom gear ring (2210) and the focus gear ring (2220) sleeved on the outside of the zoom ring and the focus ring.