CN2836117Y - Tax controlled cash register with voltage detection and charging circuit - Google Patents

Tax controlled cash register with voltage detection and charging circuit Download PDF

Info

Publication number
CN2836117Y
CN2836117Y CN 200520036411 CN200520036411U CN2836117Y CN 2836117 Y CN2836117 Y CN 2836117Y CN 200520036411 CN200520036411 CN 200520036411 CN 200520036411 U CN200520036411 U CN 200520036411U CN 2836117 Y CN2836117 Y CN 2836117Y
Authority
CN
China
Prior art keywords
tax
resistance
cash register
diode
triode
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 - Lifetime
Application number
CN 200520036411
Other languages
Chinese (zh)
Inventor
沈伟
赵银春
王亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Westone Information Industry Inc
Original Assignee
Chengdu Westone Information Industry Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Westone Information Industry Inc filed Critical Chengdu Westone Information Industry Inc
Priority to CN 200520036411 priority Critical patent/CN2836117Y/en
Application granted granted Critical
Publication of CN2836117Y publication Critical patent/CN2836117Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

A tax-controlled cash register with a voltage detection and charging circuit relates to the field of electronic products with the tax-controlled function, particularly a tax-controlled cash register with a charging circuit. The utility model is characterized in that an SOC SCM is contained in a tax-controlled cash receiving module; a rechargeable battery and the charging circuit connected with the rechargeable battery are contained in a host machine. The tax-controlled cash register solves the problem existing in the existing tax-controlled cash register of weak data storage reliability caused by the structure of complicated structure and no detection of a backup battery. The utility model has the advantages that the tax-controlled cash register has simple structure, battery voltage detection function and high voltage detection precision; the tax-controlled cash register can charge the backup battery to ensure the reliability of data storage. The tax-controlled cash register can be used in various commercial sale business fields.

Description

