Online code reading device
By designing an online code reading device and using RGB color light sources, industrial cameras and zoom lenses, the problem of inaccurate QR code recognition is solved and higher recognition accuracy and production efficiency are achieved.
Patent Information
- Application Number
- CN202420964064.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2025-01-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the production process of consumer electronic products, the problem of inaccurate identification of QR codes leads to low efficiency in rapid entry, query and tracking of product information and high error rate.
Design an online code reading device, including RGB color light source, industrial camera, zoom lens and multiple driving parts. By adjusting the position and focal length of the light source, camera and lens, the contrast and clarity of the QR code can be improved to achieve accurate recognition.
It improves the recognition accuracy of QR codes, reduces the error rate, improves production efficiency, and ensures the accurate entry and tracking of product information.
Smart Images

Figure CN222380117U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of code reading equipment, and in particular to an online code reading device. Background Art
[0002] In the production process of consumer electronic products, using QR codes to bind data information of each production link of the product is indeed an efficient, stable and low-cost solution. This solution helps to quickly input, query and track product information, improve production efficiency and reduce error rates. However, the differences between different products make it difficult to identify the QR code accurately.
[0003] Therefore, the present application studies an online code reading device so as to improve the accuracy of two-dimensional code recognition. Utility Model Content
[0004] In order to improve the recognition accuracy of a two-dimensional code, the present application provides an online code reading device.
[0005] The present application provides an online code reading device, which adopts the following technical solution:
[0006] An online code reading device comprises a code reading mechanism, wherein the code reading mechanism comprises an RGB color light source, an industrial camera, a zoom lens, a first driving member, a second driving member and a third driving member, wherein the RGB color light source faces an area to be detected; the zoom lens is mounted on the industrial camera, the industrial camera is mounted on the first driving member, and the first driving member drives the industrial camera to move in a vertical direction; the first driving member is mounted on the second driving member, and the second driving member drives the first driving member to move horizontally in a direction perpendicular to a transmission direction of an object to be detected; the second driving member is mounted on the third driving member, and the third driving member drives the second driving member to move in the transmission direction of the object to be detected.
[0007] By adopting the above technical solution, when the object to be tested is transmitted to the area to be tested, the display ratio and brightness of the RGB color light source are set to improve the contrast, and the number of two-dimensional codes is read at a time. The object to be tested is transmitted to the area to be tested, and the RGB color light source improves the contrast of the two-dimensional code, so that the detection position can be identified more accurately. The first driving member, the second driving member and the third driving member are located at the initial position, and the industrial camera takes a photo to record the position of the object to be tested. According to the position of the object to be tested, the second driving member and the third driving member move to make the industrial camera located directly above the object to be tested, and the autofocus program is called and the zoom lens is driven by the first driving member. Approach or move away from the object to be measured, accurately focus the zoom lens, take a photo to identify the pixels and clarity of the QR code, if the pixels occupied reach the set value and the clarity is sufficient, the current position is used as the QR code recognition position, if the pixels occupied are less than the set value or the clarity is not enough, continue to move the industrial camera through the second drive member and the third drive member, and call the focus program to move the first drive member, the zoom lens is awakened and accurately focused, and this process is repeated to find the position where the pixels reach the set value and the clarity is sufficient, and the position of the industrial camera is recorded as the QR code recognition position, so as to improve the recognition accuracy of the QR code.
[0008] Optionally, the first driving member includes a first mounting seat, a first screw rod, a first limit seat and a first motor, the industrial camera is mounted on the first mounting seat, the first mounting seat is screwed to the first screw rod, and the side wall of the first mounting seat is abutted and slidably connected to the first limit seat, and the first motor drives the first screw rod to rotate, driving the first mounting seat to slide along the first limit seat.
[0009] By adopting the above technical solution, when the vertical height distance between the industrial camera and the object to be measured needs to be adjusted, the first motor drives the first screw to rotate, so that the first mounting seat slides along the height direction of the first limit seat, that is, the first mounting seat slides along the vertical direction.
[0010] Optionally, the first driving member further includes a first guide seat, the first limiting seat is provided with a first guide groove, the first guide seat is mounted on the first mounting seat, and the first guide seat is limitedly slidable with the first limiting seat via the first guide groove.
[0011] By adopting the above technical solution, the first guide seat is limited by the guidance of the first guide groove, so that the industrial camera can be more stable during the vertical movement.
[0012] Optionally, the second driving member includes a second mounting seat, a second screw rod, a second limit seat and a second motor, the second mounting seat is threadedly connected to the second screw rod, and the second mounting seat abuts against the second limit seat and is slidably connected to the second limit seat, the first driving member is installed on the second mounting seat, and the second motor drives the second screw rod to rotate and drives the second mounting seat to move.
[0013] Optionally, the second driving member further includes a second guide seat, the second limiting seat is provided with a second guide groove, the second guide seat is mounted on the second mounting seat, and the second guide seat is limitedly slidable with the second limiting seat through the second guide groove.
[0014] Optionally, the third driving member includes a third mounting seat, a conveyor belt, a third guide seat and a third motor, the third mounting seat is installed on the conveyor belt and is slidably connected to the third guide seat; the third motor drives the conveyor belt to transmit in the third guide seat and drives the third mounting seat to move.
[0015] Optionally, the third driving member further includes a guide rod, the guide rod is provided with a third guide groove, and the third mounting seat slides in a limited manner with the guide rod through the third guide groove.
[0016] Optionally, the guide rod and the third guide seat are respectively arranged on both sides of the area to be detected.
[0017] Optionally, the code reading mechanism further includes an industrial computer, and the industrial computer is connected to the industrial camera signal.
[0018] By adopting the above technical solution, when the industrial camera takes a picture of the QR code, it will be transmitted to the industrial computer, and the industrial computer will read and process the QR code information.
[0019] Optionally, it also includes a light-proof machine cover, and the light-proof machine cover is arranged on the code reading mechanism.
[0020] By adopting the above technical solution, the opaque machine cover covers the code reading mechanism, which can block external ambient light, so as to better avoid the interference of ambient light, so that the two-dimensional code can be more accurately identified when photographing and reading.
[0021] In summary, the present application includes at least one of the following beneficial technical effects:
[0022] 1. When the object to be tested is transferred to the detection area, the display ratio and brightness of the RGB color light source are set to improve the contrast, and the number of QR codes is read at a time. The object to be tested is transferred to the detection area, and the RGB color light source improves the contrast of the QR code, so that the detection position can be identified more accurately. The first drive member, the second drive member and the third drive member are located at the initial position, and the industrial camera takes a photo to record the position of the object to be tested. According to the position of the object to be tested, the second drive member and the third drive member move to make the industrial camera located directly above the object to be tested, and the autofocus program is called and the zoom lens is moved closer or farther through the first drive member. The camera moves away from the object to be tested, focuses the zoom lens accurately, takes a photo to identify the pixels and clarity of the QR code, and if the pixels occupy reach the set value and the clarity is sufficient, the current position is used as the QR code recognition position. If the pixels occupy are less than the set value or the clarity is not enough, the second and third driving members are used to move the industrial camera, and the focus program is called to move the first driving member, and the zoom lens is awakened to focus accurately. This is repeated until the position where the pixels reach the set value and the clarity is sufficient is found, and the position of the industrial camera is recorded as the QR code recognition position, so as to improve the recognition accuracy of the QR code;
[0023] 2. When the position between the industrial camera and the object to be measured needs to be adjusted, the second motor drives the second screw to rotate, so that the second mounting seat slides along the second limiting seat, so that the industrial camera is close to the QR code;
[0024] 3. The light-proof cover covers the code reading mechanism, which can block the external ambient light, so as to better avoid the interference of ambient light, so that the QR code can be more accurately identified when taking pictures. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a structural schematic diagram of a code reading mechanism in an online code reading device according to an embodiment of the present application;
[0026] Figure 2 It is a structural schematic diagram of a code reading mechanism in an online code reading device according to an embodiment of the present application from another perspective;
[0027] Figure 3 yes Figure 1 The enlarged schematic diagram of point A in the middle;
[0028] Figure 4 It is a structural schematic diagram of an online code reading device according to an embodiment of the present application.
[0029] 1. Code reading mechanism; 11. RGB color light source; 12. Industrial camera; 13. Zoom lens; 14. First driving member; 141. First mounting seat; 142. First screw rod; 143. First limit seat; 144. First motor; 145. First guide seat; 146. First guide groove; 15. Second driving member; 151. Second mounting seat; 152. Second screw rod; 153. Second limit seat; 154. Second motor; 155. Second guide seat; 156. Second guide groove; 16. Third driving member; 161. Third mounting seat; 162. Third guide seat; 163. Third motor; 164. Guide rod; 165. Third guide groove; 17. Industrial computer; 2. Light-proof cover. DETAILED DESCRIPTION
[0030] The following is combined with Figure 1-4 This application is described in further detail.
[0031] The present application embodiment discloses an online code reading device. Figure 1 The online code reading device includes a code reading mechanism 1, which includes an RGB color light source 11, an industrial camera 12, a zoom lens 13, a first driving member 14, a second driving member 15 and a third driving member 16. The RGB color light source 11 faces the area to be detected. In this embodiment, the RGB color light sources 11 are vertically arranged on both sides of the area to be detected, that is, the RGB color light sources 11 are parallel and relatively arranged. The RGB color light sources 11 display ratio and brightness, improve the contrast, so that the two-dimensional code can be focused and recognized more accurately.
[0032] The zoom lens 13 is mounted on the industrial camera 12, and the industrial camera 12 is mounted on the first driving member 14. The first driving member 14 drives the industrial camera 12 to move in the vertical direction, so that the height distance between the zoom lens 13 and the two-dimensional code can be adjusted. The first driving member 14 is mounted on the second driving member 15, and the second driving member 15 drives the first driving member 14 to move horizontally in a direction perpendicular to the transmission direction of the object to be measured, so that the position between the zoom lens 13 and the two-dimensional code can be adjusted in the horizontal direction. The second driving member 15 is mounted on the third driving member 16, and the third driving member 16 drives the second driving member 15 to move in the transmission direction of the object to be measured, so that the position between the zoom lens 13 and the two-dimensional code can be adjusted in the horizontal direction.
[0033] The position and distance between the industrial camera 12 and the QR code are adjusted by the first driving member 14, the second driving member 15 and the third driving member 16, and the QR code is focused and photographed by the zoom lens 13. If the pixels occupied by the photographed QR code are less than the set value or the clarity is not enough, the position of the industrial camera 12 is readjusted by the first driving member 14, the second driving member 15 and the third driving member 16 until the pixels occupied by the photographed QR code or the clarity meets the requirements, and the position of the industrial camera 12 is recorded, that is, the position of the QR code scanning, so that the QR code can be recognized more accurately. After determining the position of the industrial camera 12, the QR code can be transmitted and recognized in batches to improve production efficiency.
[0034] Continue to refer to Figure 1 In some embodiments, the first driving member 14 includes a first mounting seat 141, a first screw rod 142, a first stop seat 143 and a first motor 144. The industrial camera 12 is mounted on the first mounting seat 141. The first mounting seat 141 is screwed to the first screw rod 142, and the side wall of the first mounting seat 141 abuts and is slidably connected to the first stop seat 143. That is, the abutment between the side wall of the first mounting seat 141 and the first stop seat 143 can limit the first mounting seat 141 from rotating with the first screw rod 142, so that the first mounting seat 141 can move up and down along the first screw rod 142. The first motor 144 drives the first screw rod 142 to rotate, driving the first mounting seat 141 to slide along the first stop seat 143, so that the first mounting seat 141 can change its height conveniently and more accurately.
[0035] In some embodiments, the first driving member 14 further includes a first guide seat 145, the first limiting seat 143 is provided with a first guide groove 146, the first guide groove 146 is adapted to be provided with the first guide seat 145, and the first guide seat 145 is mounted on the first mounting seat 141. In this embodiment, the first guide seat 145 and the first mounting seat 141 are fixed by screw connection, and in other embodiments, they can also be fixed by bonding, integral molding, clamping, etc. The first guide seat 145 is limited to slide with the first limiting seat 143 through the first guide groove 146, so that the sliding direction of the first mounting seat 141 can be better limited, so that the height of the first mounting seat 141 can be changed more stably, thereby changing the height of the industrial camera 12.
[0036] Continue to refer to Figure 1In some embodiments, the second driving member 15 includes a second mounting seat 151, a second screw rod 152, a second stop seat 153 and a second motor 154. The second mounting seat 151 is screwed to the second screw rod 152, and the second mounting seat 151 abuts against the second stop seat 153 and is slidably connected to the second stop seat 153, that is, the second screw rod 152 and the second stop seat 153 are arranged horizontally, and the second stop seat 153 limits the second mounting seat 151 from rotating with the second screw rod 152, and can move horizontally along the direction of the second stop seat 153. The first driving member 14 is mounted on the second mounting seat 151. In this embodiment, the first motor 144 is screwed to the second mounting seat 151, and the output shaft passes through the second mounting seat 151 to drive the first screw rod 142 to rotate. The second motor 154 drives the second screw rod 152 to rotate and drives the second mounting seat 151 to move. That is, when the second motor 154 drives the second screw rod 152 to drive the second mounting seat 151 to move, it can drive the first driving member 14 to move, thereby realizing the horizontal movement of the industrial camera 12 perpendicular to the transmission direction of the object to be measured.
[0037] In some embodiments, the second driving member 15 further includes a second guide seat 155, and the second limiting seat 153 is provided with a second guide groove 156, and the second guide groove 156 is adapted to be provided with the second guide seat 155. The second guide seat 155 is mounted on the second mounting seat 151. In this embodiment, the second guide seat 155 is screwed to the second mounting seat 151, and the second guide seat 155 is limitedly slidable with the second limiting seat 153 through the second guide groove 156, that is, the moving direction of the second guide seat 155 can be guided, so that the second guide seat 155 can move more stably.
[0038] Reference Figure 2 In some embodiments, the third driving member 16 includes a third mounting seat 161, a conveyor belt (not shown in the figure), a third guide seat 162 and a third motor 163. The third mounting seat 161 is mounted on the conveyor belt, that is, one end of the third mounting seat 161 is fixed on the conveyor belt, and the third mounting seat 161 is driven to move by the conveyor belt. The third mounting seat 161 is slidably connected to the third guide seat 162, and the third mounting seat 161 moves along the third guide seat 162, that is, the same or opposite direction as the transmission direction of the object to be measured. In this embodiment, the third motor 163 is installed on one side of the third guide seat 162. The third motor 163 drives the conveyor belt to transmit in the third guide seat 162 and drives the third mounting seat 161 to move. In this embodiment, the second limit seat 153 is fixed on the third mounting seat 161, so that it can drive the industrial camera 12 to move along the horizontal direction of the transmission of the object to be measured.
[0039] Reference Figure 3In some embodiments, the third driving member 16 further includes a guide rod 164, the guide rod 164 is provided with a third guide groove 165, and the third mounting seat 161 is limitedly slidable with the guide rod 164 through the third guide groove 165. This allows the third mounting seat 161 to move more stably, so that the industrial camera 12 can be driven to move more stably.
[0040] In some embodiments, the guide rod 164 and the third guide seat 162 are respectively disposed on both sides of the area to be detected, that is, the third mounting seat 161 is a door-shaped frame structure, so that the industrial camera 12 can be driven to move more stably.
[0041] Reference Figure 4 In some embodiments, the online code reading device further includes a light-proof cover 2, which is disposed on the code reading mechanism 1. The light-proof cover 2 can better eliminate the interference of ambient light on code reading, so that the two-dimensional code can be better read.
[0042] Refer again Figure 1 In some embodiments, the code reading mechanism 1 further includes an industrial computer 17, which is connected to the industrial camera 12 by signal. The industrial computer 17 performs corresponding processing on the two-dimensional code, such as image processing: automatically identifying the two-dimensional code system, automatically reading the two-dimensional code, and being compatible with simultaneously identifying multiple two-dimensional codes; binding the two-dimensional code information with production data such as production time, production personnel, materials used, equipment, production process, environment, etc., and uploading the bound data to the database to realize data traceability.
[0043] It should be noted that the online code reading device of this embodiment can also be used to read one-dimensional codes, QR codes, and Data Matrix codes, and can also recognize multiple different codes at one time.
[0044] The implementation principle of an online code reading device in the embodiment of the present application is as follows: when the object to be tested is transmitted to the area to be tested, the display ratio and brightness of the RGB color light source 11 are set to improve the contrast, and the number of two-dimensional codes is read at a time. The object to be tested is transmitted to the area to be tested, and the RGB color light source 11 improves the contrast of the two-dimensional code so that the detection position can be identified more accurately. The first driving member 14, the second driving member 15 and the third driving member 16 are located at the initial position, and the industrial camera 12 takes a photo to record the position of the object to be tested. According to the position of the object to be tested, the second driving member 15 and the third driving member 16 move so that the industrial camera 12 is located directly above the object to be tested, and the autofocus program is called and the first driving member is used to control the position of the object to be tested. 14 makes the zoom lens 13 approach or move away from the object to be measured, accurately focuses the zoom lens 13, takes a photo to identify the pixels occupied and the clarity of the QR code, if the occupied pixels reach the set value and the clarity is sufficient, the current position is used as the QR code recognition position, if the occupied pixels are less than the set value or the clarity is not enough, continues to move the industrial camera 12 through the second drive member 15 and the third drive member 16, and calls the focus program to move the first drive member 14, the zoom lens 13 wakes up and accurately focuses, and repeats this process to find the position where the pixels reach the set value and the clarity is sufficient, and records the position of the industrial camera 12 as the QR code recognition position, so as to improve the recognition accuracy of the QR code.
[0045] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. An online code reading device, characterized in that: It includes a code reading mechanism, which includes an RGB color light source, an industrial camera, a zoom lens, a first driving member, a second driving member, and a third driving member, and the RGB color light source faces the area to be detected; The zoom lens is mounted on the industrial camera, and the industrial camera is mounted on the first driving member, which drives the industrial camera to move in a vertical direction; the first driving member is mounted on the second driving member, and the second driving member drives the first driving member to move horizontally in a direction perpendicular to the transmission direction of the object to be measured; the second driving member is mounted on the third driving member, and the third driving member drives the second driving member to move in the transmission direction of the object to be measured.
2. An online code reading device according to claim 1, characterized in that: The first driving member includes a first mounting seat, a first screw rod, a first limit seat and a first motor. The industrial camera is mounted on the first mounting seat. The first mounting seat is screwed to the first screw rod, and the side wall of the first mounting seat is abutted and slidably connected to the first limit seat. The first motor drives the first screw rod to rotate, driving the first mounting seat to slide along the first limit seat.
3. An online code reading device according to claim 2, characterized in that: The first driving member further comprises a first guide seat, the first limiting seat is provided with a first guide groove, the first guide seat is mounted on the first mounting seat, and the first guide seat is limitedly slidable with the first limiting seat via the first guide groove.
4. The online code reading device according to claim 1, characterized in that: The second driving member includes a second mounting seat, a second screw rod, a second limit seat and a second motor. The second mounting seat is screwed to the second screw rod, and the second mounting seat abuts against the second limit seat and is slidably connected to the second limit seat. The first driving member is installed on the second mounting seat, and the second motor drives the second screw rod to rotate and drives the second mounting seat to move.
5. An online code reading device according to claim 4, characterized in that: The second driving member also includes a second guide seat, the second limiting seat is provided with a second guide groove, the second guide seat is mounted on the second mounting seat, and the second guide seat is limitedly slidable with the second limiting seat through the second guide groove.
6. The online code reading device according to claim 1, characterized in that: The third driving member includes a third mounting seat, a conveyor belt, a third guide seat and a third motor. The third mounting seat is installed on the conveyor belt and is slidably connected to the third guide seat. The third motor drives the conveyor belt to transmit in the third guide seat and drives the third mounting seat to move.
7. An online code reading device according to claim 6, characterized in that: The third driving member also includes a guide rod, the guide rod is provided with a third guide groove, and the third mounting seat slides with the guide rod in a limited position through the third guide groove.
8. An online code reading device according to claim 7, characterized in that: The guide rod and the third guide seat are respectively arranged on two sides of the area to be detected.
9. The online code reading device according to claim 1, characterized in that: The code reading mechanism also includes an industrial computer, and the industrial computer is connected to the industrial camera signal.
10. The online code reading device according to claim 1, characterized in that: It also includes a light-proof machine cover, which is arranged on the code reading mechanism.