A code scanning system

CN224922274UActive Publication Date: 2026-10-30SHENZHEN UROVO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522416540.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-11-13
Publication Date
2026-10-30
Estimated Expiration
2035-11-13

AI Technical Summary

Technical Problem

传统扫码系统通常依赖条形码扫描器或二维码扫描设备,但这些系统常常面临一些挑战,如在低光环境、远距离扫描或目标表面不平整时,扫描速度慢、准确性差等问题

Benefits of technology

所述处理模块与所述按键连接,用于响应所述按键的触发信号;所述处理模块通过I2C总线分别与所述光传感器模块、所述DTOF传感器模块连接,用于从所述光传感器模块获取环境光强度信号、从所述DTOF传感器模块获取目标物体的距离信号;所述处理模块通过I2C总线与所述补光灯模块连接,并基于所述环境光强度信号向所述补光灯模块发送亮度控制信号;所述处理模块通过I2C总线与所述瞄准灯模块连接,以向所述瞄准灯模块发送基于所述距离信号生成的、用于调节其投射光斑尺寸的控制信号;所述处理模块还与所述摄像模块连接,用于根据所述距离信号向所述摄像模块发送对焦控制信号,并通过MIPI接口接收所述摄像模块采集的图像数据,本申请通过集成上述模块,能够在各种复杂的环境下提高扫码精度、速度和用户体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224922274U_ABST
    Figure CN224922274U_ABST
Patent Text Reader

Abstract

The utility model provides a kind of code scanning system, including key, light sensor module, DTOF sensor module, processing module, light supplement lamp module, sighting lamp module and camera module;Processing module is connected with key, for responding the trigger signal of key;Processing module is connected with light sensor module, DTOF sensor module respectively by I2C bus, for obtaining ambient light intensity signal from light sensor module, obtaining the distance signal of target object from DTOF sensor module;Processing module is connected with light supplement lamp module by I2C bus, and based on ambient light intensity signal, luminance control signal is sent to light supplement lamp module;Processing module is connected with sighting lamp module by I2C bus, to send the control signal for adjusting its projection light spot size, which is generated based on distance signal, to sighting lamp module;Processing module is also connected with camera module, for sending focusing control signal to camera module according to distance signal, and receiving image data collected by camera module through MIPI interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of barcode scanning technology, and more specifically, to a barcode scanning system. Background Technology

[0002] With the widespread application of barcodes and QR codes in industries such as retail, logistics, warehousing, and healthcare, scanning technology has become an indispensable part of modern business and technological processes. Traditional scanning systems typically rely on barcode scanners or QR code scanning devices, but these systems often face challenges such as slow scanning speed and poor accuracy in low-light environments, long-distance scanning, or when the target surface is uneven. To improve scanning accuracy and efficiency... Utility Model Content

[0003] The technical problem to be solved by this utility model is to provide a barcode scanning system that addresses the shortcomings of existing technologies.

[0004] The technical solution adopted by this utility model to solve its technical problem is: to provide a barcode scanning system, including a button, a light sensor module, a DTOF sensor module, a processing module, a fill light module, a aiming light module, and a camera module; The processing module is connected to the button and is used to respond to the trigger signal of the button; The processing module is connected to the light sensor module and the DTOF sensor module via an I2C bus, and is used to acquire ambient light intensity signals from the light sensor module and distance signals of the target object from the DTOF sensor module. The processing module is connected to the fill light module via an I2C bus and sends a brightness control signal to the fill light module based on the ambient light intensity signal. The processing module is connected to the aiming light module via an I2C bus to send a control signal to the aiming light module, which is generated based on the distance signal, to adjust the size of its projected light spot. The processing module is also connected to the camera module and is used to send a focus control signal to the camera module according to the distance signal, and to receive image data acquired by the camera module through the MIPI interface.

[0005] Furthermore, it also includes a main power switch module, a power conversion module, and a main interface module; The input terminal of the main power switch module is connected to the system input power, its enable terminal receives the enable control signal, and its output terminal outputs the controlled system main power. The input terminal of the power conversion module is connected to the main power supply of the system, and is used to convert and generate a first converted power supply and a second converted power supply. The main interface module is used to realize the power and signal connection between the processing module and the external board.

