[go: up one dir, main page]

WO2019169515A1 - Barcode recognition engine and power consumption reduction control method therefor - Google Patents

Barcode recognition engine and power consumption reduction control method therefor Download PDF

Info

Publication number
WO2019169515A1
WO2019169515A1 PCT/CN2018/077953 CN2018077953W WO2019169515A1 WO 2019169515 A1 WO2019169515 A1 WO 2019169515A1 CN 2018077953 W CN2018077953 W CN 2018077953W WO 2019169515 A1 WO2019169515 A1 WO 2019169515A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
fill light
frame period
optical imaging
controls
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2018/077953
Other languages
French (fr)
Chinese (zh)
Inventor
王冬生
魏江涛
徐龙
张承杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Idatatechnologycompanyltd
Original Assignee
Shenzhen Idatatechnologycompanyltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Idatatechnologycompanyltd filed Critical Shenzhen Idatatechnologycompanyltd
Priority to PCT/CN2018/077953 priority Critical patent/WO2019169515A1/en
Publication of WO2019169515A1 publication Critical patent/WO2019169515A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units
    • G03B15/05Combinations of cameras with electronic flash apparatus; Electronic flash units
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene

Definitions

  • the invention relates to the field of bar code recognition technology, in particular to a bar code recognition engine and a control method thereof for reducing power consumption.
  • QR code recognition has gradually been applied to various industries in society.
  • two-dimensional code recognition usually adopts image-based reading mode, and the mainstream technology is through CCD (Charge Coupled Device, a semiconductor device) / CMOS (Complementary Metal Oxide Semiconductor, an amplifier device controlled by voltage)
  • CCD Charge Coupled Device, a semiconductor device
  • CMOS Complementary Metal Oxide Semiconductor, an amplifier device controlled by voltage
  • the lens is used for optical imaging, and then the image recognition is performed by the decoded portion of the back end.
  • the original image quality is critical to the efficiency of the decoding, and for better image quality, additional fill light is often used to improve the quality of the image obtained.
  • the high-intensity fill light to compensate, which inevitably leads to an increase in heat generation and power consumption.
  • the ambient temperature is high, and the heat generated by the device itself is not well conducted, the light quality may affect the imaging quality of the CCD/CMOS, which may cause damage to the device and stop working.
  • an embodiment of the present invention provides a bar code recognition engine and a control method thereof for reducing power consumption, so as to solve the problem that the existing two-dimensional code recognition causes an increase in heat generation and power consumption and image imaging quality due to long-term work. .
  • Embodiments of the present invention provide a barcode recognition engine, including an optical imaging unit, a fill light unit, a targeting unit, a decoding unit, and an engine single chip microcomputer;
  • the optical imaging unit collects the optical signal and converts it into image data and transmits it to the decoding unit for decoding; the optical imaging unit controls the fill light according to the frame period signal generated internally and the power control signal output by the engine single chip.
  • the optical imaging unit includes a lens, a CMOS image sensor, a fill light control circuit, and an MIPI interface chip; and the fill light unit includes a fill light;
  • the CMOS image sensor converts an optical signal collected by the lens into an electrical signal, converts it into image data through analog conversion, and outputs the image;
  • the CMOS image sensor outputs the image frame period signal, and the fill light control circuit controls the power supply state of the fill light unit according to the combination of the frame period signal and the high and low level of the power control signal; the signal of the fill light control circuit in each frame period
  • the exposure time controls the fill light unit to turn on the fill light, and controls the fill light unit to turn off the fill light at the sampling time of each frame period signal;
  • the CMOS image sensor collects and outputs image data at the sampling time, is converted by the MIPI interface chip format, and then transmitted to the decoding unit for decoding processing.
  • the fill light control circuit includes a first triode, a second triode, a third triode, a first resistor and a second resistor;
  • the base of the first triode is connected to the single-chip microcomputer, the emitter of the first triode is connected to the power supply end, and the collector of the first triode is connected to the anode of the fill lamp and the emitter of the second triode,
  • the base of the second triode is connected to one end of the first resistor and the frame exposure output pin of the CMOS image sensor, the other end of the first resistor is connected to the power supply end, and the collector of the second triode is connected to the base of the third triode
  • the collector of the third transistor is connected to the cathode of the fill lamp, and the emitter of the third transistor is grounded through the second resistor.
  • the first triode and the second triode are PNP type triodes
  • the third triode is an NPN type triode.
  • the fill light control circuit further includes a first capacitor, one end of the first capacitor is connected to the power terminal and the emitter of the first transistor, and the other end of the first capacitor Ground.
  • the fill light control circuit further includes a third resistor and a fourth resistor;
  • One end of the third resistor is connected to the base of the second transistor, and the other end of the third resistor is connected to one end of the first resistor and the frame exposure output pin of the CMOS image sensor, and one end of the fourth resistor is connected to the second transistor The collector, the other end of the fourth resistor is connected to the base of the third transistor.
  • a second aspect of the embodiments of the present invention provides a control method for reducing power consumption by using the barcode recognition engine, including:
  • Step A When the decoding unit triggers decoding, the optical imaging unit collects the optical signal and converts it into image data, and then transmits the data to the decoding unit for decoding;
  • Step B The optical imaging unit controls the power supply state of the fill light unit according to the frame period signal generated by the internal frame and the power control signal output by the engine single chip; and controls the fill light unit to open the fill light during the exposure time of the frame period signal, in the frame period.
  • the sampling time of the signal controls the fill light unit to be turned off;
  • Step C When the fill light unit is turned on, the optical imaging unit is supplemented with light, and the aiming unit is used for aiming indication.
  • the step B includes:
  • Step B1 the fill light control circuit of the optical imaging unit controls the power supply state of the fill light unit according to the combination of the frame period signal and the high and low level of the power control signal;
  • Step B2 The fill light control circuit controls the fill light unit to turn on the fill light at the exposure time of each frame period signal, and controls the fill light unit to turn off the fill light at the sampling time of each frame period signal.
  • the barcode recognition engine includes an optical imaging unit, a fill light unit, a aiming unit, a decoding unit, and an engine single chip.
  • the optical imaging unit collects an optical signal and After being converted into image data, the image is transmitted to the decoding unit for decoding; the optical imaging unit controls the power supply state of the light-compensating unit according to the frame period signal generated internally and the power control signal output by the engine single-chip microcomputer; the optical imaging unit controls the exposure time of the frame period signal.
  • the light unit turns on the fill light, and controls the fill light unit to be turned off at the sampling time of the frame period signal; when the fill light unit is turned on, the optical imaging unit is supplemented with light, and the aiming unit is used for the aiming indication.
  • the exposure time is used to synchronously adjust the fill light duration, and the periodic and regular switch fill light, achieving low power consumption and low temperature without affecting the quality of image imaging, and making the imaging more stable.
  • FIG. 1 is a schematic structural diagram of a barcode recognition engine according to an embodiment of the present invention.
  • FIG. 2 is a structural block diagram of a barcode recognition engine in an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of an optical imaging unit according to an embodiment of the present invention.
  • FIG. 4 is a timing diagram of a CMOS imaging period and a fill period in an embodiment of the present invention.
  • Figure 5 is a circuit diagram of a fill light control circuit in accordance with an embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for controlling power consumption of a bar code recognition engine according to an embodiment of the present invention.
  • the barcode recognition engine includes an optical imaging unit 1 and a fill light unit 2 (one fill light is arranged on each of the left and right sides of the optical imaging unit 1 , that is, 21 and 22). , targeting unit 3, decoding unit 4 and engine microcontroller 5.
  • the optical imaging unit 1 collects the optical signal and converts it into image data and transmits it to the decoding unit 4 for decoding.
  • the fill light unit is illuminated for supplemental enhancement of the sensor inside the optical imaging unit 1 so that the barcode recognition engine can be applied to a low light environment.
  • the aiming unit 3 is used for aiming instructions, and the user plays a guiding role when using decoding.
  • the main source of heat and power consumption of these devices is the fill light unit. Take the fill light (Figure 3 with D for two fill lights, corresponding to 21, 22 in Figure 1) as an example, its instantaneous power consumption is close to 0.5W, accounting for >50% of the total optical device power consumption.
  • the source of fever is the fill light unit.
  • the present embodiment utilizes the principle of the imaging period of the CMOS image sensor (which needs to be continuously imaged by periodic exposure), and the optical imaging unit 1 controls the frame period signal generated by the internal unit and the power supply control signal POWER outputted by the engine unit 5
  • the embodiment synchronously adjusts the fill light duration by the exposure time, and periodically and regularly switches the fill light to achieve low power consumption and low temperature without affecting the quality of image imaging. To make imaging more stable.
  • the optical imaging unit 1 includes a lens 11, a CMOS image sensor 12, a fill light control circuit 13, and an MIPI (Mobile Industry Processor Interface) interface chip 14.
  • the fill light unit includes a fill light.
  • the CMOS image sensor 12 converts the optical signal collected by the lens 11 into an electrical signal, and converts the electrical signal into corresponding image data through an internal analog circuit and a digital circuit and outputs the same.
  • the CMOS image sensor 12 outputs the imaged frame period signal Strobe; the fill light control circuit 13 controls the power supply state of the fill light unit according to the combination of the frame period signal and the high and low level of the power supply control signal, and the exposure of the signal in each frame period
  • the time control fill light turns on the fill light, and controls the fill light to turn off the fill light during the sampling time of each frame period signal (that is, when the image data is stopped when the exposure is stopped).
  • the CMOS image sensor 12 collects and outputs the image data Data at the sampling time, is converted by the MIPI interface chip 14, and is transmitted to the decoding unit 4 of the back end for decoding processing.
  • CMOS image sensor 12 is powered by the power source VIN_3V3, performs I2C communication with the decoding unit 4, and outputs a timing control signal Timing (including the frame period signal Strobe and the field sync signal Vsync) to the MIPI interface chip 14.
  • a timing control signal Timing including the frame period signal Strobe and the field sync signal Vsync
  • one frame period signal T includes an exposure time N and a sampling time S, which is a time at which the CMOS image sensor 12 receives an electric signal and converts it into image data, and the sampling time S (non-exposure time) is CMOS.
  • the start time of the exposure time is t1
  • the time at which the exposure ends is t2
  • the time during which the fill light continues is ⁇ t (the time of ⁇ t is equal to the exposure time N).
  • the fill light is turned on at the exposure time N for ⁇ t, and the fill light is turned off at the sampling time.
  • the continuous periodic fill light can effectively save power consumption, reduce the heat of the light emitting device, and improve the service life of each device.
  • the fill light control circuit 13 includes a first transistor Q1, a second transistor Q2, a third transistor Q3, a first resistor R1 and a second resistor R2;
  • the base of the transistor Q1 is connected to the engine MCU, the emitter of the first transistor Q1 is connected to the power supply terminal VCC, and the collector of the first transistor Q1 is connected to two fill lamps D (here, D represents two fill lights The anode of the lamp) and the emitter of the second transistor Q2, the base of the second transistor Q2 is connected to one end of the first resistor R1 and the frame exposure output pin of the CMOS image sensor 12, and the other end of the first resistor R1 is connected
  • the power terminal VCC, the collector of the second transistor Q2 is connected to the base of the third transistor Q3, the collector of the third transistor Q3 is connected to the cathode of the two fill lamps D, and the third transistor Q3 is The emitter is grounded through a second resistor R2.
  • the first triode Q1 and the second triode Q2 are PNP type triodes, and the third triode Q3 is an NPN type triode.
  • the engine of the bar code recognition engine controls the control pin of the laser power switch to output the power control signal POWER. When it is low, the first transistor Q1 is turned on, and when it is high, the first transistor Q1 is turned off.
  • the frame exposure output of the CMOS image sensor 12 indicates that the pin outputs a frame period signal Strobe, which turns on the second transistor Q2 when it is at a low level and turns off the second transistor Q2 when it is at a high level.
  • the base of the third transistor Q3 outputs a high level, it is turned on, and the low level is turned off.
  • the power control signal POWER continues to be low, and the first transistor Q1 is turned on.
  • the second transistor Q2 is synchronously switched by the high and low levels of the frame period signal Strobe. Specifically, when the frame period signal Strobe is low level, the second transistor Q2 is turned on. At this time, the base of the third transistor Q3 is input to a high level and is turned on, and the fill light D is controlled to be lit; the frame period signal Strobe When the level is high, the second transistor Q2 is turned off, and the third transistor Q3 is turned off to control the fill light D to be extinguished. In this way, the periodic and precise illumination of the fill light can be achieved, thereby reducing power consumption and reducing heat generation of the device.
  • the fill control circuit 13 further includes a first capacitor C1, one end of the first capacitor C1 is connected to the power terminal VCC and the emitter of the first transistor Q1, and the other end of the first capacitor C1 is grounded;
  • the first capacitor filtering denoising makes the power supply voltage of the input fill light more stable, and the fill light effect of the fill light is better.
  • the fill control circuit 13 further includes a third resistor R3 and a fourth resistor R4; one end of the third resistor R3 is connected to the base of the second transistor Q2, and the other end of the third resistor R3 is connected.
  • the second transistor Q2 is protected by the current limit of the third resistor R3, and the current limit of the fourth resistor R4 protects the third transistor Q3.
  • the fill light adopts an LED, which can be periodically extinguished at a high frequency, and reliably meets the requirement of long-term cycle lighting.
  • the measured power is effectively reduced while the brightness is guaranteed to be imaged.
  • the present invention further provides a bar code recognition engine for reducing power consumption.
  • the method for controlling power consumption reduction includes:
  • the optical imaging unit collects the optical signal and converts it into image data, and then transmits the image to the decoding unit for decoding.
  • the optical imaging unit controls the power supply state of the light-filling unit according to the frame period signal generated by the internal frame and the power control signal output by the engine single-chip microcomputer; and controls the light-filling unit to turn on the fill light during the exposure time of the frame period signal, and the frame period signal is The sampling time controls the fill light unit to be turned off;
  • the step S20 includes:
  • Step 21 The fill light control circuit of the optical imaging unit controls the power supply state of the fill light unit according to the combination of the frame period signal and the high and low level of the power control signal;
  • Step 22 The fill light control circuit controls the fill light unit to turn on the fill light at the exposure time of each frame period signal, and controls the fill light unit to turn off the fill light at the sampling time of each frame period signal.
  • the present invention provides a barcode recognition engine and a control method for reducing power consumption, which are applicable to all embedded devices for barcode recognition by optical imaging.
  • the fill light is turned on at the exposure time, and the fill light is turned off at the sampling time, and the periodic fill light greatly reduces the work of the fill light while ensuring the compensation effect of the fill light.
  • the measured range is reduced by 30%-50%, reducing the imaging effect of CCD/CMOS due to the fill light heating; at the same time, it also indirectly prolongs the service life of the device, and can effectively save power consumption, with low Power consumption, low cost, and the ability to ensure long-term stable operation of the reading engine. It solves the problem that the long-term work of the industrial scanning engine on the market inevitably leads to an increase in power consumption and heat generation.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)

