An automatic positioning and focusing detection device based on online machine vision detection
By designing an automatic positioning focus detection device based on online machine vision detection, using the second focus component for clamping positioning and height adjustment, and combining with the first focus component to realize touch focus, the problems of cumbersome detection logic and complex structure in the prior art are solved, and automated and efficient detection effects are achieved.
Patent Information
- Application Number
- CN202310162803.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2043-02-24
AI Technical Summary
In the prior art, product visual inspection requires complex clamping positioning and focus adjustment, the logic is cumbersome and the structure is complex, making it difficult to achieve automated and efficient detection.
An automatic positioning focus detection device based on online machine vision detection is designed, a second focus component is used for clamping and positioning, and the height of the rack and focus camera is adjusted according to the size of the object to be detected, and a touch focus is achieved in combination with the first focus component to achieve the effect of automatic positioning focus detection.
Automatic positioning focus detection is realized, which simplifies detection logic, improves detection efficiency and accuracy, and reduces structural complexity.
Smart Images

Figure CN116046792B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of product defect detection, and in particular to an automatic positioning and focusing detection device based on online machine vision detection. Background Art
[0002] The so-called visual inspection is to use machines instead of human eyes to make measurements and judgments. When performing visual inspection on products, on the one hand, a clamping and positioning device is needed to clamp and position the product. On the other hand, an adjustment mechanism is needed to adjust the height of the focus camera according to the range of visual sampling. The sampling range must be determined by the inspection mechanism based on the size of the object to be inspected. The overall judgment logic is relatively cumbersome and the structure is relatively complex.
[0003] Therefore, it is necessary to provide an automatic positioning and focusing detection device based on online machine vision detection to solve the problems raised in the above background technology. Summary of the invention
[0004] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: an automatic positioning and focusing detection device based on online machine vision detection, comprising a mounting seat, a focus camera and a second focus component, wherein a conveyor belt is arranged below the mounting seat for conveying an object to be detected, a mounting slot is opened in the middle of the mounting seat, the focus camera is arranged in the mounting slot by a slider so as to be slidable up and down, a lens is provided at the bottom of the focus camera, racks are fixed on both sides of the focus camera, a second focus component is further arranged in the mounting slot, the second focus component can clamp and position the object to be detected, and at the same time can drive the rack and the focus camera to adjust the height according to the size of the object to be detected.
[0005] Furthermore, as a preference, vertical guide grooves are provided at both the front and rear ends of the installation groove, and a buffer spring is used in the guide groove to be connected to the sliding block.
[0006] Further, as a preference, the second focusing assembly includes a rotating shaft, a rotating arm, a driving gear and a driven gear, wherein the rotating shaft is rotatably arranged in the mounting seat and driven by a motor, a rotating arm is fixed to the bottom of the rotating shaft, a resettable and rotatable clamping plate assembly is arranged at the other end of the rotating arm, a rotating wheel is coaxially fixed to the rotating shaft, the rotating wheel is connected to the synchronous wheel by a synchronous belt, the synchronous wheel is coaxially connected to the driving gear, the driving gear is rotatably arranged on the mounting seat, the driving gear is also meshed with the driven gear, the driven gear is rotatably arranged on the mounting seat, and the driven gear is also meshed with the rack.
[0007] Further, preferably, the long side of the object to be detected is parallel to the extension direction of the conveyor belt.
[0008] Further, preferably, the clamping plate assembly includes a base plate, a clamping plate and a pressure sensor, wherein the base plate is rotatably arranged at the end of the rotating arm, and a reset spring is arranged between the base plate and the rotating arm, and the base plate is also connected to the clamping plate by a plurality of buffer springs. In the initial stage, the angle A between the base plate and the vertical line is 5°-25°, and a pressure sensor is also embedded in the base plate.
[0009] Furthermore, preferably, a touch-focusable display screen is provided above the focus camera, and a first focus component is provided above the display screen. The first focus component can drive a contact to a specified position and touch the display screen to achieve touch focusing.
[0010] Further, as a preference, the first focusing assembly includes an inner track, an outer track and a driving roller, wherein the inner track and the outer track are both spiral structures, and a track space can be formed between the inner track and the outer track for accommodating the contact, and limiting plates are fixed on the upper and lower sides of the contact, and a plurality of evenly distributed driving rollers are rotatably arranged on the inner track and the outer track, and the driving rollers are powered.
[0011] Furthermore, preferably, a rangefinder is fixed on the clamping plate, and the clamping plate also includes a controller for controlling the rangefinder, the motor, and the pressure sensor. The controller can drive the motor again to fine-tune the rotating arm according to feedback from the rangefinder.
[0012] Compared with the prior art, the present invention provides an automatic positioning and focusing detection device based on online machine vision detection, which has the following beneficial effects:
[0013] In an embodiment of the present invention, the second focusing component can clamp and position the object to be detected, and at the same time can drive the rack and the focus camera to adjust the height according to the size of the object to be detected, so as to smoothly focus, and the first focusing component can drive the contact to a specified position and touch the display screen to achieve touch focusing. The cooperation between the two can achieve a better automatic positioning focus detection effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a structural schematic diagram of an automatic positioning and focusing detection device based on online machine vision detection;
[0015] Figure 2 It is a structural schematic diagram of a second focusing component in an automatic positioning and focusing detection device based on online machine vision detection;
[0016] Figure 3 It is a structural schematic diagram of a first focusing component in an automatic positioning and focusing detection device based on online machine vision detection;
[0017] Figure 4 It is a structural schematic diagram of an inner track and an outer track in an automatic positioning and focusing detection device based on online machine vision detection;
[0018] In the figure: 1. mounting base; 2. focusing camera; 3. slider; 4. display screen; 5. first focusing assembly; 6. lens; 7. second focusing assembly; 8. conveyor belt; 9. rack; 10. contact; 11. limit plate; 71. rotating shaft; 72. rotating wheel; 73. rotating arm; 74. driving gear; 75. synchronous wheel; 76. synchronous belt; 77. driven gear; 78. clamping plate; 79. substrate; 710. rangefinder; 711. pressure sensor; 51. inner track; 52. outer track; 53. driving roller. DETAILED DESCRIPTION
[0019] Example: See Figures 1 to 4 In an embodiment of the present invention, an automatic positioning and focusing detection device based on online machine vision detection includes a mounting seat 1, a focusing camera 2 and a second focusing component 7, wherein a conveyor belt 8 is arranged below the mounting seat 1 for conveying an object to be detected, a mounting groove is opened in the middle of the mounting seat 1, the focusing camera 2 is slidably arranged in the mounting groove using a slider 3, a lens 6 is provided at the bottom of the focusing camera 2, racks 9 are fixed on both sides of the focusing camera 2, and a second focusing component 7 is further arranged in the mounting groove, the second focusing component 7 can clamp and position the object to be detected, and at the same time can drive the rack 9 and the focusing camera 2 to adjust the height according to the size of the object to be detected, so as to smoothly carry out focusing.
[0020] Specifically, if Figure 2 The second focusing assembly 7 includes a rotating shaft 71, a rotating arm 73, a driving gear 74 and a driven gear 77, wherein the rotating shaft 71 is rotatably arranged in the mounting seat 1 and is driven by a motor, a rotating arm 73 is fixed to the bottom of the rotating shaft 71, and a repositionable and rotatable clamping plate assembly is arranged at the other end of the rotating arm 73, a rotating wheel 72 is coaxially fixed to the rotating shaft 71, the rotating wheel 72 is connected to the synchronous wheel 75 by a synchronous belt 76, the synchronous wheel 75 is coaxially connected to the driving gear 74, the driving gear 74 is rotatably arranged on the mounting seat 1, the driving gear 74 is also meshed with the driven gear 77, the driven gear 77 is rotatably arranged on the mounting seat 1, and the driven gear 77 is also meshed with the rack 9.
[0021] During implementation, the conveyor belt 8 is used to convey the object to be detected. When the object to be detected moves to the bottom of the mounting seat 1, the motor drives the rotating shaft 71 to rotate, so that the rotating arm 73 is deflected, so that the clamping plate assembly can clamp the object to be detected. At the same time, the rotation of the rotating shaft 71 can also drive the rotating wheel 72 to rotate. The rotating wheel 72 can drive the synchronous wheel 75 to rotate synchronously through the synchronous belt 76. The synchronous wheel 75 is coaxially connected to the driving gear 74. Therefore, the driven gear 77 can also be rotated through the driving gear 74, thereby realizing the drive of the rack.
[0022] Through the above configuration, when the two clamping plate assemblies are close to each other, the rack 9 can move downward, that is, the lens 6 can move downward, and when the length of the object to be detected is small, the distance the lens moves downward is large, and when the length of the object to be detected is large, the distance the lens moves downward is small;
[0023] Furthermore, by adjusting the parameters of the driving gear 74 and the driven gear 77, a more optimized adjustment of the lens can be achieved.
[0024] As a preferred embodiment, vertical guide grooves are provided at both the front and rear ends of the installation groove, and the guide grooves are connected to the slider 3 by a buffer spring.
[0025] As a preferred embodiment, the long side of the object to be detected is parallel to the extension direction of the conveyor belt 8 .
[0026] In this embodiment, the clamping plate assembly includes a base plate 79, a clamping plate 79 and a pressure sensor 711, wherein the base plate 79 is rotatably arranged at the end of the rotating arm 73, and a reset spring is arranged between the base plate 79 and the rotating arm 73, and the base plate 79 is also connected to the clamping plate 78 by a plurality of buffer springs. In the initial stage, the angle A between the base plate 79 and the vertical line is 5°-25°. It should be explained that since the rotating arm 73 is fixed on the rotating shaft, the movement path of the base plate 79 is an arc, and in the initial stage, the angle between the base plate 79 and the vertical line is 5°-25°. This can ensure that when clamping the object to be detected, it can be clamped more smoothly and more closely.
[0027] In addition, a pressure sensor 711 is embedded in the substrate 79 .
[0028] The pressure sensor can monitor whether the clamping plate assembly achieves effective clamping of the object to be inspected.
[0029] The clamping plate 78 is also fixed with a distance meter 710 , and also includes a controller for controlling the distance meter, the motor, and the pressure sensor 711 . The controller can drive the motor again to fine-tune the rotating arm according to the feedback of the distance meter 710 .
[0030] Specifically, since the object to be detected has thickness, its thickness needs to be compensated. In order to measure the thickness of the object to be detected, a rangefinder 710 is provided in this embodiment. When the thickness is detected to be higher than a first threshold, the motor is controlled to drive the clamping plate assemblies to move away from each other, and the movement amount can be measured by monitoring the rotation angle of the motor output end. Similarly, when the thickness is detected to be lower than the first threshold, the motor is controlled to drive the clamping plate assemblies to move closer to each other, thereby ensuring the focus detection effect of the focus camera 2.
[0031] Furthermore, since the base plate 79 is connected to the clamping plate 78 by using a plurality of buffer springs, the buffer springs can effectively provide a clamping force.
[0032] In this embodiment, a touch-focusable display screen 4 is provided above the focus camera 2, and a first focus component 5 is provided above the display screen. The first focus component 5 can drive the contact 10 to a specified position and touch the display screen 4 to achieve touch focusing.
[0033] This also requires that the focus camera 2 has a touch focusing function. In this embodiment, the touch focusing can be realized by the contact 10 instead of manual operation.
[0034] That is to say, in this embodiment, on the one hand, the second focusing assembly 7 can clamp and position the object to be detected, and at the same time can drive the rack 9 and the focusing camera 2 to adjust the height according to the size of the object to be detected, and on the other hand, the first focusing assembly 5 can drive the contact 10 to a specified position and touch the display screen 4 to achieve local area focusing;
[0035] In this embodiment, the first focusing assembly 5 includes an inner track 51, an outer track 52 and a driving roller 53, wherein the inner track 51 and the outer track 52 are both spiral structures, and a track space can be formed between the inner track 51 and the outer track 52 for accommodating the contact 10, and limiting plates 11 are fixed on the upper and lower sides of the contact 10, and a plurality of evenly distributed driving rollers 53 are rotatably provided on the inner track 51 and the outer track 52, and the driving rollers 53 have power.
[0036] It should be explained that the contact 10 is retractable;
[0037] Since the inner track 51 and the outer track 52 are both spiral structures, the contact 10 cannot be located anywhere above the lens 6, but its moving trajectory can cover most areas, and its touch focusing area is also a range area, so effective touch focusing can be performed through the contact 10.
[0038] What is described above is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. An automatic positioning and focusing detection device based on online machine vision detection, characterized in that: The invention comprises a mounting seat (1), a focus camera (2) and a second focus assembly (7), wherein a conveyor belt (8) is arranged below the mounting seat (1) for conveying an object to be detected, a mounting groove is provided in the middle of the mounting seat (1), the focus camera (2) is arranged in the mounting groove so as to slide up and down by means of a slider (3), a lens (6) is provided at the bottom of the focus camera (2), racks (9) are fixed on both sides of the focus camera (2), a second focus assembly (7) is also arranged in the mounting groove, and the second focus assembly (7) can clamp and position the object to be detected, and can drive the rack (9) and the focus camera (2) to adjust the height according to the size of the object to be detected while clamping and positioning; The second focusing assembly (7) comprises a rotating shaft (71), a rotating arm (73), a driving gear (74) and a driven gear (77), wherein the rotating shaft (71) is rotatably arranged in the mounting seat (1) and driven by a motor, a rotating arm (73) is fixed at the bottom of the rotating shaft (71), and a clamping plate assembly that can be reset and rotated is arranged at the other end of the rotating arm (73), a rotating wheel (72) is coaxially fixed on the rotating shaft (71), the rotating wheel (72) is connected to a synchronous wheel (75) by a synchronous belt (76), the synchronous wheel (75) is coaxially connected to the driving gear (74), the driving gear (74) is rotatably arranged on the mounting seat (1), the driving gear (74) is also meshed with a driven gear (77), the driven gear (77) is rotatably arranged on the mounting seat (1), and the driven gear (77) is also meshed with a rack (9); The clamping plate assembly includes a base plate (79), a clamping plate (78) and a pressure sensor (711), wherein the base plate (79) is rotatably arranged at the end of the rotating arm (73), and a reset spring is arranged between the base plate (79) and the rotating arm (73). The base plate (79) is also connected to the clamping plate (78) by a plurality of buffer springs. In an initial stage, an angle A between the base plate (79) and a vertical line is 5°-25°, and a pressure sensor (711) is also embedded in the base plate (79).
2. The automatic positioning and focusing detection device based on online machine vision detection according to claim 1, characterized in that: Vertical guide grooves are provided at both the front and rear ends of the installation groove, and a buffer spring is used in the guide groove to be connected to a slide block (3).
3. The automatic positioning and focusing detection device based on online machine vision detection according to claim 1, characterized in that: The long side of the object to be detected is parallel to the extension direction of the conveyor belt (8).
4. The automatic positioning and focusing detection device based on online machine vision detection according to claim 1, characterized in that: A touch-focusable display screen (4) is also provided above the focus camera (2), and a first focus component (5) is arranged above the display screen. The first focus component (5) is capable of driving a contact (10) to a specified position and touching the display screen (4) to achieve touch focusing.
5. The automatic positioning and focusing detection device based on online machine vision detection according to claim 4, characterized in that: The first focusing assembly (5) comprises an inner track (51), an outer track (52) and a driving roller (53), wherein the inner track (51) and the outer track (52) are both spiral structures, and a track space can be formed between the inner track (51) and the outer track (52) for accommodating the contact (10), and limit plates (11) are fixed on both upper and lower sides of the contact (10), and a plurality of evenly distributed driving rollers (53) are rotatably arranged on the inner track (51) and the outer track (52), and the driving rollers (53) have power.
6. The automatic positioning and focusing detection device based on online machine vision detection according to claim 1, characterized in that: The clamping plate (78) is also fixed with a distance meter (710), and also includes a controller for controlling the distance meter, the motor, and the pressure sensor (711). The controller can drive the motor again to fine-tune the rotating arm according to feedback from the distance meter (710).
Citation Information
Patent Citations
Detection equipment capable of automatically adjusting object distance and detection method thereof
CN115327740A