A light source and camera adjustment mechanism for keyboard keycap detection
By using an adjustable camera mechanism and a linked light source design, the problem of image mismatch in traditional keyboard keycap detection equipment is solved, and the automatic adjustment of camera position and angle is realized, improving detection accuracy and efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- SUZHOU YIXUAN INTELLIGENT TECH CO LTD
- Filing Date
- 2025-07-22
- Publication Date
- 2026-07-17
AI Technical Summary
In traditional keyboard keycap testing equipment, the camera and light source are fixed in layout, which is difficult to adjust flexibly. This results in blurred images, shadow interference, and mismatch between lighting and imaging, affecting the accuracy and efficiency of testing.
It adopts an adjustable camera mechanism and a linked light source design. The camera is driven by a linear motor to slide along the guide rail, realizing the automatic adjustment of the camera position and angle. The light source is adjusted synchronously with the camera, and multiple lighting solutions are provided by combining multiple light sources to ensure the best matching between lighting and imaging.
It improves the consistency of image quality and the accuracy of detection results, enhances the ease of use and adaptability of the system, and improves detection efficiency and recognition accuracy.
Smart Images

Figure CN224519108U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of keyboard keycap detection technology, and in particular to a light source and camera adjustment mechanism for keyboard keycap detection. Background Technology
[0002] In the defect inspection of precision components such as keyboard keycaps, the quality of image acquisition directly affects the accuracy and stability of the inspection results.
[0003] Traditional detection equipment typically employs a fixed camera and light source layout, making it difficult to flexibly adjust according to the specific characteristics of the object being measured and changes in the environment. This leads to problems such as blurred images, shadow interference, and excessive reflections under different detection angles or lighting conditions, affecting recognition accuracy. Furthermore, in existing equipment, the camera and light source are often adjusted independently, lacking a linkage mechanism. This makes operation complex and prone to causing mismatches between illumination and imaging, reducing detection efficiency and the level of system automation. Utility Model Content
[0004] This utility model provides a light source and camera adjustment mechanism for keyboard keycap detection, including a housing. A support base is fixed on the table inside the housing. Guide rails are provided on both sides of the support base. Adjustable camera mechanisms are slidably installed at both ends of the guide rails. The two sets of adjustable camera mechanisms are driven by a linear motor to slide along the guide rails.
[0005] Preferably, the adjustable camera mechanism includes a movable plate that slides on a guide rail, a back plate is provided on the lower side of the movable plate, side plates are provided on both sides of the back plate, a rotating rod is rotatably installed between the two sets of side plates, multiple sets of detection cameras are fixed on the rotating rod, a U-shaped frame is provided between the two guide rails, and two sets of detection cameras are rotatably installed on the U-shaped frame.
[0006] Preferably, a third light source is installed on the lower side of the two sets of side plates, and the third light source is rotatably connected to the side plates via a rotating shaft.
[0007] Preferably, one end of the third light source's rotating shaft passes through the side plate and is connected to the second gear, and one end of the rotating rod passes through the side plate and is connected to the first gear. A cylinder is installed on the side plate wall, and the piston end of the cylinder is connected to a first rack. The first rack is connected to a second rack through a connecting rod. The first rack meshes with the first gear, and the second rack meshes with the second gear.
[0008] Preferably, the protrusions on one side of the first and second racks slide within two sets of grooves opened in the side plate.
[0009] Preferably, two sets of symmetrical springs are installed on the side plate, with a limit block connected to the upper end of each set of springs, and the two sets of limit blocks are located at the lower ends of the first rack and the second rack, respectively.
[0010] Preferably, a slide rail is installed on one side plate of each set of limiting blocks, a slider is slidably arranged on the slide rail, a positioning rod is slidably arranged inside the slider, one end of the positioning rod is inserted into the insertion hole opened on one side of the limiting block, and the slider is fixed by bolts.
[0011] Preferably, a fourth light source is installed at the bottom of the side plate, and an inclined light source is installed on one side of the movable plate.
[0012] Preferably, a lamp holder is provided at the upper end of the movable plate, and a second light source is installed at the upper end of the lamp holder.
[0013] Preferably, a first light source that shines vertically downwards is installed at the upper end of the interior of the housing.
[0014] This utility model provides a light source and camera adjustment mechanism for keyboard keycap detection, which, compared with the prior art:
[0015] 1. This utility model achieves automated adjustment of the position of the detection camera by using a linear motor to drive an adjustable camera mechanism to slide along a guide rail. Simultaneously, multiple detection cameras are fixed on a rotating rod, and through the coordinated operation of a first gear, a second gear, a first rack, and a second rack, precise rotational adjustment of the detection camera's angle is achieved. A third light source, linked to the cameras, is mounted on the lower side of a side plate via a rotating shaft. Through its connection with the second gear, it can synchronously adjust its illumination angle when the angle of the detection camera changes. This mechanical linkage design ensures that while adjusting the position or shooting angle of the detection camera, the light source can also adjust its position or angle accordingly, thus maintaining the optimal matching relationship between illumination and imaging, effectively improving the consistency of image quality and the accuracy of detection results during the detection process.
[0016] 2. This utility model uses components such as springs, limiting blocks, slide rails, sliders, and positioning rods to ensure the stability of the first and second racks and prevent accidental slippage. Simultaneously, the slider is fixed with bolts, allowing the positioning rod to be securely inserted into the hole on one side of the limiting block, increasing the stability and reliability of the entire system. Furthermore, the multi-light source design, including a first, second, third, and fourth light source, as well as an inclined light source, provides various lighting schemes, allowing users to quickly select appropriate lighting conditions according to different detection needs, enhancing the system's usability and adaptability. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of this utility model, the drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this utility model and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of the overall structure of an embodiment of the present utility model;
[0019] Figure 2 This is a schematic diagram of the first light source structure according to an embodiment of the present utility model;
[0020] Figure 3 This is a schematic diagram of the support base and other structures according to an embodiment of the present utility model;
[0021] Figure 4 This is a schematic diagram of the guide rail structure according to an embodiment of the present utility model;
[0022] Figure 5 This is a schematic diagram of the adjustable camera mechanism according to an embodiment of the present invention;
[0023] Figure 6 This is a schematic diagram of gear and rack meshing according to an embodiment of the present utility model;
[0024] Figure 7 This is a schematic diagram of the spring and other structures in an embodiment of the present utility model;
[0025] Figure 8 This is a schematic diagram of the side plate and other structures in an embodiment of the present utility model.
[0026] Figure label:
[0027] 1. Housing; 2. First light source; 3. Support base; 31. Tilt light source; 4. Guide rail; 5. Linear motor; 6. Moving plate; 7. Lamp holder; 8. Second light source; 9. Back plate; 10. Side plate; 11. Slide groove; 12. Rotating rod; 13. Detection camera one; 14. Third light source; 15. Fourth light source; 16. First gear; 17. Second gear; 18. First rack; 19. Second rack; 20. Connecting rod; 21. Cylinder; 22. Spring; 23. Limit block; 24. Slide rail; 25. Slider; 26. Positioning rod; 27. Bolt; 28. Insertion hole; 29. Detection camera two. Detailed Implementation
[0028] The following detailed description, in conjunction with the accompanying drawings, outlines some embodiments of the present invention. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0029] Please refer to Figures 1-8 This utility model embodiment provides a light source and camera adjustment mechanism for keyboard keycap detection, including a housing 1, a horizontal platform inside the housing 1, a support base 3 fixedly installed on the platform, and guide rails 4 symmetrically arranged on both sides of the support base 3. Two sets of adjustable camera mechanisms are slidably installed at both ends of the guide rails 4, and the two sets of adjustable camera mechanisms are driven by a linear motor 5 to slide precisely along the guide rails 4, thereby realizing the automatic adjustment of the position of the detection camera 13.
[0030] Each adjustable camera mechanism includes a movable plate 6 that can slide on a guide rail 4. A back plate 9 is located below the movable plate 6. Side plates 10 are fixedly connected to the left and right sides of the back plate 9, respectively. Multiple detection cameras 13 are rotatably mounted between the two side plates 10 via a rotating rod 12. The detection cameras 13 are tilted and used to acquire images of the keyboard keycaps under test from the side. A U-shaped frame is set between the two guide rails 4. Two detection cameras 29 are rotatably mounted on the U-shaped frame via a rotating shaft. The rotating shaft can be driven by a motor. The detection angles of both detection cameras 13 and detection cameras 29 can be adjusted to ±10 degrees to meet the detection requirements of different keyboard keycap models.
[0031] Among them, the first inspection camera 13 is symmetrically installed on both sides of the product under test, mainly used to identify surface defects of the keyboard keycaps, such as bulges, dents, scratches, etc. The second inspection camera 29 is located directly above the product under test, used to detect whether the keycaps are qualified in terms of shape and size, whether there is any misalignment, and whether there are abnormal colors. Compared with traditional keyboard defect detection devices, this utility model adopts an integrated structure design, integrating multiple sets of cameras and light source systems on the same detection platform, realizing the simultaneous identification and comprehensive judgment of multiple defects, which significantly improves detection efficiency and accuracy.
[0032] Furthermore, a third light source 14 is rotatably mounted on the underside of each side plate 10 via a pivot. The third light source 14 can synchronously adjust its illumination direction as the angle of the detection camera 13 changes.
[0033] Specifically, one end of the shaft of the third light source 14 passes through the side plate 10 and is fixedly connected to the second gear 17. At the same time, one end of the rotating rod 12 also passes through the side plate 10 and is fixedly connected to the first gear 16. A cylinder 21 is also installed on the side plate 10, and the piston rod end is connected to the first rack 18, which drives the second rack 19 to move through the connecting rod 20. The first rack 18 meshes with the first gear 16, and the second rack 19 meshes with the second gear 17, thereby realizing the linkage adjustment of the angle between the detection camera 13 and the third light source 14.
[0034] To ensure the stability of the transmission system, a protrusion is provided on one side of the first rack 18 and the second rack 19. The protrusion is slidably embedded in two sets of grooves 11 opened on the side plate 10 to limit its lateral displacement and ensure that the transmission process is smooth and reliable.
[0035] In addition, two sets of springs 22 are symmetrically installed on the side plate 10. The upper end of the springs 22 is connected to a limit block 23, which is located below the first rack 18 and the second rack 19, respectively, and serves as a buffer and positioning mechanism. A slide rail 24 is fixed on the side plate 10 on one side of the limit block 23. A slider 25 is slidably installed on the slide rail 24. The slider 25 has a positioning rod 26 that can slide up and down. One end of the positioning rod 26 is inserted into the insertion hole 28 on the side of the limit block 23 to achieve the limiting function. The slider 25 can be fixed by bolts 27 for easy adjustment and locking.
[0036] Regarding the light source arrangement, a fourth light source 15 is installed at the bottom of the side plate 10 to assist the third light source 14 in illumination and improve the uniformity of illumination in the measured area. Simultaneously, an inclined light source 31 is installed on one side of the movable plate 6 to supplement illumination from an oblique angle, enhancing detail recognition capabilities. A lamp holder 7 is located at the top of the movable plate 6, and a second light source 8 is installed on the top of the lamp holder 7 to provide supplementary lighting from above.
[0037] Furthermore, a first light source 2 that shines vertically downwards is provided at the top inside the housing 1 to provide basic illumination for the entire detection area, ensuring good background brightness and contrast during image acquisition.
[0038] It is worth emphasizing that both the first detection camera 13 and the second detection camera 29 in this utility model can be programmably linked and controlled with each light source component. When facing different types of defects, different combinations of light sources and cameras can be flexibly set through software settings, thereby achieving efficient identification of specific defects. For example:
[0039] When it is necessary to detect scratches on keyboard keycaps, the second light source 8 and the fourth light source 15 can be activated, and the detection camera 13 can be used to acquire images.
[0040] When the target to be detected is particles or foreign matter on the surface of a keycap, the fourth light source 15 and the detection camera 13 can be used separately for high-contrast imaging.
[0041] This programmable control method between the light source and the camera not only improves the applicability and flexibility of the equipment, but also leaves ample room for the expansion of subsequent detection capabilities. The device is no longer just a detection tool to solve current problems, but also an intelligent detection platform with continuous upgrade potential, which is expected to bring new technological concepts and development directions to the industry.
[0042] In summary, the working principle of the light source and camera adjustment mechanism for keyboard keycap detection according to this utility model embodiment is as follows: the linear motor 5 drives the moving plate 6 to slide along the guide rail 4, thereby achieving precise adjustment of the lateral position of the detection camera 13. The cylinder 21 pushes the first rack 18, which drives the first gear 16 to rotate. Then, the connecting rod 20 drives the second rack 19 to move, which drives the second gear 17 to rotate. Finally, the angle of the detection camera 13 and the third light source 14 are adjusted synchronously. Multiple light sources (including the first light source 2, the second light source 8, the third light source 14, the fourth light source 15, and the tilting light source 31) illuminate the area under test from different directions, improving image contrast and detail recognition capabilities. All cameras and light sources can be programmed and linked through the control system, and can be flexibly configured according to different detection needs to achieve efficient identification of various defects in keyboard keycaps.
[0043] The above are merely preferred embodiments of this utility model and are not intended to limit the scope of this utility model. Various modifications and variations can be made to this utility model by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of this utility model should be included within the protection scope of this utility model.
Claims
1. A light source and camera adjustment mechanism for keyboard keycap detection comprising a housing (1), characterised in that: A support base (3) is fixed on the table inside the housing (1). Guide rails (4) are provided on both sides of the support base (3). Adjustable camera mechanisms are slidably installed at both ends of the guide rails (4). The two sets of adjustable camera mechanisms are driven by linear motors (5) so that the two sets of adjustable camera mechanisms slide along the guide rails (4).
2. The light source and camera adjustment mechanism for keyboard keycap detection of claim 1, wherein: The adjustable camera mechanism includes a movable plate (6) that slides on a guide rail (4), a back plate (9) is provided on the lower side of the movable plate (6), and side plates (10) are provided on both sides of the back plate (9). A rotating rod (12) is rotatably installed between the two sets of side plates (10), and multiple sets of detection cameras (13) are fixed on the rotating rod (12). A U-shaped frame is provided between the two guide rails (4), and two sets of detection cameras (29) are rotatably installed on the U-shaped frame.
3. The light source and camera adjustment mechanism for keyboard keycap detection of claim 2, wherein: A third light source (14) is installed on the lower side of the two sets of side plates (10), and the third light source (14) is rotatably connected to the side plate (10) through a rotating shaft.
4. The light source and camera adjustment mechanism for keyboard keycap detection according to claim 3, characterized in that: One end of the third light source (14) is connected to the second gear (17) through the side plate (10) by a rotating shaft. One end of the rotating rod (12) is connected to the first gear (16) through the side plate (10). A cylinder (21) is installed on the wall of the side plate (10). The piston end of the cylinder (21) is connected to the first rack (18). The first rack (18) is connected to the second rack (19) through the connecting rod (20). The first rack (18) meshes with the first gear (16), and the second rack (19) meshes with the second gear (17).
5. The light source and camera adjustment mechanism for keyboard keycap detection of claim 4, wherein: The protrusions on one side of the first rack (18) and the second rack (19) slide in the two sets of grooves (11) opened in the side plate (10).
6. The light source and camera adjustment mechanism for keyboard keycap detection of claim 5, wherein: Two sets of symmetrical springs (22) are installed on the side plate (10). Each set of springs (22) has a limit block (23) connected to its upper end. The two sets of limit blocks (23) are located at the lower ends of the first rack (18) and the second rack (19), respectively.
7. The light source and camera adjustment mechanism for keyboard keycap detection of claim 6, wherein: Each set of limiting blocks (23) has a slide rail (24) installed on the side plate (10) on one side. A slider (25) is slidably arranged on the slide rail (24). A positioning rod (26) is slidably arranged inside the slider (25). One end of the positioning rod (26) is inserted into the insertion hole (28) opened on one side of the limiting block (23). The slider (25) is fixed by bolts (27).
8. The light source and camera adjustment mechanism for keyboard keycap detection of claim 7, wherein: A fourth light source (15) is installed at the bottom of the side plate (10), and an inclined light source (31) is installed on one side of the movable plate (6).
9. The light source and camera adjustment mechanism for keyboard keycap detection of claim 8, wherein: The upper end of the movable plate (6) is provided with a lamp holder (7), and a second light source (8) is installed on the upper end of the lamp holder (7).
10. The light source and camera adjustment mechanism for keyboard keycap detection of claim 1, wherein: The upper part of the casing (1) is equipped with a first light source (2) that shines vertically downward.