Abstract

Disclosed are a barcode recognition engine and a power consumption reduction control method therefor. The barcode recognition engine comprises an optical imaging unit (1), a light supplementing unit (2), an aiming unit (3), a decoding unit (4), and an engine single-chip microcomputer (5). When the decoding unit (4) is triggered for decoding, the optical imaging unit (1) collects an optical signal, converts the optical signal into image data and transmits the image data to the decoding unit (4) for decoding. The optical imaging unit (1) controls a power supplying state of the light supplementing unit (2, 21, 22) according to a frame period signal generated in the optical imaging unit and a power control signal output by the engine single-chip microcomputer (5). The optical imaging unit (1) controls the light supplementing unit (2, 21, 22) to turn on for light supplementing in an exposure time period of the frame period signal, and controls the light supplementing unit (2, 21, 22) to turn off in a sampling time period of the frame period signal. The light supplementing unit (2, 21, 22) carries out light supplementing enhancement for the optical imaging unit (1) when the light supplementing unit is turned on, and the aiming unit (3) is used for aiming instruction. A light supplementing time duration is synchronously adjusted through an exposure time, and the periodic and regular switching of light supplementing is achieved, thereby causing no impact on the quality of imaging while achieving low power consumption and low temperature, and thus enabling the imaging to be more stable.

