Root control circuit of code scanning equipment

By using the flashing control circuit of the barcode scanner, the problem of repeated flashing of the device caused by software program abnormalities was solved, enabling the device to automatically exit and resume normal operation under abnormal conditions, thus simplifying the operation process.

CN224035795UActive Publication Date: 2026-03-24WUXI IDATA TECHNOLOGY COMPANY LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

In existing technologies, software programs may malfunction during device flashing, causing the device to fail to enter normal working mode. This requires disassembling the device to clear the flashing status, which is a cumbersome process.

Method used

The flashing control circuit of the barcode scanning device includes a CPU connection terminal, a control circuit, an upgrade circuit switch terminal, a main power connection terminal, a secondary power connection terminal, and external control pins. The device can be manually controlled to exit the flashing state through a status clearing circuit.

Benefits of technology

This technology enables the device to automatically exit the flashing state and enter normal working state when the software program malfunctions, improving the stability and ease of operation of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224035795U_ABST
    Figure CN224035795U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of flashing circuits, and provides a flashing control circuit of code scanning equipment, which comprises a CPU (central processing unit) connecting end, a control circuit, an upgrading circuit switch end, a main power supply connecting end, a secondary power supply connecting end, an external control pin and a state clearing circuit. The CPU connecting end is connected with the switch end of the upgrading circuit through the control circuit, the external control pin is connected with the control circuit through the state clearing circuit, and the main power source connecting end is connected to a connecting line between the external control pin and the state clearing circuit. And the secondary power supply connecting end is respectively connected with the control circuit, the state clearing circuit and the switch end of the upgrading circuit. According to the circuit, the CLR pin of the latch is controlled by the external control pin to be changed into the low level state from the high level state, so that the equipment is changed into the working state from the flashing state, and when a software program is abnormal in the flashing process of the control equipment, the flashing state of the equipment can be forcibly cleared, so that the equipment enters the normal working state.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to a brush machine circuit technical field especially relates to a kind of brush machine control circuit of code scanning equipment. BACKGROUND

[0002] Most of the electronic equipment on the market will use software program to control the device to brush machine, however, the electronic equipment controlled by software program to brush machine operation currently all faces the problem of abnormal software program operation.When software program is abnormal, electronic device cannot be controlled to enter normal working state, but continuously carries out brush machine operation and cannot automatically exit brush machine state, and users often use the method of disassembling machine to clear brush machine state, and then reassembling to make it enter working state to cope with, but this cumbersome operation process brings great inconvenience to the user of electronic device using brush machine function for a long time, therefore, the electronic device of the present needs a kind of circuit that can simply control device to clear its brush machine state and enter normal working state. SUMMARY

[0003] The utility model provides a kind of brush machine control circuit of code scanning equipment, to solve the defect that device carries out cyclic brush machine operation when abnormal in the process of software program control equipment to brush machine in prior art, cannot enter normal working state, when abnormal in the process of software program control equipment to brush machine, the brush machine state of device is forced to clear, so that it enters normal working state.

[0004] The utility model provides a kind of brush machine control circuit of code scanning equipment, including: CPU connection end, control circuit, upgrade circuit switch end, total power supply connection end, secondary power supply connection end, external control pin, state clearing circuit;

[0005] The CPU connection end is connected with upgrade circuit switch end by control circuit, and the external control pin is connected with control circuit by state clearing circuit, and the total power supply connection end is connected on the connecting line between external control pin and state clearing circuit, and the secondary power supply connection end is connected with control circuit, state clearing circuit and upgrade circuit switch end respectively.

[0006] According to the brush machine control circuit of code scanning equipment provided by the utility model, the control circuit includes latch and first triode, the latch is 6-pin latch, the CLK pin and D pin of the latch are connected with CPU connection end respectively, the GND pin of the latch is grounded, the VCC pin and CLR pin of the latch are connected with secondary power supply connection end respectively, the Q pin of the latch is connected with the base of first triode, the emitter of first triode is grounded, and the collector of first triode is connected with upgrade circuit switch end.

[0007] According to the utility model provide a kind of machine control circuit of scanning code equipment, the collector of the first triode is connected with eighth resistance, and the line of eighth resistance and the collector of the first triode is also connected with the connection of secondary power supply through ninth resistance, and the line of eighth resistance and the collector of the first triode is also grounded through second capacitor.

[0008] According to the utility model provide a kind of machine control circuit of scanning code equipment, the first resistance is connected in series on the connection line of the CLK pin of latch and CPU connection end, and the second resistance is connected in series on the connection line of the D pin of latch and CPU connection end.