[0006] Furthermore, the power conversion module includes a first low-dropout linear regulator and a second low-dropout linear regulator; The input terminal of the first low-dropout linear regulator is connected to the main power supply of the system, its enable terminal receives a first enable signal, and its output terminal outputs the first conversion power supply. The input terminal of the second low-dropout linear regulator is connected to the main power supply of the system, its enable terminal receives a second enable signal, and its output terminal outputs the second-channel converted power supply.

[0007] Furthermore, the main power switch module includes a first transistor, a second transistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a first capacitor, a second capacitor, a third capacitor, and a pull-up resistor; The first transistor has its source connected to the system input power supply and its drain outputting a controlled system main power supply. The system input power supply is connected to the source of the first transistor via one end of the first capacitor, one end of the fifth resistor, and one end of the second capacitor in sequence. The other end of the first capacitor is grounded. The other end of the fifth resistor and the other end of the second capacitor are connected to the gate of the first transistor. One end of the pull-up resistor is connected to one end of the second capacitor, and the other end is connected to the main power supply of the system. The drain of the first transistor is also grounded through the third capacitor. The second transistor is an NPN transistor. Its base is connected to the enable control signal through the seventh resistor and grounded through the eighth resistor. Its emitter is grounded, and its collector is connected to the gate of the first transistor through the sixth resistor. The enable control signal is used to control the conduction and cutoff of the second transistor, thereby adjusting the gate voltage of the first transistor to achieve the switching control of the main power supply output of the system.

[0008] Furthermore, the fill light module includes a fill light driver chip, a boost inductor, and a fill light; The control pin of the fill light driver chip is connected to the processing module and is used to receive the brightness control signal; The first end of the boost inductor is connected to the power input pin of the fill light driver chip, and the second end is connected to its switch pin. The fill light driver chip and the boost inductor constitute a boost circuit. The fill light is connected to the LED driving pin of the fill light driver chip and is driven to emit light by the boost circuit.

[0009] Furthermore, the scanning system also includes a targeting light power module, the input of which is connected to the system's main power supply, and its output provides laser power to the targeting light module.

[0010] Furthermore, the aiming light module includes an aiming light and a control circuit; The control circuit is connected between the I2C bus of the processing module and the aiming light, and is used to respond to the control signal issued by the processing module to adjust the operating current of the aiming light, thereby changing its brightness to adjust the size of the projected light spot.

[0011] Furthermore, the control circuit includes a switch control unit, a current drive unit, and a negative feedback constant current unit; The input terminal of the switch control unit is connected to the I2C bus of the processing module, and its output terminal is connected to the control terminal of the current drive unit. The switch control unit turns on or off in response to the control signal, thereby controlling the opening or closing of the current drive unit. The power input terminal of the current driving unit is connected to the laser power supply, and its power output terminal is connected to the aiming lamp to provide driving current for the aiming lamp; The detection terminal of the negative feedback constant current unit is connected to the current loop of the aiming lamp, and its feedback terminal is connected to the switch control unit. The negative feedback constant current unit generates a feedback signal based on the voltage of the current loop, and adjusts the current driving unit through the switch control unit to stabilize the driving current.

[0012] Furthermore, the DTOF sensor module includes a direct time-of-flight sensor chip; The processing module is connected to the serial clock line pin and serial data line pin of the direct time of flight sensor chip via an I2C bus. The processing module is also connected to the power-off control pin of the direct time-of-flight sensor chip via a power-off control signal line. The DTOF sensor module also includes a pull-up resistor group, which includes: The first pull-up resistor is connected between the power-off control pin and the second conversion power supply; The second pull-up resistor is connected between the GPIO1 pin of the direct time-of-flight sensor chip and the second conversion power supply. The third pull-up resistor is connected between the serial data line and the second conversion power supply. The fourth pull-up resistor is connected between the serial clock line and the second conversion power supply. The analog power pin of the direct time-of-flight sensor chip (U6) is connected to the first conversion power supply that powers it.

[0013] Furthermore, the light sensor module includes an ambient light sensor chip; The digital power pin of the ambient light sensor chip is connected to the second conversion power supply, and its light-emitting diode anode pin is connected to the sensor LED driver power supply. The processing module is connected to the serial clock line pin and the serial data line pin of the ambient light sensor chip via the I2C bus to obtain the ambient light intensity signal.