Description

一种条码识别引擎及其降低功耗的控制方法Bar code recognition engine and control method thereof for reducing power consumption 技术领域Technical field

本发明涉及条码识别技术领域,尤其涉及一种条码识别引擎及其降低功耗的控制方法。The invention relates to the field of bar code recognition technology, in particular to a bar code recognition engine and a control method thereof for reducing power consumption.

背景技术Background technique

随着条码应用及移动支付的普及,二维码识别已逐渐应用到社会的各个行业。目前,二维码识别通常采用影像式的识读方式,主流技术是通过CCD(电荷耦合元件,一种半导体器件)/CMOS(互补金属氧化物半导体,由电压控制的一种放大器件)配合合适的镜头来做光学成像,然后由后端的解码部分做图像识别。原始的成像质量对解码的效率至关重要,为获得更好的成像质量,通常会通过额外的补光来提升获得的成像质量。尤其是在暗光环境,为了保证识读的效果及景深,需要使用亮度高的补光来进行补偿,这样不可避免的会带来发热量和功耗的上升。例如,在长时间的高强度工作之后,环境温度较高,器件本身的发热量得不到良好传导的情况下,轻者会影响CCD/CMOS的成像质量,严重会导致器件损害并停止工作。With the popularity of bar code applications and mobile payments, QR code recognition has gradually been applied to various industries in society. At present, two-dimensional code recognition usually adopts image-based reading mode, and the mainstream technology is through CCD (Charge Coupled Device, a semiconductor device) / CMOS (Complementary Metal Oxide Semiconductor, an amplifier device controlled by voltage) The lens is used for optical imaging, and then the image recognition is performed by the decoded portion of the back end. The original image quality is critical to the efficiency of the decoding, and for better image quality, additional fill light is often used to improve the quality of the image obtained. Especially in the dark environment, in order to ensure the effect of reading and the depth of field, it is necessary to use the high-intensity fill light to compensate, which inevitably leads to an increase in heat generation and power consumption. For example, after a long period of high-intensity work, the ambient temperature is high, and the heat generated by the device itself is not well conducted, the light quality may affect the imaging quality of the CCD/CMOS, which may cause damage to the device and stop working.

发明内容Summary of the invention

针对上述技术问题,本发明实施例提供了一种条码识别引擎及其降低功耗的控制方法,以解决现有二维码识别长时间工作导致发热量和功耗的上升、影像成像质量的问题。In response to the above technical problem, an embodiment of the present invention provides a bar code recognition engine and a control method thereof for reducing power consumption, so as to solve the problem that the existing two-dimensional code recognition causes an increase in heat generation and power consumption and image imaging quality due to long-term work. .

本发明实施例提供一种条码识别引擎,包括光学成像单元、补光单元、瞄准单元、解码单元和引擎单片机;Embodiments of the present invention provide a barcode recognition engine, including an optical imaging unit, a fill light unit, a targeting unit, a decoding unit, and an engine single chip microcomputer;

所述解码单元触发解码时,所述光学成像单元采集光信号并转换为图像数据后传输至解码单元解码;光学成像单元根据其内部生成的帧周期信号和引擎单片机输出的电源控制信号控制补光单元的供电状态;光学成像单元在帧周期信号的其曝光时间控制补光单元打开补光,在帧周期信号的采样时间控制补光单元关闭;所述补光单元打开时为光学成像单元做补光增强,瞄准单元用于瞄准指示。When the decoding unit triggers decoding, the optical imaging unit collects the optical signal and converts it into image data and transmits it to the decoding unit for decoding; the optical imaging unit controls the fill light according to the frame period signal generated internally and the power control signal output by the engine single chip. The power supply state of the unit; the optical imaging unit controls the fill light unit to turn on the fill light at the exposure time of the frame period signal, and controls the fill light unit to be turned off at the sampling time of the frame period signal; and complements the optical imaging unit when the fill light unit is turned on Light enhancement, the aiming unit is used for aiming instructions.

可选地,所述的条码识别引擎中,所述光学成像单元包括镜头、CMOS图像传感器、补光控制电路和MIPI接口芯片;所述补光单元包括补光灯;Optionally, in the barcode recognition engine, the optical imaging unit includes a lens, a CMOS image sensor, a fill light control circuit, and an MIPI interface chip; and the fill light unit includes a fill light;

所述CMOS图像传感器将镜头采集的光学信号转化为电信号,通过模拟转化转化为图像数据并输出;The CMOS image sensor converts an optical signal collected by the lens into an electrical signal, converts it into image data through analog conversion, and outputs the image;

CMOS图像传感器输出成像的帧周期信号,补光控制电路根据所述帧周期信号和所述电源控制信号的高低电平组合来控制补光单元的供电状态;补光控制电路在各帧周期信号的曝光时间控制补光单元打开补光,在各帧周期信号的采样时间控制补光单元关闭补光;The CMOS image sensor outputs the image frame period signal, and the fill light control circuit controls the power supply state of the fill light unit according to the combination of the frame period signal and the high and low level of the power control signal; the signal of the fill light control circuit in each frame period The exposure time controls the fill light unit to turn on the fill light, and controls the fill light unit to turn off the fill light at the sampling time of each frame period signal;

CMOS图像传感器在采样时间采集并输出图像数据、经MIPI接口芯片格式转化后传输给解码单元做解码处理。The CMOS image sensor collects and outputs image data at the sampling time, is converted by the MIPI interface chip format, and then transmitted to the decoding unit for decoding processing.

