Optical mark reading machine based on DSP
By using DSP processor and CIS optical acquisition unit in the optical mark reader, combined with USB communication module and clamping components, the problem of low entry efficiency and accuracy of traditional optical mark reader is solved, and more efficient information card identification and Paper motion stability.
Patent Information
- Application Number
- CN202420936778.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2034-04-30
AI Technical Summary
Traditional optical mark reader has low input efficiency and low accuracy, and the transmission force is discontinuous after the paper drive structure is worn, resulting in errors in the identification of information cards, and the user needs frequent repairs, which is time-consuming and labor-intensive.
Design an optical marking reader based on DSP, using an image acquisition module, a DSP processor, a motor drive circuit module and a CIS optical acquisition unit. The USB communication module improves the recognition speed and accuracy of the information card, and the clamping component and the drive wheel are used to ensure that the clamping component is matched with the driving wheel. Continuity and stability of paper movement.
The recognition speed and recognition rate of information cards are improved, the requirements for production and filling of information cards are reduced, the continuity and stability of paper movement are ensured, the structure is simplified, and the failure rate is reduced.
Smart Images

Figure CN222281235U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of optical mark readers, in particular to an optical mark reader based on DSP. Background Art
[0002] An optical mark reader, commonly known as a reader, is a special computer input device that uses optical scanning to identify printed or written marks in a certain format and converts them into electrical signals that can be accepted by the computer.
[0003] Traditional optical mark readers have low input efficiency and low accuracy. The main reasons are:
[0004] 1. The speed of data collection and processing is low;
[0005] Second, the paper drive structure transmits discontinuous driving force to the information card after being worn, causing the information card to move intermittently, resulting in errors in information entry. Users need to frequently perform maintenance, which is time-consuming and labor-intensive. Summary of the invention
[0006] In view of the deficiencies of the prior art, the utility model provides an optical mark reader based on DSP.
[0007] In order to achieve the above purpose, the utility model is implemented through the following technical solutions:
[0008] A DSP-based optical mark reader, comprising a main body, a vertical plate, a bottom plate and a driving wheel; the main body comprises a shell that plays a structural supporting role, the vertical plate is connected to the outer side wall of the shell, and a first gap for paper feeding is provided between the vertical plate and the main body; the bottom plate is fixedly connected to the vertical plate in an L shape, the bottom plate is located below the shell, a second gap is provided between the bottom plate and the shell, and the driving wheel is arranged in the second gap; a driving motor is fixedly installed on the inner wall of the shell, and the output shaft of the driving motor is connected to the driving wheel; a reading module is fixedly installed on the inner wall of the shell, and the reading module The block includes an image acquisition module, a DSP processor, a motor drive circuit module and a computer, the image acquisition module is connected to the DSP processor, the DSP processor is connected to the computer, the DSP processor is connected to the motor drive circuit module, the image acquisition module includes a CIS optical acquisition unit, an amplifying circuit unit, an A / D conversion unit and a CPLD, the CIS optical acquisition unit, the amplifying circuit unit and the A / D conversion unit are all connected to the CPLD; a clamping assembly is provided at the bottom of the vertical plate, the clamping assembly is located at the second gap position, and the clamping assembly is crimped with the driving wheel.
[0009] By adopting the above technical solution, image information is collected and processed through the image acquisition module, the CIS optical acquisition unit is used to collect the information card image, the amplification circuit unit amplifies the signal, and the A / D conversion unit converts the electrical signal into a digital signal and transmits it to the CPLD. By using the image acquisition module to collect and process the image, the information card recognition performance is increased, the requirements for the production and filling of the information card are reduced, and the recognition speed and recognition rate of the information card are improved.
[0010] Optionally, a plurality of driving wheels are provided, and the plurality of driving wheels are arranged in a linear array with equal intervals along the length direction of the first gap.
[0011] Optionally, a receiving hole for receiving the output shaft of the driving motor is provided at the bottom of the shell.
[0012] Optionally, the image acquisition module and the DSP processor are connected via a USB communication module.
[0013] By adopting the above technical solution, the USB communication module has the advantages of high speed, easy use, flexible connection, independent power supply, etc.
[0014] Optionally, the USB communication module includes a CH372 chip and an ARM7 microprocessor, and the CH372 chip is connected to the ARM7 microprocessor.
[0015] By adopting the above technical solutions, the CH372 chip adopts a customized external firmware mode and a convenient built-in firmware mode and has built-in underlying protocols for communication. In the external firmware mode, the external microprocessor can process various requests on its own as needed to achieve communication between different devices; in the built-in firmware mode, the local microprocessor only needs to process data exchange, and the chip can automatically handle all transactions of the default endpoint.
[0016] Optionally, it also includes a duplicate detection circuit, which includes an infrared receiving tube, an infrared transmitting tube and an amplifier, and the duplicate detection circuit is connected in sequence.
[0017] By adopting the above technical solution and designing a double-sheet detection circuit, the intelligence of the cursor reader is realized.
[0018] Optionally, the CIS optical acquisition unit is integrated with a single light source system and a single photosensitive system.
[0019] By adopting the above technical solution, the CIS optical acquisition unit has the characteristics of low cost, light weight, and small thickness.
[0020] Optionally, the motor drive circuit module is an L297 stepper motor control chip.
[0021] By adopting the above technical solution, the external controller only needs to control the three input signals of the L297 stepper motor control chip: clock, direction and working mode, while the motor excitation phase sequence can be generated inside the chip, which simplifies the programming of the controller.
[0022] Optionally, the clamping assembly includes a connecting rod and an arc rod fixedly connected to each other in an L shape, the vertical plate is provided with a first mounting hole and a second mounting hole, the top of the connecting rod can be rotatably set in the first mounting hole, and the arc rod can be movably inserted in the second mounting hole.
[0023] Optionally, the second mounting hole is an arc-shaped hole, an end surface of the arc-shaped rod is crimped against the driving wheel, and the connecting rod and the driving wheel are respectively arranged at two ends of the arc-shaped rod.
[0024] The utility model provides an optical mark reader based on DSP, which has the following beneficial effects:
[0025] The utility model provides an optical mark reader based on DSP, an optical mark reader based on DSP, comprising a main body, a vertical plate, a bottom plate and a driving wheel; the main body comprises a shell, a reading module is fixedly installed on the inner wall of the shell, the reading module comprises an image acquisition module, a DSP processor, a motor driving circuit module and a computer, the image acquisition module is connected with the DSP processor, the DSP processor is connected with the computer, the DSP processor is connected with the motor driving circuit module, the image acquisition module comprises a CIS optical acquisition unit, an amplifying circuit unit, an A / D conversion unit and a CPLD, the CIS optical acquisition unit, the amplifying circuit unit and the A / D conversion unit are all connected with the CPLD; a clamping component is provided at the bottom of the vertical plate, and the clamping component is crimped with the driving wheel. The image information is collected and processed through the image acquisition module, the CIS optical acquisition unit is used to collect the information card image, the amplification circuit unit amplifies the signal, and the A / D conversion unit converts the electrical signal into a digital signal and transmits it to the CPLD. By using the image acquisition module to collect and process the image, the information card recognition performance is increased, the requirements for the production and filling of the information card are reduced, and the recognition speed and recognition rate of the information card are improved; at the same time, the clamping component and the driving wheel cooperate with each other to ensure the continuity and stability of the paper movement, with a simple structure and a low failure rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The present application is further described below with reference to the accompanying drawings:
[0027] Figure 1 It is a schematic diagram of the overall structure of the utility model;
[0028] Figure 2 This is a schematic diagram of the reading module structure;
[0029] Figure 3 It is a schematic diagram of the structure of the image acquisition module;
[0030] Figure 4 It is a vertical section side view of the position and structure of the clamping assembly;
[0031] Figure 5 Schematic diagram of the horizontal distance H1 between the driving wheel and the rotation center;
[0032] Figure 6 It is a schematic diagram of the horizontal distance H0 between the end of the arc rod and the rotation center when the clamping assembly droops naturally;
[0033] Figure 7 This is a front view of the position and structure of the first mounting hole and the second mounting hole.
[0034] Description of reference numerals:
[0035] In the figure, 1, main body; 10, first gap; 11, image acquisition module; 111, CIS optical acquisition unit; 112, amplification circuit unit; 113, A / D conversion unit; 114, CPLD; 12, DSP processor; 13, motor drive circuit module; 14, computer; 2, vertical plate; 21, first mounting hole; 22, second mounting hole; 3, bottom plate; 30, second gap; 4, driving wheel; 5, clamping assembly; 51, connecting rod; 511, rotation center; 52, arc rod. DETAILED DESCRIPTION
[0036] Based on the above structural features of the present application, the implementation methods of the present application are further described:
[0037] Reference Figure 1 A DSP-based optical mark reader includes a main body 1, a vertical plate 2, a bottom plate 3 and a driving wheel 4; the main body 1 includes a shell that plays a structural support role, the vertical plate 2 is connected to the outer side wall of the shell (for example, fixedly connected by bolts), and a first gap 10 for paper feeding is provided between the vertical plate 2 and the main body 1; the bottom plate 3 is fixedly connected to the vertical plate 2 in an L shape (for example, fixedly connected by integral molding), the bottom plate 3 is located below the shell, a second gap 30 is provided between the bottom plate 3 and the shell, and the driving wheel 4 is arranged in the second gap 30.
[0038] Reference Figure 1 A driving motor is fixedly installed on the inner wall of the shell (for example, fixedly connected by bolts), and the output shaft of the driving motor is connected to the driving wheel 4; the driving motor is used to drive the driving wheel 4 to rotate, and when the driving wheel 4 rotates, the friction force is used to push the paper to move in the first gap 10.
[0039] Reference Figure 2The inner wall of the housing is fixedly mounted with a reading module (for example, fixedly connected by bolts), the reading module includes an image acquisition module 11, a DSP processor 12, a motor drive circuit module 13 and a computer 14, the image acquisition module 11 is electrically connected to the DSP processor 12, the DSP processor 12 is electrically connected to the computer 14, the DSP processor 12 is electrically connected to the motor drive circuit module 13, and the motor drive circuit module 13 is electrically connected to the drive motor. Figure 3 The image acquisition module 11 includes a CIS optical acquisition unit 111, an amplifying circuit unit 112, an A / D conversion unit 113, and a CPLD 114. The CIS optical acquisition unit 111, the amplifying circuit unit 112, and the A / D conversion unit 113 are electrically connected to the CPLD 114. The image acquisition module 11, the DSP processor 12, the motor drive circuit module 13, and the computer 14 are respectively connected to the power supply system, which is electrically connected to the external power supply. The power supply system is fixed to the inner wall of the housing by bolts. The CPLD 114 is the core of the image acquisition module 11.
[0040] Among them, the CIS optical acquisition unit 111 adopts a contact image sensor. The contact image sensor has the characteristics of low cost, light weight, and small thickness. Therefore, it can be made into an ultra-thin model and has a simple structure. The contact sensor is an integrated module composed of a single piece of a light source system and a photosensitive system. Its scanning imaging principle is to sense the reflected light originally irradiated by the internal light on the scanned object, and then convert the optical signal into an electrical signal. After amplification by the amplifier circuit unit 112, it is converted into a digital signal by the A / D conversion unit 113 and transmitted to the CPLD114. The CPLD114 transmits it to the DSP processor 12, and then from the DSP processor 12 to the computer 14 to complete the entire scanning process. Among them, the DSP processor 12 is also called a digital signal processor, which is a microprocessor used to perform digital signal processing operations.
[0041] The A / D conversion unit 113 uses ADC0809, which is an 8-bit analog-to-digital conversion device with 8-channel inputs.
[0042] The image acquisition module 11 is connected to the DSP processor 12 via a USB communication module. The USB communication module adopts a USB communication interface. The USB communication interface includes an interface chip and an ARM7 microprocessor. The data bus and programmable I / O pins of the ARM7 microprocessor are connected to the passive parallel interface of CH372. The passive parallel interface of the CH372 chip consists of an address input pin A0, a chip select input pin CS#, a write enable input pin WR#, an interrupt output pin INT#, a read enable input pin RD# and a bit bidirectional parallel data bus D7-D0. Through the passive parallel interface chip, it can coexist with multiple peripheral devices. The interface chip adopts the CH372 chip.
[0043] The duplicate detection circuit includes an infrared receiving tube, an infrared transmitting tube and an amplifier. The duplicate detection circuit is connected in sequence and is composed of an infrared receiving tube, an infrared transmitting tube and an amplifier circuit. The intelligence of the cursor reader is realized through the design of the duplicate detection circuit; the motor drive circuit module 13 is an L297 stepper motor control chip. The external controller only needs to control the three input signals of the clock, direction and working mode of the L297 stepper motor control chip, and the motor excitation phase sequence can be generated inside the chip, which simplifies the programming of the controller.
[0044] The implementation principle of the embodiment of the utility model is as follows: the image information is collected and processed by the image acquisition module 11, the CIS optical acquisition unit 111 is used to collect the information card image, the amplification circuit unit 112 amplifies the signal, and the A / D conversion unit 113 converts the electrical signal into a digital signal and transmits it to the CPLD 114. By using the image acquisition module 11 to collect and process the image, the information card recognition performance is increased, the requirements for the production and filling of the information card are reduced, and the recognition speed and recognition rate of the information card are improved.
[0045] Reference Figure 1 There are a plurality of driving wheels 4, and the plurality of driving wheels 4 are arranged in a straight line array with equal spacing along the length direction of the first slit 10. A receiving hole for receiving the output shaft of the driving motor is provided at the bottom of the housing.
[0046] Reference Figure 4 and Figure 7 The clamping assembly 5 includes a connecting rod 51 and an arc rod 52 that are fixedly connected to each other in an L shape. The vertical plate 2 is provided with a first mounting hole 21 and a second mounting hole 22. The top of the connecting rod 51 can be rotatably arranged in the first mounting hole 21. The connecting rod 51 is provided with a rotating shaft and a bearing at the position of the rotation center 511 to realize rotation. The arc rod 52 can be movably inserted into the second mounting hole 22. The second mounting hole 22 is an arc hole to avoid contact and friction between the inner wall of the second mounting hole 22 and the outer wall of the arc rod 52. The end face of the arc rod 52 is pressed against the driving wheel 4, and the connecting rod 51 and the driving wheel 4 are respectively arranged at both ends of the arc rod 52.
[0047] Reference Figure 5 and Figure 6 , the horizontal distance H1 between the driving wheel 4 and the rotation center 511 should be smaller than the horizontal distance H0 between the end of the arc rod 52 and the rotation center 511 when the clamping assembly 5 droops naturally, so that the clamping assembly 5 has a tendency to be close to the driving wheel 4 under the action of gravity. After the utility model is used for a period of time, the surface of the driving wheel 4 and the end surface of the arc rod 52 are worn, and at this time, the surface of the driving wheel 4 and the end surface of the arc rod 52 can still clamp the paper, ensuring the continuity and stability of the paper movement.
[0048] Reference Figure 5 and Figure 6 The driving wheel 4 is arranged tangent to the surface of the vertical plate 2.
[0049] The information card is made of hard paper (such as card stock).
[0050] In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "up", "down", "left" and "right" are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention.
[0051] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection, a mechanical connection, an electrical connection, a direct connection, or a connection through an intermediate medium, or the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0052] To sum up, for those skilled in the art, according to the guidance of the present invention, without departing from the principle and spirit of the present invention, the changes, modifications, replacements and deformations made to the present invention still fall within the protection scope of the present invention.
Claims
1. An optical mark reader based on DSP, characterized in that: The invention comprises a main body (1), a vertical plate (2), a bottom plate (3) and a driving wheel (4); the main body (1) comprises a shell that plays a structural supporting role, the vertical plate (2) is connected to the outer side wall of the shell, and a first gap (10) for feeding paper is provided between the vertical plate (2) and the main body (1); the bottom plate (3) is fixedly connected to the vertical plate (2) in an L shape, the bottom plate (3) is located below the shell, a second gap (30) is provided between the bottom plate (3) and the shell, and the driving wheel (4) is arranged in the second gap (30); A drive motor is fixedly mounted on the inner wall of the housing, and an output shaft of the drive motor is connected to the drive wheel (4); A reading module is fixedly mounted on the inner wall of the housing, the reading module comprising an image acquisition module (11), a DSP processor (12), a motor drive circuit module (13) and a computer (14); the image acquisition module (11) is connected to the DSP processor (12), the DSP processor (12) is connected to the computer (14), the DSP processor (12) is connected to the motor drive circuit module (13); the image acquisition module (11) comprises a CIS optical acquisition unit (111), an amplifying circuit unit (112), an A / D conversion unit (113) and a CPLD (114); the CIS optical acquisition unit (111), the amplifying circuit unit (112) and the A / D conversion unit (113) are all connected to the CPLD (114); A clamping assembly (5) is provided at the bottom of the vertical plate (2), the clamping assembly (5) is located at the position of the second gap (30), and the clamping assembly (5) is pressed against the driving wheel (4).
2. The DSP-based optical mark reader according to claim 1, characterized in that: A plurality of the driving wheels (4) are provided, and the plurality of driving wheels (4) are arranged in a straight line array at equal intervals along the length direction of the first slit (10).
3. The DSP-based optical mark reader according to claim 2, characterized in that: The bottom of the shell is provided with a receiving hole for receiving the output shaft of the driving motor.
4. The DSP-based optical mark reader according to claim 3, characterized in that: The image acquisition module (11) and the DSP processor (12) are connected via a USB communication module.
5. The DSP-based optical mark reader according to claim 4, characterized in that: The USB communication module includes a CH372 chip.
6. The DSP-based optical mark reader according to claim 3, characterized in that: It also includes a duplicate detection circuit, which includes an infrared receiving tube, an infrared transmitting tube and an amplifier, and the duplicate detection circuit is connected in sequence.
7. The DSP-based optical mark reader according to claim 3, characterized in that: The CIS optical collection unit (111) is integrated with a light source system and a light sensing system.
8. The DSP-based optical mark reader according to claim 3, characterized in that: The motor drive circuit module (13) is an L297 stepper motor control chip.
9. The DSP-based optical mark reader according to any one of claims 1 to 8, characterized in that: The clamping assembly (5) comprises a connecting rod (51) and an arc rod (52) which are fixedly connected to each other in an L shape, the vertical plate (2) is provided with a first mounting hole (21) and a second mounting hole (22), the top of the connecting rod (51) is rotatably arranged in the first mounting hole (21), and the arc rod (52) is movably inserted in the second mounting hole (22).
10. The DSP-based optical mark reader according to claim 9, characterized in that: The second mounting hole (22) is an arc-shaped hole, the end surface of the arc-shaped rod (52) is pressed against the driving wheel (4), and the connecting rod (51) and the driving wheel (4) are respectively arranged at two ends of the arc-shaped rod (52).