The tax-control cash register of detection charge circuit with voltage
Technical field
The utility model relates to the electronic product field with tax control function, particularly has the tax-control cash register of the band charge circuit of voltage detecting function.
Background technology
Requirement based on national policy, and along with development of electronic technology, electronics gathering, electronic money, electronic transaction are day by day popularized, and do not cause tax erosion owing to original electronic cash register does not have tax control function simultaneously, thus, domestic various electronic cash registers with tax control function have appearred.These tax-control cash registers have installed the tax control function module additional based on original cashing machine; there is following deficiency in this tax-control cash register: the reserve battery of mainboard is not equipped with voltage detecting circuit; at battery failure or when breaking down; can cause machine works undesired or lose storage data; the tax data that causes is lost, and making taxes has lost foundation.
The utility model content
The purpose of this utility model is to have the tax-control cash register above shortcomings now in order to solve, and for the user provides a kind of rechargeable battery and charging and discharging circuit of having, can detect cell voltage, and guarantees that battery is effective, and work is tax-control cash register more reliably.
The purpose of this utility model realizes by following technical proposals:
The tax-control cash register of detection charge circuit with voltage, comprise main frame and the keyboard that is attached thereto respectively, display screen, printer, main frame contains the tax control cash receiving module and reaches and its built-in MODEM that is connected respectively, Ethernet interface, UART, SAM deck, IC-card seat, it is characterized in that: the tax control cash receiving module contains the SOC single-chip microcomputer, includes rechargeable battery and connected charge circuit in the main frame.
Described charge circuit comprises charge switch circuit, the constant-current source circuit of external power supply E1 and series connection with it, and constant-current source circuit is connected with rechargeable battery E2.
The junction of described constant-current source circuit and rechargeable battery is provided with the voltage detecting point, and this voltage detecting point is connected with the A/D switched pins of SOC single-chip microcomputer.
The charge switch circuit of described charge circuit is connected with the I/O pin of SOC single-chip microcomputer.
Above-mentioned charge switch circuit is made up of resistance R 1, resistance R 2 and triode Q1, one end of resistance R 1 is connected with the positive pole of external power supply E1, the emitter-base bandgap grading of triode Q1 connects, the other end of resistance R 1 is connected with an end of resistance R 2 and the base stage of triode Q1, and the other end of resistance R 2 is connected with the I/O pin of SOC single-chip microcomputer.
Above-mentioned constant-current source circuit is by resistance R 3, resistance R 4, diode D1, diode D2, diode D3, triode Q2 forms, the positive pole of diode D1 is connected with an end of resistance R 3, the negative pole of diode D1 is connected with the positive pole of diode D2, the other end of resistance R 3 is connected with the emitter-base bandgap grading of triode Q2, the negative pole of the base stage of triode Q2 and diode D2, one end of resistance R 4 connects, the positive pole of the collector of triode Q2 and diode D3, the A/D switched pins of SOC single-chip microcomputer connects, the negative pole of diode D3 is connected with the positive pole of rechargeable battery E2, the other end of the negative pole of rechargeable battery E2 and resistance R 4, the negative pole of external power supply E1 connects back ground connection.
The collector of the triode Q1 of above-mentioned charge switch circuit is connected with the positive pole of constant-current source circuit diode D1, and the emitter-base bandgap grading of triode Q1 is connected with the positive pole of external power supply E1.
The beneficial effects of the utility model are, the tax control cash receiving module contains the SOC single-chip microcomputer, and the more function module is integrated in the SOC single-chip microcomputer, reduced the wiring of the peripheral cell and the pcb board of integrated circuit, correspondingly make product structure simple, and improved Electro Magnetic Compatibility, improved reliability; The positive pole of the diode D3 of charge circuit inserts the A/D switched pins of SOC single-chip microcomputer, carrying out voltage sampling by A/D converter detects, when cell voltage during less than setting value, the voltage signal of this point imports the SOC single-chip microcomputer into, undertaken exporting a signal for the resistance R 2 of charge circuit after the judgment processing by it, turn-on transistor Q1 makes charge circuit charge to rechargeable battery E2; When the voltage of rechargeable battery E2 was higher than setting value, resistance R 2 places obtained signal by triode Q1, have just closed charge circuit.As seen, adopt the utility model of said structure, compared with prior art, have: can detect backup battery voltage, voltage detecting precision height, and can control battery charge according to the voltage detecting result, guarantee the battery capacity abundance, guarantee the advantage of reliability of data storage, and can avoid owing to battery overcharge being caused the problem that battery damages or shorten serviceable life.
Description of drawings
Fig. 1 is a structural representation block diagram of the present utility model;
Fig. 2 is the electrical block diagram of the utility model charge circuit;
Fig. 3 is a software configuration synoptic diagram of the present utility model.
Embodiment
Below in conjunction with the drawings and specific embodiments the utility model is further described.
Embodiment: the disclosed tax-control cash register of the utility model includes main frame, display screen, keyboard, printer, barcode scanner, handwriting pad, display screen, keyboard, printer, barcode scanner, handwriting pad is connected with main frame respectively, display screen is the LCD LCDs, the ground wire of each pcb board in the main frame is connected with the AC Power supply socket ground wire of this machine by lead, main frame contains the tax control cash receiving module, the tax control cash receiving module respectively with the SAM deck, the IC-card seat, UART (UART Universal Asynchronous Receiver Transmitter), Ethernet interface, built-in MODEM (modulator-demodular unit) connects, UART (UART Universal Asynchronous Receiver Transmitter) again with barcode scanner, handwriting pad connects, the tax control cash receiving module contains the SOC single-chip microcomputer that model is upsd3234A, this single-chip microcomputer adopts enhancement mode MCS-51 kernel, be the SOC single-chip microcomputer of MCU+PSD, this device has following characteristics:
1,2 Flash storeies are easy to realize online application programming function.
2, can select the high capacity SRAM of power backup protection.
3,2 kinds of Programmable Logic Device are respectively address decoding DPLD and combinational logic CPLD.
4,6 groups of general purpose I/O provide nearly 46 I/O pins.
5, the I2C of master-slave mode.
6, the USB1.1 of low-speed mode.
7,2 road serial-port UART.
8, the JTAG mouth of on-line system programming.
9, inside has the inferior Flash of main Flash, 32KB of 256KB and the SRAM of 8KB, and operating voltage is 5V, selects the 24MHz crystal oscillator for use.Wherein SRAM can deposit the data of some long preservation by the outer reserve battery power supply of sheet, keeps electric current and only needs 1 μ A.
Also have clock chip M41TOM6, IC-card module NCN6004 and storer M25P16 in the tax control cash receiving module, clock chip M41TOM6 has clock/calendar function, Timing millisecond, second, minute, hour, week, day, the moon, year, century.Can be after system's power down by the power supply of the standby power supply outside the sheet, with the continuation operation of retention tab internal clock.Adopt the 32.768kHz crystal oscillator, operating voltage 5V, working current 130~200 μ A, backup battery voltage 3V keeps electric current and only needs 1 μ A, the peak transfer rate 400kHz of I2C; Memory span is 2MB, has 32 sectors, 256 pages of each sectors, and every page 256 byte, the page or leaf programming time is 1.4ms.M25P16 adopts spi bus interface, peak transfer rate 50MHz, low-work voltage 3.3V.In order to realize the conversion of 5V to 3.3V logic level, can use three tunnel noninverting Schmidt trigger NL37WZ17 of Onsemi company, its compatible 5V and 3V logic level, output drives can reach 24mA, and the Flash storer is mainly used to store invoice data and tax-control data; UART (UART Universal Asynchronous Receiver Transmitter) conversion chip adopts the HIN202 of intersil company, and upsd3234A inside has 2 road UART, all can select the RS232 communication for use.The operating voltage of HIN202 is 5V, has 2 tunnel transmitting-receivings and drives; In order to realize power-down protection, adopt the chip NCP1402SN50T1 that boosts of Onsemi company, its minimum input trigger voltage is 0.8V, and output voltage is 5V, and output current is 200mA.When system's operate as normal, NCP1402SN50T1 can be big electric capacity charging, in case outage, big electric capacity still can be kept some times of this chip operation, and can finish some important tasks this moment, produces mistake to avoid abnormal power-down.Big electric capacity adopts the convoluted electric capacity of 3.3F/2.5V of two series connection, can keep power supply more than 4 seconds when being full of; 5V to 3.3V electric pressure converter adopts the NCP500SN33T1 of Onsemi company, and this chip output current is 150mA, can be the 3.3V device operating voltage is provided.
As shown in Figure 2, outstanding structure is the charge circuit that has adopted rechargeable battery E2 and be mated in the utility model circuit, charge circuit is by external power supply E1, resistance R 1, resistance R 2, resistance R 3, resistance R 4, diode D1, diode D2, diode D3, rechargeable battery E2, triode Q1, triode Q2 forms, wherein the positive pole of external power supply E1 is connected with an end of resistance R 1 and the emitter-base bandgap grading of triode Q1, the other end of resistance R 1 is connected with an end of resistance R 2 and the base stage of triode Q1, the other end of resistance R 2 is connected with the I/O pin of SOC single-chip microcomputer, the positive pole of the collector of triode Q1 and diode D1, one end of resistance R 3 connects, the negative pole of diode D1 is connected with the positive pole of diode D2, the other end of resistance R 3 is connected with the emitter-base bandgap grading of triode Q2, the negative pole of the base stage of triode Q2 and diode D2, one end of resistance R 4 connects, the positive pole of the collector of triode Q2 and diode D3, the A/D switched pins of SOC single-chip microcomputer connects, the negative pole of diode D3 is connected with the positive pole of rechargeable battery E2, the other end of the negative pole of rechargeable battery E2 and resistance R 4, the negative pole of external power supply E1 connects back ground connection.External power supply E1 comes from the direct supply of external AC power behind rectifying and wave-filtering, its voltage is 4.8V, the operating voltage of rechargeable battery is 3.2V, resistance R 1 is that 20k Ω, R3 are that 200 Ω, R4 are 12k Ω for 10k Ω, R2, triode Q1 is that 2N4125, triode Q2 are BD240, and diode D1, D2, D3 are 1N4148.When the voltage of rechargeable battery E2 is lower than 3.1V, B point among Fig. 2 is to voltage signal of the A/D of upsd3234A switched pins output, after upsd3234A handles, to voltage signal of its I/O pin output, make the both end voltage of resistance R 1 be higher than the emitter-base bandgap grading forward voltage of triode Q1, triode Q1 conducting, charging current is charged to rechargeable battery E2 through emitter-base bandgap grading and collector, resistance R 3, triode Q2, the diode D3 of triode Q1; When the voltage of rechargeable battery E2 was higher than 4V, through same processing procedure, the I/O pin of upsd3234A was to resistance R 2 output voltage signals, and by the conducting of triode Q1, charge circuit quits work.As seen, in this charge circuit, resistance R 1, resistance R 2 and triode Q1 form charge switch circuit, control cut-offfing of charge circuit; Resistance R 3, resistance R 4, diode D1, diode D2, diode D3, triode Q2 form constant-current source circuit, charge to rechargeable battery E2 with constant current, and in conjunction with the inside pin function of SOC single-chip microcomputer, can detect the voltage of rechargeable battery E2 and when its voltage is on the low side, charge, keep its capacity, voltage to satisfy the requirement of storage data to it.
Software design structure of the present utility model is divided into totally four layers of master control layer, tax control cash receiving administration and supervision authorities, communication management layer and device drive layer as shown in Figure 3.The master control layer is the taxation control system master routine, is responsible for initialization and the communication monitoring between main frame, consultative management, the explanation of tax control order bag and the affairs such as scheduling of task of system and equipment; The communication management layer comprises the interface library function, at be the supervisory routine of complex apparatus design, mainly comprise IC-card management, memory management, display process, Interrupt Process etc.The IC-card supervisory routine is the operational order program to the design of tax control IC-card, can be divided into basic command and explosion command, basic command has file operation, read-write record, generation random number, inside and outside authentication, reads response, uses locking etc., the tax-controlling card specific command has functions such as card is registered, made out an invoice, Day Trading signature, and the subscriber card specific command has the registration signature, distributes invoice, the functions such as data gather of declaring dutiable goods.Memory manager program comprises the management of public data area, be used for the Flash storage space is carried out the address assignment management, this program designs by the mode of cycle index, mainly finish invoice detail, Day Trading and volume summary record format, affairs such as read and write, search, also be responsible for being stored in the management of allocation tables among the SRAM simultaneously, the record of data such as pointer; Device drive layer is to make each hardware device realize the driver of bottom operation, comprise api functions such as clock, IC-card, Flash storer, UART, wherein clock function is realized functions such as setting, reading and writing clock and calendar, the IC-card function realizes that the plug-in card of IC-card detects, the card power-on and power-off, card resets and function such as card command, Flash storer function is realized functions such as the wiping of outside Flash storer, reading and writing, and functions such as data are realized being provided with, receive and sent to UART and USB function; The tax control cash receiving administration and supervision authorities are mainly carried out gathering, tax control, management function.
The tax control cash receiving administration and supervision authorities of software can be divided into again sells gathering module, sales management module, tax-controlling module.
1, sell the gathering functions of modules: the function of this program is for selling operation, sales data come out to offer the SAM card and make out an invoice and get the tax control sign indicating number in this process, and the data of selling daily record are provided.
Cuit:
Machine pattern---sales mode, return of goods pattern, training pattern.
Mode of operation---shop mode, show business pattern
The output project:
The related data of making out an invoice
The related data of printing
The related data that shows
Sell the related data of daily record
2, sales management functions of modules: increase, inquiry, modification and the deletion of merchandise control and personal management are provided for tax-control cash register.
Cuit comprises:
(1) the relevant data-interface of category increases at category, revises, and during deletion, fills in parameter by administration module
Portion's class-mark
Category is provided with price
Category tax rate index
The category title
(2) PLU related data interface increases at PLU, revises, and during deletion, fills in parameter by administration module
PLU number
The PLU commodity are preset price
The PLU commodity tax rate
The PLU trade name
(3) personnel's related data interface carrying out personnel's increase, is revised, and during deletion, fills in parameter by administration module
ID users
User's name
User's post
User cipher
User right
The output project:
Category information is inquired about when selling the category commodity by Sales module, and PLU information is inquired about when selling the PLU commodity by Sales module, and personal information offers administration module and Sales module inquiry.
3, tax-controlling module
Function: tax-controlling module correctly generates tax-control data by tax-controlling card, and tax-control data difference reliable memory is in tax-controlling card and tax-controlling memory; Adopt subscriber card or other medium with the tax-control data safe transfer in the tax control cash receiving machine management system of the tax authority.
Cuit:
The calling module incoming event
Administration module imports tax-controlling module into and reaches by the date in order to the from date of adding up invoice use data on a time period;
Administration module imports tax-controlling module into and reaches by the date in order to the from date of verifying by the period.
The output project:
Sales module calls tax-controlling module when making out an invoice, the depositing of printing invoice data, and in tax-controlling module, generate the tax control sign indicating number;
The information of the invoice volume that current tax-controlling module uses;
The monovolume invoice uses information;
Time period invoice use information gathers;
Time period printing invoice data;
The tax-controlling module operation result.