可选地,所述的条码识别引擎中,,所述补光控制电路包括第一三极管、第二三极管、第三三极管、第一电阻和第二电阻;Optionally, in the barcode recognition engine, the fill light control circuit includes a first triode, a second triode, a third triode, a first resistor and a second resistor;

所述第一三极管的基极连接引擎单片机,第一三极管的发射极连接电源端,第一三极管的集电极连接补光灯的正极和第二三极管的发射极,第二三极管的基极连接第一电阻的一端和CMOS图像传感器的帧曝光输出脚,第一电阻的另一端连接电源端,第二三极管的集电极连接第三三极管的基极,第三三极管的集电极连接补光灯的负极,第三三极管的发射极通过第二电阻接地。The base of the first triode is connected to the single-chip microcomputer, the emitter of the first triode is connected to the power supply end, and the collector of the first triode is connected to the anode of the fill lamp and the emitter of the second triode, The base of the second triode is connected to one end of the first resistor and the frame exposure output pin of the CMOS image sensor, the other end of the first resistor is connected to the power supply end, and the collector of the second triode is connected to the base of the third triode The collector of the third transistor is connected to the cathode of the fill lamp, and the emitter of the third transistor is grounded through the second resistor.

可选地,所述的条码识别引擎中,所述第一三极管和第二三极管为PNP型三极管,第三三极管为NPN型三极管。Optionally, in the barcode recognition engine, the first triode and the second triode are PNP type triodes, and the third triode is an NPN type triode.

可选地,所述的条码识别引擎中,所述补光控制电路还包括第一电容,所述第一 电容的一端连接电源端和第一三极管的发射极,第一电容的另一端接地。Optionally, in the barcode recognition engine, the fill light control circuit further includes a first capacitor, one end of the first capacitor is connected to the power terminal and the emitter of the first transistor, and the other end of the first capacitor Ground.

可选地,所述的条码识别引擎中,所述补光控制电路还包括第三电阻和第四电阻;Optionally, in the barcode recognition engine, the fill light control circuit further includes a third resistor and a fourth resistor;

所述第三电阻的一端连接第二三极管的基极,第三电阻的另一端连接第一电阻的一端和CMOS图像传感器的帧曝光输出脚,第四电阻的一端连接第二三极管的集电极,第四电阻的另一端连接第三三极管基极。One end of the third resistor is connected to the base of the second transistor, and the other end of the third resistor is connected to one end of the first resistor and the frame exposure output pin of the CMOS image sensor, and one end of the fourth resistor is connected to the second transistor The collector, the other end of the fourth resistor is connected to the base of the third transistor.

本发明实施例第二方面提供了一种采用所述的条码识别引擎的降低功耗的控制方法,包括:A second aspect of the embodiments of the present invention provides a control method for reducing power consumption by using the barcode recognition engine, including:

步骤A、解码单元触发解码时,所述光学成像单元采集光信号并转换为图像数据后传输至解码单元解码;Step A: When the decoding unit triggers decoding, the optical imaging unit collects the optical signal and converts it into image data, and then transmits the data to the decoding unit for decoding;

步骤B、光学成像单元根据其内部生成的帧周期信号和引擎单片机输出的电源控制信号控制补光单元的供电状态;在所述帧周期信号的曝光时间控制补光单元打开补光,在帧周期信号的采样时间控制补光单元关闭;Step B: The optical imaging unit controls the power supply state of the fill light unit according to the frame period signal generated by the internal frame and the power control signal output by the engine single chip; and controls the fill light unit to open the fill light during the exposure time of the frame period signal, in the frame period. The sampling time of the signal controls the fill light unit to be turned off;

步骤C、所述补光单元打开时为光学成像单元做补光增强,瞄准单元用于瞄准指示。Step C: When the fill light unit is turned on, the optical imaging unit is supplemented with light, and the aiming unit is used for aiming indication.

可选地,所述的条码识别引擎的降低功耗的控制方法中,所述步骤B包括:Optionally, in the method for controlling power consumption of the barcode recognition engine, the step B includes:

步骤B1、光学成像单元的补光控制电路根据所述帧周期信号和所述电源控制信号的高低电平组合来控制补光单元的供电状态;Step B1, the fill light control circuit of the optical imaging unit controls the power supply state of the fill light unit according to the combination of the frame period signal and the high and low level of the power control signal;

步骤B2、所述补光控制电路在各帧周期信号的曝光时间控制补光单元打开补光,在各帧周期信号的采样时间控制补光单元关闭补光。Step B2: The fill light control circuit controls the fill light unit to turn on the fill light at the exposure time of each frame period signal, and controls the fill light unit to turn off the fill light at the sampling time of each frame period signal.

本发明实施例提供的技术方案中,所述条码识别引擎包括光学成像单元、补光单元、瞄准单元、解码单元和引擎单片机;所述解码单元触发解码时,所述光学成像单元采集光信号并转换为图像数据后传输至解码单元解码;光学成像单元根据其内部生成的帧周期信号和引擎单片机输出的电源控制信号控制补光单元的供电状态;光学成像单元在帧周期信号的曝光时间控制补光单元打开补光,在帧周期信号的采样时间控制补光单元关闭;所述补光单元打开时为光学成像单元做补光增强,瞄准单元用于瞄准指示。通 过曝光时间来同步调节补光时长,周期性且有规律的开关补光,实现低功耗、低温度的同时且不影响图像成像的质量,使成像更加稳定。In the technical solution provided by the embodiment of the present invention, the barcode recognition engine includes an optical imaging unit, a fill light unit, a aiming unit, a decoding unit, and an engine single chip. When the decoding unit triggers decoding, the optical imaging unit collects an optical signal and After being converted into image data, the image is transmitted to the decoding unit for decoding; the optical imaging unit controls the power supply state of the light-compensating unit according to the frame period signal generated internally and the power control signal output by the engine single-chip microcomputer; the optical imaging unit controls the exposure time of the frame period signal. The light unit turns on the fill light, and controls the fill light unit to be turned off at the sampling time of the frame period signal; when the fill light unit is turned on, the optical imaging unit is supplemented with light, and the aiming unit is used for the aiming indication. The exposure time is used to synchronously adjust the fill light duration, and the periodic and regular switch fill light, achieving low power consumption and low temperature without affecting the quality of image imaging, and making the imaging more stable.

附图说明DRAWINGS

图1为本发明实施例中条码识别引擎的结构示意图。FIG. 1 is a schematic structural diagram of a barcode recognition engine according to an embodiment of the present invention.

图2为本发明实施例中条码识别引擎的结构框图。2 is a structural block diagram of a barcode recognition engine in an embodiment of the present invention.

图3为本发明实施例中光学成像单元的结构框图。FIG. 3 is a structural block diagram of an optical imaging unit according to an embodiment of the present invention.

图4为本发明实施例中CMOS成像周期和补光周期的时序图。4 is a timing diagram of a CMOS imaging period and a fill period in an embodiment of the present invention.

图5为本发明实施例中补光控制电路的电路图。Figure 5 is a circuit diagram of a fill light control circuit in accordance with an embodiment of the present invention.

图6为本发明实施例中条码识别引擎的降低功耗的控制方法流程图。FIG. 6 is a flowchart of a method for controlling power consumption of a bar code recognition engine according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art without creative efforts are within the scope of the present invention.