[0014] The beneficial effect to be achieved by this utility model is to provide a barcode scanning system including a button, a light sensor module, a DTOF sensor module, a processing module, a fill light module, a aiming light module, and a camera module; The processing module is connected to the button and responds to the button's trigger signal. The processing module is also connected to the light sensor module and the DTOF sensor module via an I2C bus to acquire ambient light intensity signals from the light sensor module and distance signals of the target object from the DTOF sensor module. The processing module is connected to the fill light module via an I2C bus and sends a brightness control signal to the fill light module based on the ambient light intensity signal. The processing module is also connected to the aiming light module via an I2C bus to send a control signal generated based on the distance signal to the aiming light module to adjust the size of its projected light spot. Furthermore, the processing module is connected to the camera module to send a focus control signal to the camera module based on the distance signal and to receive image data acquired by the camera module via a MIPI interface. By integrating the above modules, this application can improve scanning accuracy, speed, and user experience in various complex environments. Attached Figure Description

[0015] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings: Figure 1 This is an overall module connection diagram of the barcode scanning system described in this utility model; Figure 2 This is the circuit schematic diagram of the power conversion module of this utility model; Figure 3 This is the circuit schematic diagram of the main power switch module of this utility model; Figure 4 This is the circuit diagram of the supplementary lighting module of this utility model; Figure 5 This is the circuit diagram of the aiming lamp power module of this utility model; Figure 6 This is the circuit diagram of the aiming lamp module of this utility model; Figure 7 This is the circuit schematic diagram of the DTOF sensor module of this utility model; Figure 8 This is the circuit schematic diagram of the optical sensor module of this utility model. Detailed Implementation

[0016] To provide a clearer understanding of the technical features, objectives, and effects of this utility model, the specific embodiments of this utility model are now described in detail with reference to the accompanying drawings. In the following description, it should be understood that the orientations or positional relationships indicated by terms such as "top," "bottom," "inner," and "outer" are based on the orientations or positional relationships shown in the accompanying drawings, and are constructed and operated in a specific orientation. They are only for the convenience of describing this technical solution and do not indicate that the module or element referred to must have a specific orientation; therefore, they should not be construed as limitations on this utility model.

[0017] It should also be noted that, unless otherwise explicitly specified and limited, terms such as "connection," "fixed," and "set" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or a simple connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two elements or the interaction between two elements. When an element is referred to as being "on" or "below" another element, that element can be located "directly" or "indirectly" on the other element, or there may be one or more intermediary elements. Those skilled in the art can understand the specific meaning of the above terms in this utility model according to the specific circumstances.

[0018] In the following description, specific details such as particular system structures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of the present invention. However, those skilled in the art will understand that the present invention can also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, modules, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0019] Figure 1 This is a logic block diagram of the scanning system of this utility model; The technical solution adopted by this utility model to solve its technical problem is as follows: The scanning system includes a button 101, a light sensor module 102, a DTOF sensor module 103, a processing module 104, a supplementary light module 105, a targeting light module 106, and a camera module 107; the processing module is connected to the button and is used to respond to the button's trigger signal; the processing module is connected to the light sensor module 102 and the DTOF sensor module 103 respectively via an I2C bus, and is used to obtain the ambient light intensity signal from the light sensor module 102 and the target object signal from the DTOF sensor module 103. The distance signal processing module 104 is connected to the fill light module 105 via an I2C bus and sends a brightness control signal to the fill light module 105 based on the ambient light intensity signal. The processing module 104 is also connected to the aiming light module 106 via an I2C bus to send a control signal generated based on the distance signal to the aiming light module 106 for adjusting the size of its projected light spot. The processing module 104 is also connected to the camera module 107 to send a focus control signal to the camera module 107 based on the distance signal and to receive image data acquired by the camera module 107 via the MIPI interface.

[0020] It should be noted that, firstly, when the user presses the scan button, the system is started. The processing module 104 immediately reads the ambient light intensity data from the light sensor module 102 via the I2C bus, and simultaneously starts the DTOF sensor module 103 to measure the distance via the I2C bus. Next, the processing module 104 determines whether the supplementary light needs to be turned on based on the ambient light intensity. If the ambient light intensity is lower than a set threshold, it sends a brightness control signal to the supplementary light driver chip via the I2C bus to start the supplementary light and adjust it to a suitable brightness level. At the same time, based on the distance information obtained by the DTOF sensor, the processing module 104 sends a control signal to the aiming light module 106 via the GPIO interface to adjust the driving current of the aiming light, thereby changing its brightness and achieving precise control over the size of the projected light spot. The farther the distance, the larger the light spot size, ensuring that the user can clearly identify the scanning area.

