CN1979570B - Tax-controlled cashier - Google Patents
Tax-controlled cashier Download PDFInfo
- Publication number
- CN1979570B CN1979570B CN 200510101916 CN200510101916A CN1979570B CN 1979570 B CN1979570 B CN 1979570B CN 200510101916 CN200510101916 CN 200510101916 CN 200510101916 A CN200510101916 A CN 200510101916A CN 1979570 B CN1979570 B CN 1979570B
- Authority
- CN
- China
- Prior art keywords
- module
- printing
- circuit
- tax
- user card
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000013500 data storage Methods 0.000 claims abstract description 15
- 238000004891 communication Methods 0.000 claims abstract description 5
- 239000011159 matrix material Substances 0.000 claims description 6
- 239000003990 capacitor Substances 0.000 claims description 2
- 238000011084 recovery Methods 0.000 abstract description 4
- 230000002159 abnormal effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 4
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical compound [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 229910052742 iron Inorganic materials 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Abstract
Description
技术领域technical field
本发明涉及收款设备,更具体地说涉及一种税控收款机。The invention relates to cash collection equipment, more specifically to a tax-controlled cash collection machine.
背景技术Background technique
税控收款机用于商店、酒店等行业用于收款。税控收款机的服务功能除了能为商家提供收款服务外还能为税务部门进行计税管理,即它的服务对象有两个,而且是相互。可以记录、显示和打印每笔交易的商品名称和金额;可以对商品进行清除、立即更正、过时更正、退货、折扣、加价、减价处理;可以处理现金、支票、信用卡、优惠券等多种交易结算方式;可以对非营业性支出和收入加以处理。税控收款机的打印头出针打印时,必须在一定的时间内收回打印针。若因各种原因打印针不能及时收回,会因为打印针驱动线圈电流过大而导致烧毁打印头。现有技术的税控收款机的打印针的出针收针一般由微处理器直接控制,如果在打印针出针时微处理器死机,打印针收不回来,这样会造成打印头被烧毁。当第三方对用户卡座进行各种物理攻击时(如插入铁片),会造成用户卡的供电电流突然增大,会烧毁用户卡或者烧毁用户卡接口电路,现有技术的税控收款机对此都没有进行保护处理。税控收款机正常工作时,会生成大量的税控数据,并存储在机器内部的数据存储器中。在数据存储的过程中,数据存储器会受到来自供电电源的各种干扰信号的影响,降低了数据存储的可靠性。Tax-controlled cash registers are used in shops, hotels and other industries to collect money. In addition to providing collection services for merchants, the service function of the tax-controlled cash register can also perform tax calculation management for the tax department, that is, there are two service objects, and they are mutual. Can record, display and print the product name and amount of each transaction; can clear, immediately correct, outdated correction, return, discount, price increase, price reduction processing for the product; can handle cash, checks, credit cards, coupons, etc. Transaction settlement method; non-operating expenses and income can be processed. When the printing head of the tax-controlled cash register prints out the needle, it must retract the printing needle within a certain period of time. If the printing needle cannot be retracted in time due to various reasons, the printing head will be burned due to the excessive current of the driving coil of the printing needle. The output and retraction of the printing needles of the tax-controlled cash registers in the prior art are generally directly controlled by the microprocessor. If the microprocessor crashes when the printing needles are ejected, the printing needles cannot be retracted, which will cause the print head to be burned. . When a third party performs various physical attacks on the user card seat (such as inserting an iron sheet), the power supply current of the user card will suddenly increase, and the user card or the interface circuit of the user card will be burned. The machine has no protection for this. When the tax control cash register works normally, it will generate a large amount of tax control data and store it in the data memory inside the machine. In the process of data storage, the data memory will be affected by various interference signals from the power supply, which reduces the reliability of data storage.
发明内容Contents of the invention
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种高可靠性的税控收款机。The technical problem to be solved by the present invention is to provide a high-reliability tax-controlled cash register for the above-mentioned defects of the prior art.
本发明解决其技术问题所采用的技术方案是:构造一种税控收款机,包括电源模块、主控制模块、键盘模块、显示模块、数据存储模块、实时时钟模块、用户卡模块、税控卡模块、打印模块、通讯接口模块。其特征在于,所述打印模块包括在暂稳态驱动打印头出针、在稳态收回打印针的单稳电路以及与所述单稳电路连接、用于触发所述单稳电路进入暂稳态并自动控制打印头出针时间的单稳触发电路,所述单稳电路包括单稳态触发器芯片74HC123、与所述芯片74HC123的RCext脚和Cext脚连接的定时电容、定时电阻以及一端和电源电压连接另一端分别和B脚、CLR脚连接的限流电阻。The technical solution adopted by the present invention to solve the technical problem is: to construct a tax control cash register, including a power supply module, a main control module, a keyboard module, a display module, a data storage module, a real-time clock module, a user card module, a tax control Card module, printing module, communication interface module. It is characterized in that the printing module includes a monostable circuit that drives the print head to output needles in a temporary stable state, retracts the printing needles in a stable state, and is connected to the monostable circuit for triggering the monostable circuit to enter a temporary stable state. And automatically control the monostable trigger circuit of the printing head needle output time, the monostable circuit includes a monostable trigger chip 74HC123, a timing capacitor connected to the RCext pin and Cext pin of the chip 74HC123, a timing resistor, and one end and power supply The other end of the voltage connection is respectively connected to the current limiting resistors of the B pin and the CLR pin.
在本发明所述的税控收款机中,所述打印模块还包括与所述单稳电路相连在所述单稳电路为暂稳态驱动所述打印头出针及在单稳电路为稳态收回打印针的打印驱动电路、与所述打印驱动电路相连的用于锁存打印点阵数据的打印数据锁存器,其中所述打印数据锁存器与所述打印控制电路相连,所述触发电路与所述打印控制电路相连,所述打印驱动电路与所述打印头相连。In the tax-controlled cash register according to the present invention, the printing module also includes connecting with the monostable circuit, driving the print head to output needles in a temporary stable state in the monostable circuit, and driving the needle output in a stable state in the monostable circuit. A print drive circuit that retracts the print pin in a state, and a print data latch connected to the print drive circuit for latching printing dot matrix data, wherein the print data latch is connected to the print control circuit, the The trigger circuit is connected with the print control circuit, and the print drive circuit is connected with the print head.
在本发明所述的税控收款机中,所述用户卡接口模块包括用户卡供电电源管脚,还包括一个用于控制用户卡供电电源管脚开关的三极管,所述三极管的发射极与所述电源模块相连,所述三极管的基极与所述控制模块相连用于控制所述电源管脚的电源有无,所述三极管的集电极和用户卡供电电源管脚之间连接有一个在电流过大自动断开的用于保护所述用户卡的保险丝.In the tax-controlled cash register of the present invention, the user card interface module includes a user card power supply pin, and also includes a triode for controlling the user card power supply pin switch, and the emitter of the triode is connected to the power supply pin of the user card. The power supply module is connected, the base of the triode is connected with the control module to control the power supply of the power supply pin, and a power supply pin is connected between the collector of the triode and the user card power supply pin The fuse used to protect the user card is automatically disconnected when the current is too large.
在本发明所述的税控收款机中,所述保险丝为断开后在电流正常后能自动恢复的自恢复保险丝。In the tax-controlled cash register of the present invention, the fuse is a self-recovery fuse that can automatically recover after the current is normal after being disconnected.
在本发明所述的税控收款机中,所述三极管为PNP三极管。In the tax control cash register of the present invention, the triode is a PNP triode.
在本发明所述的税控收款机中,所述电源模块通过滤波器为所述数据存储模块提供电源。In the tax-controlled cash register of the present invention, the power supply module supplies power to the data storage module through a filter.
在本发明所述的税控收款机中,所述滤波器为EMI滤波器。In the tax control cash register of the present invention, the filter is an EMI filter.
本发明的有益效果是,由于本发明的税控收款机采用一个专门设计的单稳触发电路去自动控制打印头的出针时间,能保证机器在各种异常状态下,打印头出针后都能在规定的安全时间内收回打印针,杜绝了烧毁打印头的事故发生。由于本发明的税控收款机采用自恢复保险丝对用户卡供电电路进行保护,当第三方对用户卡座进行各种物理攻击时,会造成用户卡的供电电流突然增大,当电流超出设计值时,保险丝会自动断开,保证不影响系统其它模块的正常工作;当物理攻击解除后,保险丝会恢复,对用户卡的操作又能恢复正常。由于本发明的税控收款机在存储数据的过程中,通过在数据存储器的电源端口添加专用的抗干扰器件,能极大的抑制电源系统产生的干扰因素,提高了数据存储的可靠性,同时也提高了整机工作的可靠性。The beneficial effect of the present invention is that, since the tax control cash register of the present invention adopts a specially designed monostable trigger circuit to automatically control the needle-out time of the print head, it can ensure that the machine is in various abnormal states, The printing needle can be retracted within the specified safety time, preventing the accident of burning the printing head. Since the tax-controlled cash register of the present invention uses a self-recovery fuse to protect the power supply circuit of the user card, when a third party performs various physical attacks on the user card seat, the power supply current of the user card will suddenly increase, and when the current exceeds the designed When the value is set, the fuse will be automatically disconnected to ensure that the normal operation of other modules of the system will not be affected; when the physical attack is removed, the fuse will be restored, and the operation of the user card can return to normal. Since the tax-controlled cash register of the present invention adds a special anti-interference device to the power port of the data memory during the process of storing data, it can greatly suppress the interference factors generated by the power system and improve the reliability of data storage. At the same time, the reliability of the whole machine is also improved.
附图说明Description of drawings
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with accompanying drawing and embodiment, in the accompanying drawing:
图1是本发明的税控收款机的一种实施方式的结构框图;Fig. 1 is a structural block diagram of an embodiment of the tax control cash register of the present invention;
图2是本发明的税控收款机的打印模块结构框图;Fig. 2 is the structural block diagram of the print module of the tax control cash register of the present invention;
图3是本发明的税控收款机中的的单稳电路的电路图;Fig. 3 is the circuit diagram of the monostable circuit in the tax control cash register of the present invention;
图4是本发明的税控收款机的一种实施方式的电路图。Fig. 4 is a circuit diagram of an embodiment of the tax control cash register of the present invention.
具体实施方式Detailed ways
如图1所示,为本发明的税控收款机的一种实施方式的结构框图。在本实施例的税控收款机中,包括电源模块、主控制模块、键盘模块、显示模块、数据存储模块、实时时钟模块、用户卡模块、税控卡模块、打印模块、通讯接口模块。主控制模块与所述键盘模块、显示模块、数据存储模块、实时时钟模块、用户卡模块、税控卡模块、打印模块、通讯接口模块相连并控制其工作。As shown in FIG. 1 , it is a structural block diagram of an embodiment of the tax control cash register of the present invention. In this embodiment, the tax control cash register includes a power supply module, a main control module, a keyboard module, a display module, a data storage module, a real-time clock module, a user card module, a tax control card module, a printing module, and a communication interface module. The main control module is connected with the keyboard module, display module, data storage module, real-time clock module, user card module, tax control card module, printing module and communication interface module to control their work.
如图2所示,为本发明的税控收款机的打印模块的结构框图,包括与所述单稳电路相连用于触发所述单稳电路进入暂稳态的触发电路,与所述单稳电路相连在所述单稳电路为暂稳态驱动所述打印头出针,在单稳电路为稳态收回打印针的打印驱动电路,与所述打印驱动电路相连的用于锁存打印点阵数据的打印数据锁存器;所述打印数据锁存器与所述打印控制电路相连,所述触发电路与所述打印控制电路相连,所述打印驱动电路与所述打印头相连。As shown in Figure 2, it is a structural block diagram of the printing module of the tax control cash register of the present invention, including a trigger circuit connected to the monostable circuit for triggering the monostable circuit to enter a transient state, and the monostable circuit The monostable circuit is connected to the monostable circuit to drive the print head out of the needle in a temporary state, and the monostable circuit is a printing driver circuit to retract the printing needle in a steady state, and the monostable circuit is used to latch the printing dot A print data latch for array data; the print data latch is connected to the print control circuit, the trigger circuit is connected to the print control circuit, and the print drive circuit is connected to the print head.
在本发明中,采用一个专门设计的单稳触发电路去自动控制打印头的出针时间,能保证机器在各种异常状态下,打印头出针后都能在规定的安全时间内收回打印针,杜绝了烧毁打印头的事故发生.打印发票时,微控制器先驱动步进马达完成发票的走纸、定位,接着锁存打印字符的点阵数据,然后触发单稳电路,使之进入暂稳态,在此状态下,单稳电路的输出信号将锁存的打印点阵数据输出到打印针驱动电路上,驱动打印头出针进行打印;当单稳电路退出暂稳态恢复为稳态时,单稳电路的输出信号将禁止将打印点阵数据输出到打印针驱动电路上,使打印头收针,结束打印.单稳电路的电路图如图3所示,芯片U8B及周边器件为单稳电路(简单说明).In the present invention, a specially designed monostable trigger circuit is used to automatically control the needle-out time of the printing head, which can ensure that the printing needle can be retracted within the specified safe time after the printing head is out of the needle under various abnormal conditions. , put an end to the accident of burning the print head. When printing the invoice, the microcontroller first drives the stepper motor to complete the paper feeding and positioning of the invoice, and then latches the dot matrix data of the printed characters, and then triggers the monostable circuit to enter the temporary Steady state, in this state, the output signal of the monostable circuit outputs the latched printing dot matrix data to the printing needle drive circuit, driving the print head to print out the needle; when the monostable circuit exits the temporary stable state, it returns to the steady state , the output signal of the monostable circuit will prohibit the printing dot matrix data from being output to the printing needle drive circuit, so that the print head will close the needle and end printing. The circuit diagram of the monostable circuit is shown in Figure 3, and the chip U8B and peripheral devices are single Stable circuit (simple explanation).
如图4所示,为本发明的税控收款机的一种实施方式的电路图。其中U1为单片机,U2为地址锁存器,U3为RAM存储器,U3为EPROM存储器,U20、U21为电机驱动,J4、J5为打印机接口,PP1-PP8引脚锁存需打印的点阵数据,芯片U8B及周边器件为单稳电路。As shown in FIG. 4 , it is a circuit diagram of an embodiment of the tax control cash register of the present invention. Among them, U1 is a single-chip microcomputer, U2 is an address latch, U3 is a RAM memory, U3 is an EPROM memory, U20 and U21 are motor drivers, J4 and J5 are printer interfaces, and PP1-PP8 pins latch dot matrix data to be printed. Chip U8B and peripheral devices are monostable circuits.
在本发明的税控收款机的一种实施方式中,用户卡接口模块还设有一个用于控制用户卡供电电源管脚开关的三极管,其中极管的发射极与所述电源模块相连,三极管的基极与控制模块相连用于控制所述供电电源管脚的电源有无,三极管的集电极和用户卡供电电源管脚之间连接有一个在电流过大自动断开的用于保护所述用户卡的保险丝。其中的保险丝为断开后在电流正常后能自动恢复的自恢复保险丝。三极管为PNP三极管。采用这样的设置,当第三方对用户卡座进行各种物理攻击时,会造成用户卡的供电电流突然增大,当电流超出设计值时,保险丝会自动断开,保证不影响系统其它模块的正常工作;当物理攻击解除后,保险丝会恢复,对用户卡的操作又能恢复正常。In one embodiment of the tax-controlled cash register of the present invention, the user card interface module is also provided with a triode for controlling the power supply pin switch of the user card, wherein the emitter of the pole tube is connected with the power module, The base of the triode is connected with the control module to control whether the power of the power supply pin is available, and a device is connected between the collector of the triode and the power supply pin of the user card to automatically disconnect when the current is too large. the fuse of the user card mentioned above. The fuse among them is a self-recovery fuse that can automatically recover after the current is normal after being disconnected. The transistor is a PNP transistor. With such a setting, when a third party conducts various physical attacks on the user card socket, the power supply current of the user card will suddenly increase. When the current exceeds the design value, the fuse will be automatically disconnected to ensure that it does not affect the other modules of the system. Normal work; when the physical attack is removed, the fuse will be restored, and the operation of the user card can return to normal.
在本发明的税控收款机的一种实施方式中,电源模块通过滤波器为所述数据存储模块提供电源。所述滤波器为EMI滤波器。在本实施例中通过在数据存储器的电源端口添加专用的抗干扰器件,能极大的抑制电源系统产生的干扰因素,提高了数据存储的可靠性,同时也提高了整机工作的可靠性。In one embodiment of the tax-controlled cash register of the present invention, the power supply module supplies power to the data storage module through a filter. The filter is an EMI filter. In this embodiment, by adding a special anti-interference device to the power port of the data storage, the interference factors generated by the power system can be greatly suppressed, the reliability of data storage is improved, and the reliability of the whole machine is also improved.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200510101916 CN1979570B (en) | 2005-12-08 | 2005-12-08 | Tax-controlled cashier |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200510101916 CN1979570B (en) | 2005-12-08 | 2005-12-08 | Tax-controlled cashier |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1979570A CN1979570A (en) | 2007-06-13 |
| CN1979570B true CN1979570B (en) | 2010-05-05 |
Family
ID=38130720
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200510101916 Expired - Fee Related CN1979570B (en) | 2005-12-08 | 2005-12-08 | Tax-controlled cashier |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1979570B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| BRPI1005607B1 (en) * | 2009-12-17 | 2021-02-23 | Seiko Epson Corporation | electronic device and method to control electronic device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08276611A (en) | 1995-04-07 | 1996-10-22 | Nitsuko Corp | Drive control circuit of thermal head for printer |
| CN2561159Y (en) * | 2001-08-09 | 2003-07-16 | 神达电脑股份有限公司 | EMI Filters for Power Supplies |
| CN1598843A (en) * | 2004-08-09 | 2005-03-23 | 湖南威远信息技术有限公司 | Tax control cash register |
| CN2729985Y (en) * | 2004-04-30 | 2005-09-28 | 北京铱星世纪数字应用开发有限责任公司 | Output control circuit for gate inhibition controller |
| CN2893801Y (en) * | 2005-12-08 | 2007-04-25 | 深圳长城开发科技股份有限公司 | Tax-control collection machine |
-
2005
- 2005-12-08 CN CN 200510101916 patent/CN1979570B/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08276611A (en) | 1995-04-07 | 1996-10-22 | Nitsuko Corp | Drive control circuit of thermal head for printer |
| CN2561159Y (en) * | 2001-08-09 | 2003-07-16 | 神达电脑股份有限公司 | EMI Filters for Power Supplies |
| CN2729985Y (en) * | 2004-04-30 | 2005-09-28 | 北京铱星世纪数字应用开发有限责任公司 | Output control circuit for gate inhibition controller |
| CN1598843A (en) * | 2004-08-09 | 2005-03-23 | 湖南威远信息技术有限公司 | Tax control cash register |
| CN2893801Y (en) * | 2005-12-08 | 2007-04-25 | 深圳长城开发科技股份有限公司 | Tax-control collection machine |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1979570A (en) | 2007-06-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7343496B1 (en) | Secure transaction microcontroller with secure boot loader | |
| US6317848B1 (en) | System for tracking and automatically communicating printer failures and usage profile aspects | |
| US20100134821A1 (en) | Fiscal Printer | |
| EP2596955A1 (en) | Printer and control method thereof | |
| CN201269902Y (en) | Break-down detection circuit for electronic electrical energy meter | |
| CH675496A5 (en) | ||
| JPS592063B2 (en) | density register | |
| US20080126670A1 (en) | Arrangement for exchange of customer data of a franking machine | |
| CN1979570B (en) | Tax-controlled cashier | |
| CN101118632A (en) | A data processing method for disconnection of network tax controller | |
| CN2893801Y (en) | Tax-control collection machine | |
| CN1979572A (en) | Tax-controlled cashier | |
| CN2932503Y (en) | A lottery sales terminal | |
| CN101334920A (en) | POS machine host | |
| CN201322960Y (en) | Charge POS machine used for printer/ duplicating machine | |
| CN107818259B (en) | A printing authorization control circuit and control method | |
| CN207409070U (en) | A kind of POS machine for facilitating payment | |
| CN2323417Y (en) | taxi fare printer | |
| CN111756020A (en) | A device for automatic checking of fixed value of relay protection | |
| CN212724155U (en) | Paperless electronic automatic charging integrated management system | |
| CN206330582U (en) | A kind of vehicle leasing alignment system | |
| CN205970419U (en) | Printer with scanning detects function | |
| CN203616831U (en) | Tax-control cash register with specific storage protection | |
| CN201203879Y (en) | Paper magnetic ticket preparing machine with magnetic stripe ticket read-write function | |
| CN106207957A (en) | A kind of supply unit to Possum load current-limiting protection and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100505 |