请同时参阅图1、图2和图3,所述条码识别引擎包括光学成像单元1、补光单元2(在光学成像单元1的左右两侧各设置1个补光灯,即21、22)、瞄准单元3、解码单元4和引擎单片机5。在解码单元4触发解码时,所述光学成像单元1采集光信号并转换为图像数据后传输至解码单元4解码。所述补光单元被点亮,用于为光学成像单元1内部的传感器做补光增强,以便条码识别引擎能够应用于弱光环境。瞄准单元3用于瞄准指示,用户 使用解码时起到指引作用。这些器件的发热量及功耗的主要来源为补光单元。以补光灯(图3以D代表两个补光灯,对应图1中的21、22)为例,其瞬时功耗接近0.5W,占整个光学器件的功耗比>50%,也是主要的发热源。此为,本实施例利用CMOS图像传感器的成像周期的原理(需要通过周期性的曝光来不断成像),光学成像单元1根据其内部生成的帧周期信号和引擎单片机5输出的电源控制信号POWER控制补光单元2的供电状态;光学成像单元1在帧周期信号的曝光时间控制补光单元打开补光,在帧周期信号的采样时间控制补光单元关闭。相对于现有一直打开补光的方式,本实施例通过曝光时间来同步调节补光时长,周期性且有规律的开关补光,实现低功耗、低温度的同时且不影响图像成像的质量,使成像更加稳定。Please refer to FIG. 1 , FIG. 2 and FIG. 3 simultaneously. The barcode recognition engine includes an optical imaging unit 1 and a fill light unit 2 (one fill light is arranged on each of the left and right sides of the optical imaging unit 1 , that is, 21 and 22). , targeting unit 3, decoding unit 4 and engine microcontroller 5. When the decoding unit 4 triggers decoding, the optical imaging unit 1 collects the optical signal and converts it into image data and transmits it to the decoding unit 4 for decoding. The fill light unit is illuminated for supplemental enhancement of the sensor inside the optical imaging unit 1 so that the barcode recognition engine can be applied to a low light environment. The aiming unit 3 is used for aiming instructions, and the user plays a guiding role when using decoding. The main source of heat and power consumption of these devices is the fill light unit. Take the fill light (Figure 3 with D for two fill lights, corresponding to 21, 22 in Figure 1) as an example, its instantaneous power consumption is close to 0.5W, accounting for >50% of the total optical device power consumption. The source of fever. Therefore, the present embodiment utilizes the principle of the imaging period of the CMOS image sensor (which needs to be continuously imaged by periodic exposure), and the optical imaging unit 1 controls the frame period signal generated by the internal unit and the power supply control signal POWER outputted by the engine unit 5 The power supply state of the fill light unit 2; the optical imaging unit 1 controls the fill light unit to turn on the fill light at the exposure time of the frame period signal, and controls the fill light unit to turn off at the sampling time of the frame period signal. Compared with the existing method of always opening the fill light, the embodiment synchronously adjusts the fill light duration by the exposure time, and periodically and regularly switches the fill light to achieve low power consumption and low temperature without affecting the quality of image imaging. To make imaging more stable.

所述光学成像单元1包括镜头11、CMOS图像传感器12、补光控制电路13和MIPI(Mobile Industry Processor Interface,移动产业处理器接口)接口芯片14。所述补光单元包括补光灯。所述CMOS图像传感器12将镜头11采集的光信号转化为电信号,通过内部的模拟电路和数字电路将所述电信号转换为对应的图像数据并输出。CMOS图像传感器12输出成像的帧周期信号Strobe;补光控制电路13根据所述帧周期信号和所述电源控制信号的高低电平组合来控制补光单元的供电状态,在各帧周期信号的曝光时间控制补光灯打开补光,在各帧周期信号的采样时间(即停止曝光开始采集图像数据时)控制补光灯关闭补光。CMOS图像传感器12在采样时间采集并输出图像数据Data、经MIPI接口芯片14格式转化后传输给后端的解码单元4做解码处理。The optical imaging unit 1 includes a lens 11, a CMOS image sensor 12, a fill light control circuit 13, and an MIPI (Mobile Industry Processor Interface) interface chip 14. The fill light unit includes a fill light. The CMOS image sensor 12 converts the optical signal collected by the lens 11 into an electrical signal, and converts the electrical signal into corresponding image data through an internal analog circuit and a digital circuit and outputs the same. The CMOS image sensor 12 outputs the imaged frame period signal Strobe; the fill light control circuit 13 controls the power supply state of the fill light unit according to the combination of the frame period signal and the high and low level of the power supply control signal, and the exposure of the signal in each frame period The time control fill light turns on the fill light, and controls the fill light to turn off the fill light during the sampling time of each frame period signal (that is, when the image data is stopped when the exposure is stopped). The CMOS image sensor 12 collects and outputs the image data Data at the sampling time, is converted by the MIPI interface chip 14, and is transmitted to the decoding unit 4 of the back end for decoding processing.

需要理解的是,所述CMOS图像传感器12通过电源VIN_3V3供电,与解码单元4进行I2C通信,输出的时序控制信号Timing(其中包括帧周期信号Strobe和场同步信号Vsync)给MIPI接口芯片14。此为现有技术,此处不作详述。It should be understood that the CMOS image sensor 12 is powered by the power source VIN_3V3, performs I2C communication with the decoding unit 4, and outputs a timing control signal Timing (including the frame period signal Strobe and the field sync signal Vsync) to the MIPI interface chip 14. This is prior art and will not be described in detail herein.

CMOS成像周期CIC和补光周期FLC的时序如图4所示。CMOS图像传感器12中,一个帧周期信号T包括曝光时间N和采样时间S,所述曝光时间即CMOS图像传感器12接收电信号并转换为图像数据的时间,采样时间S(非曝光时间)为CMOS图像传感器对图像数据的采集和传输时间。所述曝光时间的起始时刻为t1,曝光结束的时间为t2,则补光持续的时间为Δt(Δt的时间等于曝光时间N)。本实施例通过在曝光时间N打开补光,持续Δt,在采样时间关闭补光,持续的周期性的补光更能有效的节省功耗,降低发光器件的热量,提高各器件的使用寿命。The timing of the CMOS imaging period CIC and the fill period FLC is as shown in FIG. In the CMOS image sensor 12, one frame period signal T includes an exposure time N and a sampling time S, which is a time at which the CMOS image sensor 12 receives an electric signal and converts it into image data, and the sampling time S (non-exposure time) is CMOS. The time at which the image sensor collects and transmits image data. The start time of the exposure time is t1, and the time at which the exposure ends is t2, and the time during which the fill light continues is Δt (the time of Δt is equal to the exposure time N). In this embodiment, the fill light is turned on at the exposure time N for Δt, and the fill light is turned off at the sampling time. The continuous periodic fill light can effectively save power consumption, reduce the heat of the light emitting device, and improve the service life of each device.