[0009] According to the utility model provide a kind of machine control circuit of scanning code equipment, the line between the first resistance and the CLK pin of latch is also grounded through third resistance, and the line between the second resistance and the D pin of latch is also grounded through fourth resistance.

[0010] According to the utility model provide a kind of machine control circuit of scanning code equipment, the state clearing circuit includes second triode and third triode, the base of second triode is connected with external control pin, the emitter of second triode is grounded, the collector of second triode is connected with the base of third triode, the emitter of third triode is grounded, and the collector of third triode is connected with the CLR pin of latch.

[0011] According to the utility model provide a kind of machine control circuit of scanning code equipment, the eleventh resistance is connected in series on the connection line between external control pin and the base of second triode, and the connection line of eleventh resistance and external control pin is sequentially connected with tenth resistance, diode and total power supply connection end, wherein, the anode of diode is connected with total power supply connection end;The connection line of eleventh resistance and the base of second triode is also grounded through twelfth resistance.

[0012] According to the utility model provide a kind of machine control circuit of scanning code equipment, total power supply connection end is connected on the connection line between external control pin and the base of second triode.

[0013] According to the utility model provide a kind of machine control circuit of scanning code equipment, the collector of second triode is also connected with secondary power supply connection end.

[0014] According to the utility model provide a kind of machine control circuit of scanning code equipment, the collector of third triode is also connected with secondary power supply connection end.

[0015] The machine brushing control circuit of the code scanning equipment provided by the utility model, by adding external control pins and state clearing circuit to the machine brushing control circuit, when the software program can normally run, the control equipment brushes the machine and enters the normal working state, when the software program abnormally runs, the equipment is repeatedly brushed, and cannot enter the normal working state, by manually controlling the level state of the external control pin, the machine brushing state of the equipment is cleared, and the equipment enters the normal working state, the stability of the machine brushing and working of the equipment is further improved. BRIEF DESCRIPTION OF DRAWINGS

[0016] In order to more clearly illustrate the technical scheme in the utility model or the prior art, the following will briefly introduce the drawings needed to be used in the embodiment or the prior art description, obviously, the drawings in the following description are some embodiments of the utility model, and for those skilled in the art, other drawings can also be obtained according to these drawings without creative labor.

[0017] Figure 1 It is the schematic diagram of the machine brushing control circuit of the code scanning equipment provided by the utility model,

[0018] Figure 2 It is the electrical block diagram of the machine brushing control circuit of the code scanning equipment provided by the utility model,

[0019] Figure 3 It is the level state timing diagram between the latch pin and the upgrade circuit switch end,

[0020] Figure 4 It is the level state timing diagram between the external control pin and the latch pin and the upgrade circuit switch end. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical scheme and advantages of the utility model more clear, the following will combine the drawings in the utility model, and the technical scheme in the utility model is clearly and completely described, obviously, the described embodiment is a part of the embodiment of the utility model, rather than all the embodiments. Based on the embodiment in the utility model, all other embodiments obtained by those skilled in the art without creative labor belong to the protection scope of the utility model.

[0022] The following will combine Figures 1-4 The utility model discloses a kind of machine brushing control circuits of code scanning equipment, which is suitable for electronic equipment (such as code scanning gun, PDA, mobile phone, tablet computer etc.) with code scanning function, the machine brushing control circuit includes: CPU connection end, control circuit, upgrade circuit switch end, total power supply connection end, secondary power supply connection end, external control pin, state clearing circuit;

[0023] As shown in Figure 1 and Figure 2 The CPU connection end is connected with the upgrade circuit switch end through the control circuit, the external control pin is connected with the control circuit through the state clearing circuit, the total power supply connection end is connected on the connection line between the external control pin and the state clearing circuit, and the secondary power supply connection end is connected with the control circuit, the state clearing circuit and the upgrade circuit switch end.

[0024] The CPU connection end is used for connecting the CPU, the upgrade circuit switch end is used for connecting the upgrade circuit and controlling whether the upgrade circuit enters the upgrade state, in the embodiment, when the upgrade circuit switch end is in the high level state, the upgrade circuit does not perform the flashing upgrade, when the upgrade circuit switch end is in the low level state, the upgrade circuit performs the flashing upgrade, the total power supply connection end is used for connecting the total power supply, the total power supply is used as the total switch of the power supply of the whole device, the secondary power supply is used as the voltage dividing power supply, only when the total power supply is turned on, the secondary power supply is turned on, and the voltage of the total power supply is greater than the voltage of the secondary power supply, under the normal condition, the total power supply is 5V, and the secondary power supply is 3.3V, and the external control pin is used for manually controlling the level of the CLR pin of the latch U1 to be in the low level state to make the latch U1 invalid, and then controlling the device to exit the flashing state and enter the normal working state.

