Light supplement lamp control circuit of code scanning equipment
By combining a supercapacitor and a supplementary light control chip, the barcode scanning device achieves rapid response and efficient power supply, solving the problems of long charging and discharging time and current loss in existing technologies, and improving the device's working efficiency and lifespan.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2026-03-27
AI Technical Summary
The existing supplementary lighting control circuit has an excessively long charging and discharging response time, and the instantaneous large current causes circuit damage, affecting the lifespan and efficiency of the barcode scanning device.
The design employs a combination of supercapacitor and supplementary light control chip. Through CPU-controlled charging and discharging circuits, time-sharing control is achieved to ensure that the supercapacitor is pre-charged when the barcode scanner is not working and immediately supplies power when scanning, thus avoiding instantaneous high current loss.
It shortens the response time of the barcode scanning device, improves work efficiency, and extends the service life of the device.
Smart Images

Figure CN224054464U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to circuit technical field especially relates to a light supplementing lamp control circuit of code scanning equipment. BACKGROUND
[0002] Barcode scanning technology is an automatic identification technology that reads barcode information through optical equipment and converts it into digital data, widely used in retail, logistics, medical, manufacturing and other fields, and the light supplementing lamp, as an important part of the barcode scanning equipment, provides uniform and sufficient illumination, enhances the contrast of the barcode, so that the scanning equipment can capture the barcode image more clearly. But the light supplementing lamp usually needs to start quickly and work efficiently, especially in the business environment, the response speed and stability of the light supplementing lamp are crucial, most of the existing light supplementing lamp control circuits need to charge and discharge after the code scanning equipment is started, which lengthens the working response time delay of the light supplementing lamp, and the large current entering the circuit instantaneously also causes a certain degree of loss to the circuit, thereby reducing the service life of the code scanning equipment. SUMMARY
[0003] The utility model provides a light supplementing lamp control circuit of code scanning equipment to solve the problem of long charge and discharge response time of the light supplementing lamp control circuit in the prior art and the loss caused by the instantaneous large current to the circuit, realize pre-charging, timely response and improve the working efficiency of the code scanning equipment.
[0004] The utility model provides a light supplementing lamp control circuit of code scanning equipment, which comprises a power input end, a charging circuit, a super capacitor, a discharging circuit, a light supplementing lamp control chip, a CPU connection end, a camera module input end, a first light supplementing lamp input end and a second light supplementing lamp input end.
[0005] The power input end is connected with the super capacitor through the charging circuit, and the charging circuit is also connected with the camera module input end and the CPU connection end respectively.
[0006] The super capacitor is connected with the light supplementing lamp control chip through the discharging circuit, and the discharging circuit is also connected with the camera module input end.
[0007] The light supplementing lamp control chip has 12 pins, the A2, C2 and C3 pins of which are connected with the discharging circuit respectively, the D2 pin is suspended, the A3 and B3 pins are connected with the CPU connection end respectively, the B2 pin is connected with the camera module input end, the B1 pin is connected with the discharging circuit through the first inductor, the A1 and C1 pins are grounded respectively, the D3 pin is connected with the first light supplementing lamp input end, and the D1 pin is connected with the second light supplementing lamp input end.
[0008] The charging circuit comprises a first NMOS tube, a second NMOS tube, a first PMOS tube and a second PMOS tube.
[0009] The 1 pin of the first NMOS tube is connected with the camera module access end, the 2 pin of the first NMOS tube is grounded, the 3 pin of the first NMOS tube is connected with the 1 pin of the second NMOS tube, the 2 pin of the second NMOS tube is grounded, the 3 pin of the second NMOS tube is connected with the 1 pin of the first PMOS tube, the 2 pin of the first PMOS tube is connected with the power supply access end, the 3 pin of the first PMOS tube is connected with the 3 pin of the second PMOS tube, the 1 pin of the second PMOS tube is connected with the 3 pin of the second NMOS tube, the 2 pin of the second PMOS tube is connected with the positive pole of the super capacitor, and the negative pole of the super capacitor is grounded.
[0010] The 1 pin of the first NMOS tube is also connected with the CPU connection end through the thirteenth resistor; and the 1 pin of the first PMOS tube and the 1 pin of the second PMOS tube are also connected with the power supply access end through the third resistor.
[0011] The 3 pin of the first NMOS tube is also connected with the power supply access end through the fourth resistor.
[0012] The 3 pin of the first NMOS tube is also connected with the 1 pin of the second NMOS tube through the fifth resistor; and the 1 pin of the second NMOS tube is also grounded through the sixth resistor.
[0013] The discharge circuit comprises a third NMOS tube and a third PMOS tube.
[0014] The 1 pin of the third NMOS tube is connected with the camera module access end, the 2 pin of the third NMOS tube is grounded, and the 3 pin of the third NMOS tube is connected with the 1 pin of the third PMOS tube; the 2 pin of the third PMOS tube is connected with the positive pole of the super capacitor, and the 3 pin of the third PMOS tube is connected with the A2, C2 and C3 pins of the light supplementing lamp control chip.
[0015] The 3 pin of the third PMOS tube is also connected with the first inductor; and the 1 pin of the third PMOS tube is also connected with the positive pole of the super capacitor through the ninth resistor.
[0016] The seventh resistor is connected between the camera module access end and the 1 pin of the third NMOS tube.
[0017] The C3 pin of the light supplementing lamp control chip is connected with the 3 pin of the third PMOS tube through the tenth resistor, and the C2 pin is connected with the 3 pin of the third PMOS tube through the eleventh resistor.
[0018] The B2 pin of the light supplementing lamp control chip is also grounded through the twelfth resistor.
[0019] The light supplementing lamp control circuit of the code scanning equipment is provided with the combination of the CPU, the charging circuit, the super capacitor, the discharging circuit and the light supplementing lamp control chip, so that the charging and discharging time control of the light supplementing lamp control circuit is realized. When the camera module does not work, the IO1 control pin of the CPU is long-term set as a low voltage state, at this time, the charging circuit is long-term turned on, the power supply is pre-charged for the super capacitor through the power supply access end and the charging circuit, so that when the camera module starts to scan the bar code image, the super capacitor can immediately supply power to the light supplementing lamp control chip and the light supplementing lamp, and the response time of the code scanning equipment is shortened. When the camera module works, when the camera module starts to scan, the camera module access end is in a high voltage state, the charging circuit is turned on under the action of the IO1 control pin of the CPU, the discharging circuit is turned on and the light supplementing lamp control chip is turned on, the super capacitor immediately supplies power to the light supplementing lamp control chip and the light supplementing lamp; when the camera module finishes scanning, the camera module access end is in a low voltage state, the charging circuit still keeps the state of being turned on under the action of the IO1 control pin of the CPU, and the super capacitor is continuously charged, but the discharging circuit is disconnected and the light supplementing lamp control chip is turned off. The circuit controls the charging circuit to be long-term turned on through the IO1 control pin of the CPU, so that the super capacitor keeps a full power state when the code scanning equipment does not work, the loss of the circuit caused by the instantaneous large current when the code scanning equipment is turned on is avoided, the working delay of the light supplementing lamp from response to charging is shortened, and the working efficiency of the code scanning equipment is improved. BRIEF DESCRIPTION OF DRAWINGS
[0020] In order to more clearly illustrate the technical scheme of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without any creative effort.
[0021] Fig. 1 This is an electrical block diagram of the supplementary light control circuit of the barcode scanning device provided by this utility model;
[0022] Fig. 2 This is a schematic diagram of the supplementary light control circuit of the barcode scanning device provided by this utility model. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this utility model clearer, the technical solutions of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this utility model.
[0024] The following is combined Figs. 1-2 The present invention describes a supplementary light control circuit for a barcode scanning device, comprising: a power input terminal, a charging circuit, a supercapacitor C40, a discharging circuit, a supplementary light control chip U1, a CPU connection terminal, a camera module input terminal, a first supplementary light input terminal, and a second supplementary light input terminal.
[0025] The power input terminal is connected to the supercapacitor C40 via a charging circuit, which is also connected to the camera module input terminal and the CPU connection terminal.
[0026] The supercapacitor C40 is connected to the fill light control chip U1 through a discharge circuit, which is also connected to the camera module access terminal.
[0027] As the names suggest, the power input terminal mentioned above is used to connect to the power supply, the CPU connection terminal is used to connect to the CPU, the camera module input terminal is used to connect to the camera module, the first fill light input terminal is used to connect to the first fill light F1, and the second fill light input terminal is used to connect to the second fill light F2.
[0028] The model of the light supplementing lamp control chip U1 is LM3644, which has 12 pins, which are A1 (GND), A2 (IN), A3 (SDA), B1 (SW), B2 (STROBE), B3 (SCL), C1 (OUT), C2 (HWEN), C3 (TORCH / TEMP), D1 (LED2), D2 (TX), D3 (LED1) pins; the A2, C2 and C3 pins of the light supplementing lamp control chip U1 are connected with the discharge circuit respectively, the D2 pin is suspended, the A3 and B3 pins are connected with the CPU connection end respectively, the B2 pin is connected with the camera module access end, the B1 pin is connected with the discharge circuit through the first inductor L1, the A1 and C1 pins are grounded respectively, the D3 pin is connected with the first light supplementing lamp access end, and the D1 pin is connected with the second light supplementing lamp access end.
[0029] In the embodiment, the charging circuit comprises a first NMOS tube D1, a second NMOS tube D2, a first PMOS tube D3 and a second PMOS tube D4.
[0030] The 1 pin of the first NMOS tube D1 is connected with the camera module access end, the 2 pin of the first NMOS tube D1 is grounded, the 3 pin of the first NMOS tube D1 is connected with the 1 pin of the second NMOS tube D2, the 2 pin of the second NMOS tube D2 is grounded, the 3 pin of the second NMOS tube D2 is connected with the 1 pin of the first PMOS tube D3, the 2 pin of the first PMOS tube D3 is connected with the power supply access end, the 3 pin of the first PMOS tube D3 is connected with the 3 pin of the second PMOS tube D4, the 1 pin of the second PMOS tube D4 is connected with the 3 pin of the second NMOS tube D2, the 2 pin of the second PMOS tube D4 is connected with the positive electrode of the super capacitor C40, and the negative electrode of the super capacitor C40 is grounded.
[0031] Further, the 1 pin of the first NMOS tube D1 is connected with the CPU connection end through the thirteenth resistor R13, the 1 pin of the first NMOS tube D1 is connected with the camera module access end and has the first resistor R1 connected therebetween, the 1 pin of the first NMOS tube D1 is connected with the first resistor R1 and grounded through the second resistor R2, the 3 pin of the first NMOS tube D1 is further connected with the power supply access end through the fourth resistor R4, the 1 pin of the first PMOS tube D3 and the 1 pin of the second PMOS tube D4 are connected with the power supply access end through the third resistor R3, the 3 pin of the first NMOS tube D1 and the 1 pin of the second NMOS tube D2 are further connected with the fifth resistor R5, and the 1 pin of the second NMOS tube D2 is further grounded through the sixth resistor.
[0032] Further, the power supply access end is further grounded through the second capacitor C20 and the third capacitor C30 in parallel respectively.
[0033] When the camera module access end is in a low level state, the 1st foot and the 2nd foot of the first NMOS tube D1 cannot form a pressure difference, the 2nd foot and the 3rd foot of the first NMOS tube D1 are not conductive, and then the first NMOS tube D1 is disconnected. The 1st foot of the second NMOS tube D2 is in a high level state due to the pull-up action of the fifth resistor R5, the 1st foot and the 2nd foot of the second NMOS tube D2 form a pressure difference, the 2nd foot and the 3rd foot of the second NMOS tube D2 are conductive, and then the second NMOS tube D2 is conductive, so that the 1st foot of the first PMOS tube D3 and the 1st foot of the second PMOS tube D4 are connected to the ground through the 3rd foot and the 2nd foot of the second NMOS tube D2, the 2nd foot and the 3rd foot of the first PMOS tube D3 are conductive, the 2nd foot and the 3rd foot of the second PMOS tube D4 are conductive, and then the first PMOS tube D3 and the second PMOS tube D4 are also conductive. At this time, the power supply charges (stores energy) the super capacitor C40 through the power supply access end and the discharge circuit.
[0034] In the embodiment, the discharge circuit comprises a third NMOS tube D6 and a third PMOS tube D5. The 1st foot of the third NMOS tube D6 is connected with the camera module access end, the 2nd foot of the third NMOS tube D6 is grounded, the 3rd foot of the third NMOS tube D6 is connected with the 1st foot of the third PMOS tube D5, the 2nd foot of the third PMOS tube D5 is connected with the positive electrode of the super capacitor C40, and the 3rd foot of the third PMOS tube D5 is connected with the A2, C2 and C3 pins of the light supplement lamp control chip U1 respectively.
[0035] Further, the 1st foot of the third NMOS tube D6 is connected with the camera module access end through the seventh resistor R7, and the 1st foot of the third NMOS tube D6 is also grounded through the eighth resistor R8. The 1st foot of the third PMOS tube D5 is also connected with the positive electrode of the super capacitor C40 through the ninth resistor R9.
[0036] Further, the 3rd foot of the third PMOS tube D5 is also connected with the ground through the fifth capacitor C50 and the sixth capacitor C60 in parallel on the line connected with the light supplement lamp control chip U1.
[0037] When the camera module access end is in a high level state, the B2 pin of the light supplement lamp control chip U1 is in a high level state, and at this time, the light supplement lamp control chip U1 is in an open state. The 1st foot of the third NMOS tube D6 is in a high level state, the 2nd foot and the 3rd foot of the third NMOS tube D6 are conductive, and then the third NMOS tube D6 is conductive. The 1st foot of the third PMOS tube D5 is connected to the ground through the 2nd foot and the 3rd foot of the third NMOS tube D6, the 2nd foot and the 3rd foot of the third PMOS tube D5 are conductive, and then the third PMOS tube D5 is conductive. At this time, the super capacitor C40 supplies power (the super capacitor C40 discharges) to the light supplement lamp control chip U1 through the discharge circuit.
[0038] Similarly, when the camera module is in a low level state, the third NMOS tube D6 and the third PMOS tube D5 are both disconnected, that is, the discharge circuit does not work at this time, and the super capacitor C40 is only charged but not discharged; when the camera module is in a high level state, the first NMOS tube D1 is turned on, and the second NMOS tube D2, the first PMOS tube D3 and the second PMOS tube D4 are all disconnected, that is, the charging circuit does not work at this time, and the super capacitor C40 is only discharged but not charged.
[0039] In the embodiment, the IO1 control pin of the CPU is set to be always on and in a low level state, and under this premise, if the code scanning device does not work, the 1 pin of the first NMOS tube D1 is in a low level state under the action of the IO1 control pin of the CPU, that is, the first NMOS tube D1 is disconnected, the second NMOS tube D2, the first PMOS tube D3 and the second PMOS tube D4 are turned on, the charging circuit is turned on, the discharge circuit is disconnected, and the power supply charges the super capacitor C40 through the power supply access end and the charging circuit (the working principle is the same as when the camera module access end is in a low level state); if the code scanning device starts to scan a bar code image, the camera module access end is in a high level state, and the third NMOS tube D6 and the third PMOS tube D5 are turned on, so that the discharge circuit is turned on, and the super capacitor C40 immediately uses the stored power to supply power to the light supplementing lamp control chip U1 and the light supplementing lamp through the discharge circuit, and at the same time, since the priority of the CPU control signal is higher than that of the control signal of the camera module access end, although the camera module access end is in a high level state, the charging circuit is still turned on under the action of the IO1 control pin of the CPU, so that the super capacitor C40 supplies power to the light supplementing lamp control chip U1 and the light supplementing lamp through the discharge circuit, and at the same time, the power supply continuously charges the super capacitor C40 through the power supply access end and the charging circuit.
[0040] Further, the C3 pin of the light supplementing lamp control chip U1 is connected with the 3 pin of the third PMOS tube D5 through the tenth resistor R10, the C2 pin is connected with the 3 pin of the third PMOS tube through the eleventh resistor R11, the B2 pin is grounded through the twelfth resistor R12, and the C1 pin is grounded through the first capacitor C10.
[0041] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An illuminating light control circuit of a code scanning device, characterized by, The application relates to a power supply access end, a charging circuit, a super capacitor, a discharging circuit, a light supplementing lamp control chip, a CPU connecting end, a camera module access end, a first light supplementing lamp access end and a second light supplementing lamp access end. The power supply access end is connected with the super capacitor through the charging circuit, and the charging circuit is also connected with the camera module access end and the CPU connecting end. The super capacitor is connected with the light supplementing lamp control chip through the discharging circuit, and the discharging circuit is also connected with the camera module access end. The light supplementing lamp control chip has 12 pins, the A2, C2 and C3 pins of the light supplementing lamp control chip are connected with the discharging circuit, the D2 pin is suspended, the A3 and B3 pins are connected with the CPU connecting end, the B2 pin is connected with the camera module access end, the B1 pin is connected with the discharging circuit through a first inductor, the A1 and C1 pins are grounded, the D3 pin is connected with the first light supplementing lamp access end, and the D1 pin is connected with the second light supplementing lamp access end. The charging circuit comprises a first NMOS tube, a second NMOS tube, a first PMOS tube and a second PMOS tube.
2. The light filling lamp control circuit of a code scanning device according to claim 1, characterized in that, The 1 pin of the first NMOS tube is connected with the camera module access end, the 2 pin of the first NMOS tube is grounded, the 3 pin of the first NMOS tube is connected with the 1 pin of the second NMOS tube, the 2 pin of the second NMOS tube is grounded, the 3 pin of the second NMOS tube is connected with the 1 pin of the first PMOS tube, the 2 pin of the first PMOS tube is connected with the power supply access end, the 3 pin of the first PMOS tube is connected with the 3 pin of the second PMOS tube, the 1 pin of the second PMOS tube is connected with the 3 pin of the second NMOS tube, the 2 pin of the second PMOS tube is connected with the positive electrode of the super capacitor, and the negative electrode of the super capacitor is grounded. The 1 pin of the first NMOS tube is also connected with the CPU connecting end through a thirteenth resistor, and the 1 pin of the first PMOS tube and the 1 pin of the second PMOS tube are also connected with the power supply access end through a third resistor.
3. The light-up control circuit of a code scanning device according to claim 2, wherein, The 3 pin of the first NMOS tube is also connected with the power supply access end through a fourth resistor.
4. The light filling lamp control circuit of a code scanning device according to claim 2, characterized in that, A fifth resistor is further connected between the 3 pin of the first NMOS tube and the 1 pin of the second NMOS tube, and the 1 pin of the second NMOS tube is further grounded through a sixth resistor.
5. The light filling lamp control circuit of a code scanning device according to claim 2, characterized in that, The discharging circuit comprises a third NMOS tube and a third PMOS tube.
6. The light-up control circuit of a code scanning device according to claim 1, wherein, The 1 pin of the third NMOS tube is connected with the camera module access end, the 2 pin of the third NMOS tube is grounded, and the 3 pin of the third NMOS tube is connected with the 1 pin of the third PMOS tube; the 2 pin of the third PMOS tube is connected with the positive electrode of the super capacitor, and the 3 pin of the third PMOS tube is connected with the A2, C2 and C3 pins of the light supplementing lamp control chip. The 3 pin of the third PMOS tube is also connected with the first inductor, and the 1 pin of the third PMOS tube is also connected with the positive electrode of the super capacitor through a ninth resistor.
7. The light-up control circuit of a code scanning device according to claim 6, wherein, A seventh resistor is connected between the camera module access end and the 1 pin of the third NMOS tube, and the 1 pin of the third NMOS tube is grounded through an eighth resistor on the line connected with the seventh resistor.
8. The light filling lamp control circuit of a code scanning device according to claim 6, characterized in that, 9. The light-up control circuit of a code scanning device according to claim 6, wherein, The C3 pin of the light supplement lamp control chip is connected with the 3 pin of the third PMOS tube through the tenth resistor, and the C2 pin is connected with the 3 pin of the third PMOS tube through the eleventh resistor.
10. The light-up control circuit of a code scanning device according to claim 1, wherein, The B2 pin of the light supplement lamp control chip is also grounded through the twelfth resistor.