[0021] Furthermore, it also includes a main power switch module, a power conversion module, and a main interface module; the input terminal of the main power switch module is connected to the system input power, its enable terminal receives an enable control signal, and its output terminal outputs the controlled system main power; the input terminal of the power conversion module is connected to the system main power and is used to convert and generate a first converted power supply and a second converted power supply; the main interface module is used to realize the power and signal connection between the processing module 104 and the external board.

[0022] The main power switch module uses a load switch chip, whose enable terminal is connected to the GPIO pin of the processing module 104. The processing module 104 outputs an enable control signal to realize the soft power-on control of the system. The power conversion module includes at least two DC-DC converters, which generate a first conversion power of 3.3V and a second conversion power of 1.8V, respectively. The 3.3V power supply provides the operating voltage for the fill light module 105, the aiming light module 106 and the interface level, and the 1.8V power supply provides the core digital power for the light sensor module 102, the DTOF sensor module 103 and the I / O unit of the processing module 104. The main interface module uses a board-to-board connector and integrates pins for transmitting MIPI image data, I2C control signals and system power.

[0023] After the system is powered on, the processing module 104 enables the main power switch module by outputting a high level via GPIO, converting the input power into the system's main power. The power conversion module then generates two stable power supplies, 3.3V and 1.8V, to power different modules respectively. The main interface module establishes a communication bridge between the processing module 104 and the external main control board, transmitting image data and control signals.

[0024] like Figure 2 As shown, the power conversion module further includes a first low-dropout linear regulator U1 and a second low-dropout linear regulator U3; the input terminal of the first low-dropout linear regulator U1 is connected to the main power supply of the system, its enable terminal receives a first enable signal, and its output terminal outputs a first converted power supply; the input terminal of the second low-dropout linear regulator U3 is connected to the main power supply of the system, its enable terminal receives a second enable signal, and its output terminal outputs a second converted power supply.

[0025] It should be noted that the power conversion module employs a dual-channel low-dropout linear regulator design, providing stable and reliable operating voltages for the DTOF sensor module 103 and the camera module 107, respectively. The first low-dropout linear regulator U1 converts the system main power supply VPH to 3.3V DTOF_VDD, specifically for powering the DTOF sensor chip. The second low-dropout linear regulator U3 converts the system main power supply VPH to 1.8V DOVDD_1V8, primarily providing digital power to the core circuitry and some sensors of the camera module 107. The enable terminals of the two regulators are controlled by independent first enable signal OTOF_ON and second enable signal ENA, respectively, achieving time-sharing management and intelligent power consumption control of the power supply. Multi-stage filtering networks are implemented at both the input and output terminals, including input capacitors C6, C7, C13, and C16, and output capacitors C9, C10, C14, and C15, effectively suppressing power supply noise and improving the system's electromagnetic compatibility. The fifth resistor, R23, serves as a zero-ohm resistor, acting as a debugging and isolation element in the circuit. This power architecture design ensures the stability of power supply to each module, optimizes system power consumption, and extends the operating time of the device in battery-powered scenarios.

[0026] like Figure 3 As shown, the main power switch module further includes a first transistor Q1, a second transistor Q2, a fifth resistor R3, a sixth resistor R4, a seventh resistor R5, an eighth resistor R6, a first capacitor C1, a second capacitor C2, a third capacitor C3, and a pull-up resistor R1; the source of the first transistor Q1 is connected to the system input power supply, and its drain outputs the controlled system main power supply; one end of the first capacitor C1, one end of the fifth resistor R3, and one end of the second capacitor C2 are connected sequentially between the system input power supply and the source of the first transistor Q1, the other end of the first capacitor C1 is grounded, the other end of the fifth resistor R3 and the other end of the second capacitor C2 are connected to and connected to the gate of the first transistor Q1, one end of the pull-up resistor R1 is connected to one end of the second capacitor C2, and the other end is connected to the system main power supply; the drain of the first transistor Q1 is also grounded through the third capacitor C3; The second transistor Q2 is an NPN transistor. Its base is connected to the enable control signal through the seventh resistor R5 and grounded through the eighth resistor R6. Its emitter is grounded, and its collector is connected to the gate of the first transistor Q1 through the sixth resistor R4. The enable control signal is used to control the conduction and cutoff of the second transistor Q2, and thus the switching control of the main power supply output of the system is realized by adjusting the gate voltage of the first transistor Q1.

