Online visual identification detection device based on single-chip microcomputer
By using a microcontroller-based online visual recognition and inspection device, which combines a lifting platform, a rotating platform, and an inspection frame, the problem of insufficient inspection caused by the fixed structure of the inspection table is solved. This enables comprehensive inspection of all sides of the product, improving the accuracy and efficiency of the inspection.
Patent Information
- Application Number
- CN202520022868.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2035-01-06
AI Technical Summary
The existing visual recognition inspection device has a fixed inspection table structure, which cannot flexibly change the state of the inspected items, resulting in insufficient comprehensiveness and accuracy of the inspection, and easy to miss defects.
An online visual recognition and inspection device based on a microcontroller is adopted. By combining a lifting seat, a rotating seat and an inspection frame, the position and angle of the inspected item can be adjusted in the vertical and horizontal directions. Combined with a digital camera and image processing algorithms, comprehensive inspection can be achieved.
It improves the comprehensiveness and accuracy of testing, enhances the universality and adaptability of testing, ensures testing of all aspects of the product, reduces missed detections, and improves the precision and efficiency of testing.
Smart Images

Figure CN223733328U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to visual inspection technical field, concretely is an online visual identification detection device based on singlechip. BACKGROUND
[0002] In modern industrial production and quality control process, the detection precision and efficiency of various products are required more and more high. Traditional detection method often relies on manual operation, judges whether the product is qualified through naked eye observation or simple measuring tool measurement, and this kind of mode not only is slow in detection speed, low in efficiency, and is easily influenced by human factors, leads to the difficulty in guaranteeing the accuracy and consistency of detection result.
[0003] With the development of automation technology and computer vision technology, some automatic detection devices appear. However, the existing visual identification detection device still has many deficiencies. For example, the detection table structure of most detection devices is fixed, cannot flexibly drive detection articles to change state, which limits the comprehensiveness and accuracy of detection. In actual detection, some products can have multiple faces or complex shape characteristics, and single-angle visual detection is difficult to find all defects or feature information, which can lead to missed detection of unqualified products, and potential quality risks and economic losses for enterprises. SUMMARY
[0004] In view of the deficiencies in the prior art, the utility model provides an online visual identification detection device based on singlechip.
[0005] In order to realize the above-mentioned purpose, the technical scheme of the utility model is as follows:
[0006] An online visual identification detection device based on singlechip, comprising a detection table, a lifting seat installed on the upper part of the detection table, a rotating seat installed on the upper surface of the lifting seat, a detection frame installed on the detection table and horizontally across above the lifting seat and the rotating seat, a digital camera fixed on the lower part of the detection frame and a singlechip;
[0007] The detection table surface is provided with a storage groove, and the lifting seat is installed in the storage groove through a pneumatic cylinder. A rotating motor is inlaid in the lifting seat, and the output end of the rotating motor is fixedly connected with the rotating seat.
[0008] Symmetrical mounting brackets are arranged on the upper part of the detection table, the detection frame is connected with the symmetrical mounting brackets at both ends, and the output end of the servo motor inlaid in the mounting bracket is connected.
[0009] The singlechip is electrically connected with the pneumatic cylinder, the rotating motor, the servo motor and the digital camera.
[0010] Preferably, the detection table, the lifting seat and the rotating seat are concentric circular structures, and the mounting frame is located on the diameter of the circular structure of the detection table.
[0011] Preferably, the detection frame is in an inverted U-shaped structure as a whole, the middle part is provided as a horizontal section, both ends are provided as vertical sections, and the vertical sections are connected with the horizontal section through inclined sections; the digital camera is fixed at the middle position of the horizontal section of the detection frame, and the vertical sections are connected with the mounting frame at the bottom.
[0012] Preferably, the detection frame is provided as a semicircular structure at both ends, a plurality of groups of limiting holes are uniformly arranged on the semicircular structures at both ends of the detection frame along the circumferential surface thereof; the detection table is provided with a limiting pin driven to be extended and retracted by an electric push rod, the limiting pin is correspondingly inserted into the limiting hole; and the electric push rod is electrically connected with the single-chip microcomputer.
[0013] Preferably, the rotating seat is provided with an annular protective pad made of rubber material, and the rotating seat is provided with a triangular indicating mark outside the protective pad.
[0014] Compared with the prior art, the present application has the following beneficial effects:
[0015] 1. The storage groove of the detection table and the lifting seat driven by the air cylinder can realize the position adjustment of the detected object in the vertical direction, the digital camera can be adjusted to obtain a clearer picture, and the accuracy of detection is ensured.
[0016] 2. The rotating seat can be horizontally rotated under the driving of the rotating motor, so that the detected object can change the angle on the horizontal plane, and the digital camera can be used to comprehensively detect each side of the product, effectively avoid the defect missing detection problem caused by single detection angle, and greatly improve the comprehensiveness and accuracy of detection.
[0017] 3. The detection frame is connected with the mounting frame through the servo motor, so that the detection frame can move in the horizontal direction, thereby the horizontal position of the digital camera relative to the detected object can be flexibly adjusted, the detection range is further expanded, the detected object of different sizes and shapes can be adapted, and the versatility and practicality of the device are enhanced. BRIEF DESCRIPTION OF DRAWINGS
[0018] The disclosure of the present application will be described with reference to the accompanying drawings. It should be understood that the drawings are only for illustrative purposes, and are not intended to limit the scope of protection of the present application. In the drawings, the same reference numerals are used to refer to the same parts. Among them:
[0019] Figure 1 is a structural schematic view of the present application;
[0020] Figure 2The utility model discloses a detection table, lifting seat, rotating seat structure schematic diagram,
[0021] Figure 3 The utility model discloses a use state schematic diagram Figure 1 ;
[0022] Figure 4 The utility model discloses a use state schematic diagram Figure 2 .
[0023] The figure mark explanation: 1, detection table, 11, accomodate the groove, 12, install the frame, 13, limit the pin, 2, lifting seat, 3, rotating seat, 31, protective pad, 32, instruction mark, 4, detection frame, 41, limit the hole, 5, digital camera. Specific implementation
[0024] It is easy to understand that according to the technical scheme of the utility model, the general technical personnel of the art can propose the multiple structure mode and realization of mutual replacement without changing the utility model essential spirit. Therefore, the following specific implementation and drawing are only the exemplified description of the technical scheme of the utility model, and should not be regarded as the whole of the utility model or the limitation or restriction of the technical scheme of the utility model.
[0025] Embodiment
[0026] As Figure 1 Indicated, a kind of online visual identification detection device based on single-chip microcontroller, including detection table 1, lifting seat 2, rotating seat 3, detection frame 4, digital camera 5 and single-chip microcontroller.
[0027] Wherein detection table 1 surface is provided with accomodate the groove 11, lifting seat 2 is installed in accomodate the groove 11 by pneumatic cylinder;It can be moved up and down by pneumatic cylinder to drive lifting seat 2, to drive rotating seat 3 and the article placed on it moves, changes its distance with digital camera 5, to facilitate digital camera 5 to obtain more clear picture, to carry out visual identification, guarantee the accuracy of identification result.
[0028] Rotary motor is inlaid in lifting seat 2, and the output end of rotary motor is fixedly connected with rotating seat 3;Rotating seat 3 and the article placed on it can be rotated by rotary motor;Again cooperation through servo motor installation detection frame 4 in install the frame 12, by tilting detection frame 4 and cooperating with rotating seat 3, can be photographed on different angles on side surface, obtains more angle, more state under the article picture, can carry out comprehensive detection to each side of product, effectively avoid the defect missed detection problem caused by single detection angle, greatly improve the comprehensiveness and accuracy of detection.
[0029] After receiving the image data captured by the digital camera 5, the single-chip microcomputer stores it in its internal memory (such as RAM). The single-chip microcomputer runs specific image processing algorithms to analyze the image. These algorithms include image filtering, edge detection, feature extraction, and object recognition, etc.
[0030] Among them, image filtering is used to remove noise in the image, such as Gaussian filtering. It calculates the weighted average of each pixel and its surrounding pixels in the image, making the image smoother and reducing the impact of noise on subsequent processing.
[0031] Edge detection: Determine the edges of objects by calculating the gradient changes of pixels in the image. For example, the Sobel operator detects edges by calculating the gradients in the horizontal and vertical directions. It can help identify the contours of objects, providing a basis for further shape analysis and recognition.
[0032] Feature extraction: Extract representative features from the image. For example, for object recognition, shape features (such as circularity, rectangularity), color features (such as color histogram), or texture features (such as gray level co-occurrence matrix) may be extracted. These features can more effectively describe the object, facilitating subsequent classification and recognition.
[0033] Target recognition: According to the extracted features, the single-chip microcomputer uses pattern recognition algorithms for target recognition. For example, a template matching algorithm can be used to compare the extracted features with pre-stored standard template features. If the similarity exceeds a certain threshold, the target is considered to be recognized. Or use machine learning algorithms such as support vector machines (SVM) or artificial neural networks (such as simple multilayer perceptron), through training models to recognize targets. These models learn the feature patterns of different targets in the training phase, and can classify according to the input image features in the recognition phase.
[0034] The single-chip microcomputer can also control the cylinder, rotary motor, servo motor by generating signals, so as to adjust the state of the lifting seat 2, rotating seat 3, detection frame 4, make it lift or rotate, to meet the requirements of the digital camera 5 in different angle state of picture shooting.
[0035] Please refer to Figure 2, the detection platform 1, the lifting seat 2 and the rotating seat 3 are concentric circular structures, and the concentric structure has symmetry, which is beneficial to ensure that the detection conditions of the detection object in each direction are consistent in visual detection. When the rotating seat 3 rotates, the rotation with the center as the center can ensure that each angle of the detection object can be shot by the digital camera 5 at the same distance and angle in theory, which reduces the error caused by different detection positions and is beneficial to realize more accurate appearance detection and size measurement and other operations. The mounting frame 12 is located on the diameter of the circular structure of the detection platform 1, and this layout is beneficial to optimize the detection range and angle. The detection frame 4 is installed on the mounting frame 12 located on the diameter, and the moving range thereof can cover most of the area of the detection platform 1, and in combination with the rotating function of the rotating seat 3, the visual detection of the detection object in all directions and without dead angle can be realized. At the same time, this layout can make the digital camera 5 obtain more suitable light reflection and image view angle at different positions and angles, thereby improving the quality and efficiency of visual identification.
[0036] The detection frame 4 has an inverted U-shaped structure as a whole, the middle part is provided as a horizontal section, the two ends are provided as vertical sections, and the vertical sections are connected with the horizontal section through inclined sections; this shape can ensure that the digital camera 5 has enough space to adjust the position in the horizontal and vertical directions, thereby realizing visual coverage of the detection object in all directions. The middle position of the horizontal section enables the digital camera 5 to vertically downwardly shoot the central area of the detection object. This vertical shooting angle is beneficial to reduce the deformation of the image, and in particular when detecting an object with a regular geometric shape, the size and shape characteristics thereof can be more accurately measured.
[0037] The semicircular structure is provided at the two ends of the detection frame 4 and is provided with uniformly distributed limiting holes 41, and the limiting pin 13 driven by the electric push rod is provided on the detection platform 1, and the main purpose is to realize accurate positioning of the detection frame 4. When the detection frame 4 needs to stop at a specific position, the single-chip microcomputer controls the electric push rod to push the limiting pin 13 to insert into the limiting hole 41, and this mechanical connection mode can ensure that the position accuracy of the detection frame 4 in the horizontal direction reaches a high level. For example, when some specific parts of the detection object are subjected to high-precision visual detection, accurate positioning can ensure that the digital camera 5 can shoot the part at the same position and angle each time, thereby improving the consistency and accuracy of the detection result. And the plug-in cooperation of the limiting pin 13 and the limiting hole 41 can enhance the stability of the detection frame 4 when it is used obliquely.
[0038] The rotating seat 3 is provided with a ring-shaped protective pad 31, which can play a certain buffering protection role when larger objects are placed, so as to avoid rigid contact between the object and the rotating seat 3; the triangular indicating mark 32 is provided for the purpose of indication, which is used as a reference standard to correspond to objects in different states.
[0039] AsFigure 3 , Figure 4 As shown in FIGS. 1-3, the device is in different use states, respectively; wherein Figure 3 FIG. 1 is a use state of the device when the detection frame 4 is tilted and photographed, Figure 4 FIG. 2 is a use state of the device after the lifting seat 2 is lifted and the rotating seat 3 is rotated.
[0040] The technical scope of the present application is not limited to the above description, and those skilled in the art can make various modifications and changes to the above embodiments without departing from the technical concept of the present application, and these modifications and changes should be within the protection scope of the present application.
Claims
1. An online visual recognition and detection device based on a microcontroller, characterized in that: The utility model provides a kind of digital camera detection device, including detection platform (1), lift seat (2) installed in the upper part of detection platform (1), rotary seat (3) installed on the upper surface of lift seat (2), detection frame (4) is installed on detection platform (1) and across lift seat (2) and rotary seat (3) above, digital camera (5) is fixed in the lower part of detection frame (4) and single-chip microcomputer; The detection platform (1) is provided with a receiving groove (11) on the surface, and the lift seat (2) is installed in the receiving groove (11) through a gas cylinder; a rotary motor is embedded in the lift seat (2), and the output end of the rotary motor is fixedly connected with the rotary seat (3); Symmetrical mounting brackets (12) are arranged on the upper part of the detection platform (1), the detection frame (4) is connected with the symmetrical mounting brackets (12) at both ends and is connected with the output end of the servo motor embedded in the mounting bracket (12); The single-chip microcomputer is electrically connected with the gas cylinder, the rotary motor, the servo motor, and the digital camera (5).
2. The online visual identification detection device based on a single-chip microcomputer according to claim 1, characterized in that: The detection platform (1), the lift seat (2), and the rotary seat (3) are concentric circular structures, and the mounting bracket (12) is located on the diameter of the circular structure of the detection platform (1).
3. The online visual identification detection device based on a single-chip microcomputer according to claim 1, characterized in that: The detection frame (4) is in an inverted U-shaped structure as a whole, the middle part is arranged as a horizontal section, both ends are arranged as vertical sections, and the vertical sections are connected with the horizontal section through inclined sections; the digital camera (5) is fixed at the middle position of the horizontal section of the detection frame (4), and the vertical sections are connected with the mounting bracket (12) at both sides of the bottom end.
4. The online visual identification detection device based on a single-chip microcomputer according to claim 1, characterized in that: Both ends of the detection frame (4) are arranged in a semicircular structure, and a plurality of groups of limiting holes (41) are uniformly arranged on the circumferential surface of the semicircular structure at both ends of the detection frame (4); a limiting pin (13) driven by an electric push rod is installed on the detection platform (1), the limiting pin (13) is correspondingly inserted into the limiting hole (41), and the electric push rod is electrically connected with the single-chip microcomputer.
5. The online visual identification detection device based on single-chip microcomputer according to claim 1, characterized in that: The rotary seat (3) is provided with an annular protective pad (31), the protective pad (31) is made of rubber material, and a triangular indicating mark (32) is arranged on the rotary seat (3) outside the protective pad (31).