Claims (7)

1, the tax-control cash register of detection charge circuit with voltage, comprise main frame and the keyboard that is attached thereto respectively, display screen, printer, main frame contains the tax control cash receiving module and reaches and its built-in MODEM that is connected respectively, Ethernet interface, UART, SAM deck, IC-card seat, it is characterized in that: the tax control cash receiving module contains the SOC single-chip microcomputer, includes rechargeable battery and connected charge circuit in the main frame.
2, the tax-control cash register of detection charge circuit with voltage as claimed in claim 1, it is characterized in that: described charge circuit comprises charge switch circuit, the constant-current source circuit of external power supply (E1) and series connection with it, and constant-current source circuit is connected with rechargeable battery (E2).
3, the tax-control cash register of detection charge circuit with voltage as claimed in claim 1 or 2 is characterized in that: the junction of described constant-current source circuit and rechargeable battery is provided with the voltage detecting point, and this voltage detecting point is connected with the A/D switched pins of SOC single-chip microcomputer.
4, the tax-control cash register of detection charge circuit with voltage as claimed in claim 2 is characterized in that: the charge switch circuit of described charge circuit is connected with the I/O pin of SOC single-chip microcomputer.
5, the tax-control cash register of detection charge circuit with voltage as claimed in claim 2, it is characterized in that: charge switch circuit is made up of resistance (R1), resistance (R2) and triode (Q1), one end of resistance (R1) is connected with the positive pole of external power supply (E1), the emitter-base bandgap grading of triode (Q1) connects, the other end of resistance (R1) is connected with an end of resistance (R2) and the base stage of triode (Q1), and the other end of resistance (R2) is connected with the I/O pin of SOC single-chip microcomputer.
6, the tax-control cash register of detection charge circuit with voltage as claimed in claim 2, it is characterized in that: constant-current source circuit is by resistance (R3), resistance (R4), diode (D1), diode (D2), diode (D3), triode (Q2) is formed, the positive pole of diode (D1) is connected with an end of resistance (R3), the negative pole of diode (D1) is connected with the positive pole of diode (D2), the other end of resistance (R3) is connected with the emitter-base bandgap grading of triode (Q2), the negative pole of the base stage of triode (Q2) and diode (D2), one end of resistance (R4) connects, the positive pole of the collector of triode (Q2) and diode (D3), the A/D switched pins of SOC single-chip microcomputer connects, the negative pole of diode (D3) is connected with the positive pole of rechargeable battery (E2), the other end of the negative pole of rechargeable battery (E2) and resistance (R4), the negative pole of external power supply (E1) connects back ground connection.
7, as the tax-control cash register of claim 2 or 5 or 6 described detection charge circuits with voltage, it is characterized in that: the collector of the triode of charge switch circuit (Q1) is connected with the positive pole of constant-current source circuit diode (D1), and the emitter-base bandgap grading of triode (Q1) is connected with the positive pole of external power supply (E1).
CN 200520036411 2005-12-07 2005-12-07 Tax controlled cash register with voltage detection and charging circuit Expired - Lifetime CN2836117Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200520036411 CN2836117Y (en) 2005-12-07 2005-12-07 Tax controlled cash register with voltage detection and charging circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200520036411 CN2836117Y (en) 2005-12-07 2005-12-07 Tax controlled cash register with voltage detection and charging circuit

