Bar code scanning circuit and intelligent wearable device
By designing a barcode scanning circuit, combining the photoelectric conversion module and the signal processing module, the integration of barcode recognition and PPG signal detection is realized, solving the problem of single functions of existing equipment, and improving the functional diversity and flexibility of the equipment.
Patent Information
- Application Number
- CN202421461618.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2034-06-25
AI Technical Summary
The existing barcode scanning equipment has a single function, which causes the equipment to be idle during non-scanning working hours and cannot be effectively utilized.
A barcode scanning circuit is designed, combined with the first and second photoelectric conversion modules, which are used for photoelectric signal detection of barcode and human skin respectively. Barcode recognition and PPG signal detection are realized through the signal processing module and the main control module, and the integration and functionality are improved.
It realizes the integration of barcode scanning and PPG signal detection, improves the functional diversity and flexibility of the device, reduces the burden of physical activities and equipment carrying, and is suitable for smart wearable devices.
Smart Images

Figure CN223220528U_ABST
Abstract
Description
Technical Field
[0001] The present utility model relates to new embodiments of circuits and electronic devices, especially barcode scanning circuits and smart wearable devices. Background Art
[0002] A barcode is a machine-readable graphic that contains data information and is displayed in a special form. Common barcodes are generally divided into one-dimensional codes and two-dimensional codes. One-dimensional codes are usually called barcodes. Compared with two-dimensional codes, barcodes have relatively lower requirements for flatness, ambient light, and display resolution during recognition, and have a wider range of usage scenarios. Therefore, barcode scanning technology is currently widely used in many fields such as commodity purchase and sales information management, logistics transit information management, and medical care information management.
[0003] During operation, the barcode is scanned by a scanning device, and the barcode information is converted into data information in a wired or wireless manner and then transmitted to the host computer for processing. Existing barcode scanning devices generally include a light source for illuminating the barcode to be identified, a receiving unit for receiving the reflected light signal, a photoelectric conversion component for processing the received light signal, a decoding circuit (chip) for converting the converted electrical signal into standard data, and a communication interface for transmitting data to the host computer.
[0004] Existing barcode devices are generally stand-alone devices that are only used for barcode recognition. Their functions and working modes are relatively simple, causing the devices to be idle during non-scanning working hours. Utility Model Content
[0005] In a first aspect, embodiments of the present application provide a barcode scanning circuit to solve the problem of single function of existing barcode scanning devices.
[0006] The barcode scanning circuit of the embodiment of the present application includes:
[0007] A first light source module is used to illuminate the object to be identified and generate reflected light;
[0008] a first photoelectric conversion module, receiving the reflected light and generating a first electrical signal according to the reflected light;
[0009] a second photoelectric conversion module, receiving the reflected light and generating a second electrical signal according to the reflected light;
[0010] a signal processing module connected to the first photoelectric conversion module and the second photoelectric conversion module, acquiring and processing the first electrical signal and / or the second electrical signal, and generating a first identification electrical signal and / or a second identification electrical signal;
[0011] a main control module, connected to and controlling the first light source module, and connected to the signal processing module, acquiring the first identification electrical signal and / or the second identification electrical signal, and generating a first digital signal and / or a second digital signal;
[0012] The data interface is connected to the main control module and transmits the first digital signal and / or the second digital signal externally.
[0013] During operation, when the first light source module illuminates the barcode, the first photoelectric conversion module obtains the reflected light of the barcode, and recognizes the barcode after signal conversion by the signal processing module and the main control module. When the barcode scanning is not in progress, the second photoelectric conversion module can perform PPG (Photo Plethysmo Graphic) signal detection on the human skin, and detect health indicators such as blood oxygen, heart rate, and blood pressure, thereby improving the integration and functionality of the barcode scanning circuit.
[0014] In one possible implementation, a second light source module is further included to provide human-reflected light to the second photoelectric conversion module. Providing human-reflected light to the second photoelectric conversion module via the second photoelectric conversion module alone avoids the need to repeatedly adjust the illumination direction of the first light source module to switch between barcode scanning and PPG detection during use.
[0015] In a possible implementation, the first photoelectric conversion module includes a first photodiode and a first voltage-stabilizing switch IC connected to the first photodiode, and a switch control terminal of the first voltage-stabilizing switch IC is connected to the main control module.
[0016] In a possible implementation, the second photoelectric conversion module includes a second photodiode and a second voltage-stabilizing switch IC connected to the second photodiode, and a switch control terminal of the second voltage-stabilizing switch IC is connected to the main control module.
[0017] In one possible implementation, the signal processing module includes an amplifier circuit and a filter circuit, the output end of the amplifier circuit is connected to the output ends of the first photoelectric conversion module and the second photoelectric conversion module, the output end of the amplifier circuit is connected to the input end of the filter circuit, and the output end of the filter circuit is connected to the main control module.
[0018] In one possible implementation, the amplifier circuit includes a two-stage amplifier circuit consisting of a first transistor and a second transistor connected in parallel, wherein the base of the first transistor is connected to the output ends of the first photodiode and the second photodiode, the collector of the first transistor is connected to the power supply via a first current-limiting resistor, the emitter end of the first transistor is connected in parallel with a first static resistor and a coupling capacitor, the coupling capacitor is connected to the base of the second transistor, the base of the second transistor is also connected in parallel with an upper bias resistor and a lower bias resistor, the collector of the second transistor is connected to the power supply via a second current-limiting resistor, and the emitter of the second transistor is connected to the filter circuit as the signal output end of the amplifier circuit.
[0019] In one possible implementation, the filtering circuit includes a first resistor, a second resistor, a first capacitor, a second capacitor and an operational amplifier, the first resistor and the first capacitor are connected in series to the negative electrode of the operational amplifier, the second resistor and the second capacitor are connected in parallel between the negative electrode and the output end of the operational amplifier, the positive electrode of the operational amplifier is grounded, the input end of the first resistor is the input end of the filtering circuit, and the output end of the operational amplifier is the output end of the filtering circuit.
[0020] In a possible implementation, the main control module is a Xinhai CS1262 chip.
[0021] In a possible implementation, the first voltage stabilizing switch IC and the second voltage stabilizing switch IC are MAX604ESA integrated circuits, and an OFF pin of the MAX604ESA integrated circuit is connected to a control pin of the main control module.
[0022] In a second aspect, an embodiment of the present practical information further provides a smart wearable device, comprising any one of the barcode scanning circuits in the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a schematic diagram of the module structure of the first embodiment;
[0024] Figure 2 This is a schematic diagram of the module structure of the second embodiment;
[0025] Figure 3 FIG. 2 is a schematic diagram of a specific circuit structure of the second embodiment. DETAILED DESCRIPTION
[0026] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be described in detail below through implementation methods with reference to the accompanying drawings in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. In the absence of conflict, the embodiments and features in the embodiments of this application can be combined with each other.
[0027] Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative work shall fall within the scope of protection of this application.
[0028] It should be noted that, in the description of this application, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed, movable, or detachable connections; mechanical or electrical connections; direct or indirect connections through an intermediate medium; or internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.
[0029] First, the design concept and usage scenarios of the following embodiments are introduced from the perspective of the overall usage scenarios. Barcode scanning devices generally illuminate the barcode to be identified by light, obtain the barcode information by processing the reflected light signal after illumination, and then further communicate data with various commodity, medical or logistics systems to achieve information entry, update and other operations. Based on the above principles of light source illumination of the object to be identified and processing of reflected light signals, it can be linked to the signal acquisition and signal processing principles of human PPG signal detection in existing smart wearable devices such as smart bracelets and smart watches. Therefore, the two can be reasonably combined and matched through circuit design to achieve improved functional diversity of such products.
[0030] Specifically, if Figure 1 As shown, the barcode scanning circuit of the first embodiment of the present application includes:
[0031] The first light source module 1 is used to illuminate the object to be identified and generate reflected light. The first light source module 1 is generally a light-emitting LED or a series of light-emitting LEDs connected in parallel and powered by a power supply to emit light to illuminate the object to be identified. Based on the introduction to the design concept in the previous article, it can be seen that the object to be identified here includes a barcode or human skin.
[0032] Based on the different information represented by the reflected light generated after the light is irradiated on the object to be identified, in order to reasonably process the reflected light signal to achieve the selection of representing the barcode or PPG signal, the following two methods are used to obtain the reflected light signal, including:
[0033] The first photoelectric conversion module 2 receives the reflected light and generates a first electrical signal according to the reflected light. The first photoelectric conversion module 2 is used to obtain the reflected light when irradiating the barcode and convert it into a first electrical signal.
[0034] The second photoelectric conversion module 3 receives the reflected light and generates a second electrical signal according to the reflected light. The second photoelectric conversion module 3 is used to receive and convert the reflected light when irradiating human skin into a second electrical signal.
[0035] As for how to select whether to perform photoelectric signal conversion through the first photoelectric conversion module 2 or the second photoelectric conversion module 3, a separate switching switch can be provided, or the object to be identified can be automatically analyzed and identified through software.
[0036] For example, based on the usage scenario, when collecting reflected light from human skin, the light is required to be close to the skin, while when scanning a barcode, the light is generally irradiated in an open space. Therefore, a light-sensitive switch or a push-button switch can be set. When the light-sensitive switch is close to the skin without light, or the push-button switch is pressed in contact with the skin, it is determined that PPG signal collection is to be performed, and the second photoelectric conversion module 3 is selected to operate. Alternatively, barcode recognition is generally used for information comparison. After the collected signal processing is completed, if the data comparison with the host computer system is successful, it can be determined that barcode scanning is to be performed. Otherwise, it is determined that PPG signal collection is to be performed. This embodiment mainly provides the circuit basis for signal processing, and only provides a simple example of the signal selection of the photoelectric conversion module. Further settings of some software layers in the operation logic and judgment are not further limited.
[0037] Signal processing module 4 is connected to the first and second photoelectric conversion modules to acquire and process the first and / or second electrical signals, generating a first identification electrical signal and / or a second identification electrical signal. Since optical signal processing primarily involves amplification and filtering, the signal processing module is connected to the first and second photoelectric conversion modules. When a signal is input to first photoelectric conversion module 2, the signal is processed; when a signal is input to second photoelectric conversion module 3, the signal is processed. When both first and second photoelectric conversion modules 2 and 3 receive signal inputs, the order in which the signals pass through signal processing module 4 can be controlled through timing control.
[0038] The main control module 5 is connected to and controls the first light source module 1 and is connected to the signal processing module 4 to obtain the first identification electrical signal and / or the second identification electrical signal and generate a first digital signal and / or a second digital signal. The main control module 5 is generally referred to as an MCU. In this embodiment, the main control module 5 includes an LED DRIVE unit, which is used to connect to and drive the first light source module 1. The main function of the main control module 5 is to convert electrical signals into digital signals. The first digital signal and the second digital signal are data information. The first digital signal is barcode information, generally a string of digital codes, and the second digital signal is human PPG information. Based on this PPG information, heart rate, blood oxygen, and other data can be processed.
[0039] Among the above components, the signal processing module 4 and the main control module 5 need to process both barcode information and PPG information. In terms of complexity, the complexity of processing PPG information is greater than that of processing barcode information.
[0040] Data interface 6 is connected to the main control module and transmits the first digital signal and / or the second digital signal externally. Data interface 6 comprises an interface circuit capable of data transmission and can be categorized as either a wired interface or a wireless interface. A wired interface can be a serial port, USB port, or wired network interface, while a wireless interface can be a Bluetooth, infrared, or wireless network interface. The interface is configured to transmit data to an external device such as a host computer or mobile phone.
[0041] During operation, when the first light source module illuminates a barcode, the light reflects off the dark stripes and light background of the barcode, generating different reflected light. The first photoelectric conversion module 2 receives the reflected light from the barcode and generates different electrical signals for the reflected light from dark stripes of different widths and from the light background of different widths between the dark stripes. After signal conversion by the signal processing module and the main control module, the barcode is recognized. When not scanning a barcode, the second photoelectric conversion module performs PPG (Photo Plethysmograph) signal detection on human skin. Light emitted by an LED illuminates the skin, and the second photoelectric conversion module 3 receives the light reflected from the skin tissue. The optical signal is converted into an electrical signal, which is then converted into a digital signal through analog-to-digital conversion. This measurement method utilizes the fact that different tissues absorb light at varying levels, particularly because blood flow in arteries causes variations in light absorption. By analyzing these variations, physiological parameters such as heart rate and blood oxygen can be extracted to monitor health indicators such as blood oxygen, heart rate, and blood pressure, thereby improving the integration and functionality of the barcode scanning circuit. This enables the scanning function to be integrated into smart wearable devices, making them easy to carry and move during work. The barcode scanning process eliminates the need for picking and placing, allowing for freer limb movement and fewer restrictions on scanning scenarios. The device can also monitor its own physical condition during work or during breaks, which is beneficial to the personal health and safety of employees at work. It can also reduce the amount of work equipment carried in the medical field.
[0042] The above mainly describes the connection and working relationship of the key modules that realize the main functions of the bar code scanning circuit of this embodiment. In the circuit implementation of this embodiment, some conventional devices are also required, such as one or more of the power supply, switch, screen and other components. Since such components are conventional components of the circuit embodiment, the specific selection and connection can be selected according to the needs of the actual product, and will not be repeated in this embodiment.
[0043] The above-mentioned first embodiment generally realizes the integration of components and functions of the circuit for barcode scanning and PPG information collection. In combination with the usage scenario, when switching between the barcode scanning function and the PPG information collection function, a physical action needs to be taken, that is, reversing the irradiation direction of the first light source module 1. As mentioned above, when collecting reflected light from human skin, the light is required to be irradiated close to the skin, while when scanning the barcode, the light is generally irradiated in an open space. In order to further improve the circuit layout according to specific usage needs and avoid operational inconvenience, a second embodiment is further proposed on the basis of the first embodiment.
[0044] like Figure 2As shown, based on the first embodiment, the barcode scanning circuit of the second embodiment further includes a second light source module 7 for providing human body reflected light to the second photoelectric conversion module. After the second light source module 7 is provided, the second light source module 7 is dedicated to illuminating the skin in close proximity, while the first light source module 1 is dedicated to illuminating the barcode. By having the second photoelectric conversion module provide the human body reflected light to the second photoelectric conversion module alone, it is possible to avoid repeatedly adjusting the illumination direction of the first light source module to switch between the barcode scanning and PPG detection functions during use.
[0045] The circuit element layout and working principle of the second embodiment are further described below with reference to a specific circuit schematic diagram.
[0046] Combine Figure 2 and Figure 3 As shown in the figure, the first light source module 1LED1 and the second light source module 7LED2 are light emitting diodes, the light emitting diode LED1 is used to illuminate the barcode, and the light emitting diode LED2 is used to illuminate the human skin.
[0047] The first photoelectric conversion module 2 includes a first photodiode LED3 and a first voltage stabilizing switch IC1 connected to the first photodiode LED3 . The switch control terminal of the first voltage stabilizing switch IC1 is connected to the main control module 5 .
[0048] The second photoelectric conversion module 3 includes a second photodiode LED4 and a second voltage stabilizing switch IC2 connected to the second photodiode LED4. The switch control terminal of the second voltage stabilizing switch IC2 is connected to the main control module.
[0049] The first and second voltage regulator switch IC1 and IC2 utilize the MAX604ESA IC. The MAX604ESA IC features an OFF pin that controls whether the voltage regulator IC outputs voltage. When the OFF pin is at a high level ("1"), the module outputs voltage; when the OFF pin is at a low level ("0"), the module outputs no voltage. The main control module controls the OFF pins on the MAX604ESA ICs to control the switching states of the first and second photoelectric conversion modules 2 and 3, thereby selecting the operating mode and switching between barcode scanning and PPG detection functions or controlling timing.
[0050] In this embodiment, the signal processing module 4 includes an amplifier circuit 41 and a filter circuit 42. The output end of the amplifier circuit 41 is connected to the output end of the first photoelectric conversion module, i.e., LED3, and the second photoelectric conversion module, LED4. The output end of the amplifier circuit 41 is connected to the input end of the filter circuit 42. The output end of the filter circuit 42 is connected to the main control module 5.
[0051] Specifically, the amplifier circuit 41 includes a two-stage amplifier circuit consisting of a first transistor Q1 and a second transistor Q2 connected in parallel. The base of the first transistor Q1 is connected to the output terminals of the first photodiode LED3 and the second photodiode LED4. The collector of the first transistor Q1 is connected to a power supply via a first current-limiting resistor R1. A first static resistor R2 and a coupling capacitor C1 are connected in parallel to the emitter of the first transistor Q1. The coupling capacitor C1 is connected to the base of the second transistor Q2. The base of the second transistor Q2 is also connected in parallel to an upper bias resistor R3 and a lower bias resistor R4. The collector of the second transistor Q2 is connected to the power supply via a second current-limiting resistor R5. The emitter of the second transistor Q2 serves as the signal output terminal of the amplifier circuit and is connected to the filter circuit 42. The first static resistor R2 and the coupling capacitor C1 form a coupling circuit that provides an operating point for the base of the second transistor Q2. The upper bias resistor R3 and the lower bias resistor R4 are used to adjust the bias state of the second transistor Q2.
[0052] The filter circuit includes a first resistor R6, a second resistor R7, a first capacitor C2, a second capacitor C3, and an operational amplifier. The first resistor and the first capacitor are connected in series to the negative terminal of the operational amplifier, and the second resistor and the second capacitor are connected in parallel between the negative terminal and the output terminal of the operational amplifier. The positive terminal of the operational amplifier is grounded. The input terminal of the first resistor serves as the input terminal of the filter circuit, and the output terminal of the operational amplifier serves as the output terminal of the filter circuit. The filter circuit shown in this embodiment is a standard bandpass filter circuit. In actual implementation, a band-stop filter circuit or other circuit can also be used as needed. The filtering range is based on the ability to take into account both the barcode photoelectric signal and the PPG detection photoelectric signal.
[0053] In one possible implementation, the main control module is the Xinhai CS1262 chip. The CS1262 chip boasts high accuracy, a dynamic range of up to 110dB, supports 48 channels of effective data acquisition with 4PD*12 phases, and includes an embedded LED driver with a drive capacity of up to 250mA, supporting 8 channels of LED output. It also boasts exceptional anti-interference capabilities, with a PSRR greater than 90dB, and strong ambient light rejection, with simulated ambient light attenuation of up to ±200uA. It also boasts low power consumption of 83uA at 100Hz, 4 channels at 2-step ambient light attenuation, and 54uA at 100Hz, 1 channel at 2-step ambient light attenuation.
[0054] The LED DRIVE pins of the Xinhai CS1262 chip are connected to and drive the first light source module 1, LED1, and the second light source module 7, LED2. Its control pins P0-P3 can be connected to the OFF terminals of the MAX604ESA integrated circuits in the first and second photoelectric conversion modules 2 and 3 to control their on / off.
[0055] The third embodiment of the present application further provides a smart wearable device, comprising any one of the barcode scanning circuits of the first and second embodiments. Based on the barcode scanning circuit, relevant structural designs can be performed, such as providing light-refracting and reflective structural components such as lenses and prisms, preferably to facilitate the use of barcode scanning and PPG detection functions. Since structural design is beyond the scope of this application, it will not be described in detail here.
[0056] The above description is only a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. Barcode scanning circuit, characterized in that, include: A first light source module is used to illuminate the object to be identified and generate reflected light; a first photoelectric conversion module, receiving the reflected light and generating a first electrical signal according to the reflected light; a second photoelectric conversion module, receiving the reflected light and generating a second electrical signal according to the reflected light; a signal processing module connected to the first photoelectric conversion module and the second photoelectric conversion module, acquiring and processing the first electrical signal and / or the second electrical signal, and generating a first identification electrical signal and / or a second identification electrical signal; a main control module, connected to and controlling the first light source module, and connected to the signal processing module, acquiring the first identification electrical signal and / or the second identification electrical signal, and generating a first digital signal and / or a second digital signal; The data interface is connected to the main control module and transmits the first digital signal and / or the second digital signal externally.
2. The barcode scanning circuit according to claim 1, wherein: It also includes a second light source module, which is connected to the main control module.
3. The barcode scanning circuit according to claim 1 or 2, wherein: The first photoelectric conversion module includes a first photodiode and a first voltage-stabilizing switch IC connected to the first photodiode. The switch control terminal of the first voltage-stabilizing switch IC is connected to the main control module.
4. The barcode scanning circuit according to claim 1 or 2, wherein: The second photoelectric conversion module includes a second photodiode and a second voltage-stabilizing switch IC connected to the second photodiode. The switch control terminal of the second voltage-stabilizing switch IC is connected to the main control module.
5. The barcode scanning circuit according to claim 1 or 2, wherein: The signal processing module includes an amplifier circuit and a filter circuit. The output end of the amplifier circuit is connected to the output ends of the first photoelectric conversion module and the second photoelectric conversion module. The output end of the amplifier circuit is connected to the input end of the filter circuit. The output end of the filter circuit is connected to the main control module.
6. The barcode scanning circuit according to claim 5, wherein: The amplifier circuit includes a two-stage amplifier circuit consisting of a first transistor and a second transistor connected in parallel, wherein the base of the first transistor is connected to the output ends of the first photodiode and the second photodiode, the collector of the first transistor is connected to the power supply via a first current-limiting resistor, the emitter end of the first transistor is connected in parallel with a first static resistor and a coupling capacitor, the coupling capacitor is connected to the base of the second transistor, the base of the second transistor is also connected in parallel with an upper bias resistor and a lower bias resistor, the collector of the second transistor is connected to the power supply via a second current-limiting resistor, and the emitter of the second transistor is connected to the filter circuit as the signal output end of the amplifier circuit.
7. The barcode scanning circuit according to claim 5, wherein: The filtering circuit includes a first resistor, a second resistor, a first capacitor, a second capacitor and an operational amplifier, the first resistor and the first capacitor are connected in series to the negative electrode of the operational amplifier, the second resistor and the second capacitor are connected in parallel between the negative electrode and the output end of the operational amplifier, the positive electrode of the operational amplifier is grounded, the input end of the first resistor is the input end of the filtering circuit, and the output end of the operational amplifier is the output end of the filtering circuit.
8. The barcode scanning circuit according to claim 1, wherein: The main control module is the Xinhai CS1262 chip.
9. Smart wearable device, characterized in that, The bar code scanning circuit comprises any one of claims 1-8.