[0025] The control circuit includes the latch U1 and the first triode Q1, the latch U1 is a 6-pin latch, the CLK pin and the D pin of the latch U1 are connected with the CPU connection end, the GND pin of the latch U1 is grounded, the VCC pin and the CLR pin of the latch U1 are connected with the secondary power supply connection end, the Q pin of the latch U1 is connected with the base of the first triode Q1, the emitter of the first triode Q1 is grounded, and the collector of the first triode Q1 is connected with the upgrade circuit switch end.

[0026] In the embodiment, the model of the latch U1 is SN74LVC1G175DCK, which has the characteristics that the D pin is triggered to be effective (namely the input signal) at the rising edge of the CLK pin and the signal is output from the Q pin. The D pin of the latch U1 is always in the high level state by default, the CLR pin of the latch has the asynchronous reset function and is effective in the low level state, so the secondary power supply is connected to ensure that the D pin is always in the high level state by default, avoiding the accidental reset of the device during the flashing operation to cause the latch to be invalid.

[0027] Further, the first resistance R1 is connected in series on the connection line of the CLK pin of the latch U1 and the CPU connection end, the second resistance R2 is connected in series on the connection line of the D pin of the latch U1 and the CPU connection end, the third resistance R3 is grounded on the line between the first resistance R1 and the CLK pin of the latch U1, and the fourth resistance R4 is grounded on the line between the second resistance R2 and the D pin of the latch U1.

[0028] Further, the VCC pin and the CLR pin of the latch U1 are also grounded through the first capacitor C1 respectively; the CLR pin of the latch U1 is also connected with the secondary power connection end through the fifth resistor R5; the Q pin of the latch U1 is connected with the base of the first triode Q1 in series with the sixth resistor R6, and the connection line between the sixth resistor R6 and the base of the first triode Q1 is also grounded through the seventh resistor R7.

[0029] The upgrade circuit switch end is connected with the collector of the first triode Q1 through the eighth resistor R8, and the connection line between the upgrade circuit switch end and the eighth resistor R8 is also connected with the secondary power connection end through the ninth resistor R9, and the connection line between the eighth resistor R8 and the collector of the first triode Q1 is also grounded through the second capacitor C2.

[0030] In the embodiment, when the upgrade circuit switch end is in a low level state, the device enters a flashing state, and when the upgrade circuit switch end is in a high level state, the device enters a normal working state. After the total power supply of the device is turned on, the upgrade circuit switch end is maintained in a high level state by the secondary power supply. As shown in FIG. 4, when the CPU detects a flashing instruction, the D pin of the latch U1 is triggered at the rising edge of the CLK pin of the latch U1 (equivalent to inputting a high level signal), thereby controlling the Q pin of the latch U1 to output a high level signal, so that a voltage difference is formed between the base and the emitter of the first triode Q1, and the collector and the emitter of the first triode Q1 are turned on, thereby making the first triode Q1 conductive, and the upgrade circuit switch end changes from a high level state to a low level state, and the device enters a flashing state. After the flashing is completed, the CLK pin and the D pin of the latch U1 are controlled by the CPU to be in a low level state, thereby making the Q pin of the latch U1 and the upgrade circuit switch end return to a normal state. Figure 3

[0031] The state clearing circuit includes a second triode Q2 and a third triode Q3. The external control pin is connected with the base of the second triode Q2. The emitter of the second triode Q2 is grounded. The collector of the second triode Q2 is connected with the base of the third triode Q3. The emitter of the third triode Q3 is grounded. The collector of the third triode Q3 is connected with the CLR pin of the latch U1.

[0032] Further, the connection line between the external control pin and the base of the second triode Q2 is connected in series with the eleventh resistor R11. The connection line between the eleventh resistor R11 and the external control pin is connected with the total power supply connection end in turn through the tenth resistor R10, the diode D1 and the total power supply connection end, wherein the anode of the diode D1 is connected with the total power supply connection end. The connection line between the eleventh resistor R11 and the base of the second triode Q2 is also grounded through the twelfth resistor R12. ​

[0033] Furthermore, the collector of the second transistor Q2 is connected to the secondary power supply terminal through the thirteenth resistor R13, and the connection line between the collector of the second transistor Q2 and the base of the third transistor Q3 is also grounded through the fourteenth resistor R14. The collector of the third transistor Q3 is connected to the secondary power supply terminal through the fifteenth resistor R15.