请一并参阅图5,所述补光控制电路13包括第一三极管Q1、第二三极管Q2、第三三极管Q3、第一电阻R1和第二电阻R2;所述第一三极管Q1的基极连接引擎单片机,第一三极管Q1的发射极连接电源端VCC,第一三极管Q1的集电极连接两个补光灯D(此处以D代表两个补光灯)的正极和第二三极管Q2的发射极,第二三极管Q2的基极连接第一电阻R1的一端和CMOS图像传感器12的帧曝光输出脚,第一电阻R1的另一端连接电源端VCC,第二三极管Q2的集电极连接第三三极管Q3的基极,第三三极管Q3的集电极连接两个补光灯D的负极,第三三极管Q3的发射极通过第二电阻R2接地。Referring to FIG. 5 together, the fill light control circuit 13 includes a first transistor Q1, a second transistor Q2, a third transistor Q3, a first resistor R1 and a second resistor R2; The base of the transistor Q1 is connected to the engine MCU, the emitter of the first transistor Q1 is connected to the power supply terminal VCC, and the collector of the first transistor Q1 is connected to two fill lamps D (here, D represents two fill lights The anode of the lamp) and the emitter of the second transistor Q2, the base of the second transistor Q2 is connected to one end of the first resistor R1 and the frame exposure output pin of the CMOS image sensor 12, and the other end of the first resistor R1 is connected The power terminal VCC, the collector of the second transistor Q2 is connected to the base of the third transistor Q3, the collector of the third transistor Q3 is connected to the cathode of the two fill lamps D, and the third transistor Q3 is The emitter is grounded through a second resistor R2.

其中,第一三极管Q1和第二三极管Q2为PNP型三极管,第三三极管Q3为NPN型三极管。条码识别引擎的引擎单片机控制激光器电源开关的控制引脚输出电源控制信号POWER,其为低电平时打开第一三极管Q1,为高电平时关闭第一三极管Q1。CMOS图像传感器12的帧曝光输出指示引脚输出帧周期信号Strobe,其为低电平时打开第二三极管Q2,为高电平时关闭第二三极管Q2。第三三极管Q3的基极输出高电平时导通,低电平则截止。The first triode Q1 and the second triode Q2 are PNP type triodes, and the third triode Q3 is an NPN type triode. The engine of the bar code recognition engine controls the control pin of the laser power switch to output the power control signal POWER. When it is low, the first transistor Q1 is turned on, and when it is high, the first transistor Q1 is turned off. The frame exposure output of the CMOS image sensor 12 indicates that the pin outputs a frame period signal Strobe, which turns on the second transistor Q2 when it is at a low level and turns off the second transistor Q2 when it is at a high level. When the base of the third transistor Q3 outputs a high level, it is turned on, and the low level is turned off.

所述条码识别引擎工作时,电源控制信号POWER持续为低电平,打开第一三极管Q1。第二三极管Q2由帧周期信号Strobe的高低电平进行同步开关。具体为:帧周期信号Strobe为低电平时打开第二三极管Q2,此时第三三极管Q3的基极输入高电平而导通,控制补光灯D点亮;帧周期信号Strobe为高电平时关闭第二三极管Q2,第三三极管Q3关闭从而控制补光灯D熄灭。这样即可实现补光灯的周期性且精准的亮灭,达到降低功耗,降低器件发热的目的。When the barcode recognition engine is in operation, the power control signal POWER continues to be low, and the first transistor Q1 is turned on. The second transistor Q2 is synchronously switched by the high and low levels of the frame period signal Strobe. Specifically, when the frame period signal Strobe is low level, the second transistor Q2 is turned on. At this time, the base of the third transistor Q3 is input to a high level and is turned on, and the fill light D is controlled to be lit; the frame period signal Strobe When the level is high, the second transistor Q2 is turned off, and the third transistor Q3 is turned off to control the fill light D to be extinguished. In this way, the periodic and precise illumination of the fill light can be achieved, thereby reducing power consumption and reducing heat generation of the device.

优选地,所述补光控制电路13还包括第一电容C1,所述第一电容C1的一端连接电源端VCC和第一三极管Q1的发射极,第一电容C1的另一端接地;通过第一电容滤波去噪使输入补光灯的电源电压更加稳定,补光灯的补光效果更佳。Preferably, the fill control circuit 13 further includes a first capacitor C1, one end of the first capacitor C1 is connected to the power terminal VCC and the emitter of the first transistor Q1, and the other end of the first capacitor C1 is grounded; The first capacitor filtering denoising makes the power supply voltage of the input fill light more stable, and the fill light effect of the fill light is better.

优选地,所述补光控制电路13还包括第三电阻R3和第四电阻R4;所述第三电阻R3的一端连接第二三极管Q2的基极,第三电阻R3的另一端连接第一电阻R1的一端和CMOS图像传感器的帧曝光输出脚,第四电阻R4的一端连接第二三极管Q2的集电极,第四电阻R4的另一端连接第三三极管Q3基极。通过第三电阻R3的限流可保护第二三极管Q2,第四电阻R4的限流可保护第三三极管Q3。Preferably, the fill control circuit 13 further includes a third resistor R3 and a fourth resistor R4; one end of the third resistor R3 is connected to the base of the second transistor Q2, and the other end of the third resistor R3 is connected. One end of a resistor R1 and a frame exposure output pin of the CMOS image sensor, one end of the fourth resistor R4 is connected to the collector of the second transistor Q2, and the other end of the fourth resistor R4 is connected to the base of the third transistor Q3. The second transistor Q2 is protected by the current limit of the third resistor R3, and the current limit of the fourth resistor R4 protects the third transistor Q3.

优选地,所述补光灯采用LED,可以高频的周期性的亮灭,可靠地满足长时间周期 亮灭的需求。实测在亮度保证成像的同时,功耗得到有效的降低。Preferably, the fill light adopts an LED, which can be periodically extinguished at a high frequency, and reliably meets the requirement of long-term cycle lighting. The measured power is effectively reduced while the brightness is guaranteed to be imaged.

基于上述的条码识别引擎,本发明还提供一种条码识别引擎的降低功耗的控制方法,请参阅图6,所述降低功耗的控制方法包括:Based on the bar code recognition engine described above, the present invention further provides a bar code recognition engine for reducing power consumption. Referring to FIG. 6, the method for controlling power consumption reduction includes:

S10、解码单元触发解码时,所述光学成像单元采集光信号并转换为图像数据后传输至解码单元解码;S10. When the decoding unit triggers decoding, the optical imaging unit collects the optical signal and converts it into image data, and then transmits the image to the decoding unit for decoding.

S20、光学成像单元根据其内部生成的帧周期信号和引擎单片机输出的电源控制信号控制补光单元的供电状态;在所述帧周期信号的曝光时间控制补光单元打开补光,在帧周期信号的采样时间控制补光单元关闭;S20. The optical imaging unit controls the power supply state of the light-filling unit according to the frame period signal generated by the internal frame and the power control signal output by the engine single-chip microcomputer; and controls the light-filling unit to turn on the fill light during the exposure time of the frame period signal, and the frame period signal is The sampling time controls the fill light unit to be turned off;

S30、所述补光单元打开时为光学成像单元做补光增强,瞄准单元用于瞄准指示。S30. When the fill light unit is turned on, the optical imaging unit is supplemented with light, and the aiming unit is used for aiming indication.

其中,所述步骤S20包括:The step S20 includes:

步骤21、光学成像单元的补光控制电路根据所述帧周期信号和所述电源控制信号的高低电平组合来控制补光单元的供电状态;Step 21: The fill light control circuit of the optical imaging unit controls the power supply state of the fill light unit according to the combination of the frame period signal and the high and low level of the power control signal;

