Single hole detection automation equipment
By using the electric control box and stroke block structure in the single-hole detection automation equipment, combined with the locking component and the air bleed interface, the camera module can be easily disassembled and installed, solving the problem of inconvenient fixing methods in the existing technology. Improved equipment service life and maintenance efficiency.
Patent Information
- Application Number
- CN202410921394.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-10
AI Technical Summary
The fixing method of the camera module in the existing technology is inconvenient, which leads to difficulties in assembly and maintenance and affects the service life.
A single-hole detection automation equipment is designed, which adopts the structure of electric control box and stroke block. It realizes the vertical movement and locking of the camera module through the stroke drive unit and internal locking unit. It combines the locking component and the air bleed interface to realize convenient disassembly. and installation.
It improves the convenience of assembly and maintenance of the camera module, avoids falling and damage, simplifies the disassembly and installation process, and ensures the safety and efficiency of the equipment.
Smart Images

Figure CN118501060B
Abstract
Description
Technical Field
[0001] The invention relates to automated detection equipment, in particular to single-hole automated detection equipment. Background Art
[0002] In order to inspect the inside of a workpiece, it is often necessary to extend the lens of the camera module into the workpiece to capture video or images; after the camera module is fixed, the extended lens is used to perform single-hole inspection. As an electronic device, the camera module requires regular maintenance to extend its service life. Therefore, it is necessary to avoid the conventional fixing method of the camera module in the prior art and improve the assembly convenience of the camera module through optimization. Summary of the invention
[0003] The purpose of the present invention is to provide a single-hole type detection automation equipment to solve the problems raised in the background technology.
[0004] The above technical objectives of the present invention are achieved through the following technical solutions:
[0005] A single-hole type detection automation equipment comprises an electric control box, wherein the electric control box is provided with a horizontal placement area and a vertical travel area, wherein the placement area is provided with a workpiece carrier for placing a workpiece to be detected, wherein the travel area is provided with a travel block, wherein the travel block is provided with a camera module, wherein a lens in the camera module vertically extends downward out of the travel block, and wherein a travel drive unit is provided inside the electric control box for providing a driving force for the travel block so that the camera module can move vertically toward or away from the workpiece carrier;
[0006] An internal locking unit is provided in the travel block. When the camera module is installed in the travel block, the internal locking unit locks the camera module.
[0007] Further configuration is: an electric box door panel is provided at the rear end of the electric control box, and a three-color light indicating the working status is fixedly provided on the top of the electric control box; a mounting base plate is fixedly provided at the bottom of the electric control box, a socket mounting plate is provided at the rear end of the mounting base plate, a proximity sensor fixed on the mounting base plate is provided below the workpiece carrier, two vertical aluminum brackets are provided on the mounting base plate, an electric control board and an inner mounting plate are provided between the two aluminum brackets, the electric control board is located at the rear end of the inner mounting plate, the stroke drive unit is installed at the front end of the inner mounting plate, and an industrial computer is also provided on the mounting base plate; the stroke drive unit includes a vertical guide seat, a vertical guide rail is fixedly provided on the guide seat, a slide seat is slidably provided on the vertical guide rail, and the stroke block is fixed on the slide seat; a vertical screw is provided in the guide seat, the vertical screw passes through the slide seat and forms a screw transmission with it, and a drive motor that provides a driving force for the vertical screw to rotate is fixedly provided on the top of the guide seat.
[0008] Further configuration is: a vertical slot is provided at the lower end of the travel block, an upper socket is fixedly provided at the upper end of the camera module, the upper socket can be inserted upward into the vertical slot, and an upper inner groove is provided at the upper end of the upper socket; an inner fixed block is fixedly provided inside the travel block; a horizontal inner shell is fixedly provided at the lower end of the inner fixed block by a first bolt, and the upper socket will be limited by the horizontal inner shell after being inserted into the vertical slot; a horizontal inner cavity is provided in the horizontal inner shell, and two groups of symmetrical locking components are provided in the horizontal inner cavity, and the two groups of locking components are respectively located in the left half and the right half of the horizontal inner cavity.
[0009] Further configuration is: the locking member includes a sliding bottom block slidably arranged in the horizontal inner cavity, an embedded locking block is fixedly arranged on the outer side of the sliding bottom block, a side wall of the upper end inner groove is provided with an indented surface, when the upper end socket is against the horizontal inner shell, the embedded locking block and the indented surface are in the same plane, a first inner spring is arranged in the horizontal inner cavity, the first inner spring is connected to the embedded locking block and provides an outward movement force for it, so that the embedded locking block can extend into the indented surface, thereby achieving the purpose of locking the upper end socket;
[0010] The outer side of the embedded locking block is provided with an inclined guide surface.
[0011] The further configuration is: a vertical insertion rod is inserted into the horizontal inner shell, the vertical insertion rod is fixed to the inner fixed block by a second bolt, a through hole is opened at the upper end of the horizontal inner shell for the vertical insertion rod to penetrate, the vertical insertion rod can extend downward into the horizontal inner cavity and abut against the upper end surface of the sliding bottom block; an inner movable cavity is formed among the vertical insertion rod, the upper inner wall of the horizontal inner shell, the sliding bottom block and the embedded locking block, the first inner spring is located in the inner movable cavity, and the two ends of the first inner spring are respectively connected to the embedded locking block and the vertical insertion rod.
[0012] Further configuration is: a first extension block is fixedly arranged on the right side of the upper end of the sliding bottom block, and the first extension block can abut against the vertical insertion rod to prevent the embedded locking block from escaping from the horizontal inner cavity; a second extension block is fixedly arranged on the right side of the upper end of the first extension block, and a gap opening is provided between the second extension block and the vertical insertion rod, and when the first extension block abuts against the vertical insertion rod, the gap opening still exists;
[0013] The upper end of the horizontal inner shell is provided with a first air inlet hole and a second air inlet hole respectively connected to the gap openings in the two locking components; the surface of the travel block is provided with an air inlet interface, and the air inlet interface extends inwardly into the inner fixed block, and the inner fixed block is provided with a third air inlet hole connected to the first air inlet hole and the air inlet interface, and the inner fixed block is also provided with a fourth air inlet hole communicating with the second air inlet hole, and the fourth air inlet hole and the air inlet interface are connected through an air inlet hose; the external gas can be introduced into the gap openings in the two locking components through the air inlet interface, thereby pushing the two embedded locking blocks to move inward to escape from the corresponding recessed surfaces, and finally achieving the purpose of unlocking the upper end socket;
[0014] The horizontal inner cavity is provided with a spacing cavity for the two sliding bottom blocks to move.
[0015] The further arrangement is that: the left and right parts of the lower end of the inner fixed block are respectively fixed with an upper cover body by a third bolt, the upper cover body and the upper end surface of the horizontal inner shell are cooperated to form an inner opening, the inner side of the inner opening is closed by a vertical insertion rod; an inner moving block and a second inner spring are arranged in the inner opening, the outer side surface of the inner moving block is in the shape of an arc, and the side wall of the upper inner groove is provided with an arc surface; the two ends of the second inner spring are respectively connected with the vertical insertion rod and the inner moving block, and the second inner spring provides an outward movement force for the inner moving block; when the upper end socket is against the horizontal inner shell, the inner moving block and the arc surface are in the same plane, and the second inner spring can push the inner moving block to extend into the arc surface, thereby preventing the upper end socket and the camera module from falling together with gravity and being broken after the embedded locking block releases the lock on the upper end socket.
[0016] A further configuration is that a synchronous moving block is fixedly arranged on the inner moving block, and a stopper is fixedly arranged in the inner opening through a fifth bolt, and the inner moving block is prevented from completely slipping out of the inner opening by the abutment between the stopper and the synchronous moving block.
[0017] A further configuration is: also including a control circuit for realizing data exchange between the camera module and the terminal.
[0018] The beneficial effects of the present invention are:
[0019] 1. In the present invention, the workpiece carrier is used to place the workpiece to be inspected; the camera module, driven by the travel drive unit, extends into the interior of the workpiece to be inspected placed on the workpiece carrier, and the vertical position of the camera module is adjusted by the travel drive unit; the internal locking unit is provided to lock the camera module installed in the travel block to prevent the camera module from falling; the internal locking unit also has the advantage of convenient disassembly of the camera module, thereby optimizing the disassembly / installation process of the camera module, making it convenient for the staff to quickly and easily disassemble / install the camera module, and bringing convenience to the subsequent regular maintenance.
[0020] 2. In the present invention, the upper socket at the upper end of the camera module can be inserted into the vertical slot in the travel block, and the inner fixed block can be abutted against the upper socket to limit the position; the horizontal inner shell is fixed to the lower end of the inner fixed block, and the two sets of locking components arranged in the horizontal inner shell can lock the upper socket.
[0021] 3. In the present invention, the sliding bottom block in the locking component serves as a moving part, and the embedded locking block will move with the sliding bottom block. The first inner spring provides an outward movement force for the sliding bottom block so that the embedded locking block can extend into the recessed surface to achieve the purpose of locking the upper end socket.
[0022] 4. In the present invention, the vertical insertion rod can cooperate with the horizontal inner shell, the sliding bottom block and the embedded locking block to form an inner movable cavity, and the inner movable cavity is provided for the first inner spring. The inner side of the first inner spring is connected to the vertical insertion rod, and the outer side is connected to the embedded locking block. Since the vertical insertion rod is fixed, the first inner spring can push the embedded locking block to move outward stably.
[0023] 5. In the present invention, the first extension block at the upper end of the sliding bottom block can abut against the vertical insertion rod to prevent the embedded locking block from escaping from the horizontal inner cavity; a gap opening can be formed between the second extension block and the vertical insertion rod; the external gas can be introduced into the gap opening in the two locking components through the set air duct interface, thereby pushing the two embedded locking blocks to move inward to escape from the corresponding recessed surfaces, and finally achieve the purpose of releasing the lock of the upper end socket; the setting of the spacing cavity allows the two sliding bottom blocks to move.
[0024] 6. In the present invention, the upper cover body can cooperate with the horizontal inner shell to form an inner opening, and the inner movable block in the inner opening can keep moving outward under the action of the second inner spring, and the inner side of the second inner spring is connected to the vertical insertion rod; a vertical insertion rod is used to provide bearing force for the first inner spring and the second inner spring at the same time, which can reduce costs; the outer side of the inner movable block can extend into the arc surface of the upper inner groove under the action of the second inner spring, thereby preventing the upper socket and the camera module from falling together with gravity and being broken after the embedded locking block releases the lock on the upper socket.
[0025] 7. In the present invention, the inner moving block is prevented from completely falling out of the inner opening by the abutment between the stopper and the synchronous moving block.
[0026] 8. In the present invention, data communication between the camera module and the terminal is achieved through a control circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a schematic diagram of the overall structure of the embodiment;
[0028] Figure 2 Schematic diagram of the internal structure of the embodiment;
[0029] Figure 3 It is a schematic diagram of the internal structure of the travel block and the camera module in the embodiment;
[0030] Figure 4 for Figure 3 Enlarged view of part A in the middle;
[0031] Figure 5 for Figure 4 Enlarged view of middle part B;
[0032] Figure 6 A circuit diagram of a communication circuit in a control circuit in an embodiment;
[0033] Figure 7 is a circuit diagram of an auxiliary power supply circuit in a control circuit in an embodiment;
[0034] Figure 8 3.3V power supply circuit in the control circuit of the embodiment;
[0035] Fig. 9 is a circuit diagram of a driving circuit in a control circuit in an embodiment;
[0036] Fig.10 is a circuit diagram of a single chip microcomputer in a control circuit in an embodiment;
[0037] Fig.11 3.6V power supply circuit in the control circuit of the embodiment;
[0038] Fig.12is a circuit diagram of a fill light circuit in a control circuit in an embodiment;
[0039] Fig.13 A circuit diagram of a camera module connection circuit in a control circuit in an embodiment;
[0040] Fig.14 It is a flowchart of operating software in the embodiment;
[0041] Fig.15 It is a deployment diagram of the yolov5 algorithm in the embodiment.
[0042] In the figure: 11, electric control box; 121, placement area; 122, travel area; 13, workpiece carrier; 14, travel block; 15, camera module; 16, electric box door; 17, three-color light; 21, mounting base plate; 22, socket mounting plate; 23, proximity sensor; 24, aluminum bracket; 25, electric control board; 26, inner mounting plate; 27, industrial computer; 31, guide seat; 32, vertical guide rail; 33, slide seat; 34, vertical screw; 35, drive motor; 41, vertical slot; 42, upper end socket; 43, upper end inner groove; 431, inner recessed surface; 44, inner fixing block; 45, first bolt; 46, horizontal inner shell; 51 , sliding bottom block; 52, embedded locking block; 521, inclined guide surface; 53, first inner spring; 61, vertical plug rod; 62, second bolt; 63, through hole; 64, inner movable cavity; 65, first extension block; 66, second extension block; 70, gap opening; 71, first air bleed hole; 72, second air bleed hole; 73, third air bleed hole; 74, fourth air bleed hole; 75, air bleed interface; 76, air bleed hose; 77, interval cavity; 81, third bolt; 82, upper cover body; 83, inner opening; 84, inner moving block; 85, second inner spring; 86, synchronous moving block; 87, fifth bolt; 88, stopper; 91, arc surface. DETAILED DESCRIPTION
[0043] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0044] As attached Figures 1 to 5 As shown;
[0045] The present embodiment discloses a single-hole type detection automation equipment, including an electric control box 11, on which a horizontal placement area 121 and a vertical travel area 122 are arranged, a workpiece carrier 13 for placing a workpiece to be detected is arranged on the placement area 121, a travel block 14 is arranged on the travel area 122, a camera module 15 is installed on the travel block 14, a lens in the camera module 15 extends vertically downward out of the travel block 14, and a travel drive unit is arranged inside the electric control box 11 to provide a driving force for the travel block 14 so that the camera module 15 can move vertically toward or away from the workpiece carrier 13;
[0046] An internal locking unit is provided in the travel block 14 . When the camera module 15 is installed in the travel block 14 , the internal locking unit locks the camera module 15 .
[0047] Among them, the rear end of the electric control box 11 is provided with an electric box door panel 16, and the top of the electric control box 11 is fixedly provided with a three-color light 17 indicating the working status; the bottom of the electric control box 11 is fixedly provided with a mounting substrate 21, and the rear end of the mounting substrate 21 is provided with a socket mounting plate 22, and a proximity sensor 23 fixed on the mounting substrate 21 is provided below the workpiece carrier 13, and two vertical aluminum brackets 24 are provided on the mounting substrate 21, and an electric control board 25 and an inner mounting plate 26 are provided between the two aluminum brackets 24, and the electric control board 25 is located on the inner mounting plate 26, the travel drive unit is installed at the front end of the inner mounting plate 26, and an industrial computer 27 is also arranged on the mounting base plate 21; the travel drive unit includes a vertical guide seat 31, a vertical guide rail 32 is fixedly arranged on the guide seat 31, a slide seat 33 is slidably arranged on the vertical guide rail 32, and the travel block 14 is fixed on the slide seat 33; a vertical screw 34 is arranged in the guide seat 31, the vertical screw 34 passes through the slide seat 33 and forms a screw transmission with it, and a driving motor 35 is fixedly arranged on the top of the guide seat 31 to provide a driving force for the vertical screw 34 to rotate.
[0048] Among them, a vertical slot 41 is opened at the lower end of the travel block 14, and an upper socket 42 is fixedly provided at the upper end of the camera module 15. The upper socket 42 can be inserted upward into the vertical slot 41, and an upper inner groove 43 is opened at the upper end of the upper socket 42; an inner fixed block 44 is fixedly provided in the travel block 14; a horizontal inner shell 46 is fixedly provided at the lower end of the inner fixed block 44 by a first bolt 45, and after the upper socket 42 is inserted into the vertical slot 41, it will abut against the horizontal inner shell 46 to limit the position; a horizontal inner cavity is opened in the horizontal inner shell 46, and two groups of symmetrical locking components are arranged in the horizontal inner cavity, and the two groups of locking components are respectively located in the left half and the right half of the horizontal inner cavity.
[0049] The locking member includes a sliding bottom block 51 slidably arranged in the horizontal inner cavity, an embedded locking block 52 is fixedly arranged on the outer side of the sliding bottom block 51, and a recessed surface 431 is provided on the side wall of the upper inner groove 43. When the upper socket 42 abuts against the horizontal inner shell 46, the embedded locking block 52 and the recessed surface 431 are in the same plane. A first inner spring 53 is arranged in the horizontal inner cavity. The first inner spring 53 is connected to the embedded locking block 52 and provides an outward movement force for it, so that the embedded locking block 52 can extend into the recessed surface 431, thereby achieving the purpose of locking the upper socket 42.
[0050] An inclined guide surface 521 is disposed on the outer side of the embedded locking block 52 .
[0051] Among them, a vertical insertion rod 61 is inserted into the horizontal inner shell 46, and the vertical insertion rod 61 is fixed to the inner fixed block 44 by a second bolt 62. A through hole 63 is opened at the upper end of the horizontal inner shell 46 for the vertical insertion rod 61 to penetrate, and the vertical insertion rod 61 can extend downward into the horizontal inner cavity and abut against the upper end surface of the sliding bottom block 51; an inner movable cavity 64 is formed among the vertical insertion rod 61, the inner wall of the upper end of the horizontal inner shell 46, the sliding bottom block 51 and the embedded locking block 52, and the first inner spring 53 is located in the inner movable cavity 64, and the two ends of the first inner spring 53 are respectively connected to the embedded locking block 52 and the vertical insertion rod 61.
[0052] Among them, a first extension block 65 is fixedly arranged on the right side of the upper end of the sliding bottom block 51, and the first extension block 65 can abut against the vertical insertion rod 61 to prevent the embedded locking block 52 from escaping from the horizontal inner cavity; a second extension block 66 is fixedly arranged on the right side of the upper end of the first extension block 65, and a gap opening 70 is provided between the second extension block 66 and the vertical insertion rod 61. When the first extension block 65 abuts against the vertical insertion rod 61, the gap opening 70 still exists;
[0053] The upper end of the horizontal inner shell 46 is provided with a first air inlet hole 71 and a second air inlet hole 72 which are respectively connected to the gap openings 70 in the two locking components; an air inlet interface 75 is provided on the surface of the travel block 14, and the air inlet interface 75 extends inwardly to the inner fixed block 44, and a third air inlet hole 73 which is connected to the first air inlet hole 71 and the air inlet interface 75 is provided in the inner fixed block 44, and a fourth air inlet hole 74 which is connected to the second air inlet hole 72 is also provided in the inner fixed block 44, and the fourth air inlet hole 74 and the air inlet interface 75 are connected through an air inlet hose 76; the external gas can be introduced into the gap openings 70 in the two locking components through the air inlet interface 75, thereby pushing the two embedded locking blocks 52 to move inward to disengage the corresponding recessed surfaces 431, and finally achieving the purpose of unlocking the upper end socket 42; in this embodiment, the air inlet interface 75 can be connected by a small hand-held air pump, and the small hand-held air pump is used to generate gas.
[0054] A partition cavity 77 is provided in the horizontal inner cavity for the two sliding bottom blocks 51 to move.
[0055] The left and right parts of the lower end of the inner fixed block 44 are respectively fixed with an upper cover 82 by third bolts 81, and an inner opening 83 is formed between the upper cover 82 and the upper end surface of the horizontal inner shell 46, and the inner side of the inner opening 83 is closed by the vertical insertion rod 61; an inner moving block 84 and a second inner spring 85 are arranged in the inner opening 83, and the outer side surface of the inner moving block 84 is in an arc shape, and an arc surface 91 is provided on the side wall of the upper inner groove 43; the two ends of the second inner spring 85 are The second inner spring 85 is respectively connected with the vertical plug rod 61 and the inner moving block 84, and the second inner spring 85 provides the inner moving block 84 with a force to move outward; when the upper socket 42 is against the horizontal inner shell 46, the inner moving block 84 and the arc surface 91 are in the same plane, and the second inner spring 85 can push the inner moving block 84 to extend into the arc surface 91, thereby preventing the upper socket 42 and the camera module 15 from falling and being broken together with gravity after the embedded locking block 52 releases the lock on the upper socket 42.
[0056] Among them, a synchronous moving block 86 is fixedly provided on the inner moving block 84, and a stopper 88 is fixedly provided in the inner opening 83 through a fifth bolt 87. The stopper 88 and the synchronous moving block 86 abut against each other to prevent the inner moving block 84 from completely slipping out of the inner opening 83.
[0057] It also includes a control circuit for realizing data exchange between the camera module 15 and the terminal.
[0058] The working principle of this embodiment is:
[0059] ① When installing the camera module 15, insert the upper socket 42 at the upper end of the camera module 15 upward into the vertical slot 41; during this process, the upper end of the upper socket 42 will contact the inclined guide surface 521 of the embedded lock block 52, and then continuously push the embedded lock block 52 to move inward, and the upper socket 42 will continue to be inserted upward steadily. Then, the upper end of the upper socket 42 will also contact the inner moving block 84, and continuously push the inner moving block 84 to move inward; the upper socket 42 remains in the state of being inserted upward until the upper socket 42 abuts against the horizontal inner shell 46, and the upper socket 42 stops due to resistance.
[0060] ② When the upper socket 42 is against the horizontal inner shell 46, the embedded locking block 52 and the recessed surface 431 are in the same plane, and the first inner spring 53 can push the embedded locking block 52 to move outward and extend into the recessed surface 431, so as to achieve the purpose of locking the upper socket 42; at the same time, the inner moving block 84 will also be in the same plane as the curved surface 91, and the second inner spring 85 can push the inner moving block 84 to extend into the curved surface 91. Through the cooperation of the inner moving block 84 and the curved surface 91, it can prevent the upper socket 42 and the camera module 15 from falling and being broken due to gravity after the embedded locking block 52 releases the lock on the upper socket 42.
[0061] ③ When disassembling the camera module 15, gas is introduced through the air duct interface 75. The gas introduced from the air duct interface 75 will pass through the third air duct hole 73 and the first air duct hole 71 in sequence and then be introduced into the gap opening 70 of one of the locking components; the gas introduced from the air duct interface 75 will also be connected through the air duct hose 76, the fourth air duct hole 74 and the second air duct hole 72 in sequence and then introduced into the gap opening 70 of the other locking component, and will eventually push the two embedded locking blocks 52 to move inward to disengage the corresponding recessed surface 431, thereby achieving the purpose of unlocking the upper end socket 42.
[0062] ④ After the two embedded locking blocks 52 release the lock on the upper socket 42, since the two inner movable blocks 84 are still in the state of extending into the arc surface 91, the camera module 15 will not fall down and be damaged. The staff can disassemble the camera module 15 by pulling it out downward, which has the advantages of safety and convenience.
[0063] It needs further explanation:
[0064] The control circuit in this embodiment includes a communication circuit, an auxiliary power supply circuit, a 3.3V power supply circuit, a drive circuit, a single chip microcomputer, a 3.6V power supply circuit, a fill light circuit, and a camera module connection circuit. Figure 6-13 As shown, this embodiment discloses a detailed circuit diagram, and those skilled in the art of electronics should and should know that the disclosed circuit diagram is feasible.
[0065] This embodiment also designs an adapted operating software that can be run on the terminal. The flowchart of the operating software is shown in the attached figure. Fig.14 shown.
[0066] This embodiment also designs an artificial intelligence algorithm for controlling the automatic movement of the camera module, as shown in the attached Fig.15 As shown, a deployment diagram of the yolov5 algorithm is disclosed.
[0067] The Yolov5 algorithm is used, and Yolov5 uses TensorRT for c++ deployment.
[0068] 1. Algorithm principle;
[0069] YOLOv5 is an object detection algorithm known for its speed and accuracy. It uses a single-step process, using a neural network, to directly predict the location and type of objects in an image. The algorithm learns the features of an image and combines them with a predefined framework to determine the exact location of the object. During training, it adjusts itself to more accurately identify and locate objects, while using data augmentation techniques to improve its adaptability to different environments and changes. YOLOv5 is able to recognize multiple objects in an image at the same time, regardless of their size, which makes it well suited for applications that require fast and accurate object detection.
[0070] 2. Network structure;
[0071] The algorithm architecture mainly consists of four parts: input, Backone, Neck and Prediction.
[0072] 2.1. Input terminal;
[0073] YOLOv5 improves training efficiency and model accuracy through several key technologies: Mosaic data enhancement, adaptive anchor box calculation, and adaptive image scaling.
[0074] Mosaic data augmentation: The model is trained by randomly scaling, cropping, and combining four images into a new image. This not only increases the background complexity of object detection, but also improves the model's ability to handle diverse data, allowing the model to learn effectively when receiving more diverse inputs.
[0075] Adaptive anchor box calculation: It is a unique feature of YOLOv5. It can automatically calculate the most suitable anchor box size based on the training data, so that it can better match the target objects in the data set, thereby improving the accuracy of detection. The introduction of this technology eliminates the need for manual preset anchor boxes for model training, greatly simplifying the preparation work for model training.
[0076] Adaptive image scaling: This solves the scaling problem caused by inconsistent image aspect ratios. By minimizing the black edges of the images, it ensures that the images can be input into the model for training in the optimal form while maintaining their original proportions. This not only retains more image information, but also avoids information redundancy caused by too many black edges, further improving the model's inference speed.
[0077] 2.2.Backone Network;
[0078] The Focus structure increases information channels through special slicing and extracts features without information loss; the CSP structure divides the feature map and performs partial convolution and then merges it to reduce the amount of calculation and improve efficiency.
[0079] 2.3.Neck network;
[0080] The Neck of yoloV5 still uses the FPN+PAN structure, but some improvements are made on its basis. The Neck structure of yoloV4 uses ordinary convolution operations, while the Neck of yoloV5 uses the CSP2 structure designed by CSPNet, thereby enhancing the network feature fusion capability.
[0081] 2.4. Loss function;
[0082] CIOU_Loss: adds an influencing factor based on DIOU_Loss, taking the aspect ratio of the prediction box and the GT box into consideration;
[0083] CIOULoss (Complete IoU Loss) adds two additional influencing factors based on DIOULoss (Distance-IoU Loss) to more comprehensively consider the difference between the predicted box and the true box:
[0084] 2.4.1 Aspect Ratio Term: Usually the aspect ratio of the predicted box and the real box is different, which will lead to inaccurate IoU calculation. To solve this problem, CIOU loss introduces an aspect ratio factor to measure the difference between the aspect ratios of the predicted box and the real box.
[0085] 2.4.2 Center Point Distance Term: The traditional IoU loss only focuses on the intersection and union of two boxes, but does not consider the distance between their center points. The CIOU loss takes this into account by introducing a center point distance factor to better measure the relative positions of the two boxes.
[0086] The formula of CIOU loss is as follows:
[0087] CIoU=1-IoU+c^2*p^2 / diag^2(b,b_gt)+a*v
[0088] in:
[0089] IoU is the intersection over union of the predicted box and the true box.
[0090] c^2*p^2 / diag^2(b,b_gt) is the aspect ratio factor, where c is a constant, p is the distance between the diagonals of the predicted box and the true box, and diag(b,b_gt) is the square of the length of the diagonals of the predicted box and the true box.
[0091] a*v is the center point distance factor, where a is a constant and v is the distance between the center points of the predicted box and the true box.
[0092] The CIOU loss designed in this way can more comprehensively consider the difference between the predicted box and the true box, thereby improving the performance of the object detection task.
[0093] This specific embodiment is merely an explanation of the present invention and is not a limitation of the present invention. After reading this specification, those skilled in the art may make non-creative modifications to the present embodiment as needed. However, as long as they are within the scope of the claims of the present invention, they are protected by the patent law.
Claims
1. A single-hole detection automation equipment, characterized in that: The invention comprises an electric control box (11), wherein the electric control box (11) is provided with a horizontal placement area (121) and a vertical travel area (122), wherein the placement area (121) is provided with a workpiece carrier (13) for placing a workpiece to be detected, wherein the travel area (122) is provided with a travel block (14), wherein the travel block (14) is provided with a camera module (15), wherein a lens in the camera module (15) extends vertically downward out of the travel block (14), and wherein a travel drive unit is provided inside the electric control box (11) for providing a driving force for the travel block (14) so that the camera module (15) can move vertically toward or away from the workpiece carrier (13); An internal locking unit is provided in the travel block (14), and when the camera module (15) is installed in the travel block (14), the internal locking unit locks the camera module (15); The rear end of the electric control box (11) is provided with an electric box door panel (16), and the top of the electric control box (11) is fixedly provided with a three-color light (17) indicating the working status; the bottom of the electric control box (11) is fixedly provided with a mounting base plate (21), the rear end of the mounting base plate (21) is provided with a socket mounting plate (22), a proximity sensor (23) fixed on the mounting base plate (21) is provided below the workpiece carrier (13), two vertical aluminum brackets (24) are provided on the mounting base plate (21), an electric control board (25) and an inner mounting board (26) are provided between the two aluminum brackets (24), and the electric control board (25) is located on the inner mounting board (26). The travel drive unit is mounted at the front end of the inner mounting plate (26), and an industrial computer (27) is also arranged on the mounting base plate (21); the travel drive unit comprises a vertical guide seat (31), a vertical guide rail (32) is fixedly arranged on the guide seat (31), a slide seat (33) is slidably arranged on the vertical guide rail (32), and the travel block (14) is fixed on the slide seat (33); a vertical screw rod (34) is arranged in the guide seat (31), the vertical screw rod (34) passes through the slide seat (33) and forms a screw transmission with the vertical screw rod (34), and a driving motor (35) is fixedly arranged on the top of the guide seat (31) to provide a driving force for the vertical screw rod (34) to rotate; The lower end of the travel block (14) is provided with a vertical slot (41), the upper end of the camera module (15) is fixedly provided with an upper end socket (42), the upper end socket (42) can be inserted upward into the vertical slot (41), and the upper end of the upper end socket (42) is provided with an upper end inner groove (43); an inner fixing block (44) is fixedly provided inside the travel block (14); a horizontal inner shell (46) is fixedly provided at the lower end of the inner fixing block (44) by a first bolt (45), and after the upper end socket (42) is inserted into the vertical slot (41), it will abut against the horizontal inner shell (46) to limit the position; a horizontal inner cavity is provided in the horizontal inner shell (46), and two groups of symmetrical locking components are provided in the horizontal inner cavity, and the two groups of locking components are respectively located at the left half and the right half of the horizontal inner cavity; The locking member comprises a sliding bottom block (51) slidably arranged in the horizontal inner cavity, an embedded locking block (52) is fixedly arranged on the outer side of the sliding bottom block (51), a side wall of the upper end inner groove (43) is provided with a recessed surface (431), when the upper end socket (42) abuts against the horizontal inner shell (46), the embedded locking block (52) and the recessed surface (431) are in the same plane, a first inner spring (53) is arranged in the horizontal inner cavity, the first inner spring (53) is connected to the embedded locking block (52) and provides an outward movement force for the embedded locking block (52), so that the embedded locking block (52) can extend into the recessed surface (431), thereby achieving the purpose of locking the upper end socket (42); An inclined guide surface (521) is arranged on the outer side of the embedded locking block (52).
2. The single-hole detection automation equipment according to claim 1 is characterized in that: A vertical insertion rod (61) is inserted into the horizontal inner shell (46), and the vertical insertion rod (61) is fixed to the inner fixed block (44) by a second bolt (62). A through hole (63) for the vertical insertion rod (61) to penetrate is opened at the upper end of the horizontal inner shell (46), and the vertical insertion rod (61) can extend downward into the horizontal inner cavity and abut against the upper end surface of the sliding bottom block (51); an inner movable cavity (64) is formed among the vertical insertion rod (61), the upper inner wall of the horizontal inner shell (46), the sliding bottom block (51) and the embedded locking block (52), and the first inner spring (53) is located in the inner movable cavity (64), and the two ends of the first inner spring (53) are respectively connected to the embedded locking block (52) and the vertical insertion rod (61).
3. The single-hole detection automation equipment according to claim 2 is characterized in that: A first extension block (65) is fixedly arranged on the right side of the upper end of the sliding bottom block (51), and the first extension block (65) can abut against the vertical insertion rod (61) to prevent the embedded locking block (52) from escaping from the horizontal inner cavity; a second extension block (66) is fixedly arranged on the right side of the upper end of the first extension block (65), and a gap opening (70) is provided between the second extension block (66) and the vertical insertion rod (61), and when the first extension block (65) abuts against the vertical insertion rod (61), the gap opening (70) still exists; The upper end of the horizontal inner shell (46) is provided with a first air inlet hole (71) and a second air inlet hole (72) which are respectively connected to the gap openings (70) in the two locking components; the surface of the travel block (14) is provided with an air inlet interface (75), the air inlet interface (75) extends inwardly into the inner fixed block (44), the inner fixed block (44) is provided with a third air inlet hole (73) which is connected to the first air inlet hole (71) and the air inlet interface (75), and the inner fixed block (44) is provided with a third air inlet hole (73) which is connected to the first air inlet hole (71) and the air inlet interface (75). The fixed block (44) is also provided with a fourth air inlet hole (74) which is in communication with the second air inlet hole (72); the fourth air inlet hole (74) is connected to the air inlet interface (75) via an air inlet hose (76); external gas can be introduced into the gap openings (70) in the two locking components through the air inlet interface (75), thereby pushing the two embedded locking blocks (52) to move inwards to escape from the corresponding recessed surfaces (431), and finally achieving the purpose of unlocking the upper end socket (42); A spacing cavity (77) for the two sliding bottom blocks (51) to move is provided in the horizontal inner cavity.
4. The single-hole detection automation equipment according to claim 3 is characterized in that: The left and right parts of the lower end of the inner fixed block (44) are respectively fixed with an upper cover body (82) by a third bolt (81); an inner opening (83) is formed between the upper cover body (82) and the upper end surface of the horizontal inner shell (46); the inner side of the inner opening (83) is closed by a vertical insertion rod (61); an inner moving block (84) and a second inner spring (85) are arranged in the inner opening (83); the outer side surface of the inner moving block (84) is in the shape of an arc; the side wall of the upper inner groove (43) is provided with an arc surface (91); the second inner spring (85) is provided with an arc surface (91); the inner side surface (91) of the inner groove (43 ... The two ends are respectively connected to the vertical plug rod (61) and the inner moving block (84), and the second inner spring (85) provides the inner moving block (84) with a force to move outward; when the upper socket (42) is against the horizontal inner shell (46), the inner moving block (84) and the arc surface (91) are in the same plane, and the second inner spring (85) can push the inner moving block (84) to extend into the arc surface (91), thereby preventing the upper socket (42) and the camera module (15) from falling and being damaged together with gravity after the embedded locking block (52) releases the lock on the upper socket (42).
5. The single-hole detection automation equipment according to claim 4, characterized in that: A synchronous moving block (86) is fixedly arranged on the inner moving block (84), and a stopper (88) is fixedly arranged in the inner opening hole (83) via a fifth bolt (87). The stopper (88) and the synchronous moving block (86) abut against each other to prevent the inner moving block (84) from completely falling out of the inner opening hole (83).
6. The single-hole detection automation equipment according to claim 1, characterized in that: It also includes a control circuit for realizing data intercommunication between the camera module (15) and the terminal.
Citation Information
Cited By
Pipeline endoscope probe
EP4775122A1
