Device for automatically adjusting image capturing angle
Technical Field
The invention relates to the technical field of visual detection, in particular to a device for automatically adjusting an image capturing angle.
Background
When the appearance of an annular product is detected visually, especially the defect detection of the surface of a complex annular product, such as scratches, dirt, black spots, discoloration, inconsistent colors, manufacturing defects and the like on the surface of the annular product, the annular surface of each product needs to be detected due to the efficiency requirement and the detection quality requirement, and the product needs to rotate 180 degrees on the horizontal plane. However, in the existing detection device, manual rotation of 180 degrees is needed for each product in turn, the rotation of 180 degrees is achieved for a plurality of products on a horizontal plane through a plurality of power systems, and industrial cameras are arranged on different detection surfaces of the products for detection under the condition that the products are not turned. In these modes, manual steering can make the inefficiency of detection, and a plurality of driving systems and a plurality of camera can lead to whole detection mechanism complicacy, also can occupy more space, can also form the mutual interference between a plurality of detection stations moreover, and then lead to the detection cost to rise, also be unfavorable for the use.
The rotating mechanism for visual inspection of batch inspection annular products comprises a base and a driving motor, wherein a plurality of driving shafts which are arranged in a row at intervals are rotationally arranged on the base, driven wheels are fixedly connected to each driving shaft, a driving wheel is fixedly connected to an output shaft of the driving motor and is in transmission connection with the driven wheels through a belt, a plurality of pressing wheels which are abutted against the belt are rotationally arranged on the base at positions corresponding to the driven wheels, the pressing wheels and the driven wheels are abutted against the outer surface and the inner surface of the belt, a placing table for placing the annular products is further connected to one end, away from the base, of the driving shaft, appearance inspection can be carried out on multiple surfaces of the annular products in batches through a power system, space is saved, cost is reduced, and inspection efficiency is improved.
The prior art can only realize the rotation of the product, but if the visual detection of the inner side and the outer side of the annular product is to be realized, the camera is required to be well adapted to the distance of the product, and if the good visual detection is required, a plurality of cameras are required, so that in order to solve the technical problems, a device for automatically adjusting the image capturing angle is provided.
Disclosure of Invention
The invention aims to provide a device for automatically adjusting an image capturing angle, which is used for solving the problems that in the prior art, if visual detection of the inner side and the outer side of an annular product is to be realized, a camera is required to be well adapted to the distance of the product, and if good visual detection is required, a plurality of cameras are required.
In order to achieve the aim, the invention provides the following technical scheme that the device for automatically adjusting the image capturing angle comprises a product rotating mechanism and a detecting mechanism;
The product rotating mechanism comprises a rotating platform, a plurality of large gears for bearing products are rotatably arranged on the rotating platform, the detecting mechanism comprises an upright post, an angle adjusting tool is adjustably arranged on the upright post and driven by a servo motor, a substrate is arranged on the angle adjusting tool, a servo linear module is arranged on the substrate and drives a camera to reciprocate, a lens is arranged at one end of the camera, the substrate is arranged at one end of the lens and is provided with a light source, the rotating platform rotates to a fixed position, a detected product on the rotating platform drives a strong magnet to enable the large gear and the small gear to rotate by the motor so as to enable the products to rotate, the detecting mechanism is matched with the rotating platform to achieve the detecting purpose, the angle of the substrate can be adjusted by the angle adjusting tool, the image capturing angle of the camera is adjusted, the servo linear module is arranged on the substrate and drives the camera to reciprocate, and the image capturing distance of the camera can be adjusted by the servo linear module.
Preferably, the camera, lens and light source are located on the same axis.
Preferably, a plurality of groove-shaped photoelectric sensors are arranged on one side of the linear module, the camera is fixed on a sliding block of the servo linear module, and an induction piece matched with the groove-shaped photoelectric sensors is arranged on one side of the sliding block.
Preferably, a pinion gear meshed with the large gear is mounted at the large gear of the rotary platform, and the pinion gear is driven by the driving assembly.
Preferably, the driving assembly comprises a bracket, a driving motor is mounted on the bracket, a strong magnet is mounted on an output shaft of the driving motor, and the strong magnet is mounted at the bottom end of a gear shaft of the pinion.
Preferably, the rotary platform is arranged on the outer side of the large gear and is provided with a plurality of auxiliary wheels matched with the large gear.
Preferably, the auxiliary wheels are provided with at least three.
Compared with the prior art, the intelligent camera has the beneficial effects that the pinion is driven to rotate through the driving assembly, the large gear is driven to rotate, the rotation of a product is realized, the detected product on the rotating platform is driven by the motor to rotate the large gear and the small gear to rotate, the product is rotated by the motor and then matched with the detection mechanism to achieve the detection purpose, the angle adjustment tool is driven by the servo motor, the angle adjustment tool is provided with the substrate, the angle of the substrate can be adjusted through the angle adjustment tool, the image capturing angle of the camera is adjusted, the servo linear module is arranged on the substrate, the servo linear module drives the camera to reciprocate, and the image capturing distance of the camera can be adjusted through the servo linear module, so that the camera can comprehensively and accurately capture and detect the inside and outside of the product, and the hardware cost is reduced.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a schematic diagram of the structure of the present invention;
FIG. 2 is a schematic diagram of the structure of the detection mechanism of the present invention;
FIG. 3 is a schematic view of the bottom view of the detection mechanism of the present invention;
FIG. 4 is a schematic diagram of the servo linear module of the present invention;
FIG. 5 is a schematic view of the angle adjusting tool of the present invention;
fig. 6 is a schematic view of the structure of the pinion and the bull gear of the present invention.
In the figure, a product rotating mechanism, a detecting mechanism, a rotating platform, a 102, a pinion, a 103, a large gear, a 104, a bracket, a 105, a driving motor, a 106, a strong magnet, a 107, an auxiliary wheel, a 201, an upright post, a 202, an angle adjusting tool, a 203, a servo motor, a 204, a servo linear module, a 205, a camera, a 206, a lens, a 207, a light source, a 208, a substrate, a 209 and a groove-type photoelectric sensor are shown.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, based on the embodiments of the invention, which are apparent to those of ordinary skill in the art without inventive faculty, are intended to be within the scope of the invention. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention.
Referring to fig. 1, in an embodiment of the present invention, a device for automatically adjusting an image capturing angle includes a product rotation mechanism 1 and a detection mechanism 2;
1-5, the product rotating mechanism 1 comprises a rotating platform 101, a plurality of large gears 103 for bearing products are rotatably arranged on the rotating platform 101, small gears 102 meshed with the large gears 103 are arranged on the rotating platform 101 and located at the large gears 103, the small gears 102 are driven by a driving assembly to rotate, the small gears are driven by the driving assembly to rotate, the large gears are driven by the driving assembly to rotate, the driving assembly comprises a bracket 104, a driving motor 105 is arranged on the bracket 104, a strong magnet 106 is arranged on an output shaft of the driving motor 105, a strong magnet 106 is arranged at the bottom end of a gear shaft of the small gears 102, a plurality of auxiliary wheels 107 matched with the large gears 103 are arranged on the outer side of the large gears 103, at least three auxiliary wheels 107 are arranged, the auxiliary wheels 107 guarantee the stability of the large gears 103 in rotation, so that the stability of the products in rotation is improved, the rotating platform 101 is rotated to a fixed position, the detected products on the rotating platform 101 are driven by the strong magnet to rotate the large gears by the motor, the small gears in order to rotate, and then the detection mechanism 2 is matched to achieve the detection purpose.
Referring to fig. 1 and 6, the detection mechanism 2 includes a stand 201, an angle adjustment tool 202 is adjustably mounted on the stand 201, the angle adjustment tool 202 is driven by a servo motor 203, a substrate 208 is mounted on the angle adjustment tool 202, the angle of the substrate 208 is adjustable by the angle adjustment tool 202, so as to adjust the image capturing angle of the camera, a servo linear module 204 is mounted on the substrate 208, the servo linear module 204 drives a camera 205 to reciprocate, the image capturing distance of the camera is adjustable by the servo linear module 204, a lens 206 is mounted on one end of the camera 205, a light source 207 is mounted on one end of the substrate 208, the camera 205, the lens 206 and the light source 207 are located on the same axis, a plurality of groove-shaped photoelectric sensors 209 are mounted on one side of the servo linear module 204, a sensing piece matched with the groove-shaped photoelectric sensors 209 is mounted on one side of the slider, and the position node of the camera can be sensed by the groove-shaped photoelectric sensors.
The invention has the working principle that the pinion is driven to rotate by the driving component, the large gear is driven to rotate, the rotation of a product is realized, the detected product on the rotating platform 101 is driven by the motor to drive the large and small gears to rotate by the strong magnet, the product is rotated by the large and small gears, the detection mechanism 2 is matched for achieving the detection purpose, the angle adjusting tool 202 is driven by the servo motor 203, the angle adjusting tool 202 is provided with the base plate 208, the angle of the base plate 208 can be adjusted by the angle adjusting tool 202, the image capturing angle of a camera is adjusted, the base plate 208 is provided with the servo linear module 204, the servo linear module 204 drives the camera 205 to reciprocate, and the image capturing distance of the camera can be adjusted by the servo linear module 204, so that the image capturing and the detection of the whole inside and outside of the product by one camera are realized.
It should be noted that the above-mentioned embodiments are merely preferred embodiments of the present invention, and the present invention is not limited thereto, but may be modified or substituted for some of the technical features thereof by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.