[0027] It should be noted that the main power switch module adopts a combination architecture of P-channel MOSFET and NPN transistor to realize intelligent switching control of the system power supply. When the enable control signal AP_PWR_ENA is high, the second transistor Q2 is turned on, pulling the gate voltage of the first transistor Q1 down to near ground potential, so that P-MOSFET Q1 is turned on, and the system main power supply VPH is output normally. When AP_PWR_ENA is low, Q2 is turned off, and the pull-up resistor R1 raises the gate potential of Q1 to a potential close to the source potential, so that the first transistor Q1 is reliably turned off, and the system main power supply VPH has no output. This design has low on-resistance and fast switching response speed, effectively reducing power loss. The voltage divider network composed of resistors R3 and R4 ensures the stability of the gate drive voltage, and the filter network composed of capacitors C1, C2 and C3 effectively suppresses voltage surges and high-frequency noise during power switching, improving the electromagnetic compatibility and operational reliability of the system. The power switch module has a standby power consumption of less than 10μA, which significantly improves the system's battery life in battery-powered scenarios.

[0028] like Figure 4 As shown, the fill light module 105 further includes a fill light driver chip U7, a boost inductor L2, and a fill light J2404; the control pin of the fill light driver chip U7 is connected to the processing module 104 to receive brightness control signals; the first end of the boost inductor L2 is connected to the power input pin VIN of the fill light driver chip U7, and the second end is connected to its switch pin, and the fill light driver chip U7 and the boost inductor L2 constitute a boost circuit; the fill light J2404 is connected to the light-emitting diode drive pin of the fill light driver chip U7 and is driven to emit light by the boost circuit.

[0029] It should be noted that the supplementary lighting module 105 adopts a highly efficient and stable boost-type driver architecture, and brightness control is achieved through the supplementary lighting driver chip U7 (model AW36514). This chip supports the I2C communication protocol, and the processing module 104 can set the brightness adjustment through the SDA and SCL pins to meet the supplementary lighting needs in different environments. The boost inductor L2 and the internal power MOSFET of the chip form a synchronous rectification boost circuit, which boosts the system main power supply VPH to a voltage suitable for LED operation, ensuring sufficient lighting intensity in low-light environments. The module adopts a multi-layer PCB layout, with the input filter capacitor C23 (22μF) and the output filter capacitor C24 (10μF) arranged near the power supply pins, effectively suppressing switching noise and power ripple. The STROBE / TORCH pin supports switching between flashing and constant-on working modes, controlled by the CAM_FLASH signal of the processing module 104, to adapt to different barcode scanning scenarios.

[0030] like Figure 5As shown, the scanning system further includes a targeting light power module. The input of the targeting light power module is connected to the main power supply of the system, and its output provides laser power to the targeting light module 106.

[0031] like Figure 5 As shown, the scanning system in this embodiment also includes a targeting light power supply module specifically for powering the targeting light module 106. The core of this module is a high-efficiency, highly integrated switching power supply chip U2 (model WL2848D33-4 / TR), which constitutes a buck DC-DC conversion circuit.

[0032] The input terminal (IN, pin 4) of the aiming lamp power module is connected to the system main power supply (VPH), which provides a relatively high, unregulated voltage (typically 4V). The switching power supply chip U2 and its peripheral circuitry convert and regulate this input voltage, ultimately generating a stable and clean laser power supply (LASER_3V3) at its output terminal (OUT, pin 2), providing the required operating voltage for the system's aiming lamp module 106 (laser diode).

[0033] The enable pin (EN, pin 3) of the switching power supply chip U2 is connected to the control signal (AP_AIM_ON) issued by the processing module 104. When the processing module 104 needs to activate the aiming function, it pulls the AP_AIM_ON signal high, thereby enabling the LASER_3V3 output of the switching power supply chip U2; when the aiming function is not required, the processing module 104 pulls the signal low to turn off the output, achieving precise power consumption management.