步骤22、所述补光控制电路在各帧周期信号的曝光时间控制补光单元打开补光,在各帧周期信号的采样时间控制补光单元关闭补光。Step 22: The fill light control circuit controls the fill light unit to turn on the fill light at the exposure time of each frame period signal, and controls the fill light unit to turn off the fill light at the sampling time of each frame period signal.

综上所述,本发明提供一种条码识别引擎及其降低功耗的控制方法,适用于所有通过光学成像来进行条码识别的嵌入式设备。通过获取CMOS图像传感器的曝光和采样的帧周期信号,在曝光时间打开补光,在采样时间关闭补光,周期性的补光在保证补光补偿效果的同时,大大降低了补光灯的功耗和发热量,降低幅度实测达到30%-50%左右,减轻因补光灯发热对CCD/CMOS的成像影响;同时也间接延长了器件的使用寿命,更能有效的节省功耗,具有低功耗、低成本、能够保证识读引擎长期稳定工作的优点。解决了现有市面上的工业扫描引擎长时间工作不可避免会带来功耗和发热量的增加的问题。In summary, the present invention provides a barcode recognition engine and a control method for reducing power consumption, which are applicable to all embedded devices for barcode recognition by optical imaging. By obtaining the frame period signal of the exposure and sampling of the CMOS image sensor, the fill light is turned on at the exposure time, and the fill light is turned off at the sampling time, and the periodic fill light greatly reduces the work of the fill light while ensuring the compensation effect of the fill light. Consumption and heat generation, the measured range is reduced by 30%-50%, reducing the imaging effect of CCD/CMOS due to the fill light heating; at the same time, it also indirectly prolongs the service life of the device, and can effectively save power consumption, with low Power consumption, low cost, and the ability to ensure long-term stable operation of the reading engine. It solves the problem that the long-term work of the industrial scanning engine on the market inevitably leads to an increase in power consumption and heat generation.

以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改 或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that The technical solutions are described as being modified, or equivalent to some of the technical features, and the modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

一种条码识别引擎,其特征在于,包括光学成像单元、补光单元、瞄准单元、解码单元和引擎单片机;A barcode recognition engine, comprising: an optical imaging unit, a fill light unit, a aiming unit, a decoding unit, and an engine single chip; 所述解码单元触发解码时,所述光学成像单元采集光信号并转换为图像数据后传输至解码单元解码;光学成像单元根据其内部生成的帧周期信号和引擎单片机输出的电源控制信号控制补光单元的供电状态;光学成像单元在帧周期信号的曝光时间控制补光单元打开补光,在帧周期信号的采样时间控制补光单元关闭;所述补光单元打开时为光学成像单元做补光增强,瞄准单元用于瞄准指示。When the decoding unit triggers decoding, the optical imaging unit collects the optical signal and converts it into image data and transmits it to the decoding unit for decoding; the optical imaging unit controls the fill light according to the frame period signal generated internally and the power control signal output by the engine single chip. The power supply state of the unit; the optical imaging unit controls the fill light unit to turn on the fill light at the exposure time of the frame period signal, and controls the fill light unit to be turned off at the sampling time of the frame period signal; and fills the optical imaging unit when the fill light unit is turned on Enhanced, the aiming unit is used for aiming instructions. 根据权利要求1所述的条码识别引擎,其特征在于,所述光学成像单元包括镜头、CMOS图像传感器、补光控制电路和MIPI接口芯片;所述补光单元包括补光灯;The bar code recognition engine according to claim 1, wherein the optical imaging unit comprises a lens, a CMOS image sensor, a fill light control circuit, and an MIPI interface chip; and the fill light unit comprises a fill light; 所述CMOS图像传感器将镜头采集的光信号转化为电信号,通过模拟转化为图像数据并输出;The CMOS image sensor converts the optical signal collected by the lens into an electrical signal, which is converted into image data by simulation and output; CMOS图像传感器输出成像的帧周期信号,补光控制电路根据所述帧周期信号和所述电源控制信号的高低电平组合来控制补光单元的供电状态;补光控制电路在各帧周期信号的曝光时间控制补光单元打开补光,在各帧周期信号的采样时间控制补光单元关闭补光;The CMOS image sensor outputs the image frame period signal, and the fill light control circuit controls the power supply state of the fill light unit according to the combination of the frame period signal and the high and low level of the power control signal; the signal of the fill light control circuit in each frame period The exposure time controls the fill light unit to turn on the fill light, and controls the fill light unit to turn off the fill light at the sampling time of each frame period signal; CMOS图像传感器在采样时间采集并输出图像数据、经MIPI接口芯片格式转化后传输给解码单元做解码处理。The CMOS image sensor collects and outputs image data at the sampling time, is converted by the MIPI interface chip format, and then transmitted to the decoding unit for decoding processing. 根据权利要求2所述的条码识别引擎,其特征在于,所述补光控制电路包括第一三极管、第二三极管、第三三极管、第一电阻和第二电阻;The bar code recognition engine according to claim 2, wherein the fill light control circuit comprises a first triode, a second triode, a third triode, a first resistor and a second resistor; 所述第一三极管的基极连接引擎单片机,第一三极管的发射极连接电源端,第一三极管的集电极连接补光灯的正极和第二三极管的发射极,第二三极管的基极连接第一电阻的一端和CMOS图像传感器的帧曝光输出脚,第一电阻的另一端连接电源端,第二三极管的集电极连接第三三极管的基极,第三三极管的集电极连接补光灯的负极,第三三极管的发射极通过第二电阻接地。The base of the first triode is connected to the single-chip microcomputer, the emitter of the first triode is connected to the power supply end, and the collector of the first triode is connected to the anode of the fill lamp and the emitter of the second triode, The base of the second triode is connected to one end of the first resistor and the frame exposure output pin of the CMOS image sensor, the other end of the first resistor is connected to the power supply end, and the collector of the second triode is connected to the base of the third triode The collector of the third transistor is connected to the cathode of the fill lamp, and the emitter of the third transistor is grounded through the second resistor. 根据权利要求3所述的条码识别引擎,其特征在于,所述第一三极管和第二三 极管为PNP型三极管,第三三极管为NPN型三极管。The bar code recognition engine according to claim 3, wherein said first triode and said second triode are PNP type triodes, and said third triode is an NPN type triode. 根据权利要求3所述的条码识别引擎,其特征在于,所述补光控制电路还包括第一电容,所述第一电容的一端连接电源端和第一三极管的发射极,第一电容的另一端接地。The bar code recognition engine according to claim 3, wherein the fill light control circuit further comprises a first capacitor, one end of the first capacitor is connected to the power terminal and the emitter of the first transistor, and the first capacitor The other end is grounded. 根据权利要求4或5所述的条码识别引擎,其特征在于,所述补光控制电路还包括第三电阻和第四电阻;The barcode recognition engine according to claim 4 or 5, wherein the fill light control circuit further comprises a third resistor and a fourth resistor; 所述第三电阻的一端连接第二三极管的基极,第三电阻的另一端连接第一电阻的一端和CMOS图像传感器的帧曝光输出脚,第四电阻的一端连接第二三极管的集电极,第四电阻的另一端连接第三三极管基极。One end of the third resistor is connected to the base of the second transistor, and the other end of the third resistor is connected to one end of the first resistor and the frame exposure output pin of the CMOS image sensor, and one end of the fourth resistor is connected to the second transistor The collector, the other end of the fourth resistor is connected to the base of the third transistor. 一种采用权利要求1所述的条码识别引擎的降低功耗的控制方法,其特征在于,包括:A method for controlling power consumption reduction using the barcode recognition engine of claim 1 , comprising: 步骤A、解码单元触发解码时,所述光学成像单元采集光信号并转换为图像数据后传输至解码单元解码;Step A: When the decoding unit triggers decoding, the optical imaging unit collects the optical signal and converts it into image data, and then transmits the data to the decoding unit for decoding; 步骤B、光学成像单元根据其内部生成的帧周期信号和引擎单片机输出的电源控制信号控制补光单元的供电状态;在所述帧周期信号的曝光时间控制补光单元打开补光,在帧周期信号的采样时间控制补光单元关闭;Step B: The optical imaging unit controls the power supply state of the fill light unit according to the frame period signal generated by the internal frame and the power control signal output by the engine single chip; and controls the fill light unit to open the fill light during the exposure time of the frame period signal, in the frame period. The sampling time of the signal controls the fill light unit to be turned off; 步骤C、所述补光单元打开时为光学成像单元做补光增强,瞄准单元用于瞄准指示。Step C: When the fill light unit is turned on, the optical imaging unit is supplemented with light, and the aiming unit is used for aiming indication. 根据权利要求7所述的条码识别引擎的降低功耗的控制方法,其特征在于,所述步骤B包括:The method for controlling power consumption of a bar code recognition engine according to claim 7, wherein the step B comprises: 步骤B1、光学成像单元的补光控制电路根据所述帧周期信号和所述电源控制信号的高低电平组合来控制补光单元的供电状态;Step B1, the fill light control circuit of the optical imaging unit controls the power supply state of the fill light unit according to the combination of the frame period signal and the high and low level of the power control signal; 步骤B2、所述补光控制电路在各帧周期信号的曝光时间控制补光单元打开补光,在各帧周期信号的采样时间控制补光单元关闭补光。Step B2: The fill light control circuit controls the fill light unit to turn on the fill light at the exposure time of each frame period signal, and controls the fill light unit to turn off the fill light at the sampling time of each frame period signal.
PCT/CN2018/077953 2018-03-04 2018-03-04 Barcode recognition engine and power consumption reduction control method therefor Ceased WO2019169515A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/077953 WO2019169515A1 (en) 2018-03-04 2018-03-04 Barcode recognition engine and power consumption reduction control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/077953 WO2019169515A1 (en) 2018-03-04 2018-03-04 Barcode recognition engine and power consumption reduction control method therefor

