Dual mode control circuit for a retail cash register cashbox motherboard
By designing a dual-mode control circuit on the motherboard, including a power module, control module, cash drawer interface module, status detection module, and driver module, the high cost and poor compatibility of cash drawer drive circuits in retail cash registers are solved, achieving stable and reliable cash drawer control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- SHENZHEN TISMART TECH CO LTD
- Filing Date
- 2025-09-16
- Publication Date
- 2026-07-07
AI Technical Summary
The cash drawer drive circuit of retail cash registers has a dual-mode discrete design, which leads to high cost and poor compatibility. It is also susceptible to voltage fluctuations and the printer control mode is prone to accidental triggering.
The system employs a dual-mode control circuit on the motherboard, including a power module, a control module, a cash drawer interface module, a status detection module, and a driver module. By combining and statistically merging the signal flow at the driver stage, the system provides real-time feedback on the cash drawer's open and closed status to prevent accidental operation.
It solves the problems of high cost and poor compatibility caused by discrete design, improves the safety and reliability of the circuit, prevents misoperation, and achieves stable cash drawer control.
Smart Images

Figure CN224472064U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of retail cash register drawer drive technology, and particularly relates to a dual-mode control circuit for the main board of a retail cash register drawer. Background Technology
[0002] Retail cash registers typically include a cash drawer that automatically opens. This works by using a voltage pulse to activate an electromagnet in the cash drawer's coil, which in turn opens the drawer. However, the cash drawer drive circuit in retail cash registers has long suffered from a dual-mode design problem: 1. The direct control mode requires multi-stage transistors (such as an NPN+PNP combination) to amplify the current and drive the 24V cash drawer electromagnet, resulting in a complex circuit with poor resistance to voltage fluctuations; 2. The printer control mode relies on external printer commands (such as ESC / POS), requiring a dedicated level conversion chip to adapt to different printer brands (12V / 24V differences), making it prone to false triggering. Therefore, there is an urgent need to provide a dual-mode control circuit for the mainboard of the retail cash register cash drawer to solve these technical problems. Summary of the Invention
[0003] To address the aforementioned problems, this utility model provides a dual-mode control circuit for the mainboard of a retail cash register drawer. By using a signal bus statistical merging driver stage, it solves the problems of high cost and poor compatibility caused by discrete designs. It can provide real-time feedback on the opening and closing status of the cash drawer, effectively preventing misoperation, thereby solving the problems mentioned in the background art.
[0004] To achieve the above objectives, the present invention adopts the following technical solution:
[0005] This utility model provides a dual-mode control circuit for the mainboard of a retail cash register drawer. The dual-mode control circuit includes a power module, a control module, a cash drawer interface module, a status detection module, and a driver module. The control module, the power module, the status detection module, and the driver module are all connected to the cash drawer interface module, and the status detection module and the driver module are all connected to the control module.
[0006] The control module includes a motherboard cash drawer control unit and a printer control cash drawer interface unit. Both the motherboard cash drawer control unit and the printer control cash drawer interface unit are connected to the status detection module. The printer control cash drawer interface unit is connected to the motherboard cash drawer control unit. The status detection module is used to detect the open or closed status signal of the cash drawer connected to the cash drawer interface module. The power module is used to supply power to the cash drawer.
[0007] When the mainboard cash drawer control unit or the printer control cash drawer interface unit receives a control signal to open the cash drawer, the mainboard cash drawer control unit controls the drive module to open the cash drawer according to the control signal.
[0008] As a preferred embodiment of the above technical solution, when the motherboard cash box control unit receives the open status signal fed back by the status detection module, the motherboard cash box control unit controls the drive module to shut down according to the open status signal;
[0009] When the mainboard cash drawer control unit receives the off status signal fed back by the status detection module, the mainboard cash drawer control unit receives the first control signal of the cash drawer and controls the drive module to drive the electromagnet in the cash drawer to work to open the cash drawer; or the mainboard cash drawer control unit receives the second control signal of the cash drawer fed back by the printer control cash drawer interface unit and controls the drive module to drive the electromagnet in the cash drawer to work to open the cash drawer.
[0010] As a preferred embodiment of the above technical solution, the driving module includes a driving enhancement unit connected to the motherboard cash drawer control unit and a power control unit connected to the cash drawer interface module. The driving enhancement unit includes a first transistor driving enhancement control circuit and a second transistor driving enhancement control circuit. The power control unit includes a first power transistor control circuit connected to the first transistor driving enhancement control circuit and a second power transistor control circuit connected to the second transistor driving enhancement control circuit. The driving enhancement unit is used to process the control signals of the motherboard cash drawer control unit, and the power control unit is used to drive the electromagnet to work.
[0011] As a preferred embodiment of the above technical solution, the first transistor drive enhancement control circuit includes transistor Q22, transistor Q24, resistors R255, R260, R272, R277, R286, and capacitor C217. One end of capacitor C217 is connected to one end of resistor R272, and the other end of capacitor C217 is connected to one end of resistor R277 and the emitter of transistor Q24 and grounded. The other end of resistor R272 is connected to the other end of resistor R277 and the base of transistor Q24. The collector of transistor Q24 is connected to one end of resistor R260, and the other end of resistor R260 is connected to one end of resistor R255 and the base of transistor Q22. The other end of resistor R255 is connected to the emitter of transistor Q22, and the collector of transistor Q22 is connected to one end of resistor R286. The other end of resistor R286 is grounded.
[0012] The second transistor drive enhancement control circuit includes transistors Q21 and Q23, resistors R254, R258, R270, R273, and R279, and capacitor C216. One end of capacitor C216 is connected to one end of resistor R270, and the other end of capacitor C216 is connected to one end of resistor R273 and the emitter of transistor Q23 and grounded. The other end of resistor R270 is connected to the other end of resistor R273 and the base of transistor Q23. The collector of transistor Q23 is connected to one end of resistor R258, and the other end of resistor R258 is connected to one end of resistor R254 and the base of transistor Q21. The other end of resistor R254 is connected to the emitter of transistor Q21, and the collector of transistor Q21 is connected to one end of resistor R279. The other end of resistor R279 is grounded.
[0013] As a preferred embodiment of the above technical solution, the first power transistor control circuit includes resistor R8, resistor R12, MOSFET Q13, diode D9, diode D10, and capacitor C11. One end of resistor R8 is connected to the gate of MOSFET Q13 and one end of resistor R12. The other end of resistor R12 is connected to the cathode of diode D9. The anode of diode D9 is connected to the mainboard cash drawer control unit and the printer control cash drawer interface unit, respectively. The drain of MOSFET Q13 is connected to the anode of diode D10. The cathode of diode D10 is connected to one end of capacitor C11. The other end of resistor R8, the source of MOSFET Q13, and the other end of capacitor C11 are grounded, respectively.
[0014] The second power transistor control circuit includes resistor R9, resistor R14, MOSFET Q14, diode D11, and capacitor C12. One end of resistor R9 is connected to the gate of MOSFET Q14 and one end of resistor R14. The other end of resistor R14 is connected to the mainboard cash drawer control unit. The drain of MOSFET Q14 is connected to the anode of diode D11. The cathode of diode D11 is connected to one end of capacitor C12. The other end of resistor R9, the source of MOSFET Q14, and the other end of capacitor C12 are grounded respectively.
[0015] As a preferred embodiment of the above technical solution, the cash drawer interface module includes a terminal JP11, multiple TVS diodes, multiple resistors, and an inductor CM1. All TVS diodes and resistors are connected to the terminal JP11, which is an RJ12 type cash drawer interface.
[0016] As a preferred embodiment of the above technical solution, the printer control cash drawer interface unit includes a terminal JP10 and a diode D12. The anode of the diode D12 is connected to the status detection module and the terminal JP10, respectively, and the cathode of the diode D12 is connected to the cash drawer interface module. The printer control cash drawer interface unit is connected to the mainboard cash drawer control unit through the terminal JP9.
[0017] As a preferred embodiment of the above technical solution, the state detection module includes resistors R152, R235, R236, R237, R246, R247, R248, R249, R250, transistors Q15, Q16, and Q17, a TVS22, and a capacitor C16. One end of resistor R248 is connected to the emitter of transistor Q17, and the other end of resistor R248 is connected to one end of resistor R250. The other end of resistor R250 is connected to the base of transistor Q17. The collector of transistor Q17 is connected to one end of resistor R249 and one end of resistor R246. The other end of resistor R246 is connected to the base of transistor Q16. The emitter of transistor Q16 is connected to the other end of resistor R249 and grounded. The collector of transistor Q16 is connected to one end of resistors R236 and R237. The other end of resistor R237 is connected to the base of transistor Q15 and one end of resistor R247. The other end of resistor R247 is connected to the emitter of transistor Q15 and grounded. The collector of transistor Q15 is connected to one end of resistors R152 and R235. The other end of resistor R235 is connected to one end of TVS22 and one end of capacitor C16. The other end of TVS22 is connected to the other end of capacitor C16 and grounded.
[0018] As a preferred embodiment of the above technical solution, the power module includes a plug JP14, a switching circuit, and a voltage conversion circuit, wherein the plug JP14 and the voltage conversion circuit are both connected to the switching circuit.
[0019] As a preferred embodiment of the above technical solution, the switching circuit includes chips U20 and U25 of model NCE55P05S, multiple resistors and multiple capacitors, and the voltage conversion circuit includes chip U4 of model RY8336, multiple capacitors and multiple resistors.
[0020] Compared with the prior art, the beneficial effects of this utility model are as follows:
[0021] By configuring a power module, a control module, a cash drawer interface module, a status detection module, and a driver module, the control module includes a motherboard cash drawer control unit and a printer control cash drawer interface unit. When the motherboard cash drawer control unit or the printer control cash drawer interface unit receives a control signal to open the cash drawer, the motherboard cash drawer control unit controls the driver module to open the cash drawer according to the control signal. By using a signal bus direct control channel and a merged driver stage with the printer channel, the problems of high cost and poor compatibility caused by discrete design can be solved. The status detection module can provide real-time feedback on the opening and closing status of the cash drawer, effectively preventing misoperation, thereby improving the working safety and reliability of the motherboard's dual-mode control circuit. Attached Figure Description
[0022] Figure 1This is a structural block diagram of the dual-mode control circuit for the motherboard proposed in this utility model;
[0023] Figure 2 The circuit diagram of the plug JP14 proposed in this utility model is shown below.
[0024] Figure 3 The circuit diagram is for the switching circuit proposed in this utility model;
[0025] Figure 4 This is a circuit diagram of the voltage conversion circuit proposed in this utility model;
[0026] Figure 5 The circuit diagram is for the first power transistor control circuit proposed in this utility model;
[0027] Figure 6 The circuit diagram is shown for the second power transistor control circuit proposed in this utility model.
[0028] Figure 7 This is a circuit diagram of the printer control cash drawer interface unit proposed in this utility model;
[0029] Figure 8 The circuit diagram of terminal JP9 proposed in this utility model is shown below.
[0030] Figure 9 This is a circuit diagram of the cash drawer interface module proposed in this utility model;
[0031] Figure 10 This is a circuit diagram of the state detection module proposed in this utility model;
[0032] Figure 11 The circuit diagram is for the first transistor drive enhancement control circuit proposed in this utility model;
[0033] Figure 12 The circuit diagram is for the second transistor drive enhancement control circuit proposed in this utility model;
[0034] Figure 13 The working principle diagram of the dual-mode control circuit of the motherboard provided by this utility model.
[0035] The symbols for the main components are explained below:
[0036] 10-Power supply module; 20-Control module; 21-Main board cash drawer control unit; 22-Printer control cash drawer interface unit; 30-Cash drawer interface module; 40-Status detection module; 50-Driver module; 51-Driver enhancement unit; 52-First transistor driver enhancement control circuit; 53-Second transistor driver enhancement control circuit; 54-Power control unit; 55-First power transistor control circuit; 56-Second power transistor control circuit. Detailed Implementation
[0037] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present utility model. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments.
[0038] In the description of this utility model, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc., indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this utility model and simplifying the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this utility model.
[0039] See Figure 1 and Figure 13 This utility model provides a dual-mode control circuit for the mainboard of a retail cash register drawer. The dual-mode control circuit includes a power module 10, a control module 20, a cash drawer interface module 30, a status detection module 40, and a drive module 50. The control module 20, the power module 10, the status detection module 40, and the drive module 50 are all connected to the cash drawer interface module 30, and the status detection module 40 and the drive module 50 are all connected to the control module 20.
[0040] The control module 20 includes a motherboard cash drawer control unit 21 and a printer control cash drawer interface unit 22. Both the motherboard cash drawer control unit 21 and the printer control cash drawer interface unit 22 are connected to the status detection module 40. The printer control cash drawer interface unit 22 is connected to the motherboard cash drawer control unit 21. The status detection module 40 is used to detect the open / closed status signal of the cash drawer connected to the cash drawer interface module 30. The power module 10 is used to supply power to the cash drawer.
[0041] When the mainboard cash drawer control unit 21 or the printer control cash drawer interface unit 22 receives a control signal to open the cash drawer, the mainboard cash drawer control unit 21 controls the drive module 50 to open the cash drawer according to the control signal.
[0042] In this embodiment, as Figure 7 , Figure 8 and Figure 9As shown, when the mainboard cash drawer control unit 21 receives an open status signal from the status detection module 40, the mainboard cash drawer control unit 21 controls the drive module 50 to shut down according to the open status signal; when the mainboard cash drawer control unit 21 receives a closed status signal from the status detection module 50, the mainboard cash drawer control unit 21 receives a first control signal from the cash drawer and controls the drive module 50 to drive the electromagnet inside the cash drawer to open the cash drawer, or the mainboard cash drawer control unit 21 receives a second control signal from the printer control cash drawer interface unit 22 and controls the drive module 50 to drive the electromagnet inside the cash drawer to open the cash drawer. The cash drawer interface module 30 includes a terminal JP11, multiple TVS diodes, multiple resistors, and an inductor CM1. All inductors CM1 are connected to the terminal JP11, which is an RJ12 type cash drawer interface. The printer control cash drawer interface unit 22 includes a terminal JP10 and a diode D12. The anode of the diode D12 is connected to the status detection module 40 and the terminal JP10, respectively, and the cathode of the diode D12 is connected to the cash drawer interface module 30. The printer control cash drawer interface unit 22 is connected to the mainboard cash drawer control unit 21 through the terminal JP9.
[0043] It should be noted that, as Figure 11 and Figure 12 As shown, the drive module 50 includes a drive enhancement unit 51 connected to the motherboard cash drawer control unit 21 and a power control unit 54 connected to the cash drawer interface module 30. The drive enhancement unit 51 includes a first transistor drive enhancement control circuit 52 and a second transistor drive enhancement control circuit 53. The power control unit 54 includes a first power transistor control circuit 55 connected to the first transistor drive enhancement control circuit 52 and a second power transistor control circuit 56 connected to the second transistor drive enhancement control circuit 53. The drive enhancement unit 51 is used to process the control signals of the motherboard cash drawer control unit 21, and the power control unit 54 is used to drive the electromagnet to work. Figure 2 As shown, the power module 10 includes a plug JP14, a switching circuit, and a voltage conversion circuit. Both the plug JP14 and the voltage conversion circuit are connected to the switching circuit. Figure 3 As shown, the switching circuit includes chips U20 and U25 (model NCE55P05S), multiple resistors, and multiple capacitors, such as... Figure 4 As shown, the voltage conversion circuit includes a chip U4 with model number RY8336, multiple capacitors, and multiple resistors.
[0044] Specifically, such as Figure 4As shown, the voltage conversion circuit includes chip U4, resistors R264, R271, R252, R251, R257, R259, R253, R256, capacitors C112, C114, C203, C214, C215, C115, C148, C149, inductor L2, and capacitor C167. Resistors R264 and R271 are connected in parallel to capacitor C203. Pin 7 of chip U4, resistor R252, and capacitors C112 and C114 are connected in parallel to resistor R252. Pin 2 of chip U4, and capacitor... C203 and capacitor C214 are connected in parallel to pins 4 and 9 of chip U4, as well as capacitor C215, resistor R259, capacitor C148, capacitor C149, capacitor C167, capacitor C168 and resistor R256. Resistor R251 and capacitor C17 (RC) are connected to pins 1 and 3 of chip U4 and inductor L2. Resistor R257 and capacitor C215 (RC) are connected to pins 6 and 9 of chip U4. Resistor R253 and capacitor C115 are connected in parallel to inductor L2, pin 5 of chip U4, resistor R259, capacitor C148, capacitor C149, capacitor C167, capacitor C168 and resistor R256.
[0045] like Figure 3 As shown, the switching circuit includes resistors R289, R291, fuse F1, R292, R293, R294, R295, R296, capacitor C233, transistor Q25, capacitor C226, chip U20, chip U25, capacitors C231, C230, and C232. Resistors R289 and R291 are connected in parallel to fuse F1. Fuse F1 is connected to resistors R292, capacitor C226, chip U20, and chip U25. Resistors R295 and Q296 are connected in parallel to fuse F1. Resistor R296 is connected in parallel to capacitor C233 and the base of transistor Q25. The emitter of transistor Q25 is connected to capacitor C233 and resistor R296 and grounded. The collector of transistor Q25 is connected to resistor R294. Resistor R294 is connected to resistors R292 and R293. Resistor R293 is connected to capacitor C226, chip U20, chip U25, and capacitor C231. Chip U20 is connected to chip U25 and capacitor C231. Capacitors C230 and C232 are connected in parallel to chip U20 and chip U25.
[0046] As described above, the cash drawer power supply is 24V by default, and the cash drawer interface (module) is in RJ12 form. The cash drawer contains two cash drawer controls, sharing one set of cash drawer power supply. The two controls are separate, plus one cash drawer open or closed status signal and two grounds, namely the current return ground and external ground for cash drawer operation. The driver module 50 can realize three-level drive multiplexing: 1. Control stage: NPN transistors (Q23 / Q24) uniformly process motherboard signals; 2. Buffer stage: PNP transistors (Q21 / Q22) drive the gate of the power transistor; 3. Power stage: MOSFETs (Q13 / Q14) directly drive the cash drawer electromagnet. Status detection feedback: Diode D12 clamps the cash drawer status signal to a high level by default, and pulls this status signal low when the cash drawer is open. The cash drawer's open / closed status signal (cash_status) is output inverted via a level conversion circuit and features an anti-interference (RC filter) design. The jumper JP9 can select different control methods based on the actual printer and usage scenario to ensure stable control and eliminate risks.
[0047] It should be understood that by setting up a power module 10, a control module 20, a cash drawer interface module 30, a status detection module 40, and a driver module 50, the control module 20 includes a motherboard cash drawer control unit 21 and a printer control cash drawer interface unit 22. When the motherboard cash drawer control unit 21 or the printer control cash drawer interface unit 22 receives a control signal to open the cash drawer, the motherboard cash drawer control unit 21 controls the driver module 50 to open the cash drawer according to the control signal. By using a signal bus direct control channel and a combined driver stage with the printer channel, the problems of high cost and poor compatibility caused by discrete design can be solved. The status detection module 40 can provide real-time feedback on the opening and closing status of the cash drawer, effectively preventing misoperation, thereby improving the working safety and reliability of the motherboard dual-mode control circuit.
[0048] Optionally, such as Figure 11 and Figure 12 As shown, the first transistor drive enhancement control circuit 52 includes transistors Q22 and Q24, resistors R255, R260, R272, R277, R286, and capacitor C217. One end of capacitor C217 is connected to one end of resistor R272, and the other end of capacitor C217 is connected to one end of resistor R277 and the emitter of transistor Q24 and grounded. The other end of resistor R272 is connected to the other end of resistor R277 and the base of transistor Q24. The collector of transistor Q24 is connected to one end of resistor R260, and the other end of resistor R260 is connected to one end of resistor R255 and the base of transistor Q22. The other end of resistor R255 is connected to the emitter of transistor Q22, and the collector of transistor Q22 is connected to one end of resistor R286. The other end of resistor R286 is grounded.
[0049] The second transistor drive enhancement control circuit 53 includes transistors Q21 and Q23, resistors R254, R258, R270, R273, and R279, and capacitor C216. One end of capacitor C216 is connected to one end of resistor R270, and the other end of capacitor C216 is connected to one end of resistor R273 and the emitter of transistor Q23 and grounded. The other end of resistor R270 is connected to the other end of resistor R273 and the base of transistor Q23. The collector of transistor Q23 is connected to one end of resistor R258, and the other end of resistor R258 is connected to one end of resistor R254 and the base of transistor Q21. The other end of resistor R254 is connected to the emitter of transistor Q21, and the collector of transistor Q21 is connected to one end of resistor R279. The other end of resistor R279 is grounded. Specifically, signal CPU_CASH_EN_1 (control signal 1) is input from resistor R272 and capacitor C217, and signal CPU_CASH_EN1 (power transistor control signal 1) is output from the collector of transistor Q22 and resistor R286; signal CPU_CASH_EN_2 (control signal 2) is input from resistor R270 and capacitor C216, and signal CPU_CASH_EN2 (power transistor control signal 2) is output from the collector of transistor Q21 and resistor R279.
[0050] Optionally, such as Figure 5 and Figure 6 As shown, the first power transistor control circuit 55 includes resistor R8, resistor R12, MOSFET Q13, diode D9, diode D10, and capacitor C11. One end of resistor R8 is connected to the gate of MOSFET Q13 and one end of resistor R12. The other end of resistor R12 is connected to the cathode of diode D9. The anode of diode D9 is connected to the mainboard cash drawer control unit and the printer control cash drawer interface unit, respectively. The drain of MOSFET Q13 is connected to the anode of diode D10. The cathode of diode D10 is connected to one end of capacitor C11. The other end of resistor R8, the source of MOSFET Q13, and the other end of capacitor C11 are grounded, respectively.
[0051] The second power transistor control circuit 56 includes resistors R9 and R14, a MOSFET Q14, a diode D11, and a capacitor C12. One end of resistor R9 is connected to the gate of MOSFET Q14 and one end of resistor R14, while the other end of resistor R14 is connected to the mainboard cash drawer control unit 21. The drain of MOSFET Q14 is connected to the anode of diode D11, and the cathode of diode D11 is connected to one end of capacitor C12. The other end of resistor R9, the source of MOSFET Q14, and the other end of capacitor C12 are grounded. The signals PRT_CASH_EN1 (printer control cash drawer signal) and CPU_CASH_EN1 (power transistor control signal 1) are output via a bus at diode D9; CPU_CASH_EN2 (power transistor control signal 2) is input from resistor R14.
[0052] Optionally, such as Figure 10 As shown, the state detection module 40 includes resistors R152, R235, R236, R237, R246, R247, R248, R249, R250, transistors Q15, Q16, and Q17, a TVS22, and a capacitor C16. One end of resistor R248 is connected to the emitter of transistor Q17, and the other end of resistor R248 is connected to one end of resistor R250. The other end of resistor R250 is connected to the base of transistor Q17. The collector of transistor Q17 is connected to one end of resistor R249 and one end of resistor R246. The other end of resistor R246 is connected to the base of transistor Q16. The emitter of transistor Q16 is connected to the other end of resistor R249 and grounded. The collector of transistor Q16 is connected to one end of resistors R236 and R237. The other end of resistor R237 is connected to the base of transistor Q15 and one end of resistor R247. The other end of resistor R247 is connected to the emitter of transistor Q15 and grounded. The collector of transistor Q15 is connected to one end of resistors R152 and R235. The other end of resistor R235 is connected to one end of TVS22 and one end of capacitor C16. The other end of TVS22 is connected to the other end of capacitor C16 and grounded. For cash drawer status detection, when the cash drawer is closed, the cash drawer status signal `cash_status` is internally pulled up by default. When the cash drawer is open, the cash drawer status signal `cash_status` changes from high to low. After circuit conversion, the signal level on the main board is opposite to the signal on the cash drawer.
[0053] In practical applications, when the cash drawer is opened, 24V (24V_OUT) is supplied to the cash drawer. At this time, the control signals CPU_CASH_EN_1 and CPU_CASH_EN_2 are in their default states. Due to the pull-down resistors of the bases of NPN transistors Q23 / Q24, NPN transistors Q23 / Q24 do not conduct. Therefore, PNP transistors Q21 / Q22 also do not conduct. The power transistor control signals 1 (CPU_CASH_EN1) and 2 (CPU_CASH_EN2) are affected by... The pull-down resistor's effect is assumed to be low, so power transistors Q13 / Q14 are not conducting, and the cash drawer remains closed. When the control signals CPU_CASH_EN_1 and CPU_CASH_EN_2 are pulled high, power transistor control signals 1 (CPU_CASH_EN1) and 2 (CPU_CASH_EN2) are pulled high, the gates of Q13 / Q14 are pulled high, the power MOSFETs conduct, and the closed-loop electromagnet circuit inside the cash drawer (RJ12) is completed. The electromagnet inside the cash drawer then operates, thus opening the cash drawer.
[0054] When you want to control the cash drawer through an external printer, connect the control signal from the external printer. At this time, the printer's control signal PRT_CASH_EN1# is sent to the retail POS control motherboard (the motherboard cash drawer control unit). It is selected by the JP9 signal and connected to PRT_CASH_EN1. The printer control signal for the cash drawer is PRT_CASH_EN1. PRT_CASH_EN1 is ORed with the main control terminal signal CPU_CASH_EN_1 through diode D12. At this time, the printer control signal for the cash drawer from the external printer is pulled high, the power transistor Q13 is turned on, the closed loop of the electromagnet circuit inside the cash drawer is formed, the electromagnet inside the cash drawer works, and thus the cash drawer is opened.
[0055] The above description is only a preferred embodiment of the present utility model, but the protection scope of the present utility model is not limited thereto. Any equivalent substitutions or changes made by those skilled in the art within the technical scope disclosed in the present utility model, based on the technical solution and the inventive concept of the present utility model, should be included within the protection scope of the present utility model.
Claims
1. A dual-mode control circuit for the mainboard of a retail cash register drawer, characterized in that, The motherboard dual-mode control circuit includes a power module, a control module, a cash drawer interface module, a status detection module, and a driver module. The control module, the power module, the status detection module, and the driver module are all connected to the cash drawer interface module, and the status detection module and the driver module are all connected to the control module. The control module includes a motherboard cash drawer control unit and a printer control cash drawer interface unit. Both the motherboard cash drawer control unit and the printer control cash drawer interface unit are connected to the status detection module. The printer control cash drawer interface unit is connected to the motherboard cash drawer control unit. The status detection module is used to detect the open and closed status of the cash drawer connected to the cash drawer interface module. The power module is used to supply power to the cash drawer. When the mainboard cash drawer control unit or the printer control cash drawer interface unit receives a control signal to open the cash drawer, the mainboard cash drawer control unit controls the drive module to open the cash drawer according to the control signal.
2. The dual-mode control circuit for the mainboard of the retail cash register drawer according to claim 1, characterized in that, When the motherboard cash box control unit receives the open status signal from the status detection module, the motherboard cash box control unit controls the drive module to shut down according to the open status signal; When the mainboard cash drawer control unit receives the off status signal fed back by the status detection module, the mainboard cash drawer control unit receives the first control signal of the cash drawer and controls the drive module to drive the electromagnet in the cash drawer to work to open the cash drawer; or the mainboard cash drawer control unit receives the second control signal of the cash drawer fed back by the printer control cash drawer interface unit and controls the drive module to drive the electromagnet in the cash drawer to work to open the cash drawer.
3. The dual-mode control circuit for the mainboard of the retail cash register drawer according to claim 2, characterized in that, The drive module includes a drive enhancement unit connected to the motherboard cash drawer control unit and a power control unit connected to the cash drawer interface module. The drive enhancement unit includes a first transistor drive enhancement control circuit and a second transistor drive enhancement control circuit. The power control unit includes a first power transistor control circuit connected to the first transistor drive enhancement control circuit and a second power transistor control circuit connected to the second transistor drive enhancement control circuit. The drive enhancement unit is used to process the control signals of the motherboard cash drawer control unit, and the power control unit is used to drive the electromagnet to work.
4. The dual-mode control circuit for the mainboard of the retail cash register drawer according to claim 3, characterized in that, The first transistor drive enhancement control circuit includes transistors Q22 and Q24, resistors R255, R260, R272, R277, R286, and capacitor C217. One end of capacitor C217 is connected to one end of resistor R272, and the other end of capacitor C217 is connected to one end of resistor R277 and the emitter of transistor Q24 and grounded. The other end of resistor R272 is connected to the other end of resistor R277 and the base of transistor Q24. The collector of transistor Q24 is connected to one end of resistor R260, and the other end of resistor R260 is connected to one end of resistor R255 and the base of transistor Q22. The other end of resistor R255 is connected to the emitter of transistor Q22, and the collector of transistor Q22 is connected to one end of resistor R286. The other end of resistor R286 is grounded. The second transistor drive enhancement control circuit includes transistors Q21 and Q23, resistors R254, R258, R270, R273, and R279, and capacitor C216. One end of capacitor C216 is connected to one end of resistor R270, and the other end of capacitor C216 is connected to one end of resistor R273 and the emitter of transistor Q23 and grounded. The other end of resistor R270 is connected to the other end of resistor R273 and the base of transistor Q23. The collector of transistor Q23 is connected to one end of resistor R258, and the other end of resistor R258 is connected to one end of resistor R254 and the base of transistor Q21. The other end of resistor R254 is connected to the emitter of transistor Q21, and the collector of transistor Q21 is connected to one end of resistor R279. The other end of resistor R279 is grounded.
5. The dual-mode control circuit for the mainboard of the retail cash register drawer according to claim 3, characterized in that, The first power transistor control circuit includes resistor R8, resistor R12, MOSFET Q13, diode D9, diode D10, and capacitor C11. One end of resistor R8 is connected to the gate of MOSFET Q13 and one end of resistor R12. The other end of resistor R12 is connected to the cathode of diode D9. The anode of diode D9 is connected to the mainboard cash drawer control unit and the printer control cash drawer interface unit, respectively. The drain of MOSFET Q13 is connected to the anode of diode D10. The cathode of diode D10 is connected to one end of capacitor C11. The other end of resistor R8, the source of MOSFET Q13, and the other end of capacitor C11 are grounded, respectively. The second power transistor control circuit includes resistor R9, resistor R14, MOSFET Q14, diode D11, and capacitor C12. One end of resistor R9 is connected to the gate of MOSFET Q14 and one end of resistor R14. The other end of resistor R14 is connected to the mainboard cash drawer control unit. The drain of MOSFET Q14 is connected to the anode of diode D11. The cathode of diode D11 is connected to one end of capacitor C12. The other end of resistor R9, the source of MOSFET Q14, and the other end of capacitor C12 are grounded respectively.
6. The dual-mode control circuit for the mainboard of the retail cash register drawer according to claim 1, characterized in that, The cash drawer interface module includes a terminal JP11, multiple TVS diodes, multiple resistors, and an inductor CM1. The multiple TVS diodes, multiple resistors, and inductor CM1 are all connected to the terminal JP11, which is an RJ12 type cash drawer interface.
7. The dual-mode control circuit for the mainboard of the retail cash register drawer according to claim 1, characterized in that, The printer control cash drawer interface unit includes a terminal JP10 and a diode D12. The anode of the diode D12 is connected to the status detection module and the terminal JP10, respectively, and the cathode of the diode D12 is connected to the cash drawer interface module. The printer control cash drawer interface unit is connected to the mainboard cash drawer control unit through the terminal JP9.
8. The dual-mode control circuit for the mainboard of the retail cash register drawer according to claim 7, characterized in that, The state detection module includes resistors R152, R235, R236, R237, R246, R247, R248, R249, R250, transistors Q15, Q16, and Q17, a TVS22, and a capacitor C16. One end of resistor R248 is connected to the emitter of transistor Q17, and the other end of resistor R248 is connected to one end of resistor R250. The other end of resistor R250 is connected to the base of transistor Q17. The collector of transistor Q17 is connected to one end of resistor R249 and one end of resistor R246. Resistor R246... The other end is connected to the base of transistor Q16. The emitter of transistor Q16 is connected to the other end of resistor R249 and grounded. The collector of transistor Q16 is connected to one end of resistors R236 and R237. The other end of resistor R237 is connected to the base of transistor Q15 and one end of resistor R247. The other end of resistor R247 is connected to the emitter of transistor Q15 and grounded. The collector of transistor Q15 is connected to one end of resistors R152 and R235. The other end of resistor R235 is connected to one end of TVS22 and one end of capacitor C16. The other end of TVS22 is connected to the other end of capacitor C16 and grounded.
9. The dual-mode control circuit for the mainboard of a retail cash register drawer according to claim 1, characterized in that, The power module includes a plug JP14, a switching circuit, and a voltage conversion circuit. The plug JP14 and the voltage conversion circuit are both connected to the switching circuit.
10. The dual-mode control circuit for the mainboard of a retail cash register drawer according to claim 9, characterized in that, The switching circuit includes chips U20 and U25 of model number NCE55P05S, multiple resistors and multiple capacitors, and the voltage conversion circuit includes chip U4 of model number RY8336, multiple capacitors and multiple resistors.