[0034] In the circuit design, a 4.7μF capacitor is connected in parallel at the input terminal as an input decoupling capacitor to filter out noise from the input power supply and provide instantaneous current. At the output terminal, capacitors C11 (4.7μF) and C12 (100nF) are connected in parallel, forming a high- and low-frequency synergistic output filter network. This effectively suppresses output ripple, providing high-quality, stable power to the noise-sensitive laser diode, ensuring stable light output and a clear beam shape.

[0035] like Figure 6 As shown, the aiming light module 106 further includes a laser diode D1 and a control circuit; the control circuit is connected between the I2C bus of the processing module 104 and the laser diode D1, and is used to adjust the operating current of the laser diode D1 in response to the control signal issued by the processing module 104, thereby changing its light emission brightness to adjust the size of the projected light spot.

[0036] Furthermore, the control circuit includes a switch control unit, a current drive unit, and a negative feedback constant current unit. The input terminal of the switch control unit is connected to the I2C bus of the processing module 104, and its output terminal is connected to the control terminal of the current drive unit. The switch control unit turns on or off in response to the control signal, thereby controlling the current drive unit to turn on or off. The power input terminal of the current drive unit is connected to the laser power supply, and its power output terminal is connected to the laser diode D1 to provide drive current for the laser diode D1. The detection terminal of the negative feedback constant current unit is connected to the current loop of the laser diode D1, and its feedback terminal is connected to the switch control unit. The negative feedback constant current unit generates a feedback signal based on the voltage of the current loop and adjusts the current drive unit through the switch control unit to stabilize the drive current.

[0037] It should be noted that when the processing module 104 needs to activate the aiming lamp, it outputs a high-level CAM_FLASH control signal. This signal causes the NPN transistor Q3 to receive base current and enter a saturation conduction state, thereby pulling its collector potential down to approximately ground level. This low-level signal is applied to the base of the PNP transistor Q4, turning on Q4. Thus, the LASER_3V3 power supply forms a complete drive circuit via Q4, the laser diode D1, and the fourth resistor R15. The current in this circuit is precisely controlled by the feedback network, eventually stabilizing at an operating current of approximately 70mA, driving the laser diode D1 to emit light normally.

[0038] The switch control unit includes a first transistor Q5, a first resistor R10, and a second resistor R11. The GPIO interface of the processing module 104 is connected to the base of the first transistor Q5 in sequence through the first resistor R10 and the second resistor R11. The current driving unit includes a second transistor Q3 and a third transistor Q4. The emitter of the second transistor Q3 is connected to the collector of the first transistor Q5, the collector of the second transistor Q3 is connected to the anode of the laser diode D1, and the collector of the third transistor Q4 is connected to the base of the second transistor Q3. The negative feedback constant current unit includes a third resistor R14 and a fourth resistor R15. The third resistor R14 is connected between the base of the first transistor Q5 and ground, and the fourth resistor R15 is connected between the emitter of the first transistor Q5 and ground. The cathode of laser diode D1 is grounded through the emitter of third transistor Q4, and the base of third transistor Q4 is connected to the cathode of laser diode D1 through resistor R9. The laser power supply powers the aiming lamp module 106, and the input terminal of the laser power supply is connected in parallel with a first decoupling capacitor C17 and a second decoupling capacitor C18.

[0039] like Figure 7As shown, the DTOF sensor module 103 further includes a direct time-of-flight sensor chip U6; the processing module 104 is connected to the serial clock line pin and serial data line pin of the direct time-of-flight sensor chip U6 via an I2C bus; the processing module 104 is also connected to the power-off control pin of the direct time-of-flight sensor chip U6 via a power-off control signal line; the DTOF sensor module 103 also includes a pull-up resistor group, which includes: a first pull-up resistor R19, connected between the power-off control pin and the second power supply; a second pull-up resistor R20, connected between the GPIO1 pin of the direct time-of-flight sensor chip U6 and the second power supply; a third pull-up resistor R21, connected between the serial data line and the second power supply; and a fourth pull-up resistor R22, connected between the serial clock line and the second power supply; the analog power supply pin of the direct time-of-flight sensor chip U6 is connected to the first power supply that powers it.