Publications (1)

Publication Number Publication Date
WO2019169515A1 true WO2019169515A1 (en) 2019-09-12

Family

ID=67845826

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/077953 Ceased WO2019169515A1 (en) 2018-03-04 2018-03-04 Barcode recognition engine and power consumption reduction control method therefor

Country Status (1)

Country Link
WO (1) WO2019169515A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119167959A (en) * 2024-11-25 2024-12-20 洛阳安和压力容器制造有限公司 A steel cylinder three-code information online identification system and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2898950Y (en) * 2005-11-01 2007-05-09 深圳鼎识科技有限公司 Data collector for distinguished bar-type symbol or encoded graph
US20070199996A1 (en) * 2006-02-28 2007-08-30 Symbol Technologies, Inc Ambient light shield and color filter for imaging-based bar code reader
CN102932603A (en) * 2012-08-16 2013-02-13 浙江宇视科技有限公司 Light supplementation control method and camera
CN202948454U (en) * 2012-11-21 2013-05-22 厦门安捷物联网络科技有限公司 Graphical barcode reading device
CN104598862A (en) * 2015-01-04 2015-05-06 江苏智联天地科技有限公司 Miniature embedded code scanning system and method for mobile intelligent terminal
CN104866798A (en) * 2015-05-21 2015-08-26 福建新大陆电脑股份有限公司 Bar-code identifying and reading engine for obtaining image data
CN107463173A (en) * 2017-07-31 2017-12-12 广州维绅科技有限公司 AGV air navigation aids of storing in a warehouse and device, computer equipment and storage medium
CN108416239A (en) * 2018-01-31 2018-08-17 深圳盈达信息科技有限公司 A kind of bar code identifies the control method of engine and its reduction power consumption

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2898950Y (en) * 2005-11-01 2007-05-09 深圳鼎识科技有限公司 Data collector for distinguished bar-type symbol or encoded graph
US20070199996A1 (en) * 2006-02-28 2007-08-30 Symbol Technologies, Inc Ambient light shield and color filter for imaging-based bar code reader
CN102932603A (en) * 2012-08-16 2013-02-13 浙江宇视科技有限公司 Light supplementation control method and camera
CN202948454U (en) * 2012-11-21 2013-05-22 厦门安捷物联网络科技有限公司 Graphical barcode reading device
CN104598862A (en) * 2015-01-04 2015-05-06 江苏智联天地科技有限公司 Miniature embedded code scanning system and method for mobile intelligent terminal
CN104866798A (en) * 2015-05-21 2015-08-26 福建新大陆电脑股份有限公司 Bar-code identifying and reading engine for obtaining image data
CN107463173A (en) * 2017-07-31 2017-12-12 广州维绅科技有限公司 AGV air navigation aids of storing in a warehouse and device, computer equipment and storage medium
CN108416239A (en) * 2018-01-31 2018-08-17 深圳盈达信息科技有限公司 A kind of bar code identifies the control method of engine and its reduction power consumption

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119167959A (en) * 2024-11-25 2024-12-20 洛阳安和压力容器制造有限公司 A steel cylinder three-code information online identification system and equipment

Similar Documents

Publication Publication Date Title
CN108416239B (en) A barcode recognition engine and its control method for reducing power consumption
JP4829991B2 (en) Automatic dimming system
CN102932603A (en) Light supplementation control method and camera
CN114697561B (en) Method and device for automatic exposure control of image sensor through environment switching
CN104483806A (en) Method and device for facilitating user self-timing
CN113225870B (en) VR equipment positioning method and VR equipment
CN113114926B (en) Image processing method and device and camera
KR20160059983A (en) Method for controlling flash timing of extension flash module
CN111642038B (en) LED driver circuit and projector
SE0103286D0 (en) An optical sensor device and a method of controlling its exposure time
CN110333788B (en) Operating device, position detection system and control method for operating device
CN103986885B (en) A kind of infrared camera
TWI594192B (en) Optical information reader and illumination control method
WO2019169515A1 (en) Barcode recognition engine and power consumption reduction control method therefor
CN102879977B (en) Camera flash control method, control device and mobile terminal
CN106604484A (en) Intelligent energy-saving LED control system for LED lamp
WO2015154531A1 (en) Method and device for adjusting illumination brightness, illumination method and illumination device
TWI845170B (en) Brightness control device and brightness control method
US20110242503A1 (en) Projection Device and Projection Light Source Control Method Thereof
CN104580745A (en) Shooting light fill-in method and device of mobile terminal
CN104023180A (en) Camera, and illumination control circuit and infrared lamp control method thereof
CN201562073U (en) Miniature camera device with light source control
CN206136407U (en) Endoscope light source driving circuit and endoscope
CN106604488A (en) Intelligent energy-saving control system used for LED lamp
JP2004171346A (en) Optical information reader

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18909008

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/01/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18909008

Country of ref document: EP

Kind code of ref document: A1