Publications (1)

Publication Number Publication Date
CN2836117Y true CN2836117Y (en) 2006-11-08

Family

ID=37300768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200520036411 Expired - Lifetime CN2836117Y (en) 2005-12-07 2005-12-07 Tax controlled cash register with voltage detection and charging circuit

Country Status (1)

Country Link
CN (1) CN2836117Y (en)

Similar Documents

Publication Publication Date Title
CN201387448Y (en) Multi-functional electric energy meter with high-reliability data storage function
CN201796429U (en) IC card prepayment water meter control circuit
CN2836112Y (en) Financial tax-controlled cash register
CN2836117Y (en) Tax controlled cash register with voltage detection and charging circuit
CN2847397Y (en) Tax control cashier machine for core circuit individual power supply
CN2836113Y (en) Tax-controlled cash register
CN1991690A (en) USB external master-salve interface module
CN2836116Y (en) Tax-controlled cash register with power-down protection
CN2836114Y (en) Tax controller
CN106600244A (en) Intelligent saving pot, control method therefor and intelligent saving pot system
CN204143550U (en) NFC radio frequency CPU card intelligent gas meter
CN213122111U (en) Electric energy meter system based on three-phase HPLC module
CN110163020B (en) Sensor data read-write device and read-write method thereof
CN101739578B (en) Three-key portable IC (integrated circuit) card read-write device
CN201138477Y (en) IC card reader
CN2872485Y (en) Externally-connected tax controller
CN209765505U (en) Sensor data reading device
CN2758873Y (en) Tax control charging apparatus
CN206058185U (en) A kind of serial port data acquisition playback board based on microprocessor
CN220855680U (en) Multifunctional IC card read-write device
CN201210326Y (en) Grain buying terminal of grain supply management information system having core circuit independently power supplied
CN2365719Y (en) Micro-power dissipation IC card automatic timing fees collecting machine
CN2283862Y (en) Multifee rate card type kilowatt-hour meter
CN2261039Y (en) IC card dutiable-goods declaring device
CN2651847Y (en) Universal series bus data collector

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20061108

EXPY Termination of patent right or utility model