[0040] It should be noted that the second power supply is a 1.8V DOVDD_1V8, and the first power supply is DTOF_VDD; the four resistors R19, R20, R21, and R22 in the pull-up resistor group are all 2.2kΩ, which pull up XSHUT, GPIO1, SDA, and SCL to DOVDD_1V8 respectively; the direct time-of-flight sensor chip U6 is model VL53L4CD, and the analog power supply pin AVDD of the chip is connected to DTOF_VDD after being filtered by decoupling capacitors C21074.7μF and C2204100nF to improve power supply stability.

[0041] like Figure 8 As shown, the light sensor module 102 further includes an ambient light sensor chip U8; the digital power pin VDD of the ambient light sensor chip U8 is connected to the second conversion power supply, and its light-emitting diode anode pin is connected to the sensor LED driving power supply; the processing module 104 is connected to the serial clock line pin and the serial data line pin of the ambient light sensor chip U8 through the I2C bus to obtain the ambient light intensity signal.

[0042] It should be noted that, as Figure 8As shown, the light sensor module 102 uses an ambient light sensor chip U8 (model STK3311-X) to detect the ambient light intensity. The chip's digital core power supply pin VDD is connected to the system's second conversion power supply (1.8V) to provide a stable operating voltage for its internal digital circuitry. Simultaneously, the anode pin LEDA of its internal infrared LED is connected to a dedicated sensor LED driver power supply to ensure sufficient driving capability for the light-emitting components. The processing module 104 communicates with the ambient light sensor chip U8 via an I²C bus. The serial clock line SCL and serial data line SDA are connected to their respective pins in the processing module 104 for configuring sensor parameters and reading ambient light intensity data in real time. Furthermore, the sensor's interrupt signal output pin INT is also connected to the processing module 104, which can actively trigger an interrupt when specific lighting conditions change, enabling rapid response. To ensure the stability and anti-interference capability of the I²C bus signal, pull-up resistors are provided on both the serial clock line SCL and the serial data line SDA to the 3.3V power supply domain.

[0043] The above embodiments are only for illustrating the technical concept and features of this utility model, and are intended to enable those skilled in the art to understand the content of this utility model and implement it accordingly. They do not limit the scope of protection of this utility model. All equivalent changes and modifications made within the scope of the claims of this utility model should fall within the scope of the claims of this utility model.

Claims

1. A barcode scanning system, characterized in that, Includes buttons, light sensor module, DTOF sensor module, processing module, fill light module, aiming light module and camera module; The processing module is connected to the button and is used to respond to the trigger signal of the button; The processing module is connected to the light sensor module and the DTOF sensor module via an I2C bus, and is used to acquire ambient light intensity signals from the light sensor module and distance signals of the target object from the DTOF sensor module. The processing module is connected to the fill light module via an I2C bus and sends a brightness control signal to the fill light module based on the ambient light intensity signal. The processing module is connected to the aiming light module via an I2C bus to send a control signal to the aiming light module, which is generated based on the distance signal, to adjust the size of its projected light spot. The processing module is also connected to the camera module and is used to send a focus control signal to the camera module according to the distance signal, and to receive image data acquired by the camera module through the MIPI interface.

2. The barcode scanning system according to claim 1, characterized in that, It also includes a main power switch module, a power conversion module, and a main interface module; The input terminal of the main power switch module is connected to the system input power, its enable terminal receives the enable control signal, and its output terminal outputs the controlled system main power. The input terminal of the power conversion module is connected to the main power supply of the system, and is used to convert and generate a first converted power supply and a second converted power supply. The main interface module is used to realize the power and signal connection between the processing module and the external board.

3. The barcode scanning system according to claim 2, characterized in that, The power conversion module includes a first low-dropout linear regulator (U1) and a second low-dropout linear regulator (U3). The input terminal of the first low-dropout linear regulator (U1) is connected to the main power supply of the system, its enable terminal receives a first enable signal, and its output terminal outputs the first conversion power supply. The input terminal of the second low-dropout linear regulator (U3) is connected to the main power supply of the system, its enable terminal receives a second enable signal, and its output terminal outputs the second-channel conversion power supply.