[0034] like Figure 4 As shown, in this embodiment, when the device is flashed by software program control, the upgrade circuit switch is in a low-level state, and the external control pin is in a high-level state under the action of the main power supply. At this time, a voltage difference is formed between the base and emitter of the second transistor Q2, and the collector and emitter of the second transistor Q2 are turned on, making the second transistor Q2 conduct. The base of the third transistor Q3 is in a low-level state, and a voltage difference cannot be formed between the base and emitter of the third transistor Q3, so the third transistor Q3 is turned off.

[0035] During the device flashing process, the software program malfunctioned. Specifically, after one flashing operation was completed, the CPU could not control the Q pin of latch U1 to output a low-level signal according to the original working principle. Instead, it caused the Q pin of latch U1 to continue to output a high-level signal, which kept the upgrade circuit switch terminal in a low-level state. This caused the device to perform a cycle of flashing operations and could not exit automatically. At this point, by manually controlling the external control pin to a low level, the base and emitter of the second transistor Q2 cannot form a voltage difference, causing Q2 to disconnect. Meanwhile, the base of the third transistor Q3 is at a high level under the influence of the secondary power supply, forming a voltage difference between its base and emitter. This causes Q3 to conduct, forcing the CLR pin of latch U1 to a low level, thus disabling latch U1. The Q pin of latch U1 outputs a low-level signal, preventing the base and emitter of the first transistor Q1 from forming a voltage difference, causing Q1 to disconnect. The upgrade circuit switch is then at a high level under the influence of the secondary power supply, allowing the device to exit the flashing state after the flashing process and enter normal operation.

[0036] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and not to limit it. Although this utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this utility model.

Claims

1. A scanning control circuit for a barcode scanner, characterized in that, include: CPU connection terminal, control circuit, upgrade circuit switch terminal, main power connection terminal, secondary power connection terminal, external control pin, status clear circuit; The CPU connection terminal is connected to the upgrade circuit switch terminal through the control circuit. The external control pin is connected to the control circuit through the status clearing circuit. The main power connection terminal is connected to the connection line between the external control pin and the status clearing circuit. The secondary power connection terminal is connected to the control circuit, the status clearing circuit, and the upgrade circuit switch terminal respectively.

2. The scanning control circuit of the barcode scanner according to claim 1, characterized in that, The control circuit includes a latch and a first transistor. The latch is a 6-pin latch. The CLK and D pins of the latch are connected to the CPU connection terminal, the GND pin of the latch is grounded, the VCC and CLR pins of the latch are connected to the secondary power supply connection terminal, the Q pin of the latch is connected to the base of the first transistor, the emitter of the first transistor is grounded, and the collector of the first transistor is connected to the upgrade circuit switch terminal.

3. The scanning control circuit of the barcode scanner according to claim 2, characterized in that, The upgrade circuit switch terminal is connected to the collector of the first transistor through an eighth resistor. The line connecting the upgrade circuit switch terminal and the eighth resistor is also connected to the secondary power supply terminal through a ninth resistor. The line connecting the eighth resistor and the collector of the first transistor is also grounded through a second capacitor.

4. The scanning control circuit of the barcode scanner according to claim 2, characterized in that, A first resistor is connected in series on the connection line between the CLK pin of the latch and the CPU terminal, and a second resistor is connected in series on the connection line between the D pin of the latch and the CPU terminal.

5. The scanning control circuit of the barcode scanner according to claim 4, characterized in that, The line between the first resistor and the CLK pin of the latch is also grounded through a third resistor, and the line between the second resistor and the D pin of the latch is also grounded through a fourth resistor.

6. The scanning control circuit of the barcode scanner according to claim 2, characterized in that, The state clearing circuit includes a second transistor and a third transistor. The external control pin is connected to the base of the second transistor, the emitter of the second transistor is grounded, the collector of the second transistor is connected to the base of the third transistor, the emitter of the third transistor is grounded, and the collector of the third transistor is connected to the CLR pin of the latch.

7. The scanning control circuit of the barcode scanner according to claim 6, characterized in that, An eleventh resistor is connected in series on the connection line between the external control pin and the base of the second transistor. The connection line between the eleventh resistor and the external control pin is connected in sequence through a tenth resistor, a diode, and the main power supply terminal, wherein the positive terminal of the diode is connected to the main power supply terminal. The connection line between the eleventh resistor and the base of the second transistor is also grounded through a twelfth resistor.

8. The scanning control circuit of the barcode scanner according to claim 7, characterized in that, The main power supply connection is connected to the connection line between the external control pin and the base of the second transistor.

9. The scanning control circuit of the barcode scanner according to claim 6, characterized in that, The collector of the second transistor is also connected to the secondary power supply terminal.

10. The scanning control circuit of the barcode scanner according to claim 6, characterized in that, The collector of the third transistor is also connected to the secondary power supply terminal.