4. The barcode scanning system according to claim 2, characterized in that, The main power switch module includes a first transistor (Q1), a second transistor (Q2), a fifth resistor (R3), a sixth resistor (R4), a seventh resistor (R5), an eighth resistor (R6), a first capacitor (C1), a second capacitor (C2), a third capacitor (C3), and a pull-up resistor (R1). The first transistor (Q1) has its source connected to the system input power supply and its drain outputting the controlled system main power supply. The system input power supply is connected to the source of the first transistor (Q1) via one end of the first capacitor (C1), one end of the fifth resistor (R3), and one end of the second capacitor (C2). The other end of the first capacitor (C1) is grounded. The other ends of the fifth resistor (R3) and the second capacitor (C2) are connected to the gate of the first transistor (Q1). One end of the pull-up resistor (R1) is connected to one end of the second capacitor (C2), and the other end is connected to the main power supply of the system. The drain of the first transistor (Q1) is also grounded through the third capacitor (C3). The second transistor (Q2) is an NPN transistor. Its base is connected to the enable control signal through the seventh resistor (R5) and grounded through the eighth resistor (R6). Its emitter is grounded, and its collector is connected to the gate of the first transistor (Q1) through the sixth resistor (R4). The enable control signal is used to control the conduction and cutoff of the second transistor (Q2), and then to realize the switching control of the main power supply output of the system by adjusting the gate voltage of the first transistor (Q1).

5. The barcode scanning system according to claim 1, characterized in that, The fill light module includes a fill light driver chip (U7), a boost inductor (L2), and a fill light (J2404). The control pin of the fill light driver chip (U7) is connected to the processing module and is used to receive the brightness control signal; The first end of the boost inductor (L2) is connected to the power input pin (VIN) of the fill light driver chip (U7), and the second end is connected to its switch pin. The fill light driver chip (U7) and the boost inductor (L2) constitute a boost circuit. The fill light (J2404) is connected to the LED driving pin of the fill light driver chip (U7) and is driven to emit light by the boost circuit.

6. The barcode scanning system according to claim 1, characterized in that, The scanning system also includes a targeting light power module. The input of the targeting light power module is connected to the main power supply of the system, and its output provides laser power to the targeting light module.

7. The barcode scanning system according to claim 6, characterized in that, The aiming light module includes a laser diode (D1) and a control circuit; The control circuit is connected between the I2C bus of the processing module and the laser diode (D1). It is used to respond to the control signal issued by the processing module, adjust the operating current of the laser diode (D1), thereby changing its luminous brightness to adjust the size of the projected light spot.

8. The barcode scanning system according to claim 7, characterized in that, The control circuit includes a switch control unit, a current drive unit, and a negative feedback constant current unit. The input terminal of the switch control unit is connected to the I2C bus of the processing module, and its output terminal is connected to the control terminal of the current drive unit. The switch control unit turns on or off in response to the control signal, thereby controlling the opening or closing of the current drive unit. The power input terminal of the current driving unit is connected to the laser power supply, and its power output terminal is connected to the laser diode (D1) to provide driving current for the laser diode (D1); The detection terminal of the negative feedback constant current unit is connected to the current loop of the laser diode (D1), and its feedback terminal is connected to the switch control unit. The negative feedback constant current unit generates a feedback signal based on the voltage of the current loop and adjusts the current driving unit through the switch control unit to stabilize the driving current.

9. The barcode scanning system according to claim 3, characterized in that, The DTOF sensor module includes a direct time-of-flight sensor chip (U6). The processing module is connected to the serial clock line pin and serial data line pin of the direct time of flight sensor chip (U6) via an I2C bus; The processing module is also connected to the power-off control pin of the direct time-of-flight sensor chip (U6) via a power-off control signal line; The DTOF sensor module also includes a pull-up resistor group, which includes: The first pull-up resistor (R19) is connected between the power-off control pin and the second conversion power supply; The second pull-up resistor (R20) is connected between the GPIO1 pin of the direct time-of-flight sensor chip (U6) and the second conversion power supply; The third pull-up resistor (R21) is connected between the serial data line and the second conversion power supply; The fourth pull-up resistor (R22) is connected between the serial clock line and the second conversion power supply; The analog power pin of the direct time-of-flight sensor chip (U6) is connected to the first conversion power supply that powers it.

10. The barcode scanning system according to claim 9, characterized in that, The optical sensor module includes an ambient light sensor chip (U8). The digital power pin (VDD) of the ambient light sensor chip (U8) is connected to the second conversion power supply, and its light-emitting diode anode pin is connected to the sensor LED driver power supply. The processing module is connected to the serial clock line pin and the serial data line pin of the ambient light sensor chip (U8) via the I2C bus to obtain the ambient light intensity signal.