CN1385821A - Tax-control anti-counterfeit electronic receipt machine - Google Patents

Tax-control anti-counterfeit electronic receipt machine Download PDF

Info

Publication number
CN1385821A
CN1385821A CN 01114451 CN01114451A CN1385821A CN 1385821 A CN1385821 A CN 1385821A CN 01114451 CN01114451 CN 01114451 CN 01114451 A CN01114451 A CN 01114451A CN 1385821 A CN1385821 A CN 1385821A
Authority
CN
China
Prior art keywords
data
interface circuit
tax
data processor
printer
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.)
Pending
Application number
CN 01114451
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.)
JIACHENG ANTI-COUNTERFEIT SCIENCE AND TECHNOLOGY (SHENZHEN) Co Ltd
Original Assignee
JIACHENG ANTI-COUNTERFEIT SCIENCE AND TECHNOLOGY (SHENZHEN) Co Ltd
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 JIACHENG ANTI-COUNTERFEIT SCIENCE AND TECHNOLOGY (SHENZHEN) Co Ltd filed Critical JIACHENG ANTI-COUNTERFEIT SCIENCE AND TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CN 01114451 priority Critical patent/CN1385821A/en
Publication of CN1385821A publication Critical patent/CN1385821A/en
Pending legal-status Critical Current

Links

Images

Abstract

A tax control anti-fake electronic receipt device is to take the central data processor as the core to connect separately with a data memory PAM, a Hanzi library EEPROM, printer interface circuit, a liquid crystal displayer interface circuit, a control signal generator, AC/DC conversion power source and its monitor and key boards, liquid crystal display screen, IC cards relating to the above metioned interfaces.

Description

Tax-control anti-counterfeit electronic receipt machine
The present invention relates to a kind of electronic equipment, specifically be meant a kind of tax-control anti-counterfeit electronic receipt machine.
It is various in style that at present cashing machine, receipt printer, the national tax of using on the home market declared machine etc., but these equipment are all at demand in a certain respect and design, thereby function singleness, intelligent degree is low, declare machine as cashing machine, the national tax used on receipt printer, supermarket and the market sales counter installed on the taxi taxi, all there is not strict invoice anticounterfeiting password, what have just prints receipt, what have just prints individual invoice, though what have can print multi-coupon invoice, does not also have the invoice anticounterfeiting password.And for example national tax is declared machine, though the IC-card input function is arranged, does not have invoice printing function and invoice anticounterfeiting password.Therefore,, adapt to the needs of vast medium-sized and small enterprises and businessman, press for the electronic bill machine of a kind of multiple functional, intelligent degree height of development, moderate cost in order to avoid the loss of national revenue.
The present invention's purpose aims to provide a kind of multiple functional, intelligent degree height, moderate cost, flexible, widely used tax-control anti-counterfeit electronic receipt machine handsome in appearance, easy to use.
Technical scheme of the present invention is: this tax-control anti-counterfeit electronic receipt machine includes central data processor, data memory RAM, Chinese character base EEPROM, LCD interface circuit, LCDs, printer interface circuit, printer, RS232 interface, IC-card, IC-card seat and interface circuit, keyboard, keyboard scan interface circuit, ac-dc switching power, supply monitor, control-signals generator; Central data processor is respectively by data bus and data memory RAM, Chinese character base EEPROM, printer interface circuit, the RS232 interface, IC-card seat and interface circuit, the keyboard scan interface circuit is connected, central data processor also connects the LCD interface circuit by control bus, ac-dc switching power provides central data processor and each circuit work power, keyboard connects the keyboard scan interface circuit, the output of LCD interface circuit is connected to LCDs, printer interface circuit connects printer, and the output line of supply monitor and control-signals generator also is connected the control central data processor; Central data processor is the core of this machine, its inside has instruction input and output control bus, address input/output bus and hardware multiplication division function, the 32K flash memory, instruction repertorie is solidificated in wherein, clock frequency reaches more than the 20MHZ, central data processor is behind the input command that receives keyboard, by its address mouth OPADD sign indicating number, in data memory RAM, take out data, in Chinese character base EEPROM, take out Chinese character or numeral, the letter dot matrix, deposit among the data memory RAM, through arrangement, data port by central data processor, deliver to LCD interface circuit and LCDs, show, when carrying out the printed invoice program, in data memory RAM, take out print data by data port by central data processor, deliver to printer interface circuit and printer, printed tickets, when carrying out the serial communication degree, central data processor is taken out the data of declaring dutiable goods by data port in data memory RAM, become serial data, from the serial data mouth through the RS232 interface, giving MODEM enters tax network and declares dutiable goods or connect peripherals, connect communication with system's machine or many machines, carry out the IC-card read-write program, IC-card is inserted in the IC-card seat, central data processor is read and write IC-card by IC-card seat and interface circuit, and deposit among the data memory RAM, control-signals generator provides chip select signal, provide the address logic relation by central data processor, choose a certain road chip operation, supply monitor produces reset signal, offer central data processor, system reset.
Central data processor CPU of the present invention adopts dsp chip TMS320F206 data signal processor, the clock frequency height, adopt the crystal oscillator frequency input of merit 20MHZ, the speed of deal with data is fast, be suitable for the processing of high data stream, its instruction cycle is 25ns, 35ns or 50ns, and multiplication and division Yun Suan one-cycle instruction is finished; Addressing range is wide, addressable 224K memory space (the input and output I/O addressing space of 64K degree, 64K data and 64K, and 32K growth data space); Peripheral hardware--synchronous serial interface, asynchronous serial port, phaselocked loop in the abundant sheet, programmable software waiting state generator etc.; Powerful instruction set--monocycle multiplication and division, piece move, many transfers and week usefulness, bit-reversed addressing etc., the Flash storer, low in energy consumption of 32K is arranged in the sheet,, make machine performance improve greatly owing to select high performance data-signal process chip TMS320F206 for use.
The present invention has adopted the integrated power supply module for power supply, this module has anti-electrical network clutter, antistatic, function that the anti-electromagnetic wave width of cloth is penetrated, the advantage that the change range of input voltage that this module has alternating current 220V is big, output dc voltage is stable, have good anti-line voltage change ability, can improve the reliability and the antijamming capability of complete machine.
The present invention has adopted power supply monitoring circuit, though momentary power failure, can obliterated data yet, because low during, produce reset signal to certain threshold voltage at supply voltage, stop computer operation, avoid that mistake appears in data processing when low voltage operating.
The present invention adopts the data memory RAM of charged pool, makes the data of need preserving can long preservation, can 10 years obliterated data not.
Serial communication chip of the present invention adopts MAX202, only needs single supply program+5 volt power supply, just can realize the level conversion and the Transistor-Transistor Logic level coupling of RS232 communication signal, like this, makes machine line simplify.
Keyboard scan interface circuit of the present invention adopts keyboard special circuit 82C79 chip, and this circuit has filtering, goes the effect of trembling, and need not software and takes time-delay, filtering to go to tremble, like this, just simplify software design, increased the reliability of key position input, also improved the complete machine performance.
Printer interface circuit of the present invention only adopts 74HC273 data register and the control of IC-card interface circuit 74HC273 buffer status, has simplified interface circuit design, has saved cost, has improved the reliability of complete machine.
The port address chip selection signal of each chip of the present invention, control signal provide by GAL16V8 programming output, make circuit have certain confidentiality.
The present invention has following function:
To IC-card read and write, password check and correction, encryption, data decryption renewal etc., by read-write, can declare the tax and print tax invoice IC-card, invoice is unified numbering and anti-false sign, can carry out invoice anticounterfeiting;
2. can connect the MODEM online by serial port, declare to the tax authority and pay taxes;
3. the stylus printer that has 80 word broadbands, printed invoice after can selling goods for each businessman;
4. adopt the LCD LCD of 4 * 12 Chinese characters, Chinese character is 16 * 16 times, and have backlight adjustable, Chinese and Western literal clear display;
5. have the keyboard input.
Total the above, this tax-control anti-counterfeit electronic receipt machine is reasonable in design, intelligent degree height, the ability of data processing is strong, travelling speed is fast, good in anti-interference performance, the reliability height, the data holding time is long, can satisfy the requirement of various sophisticated functionss such as taxation declaration, printing invoice, reach the purpose of a tractor serves several purposes.This machine modeling is attractive in appearance, and moderate cost adapts to vast medium-sized and small enterprises and businessman, has a extensive future.
Fig. 1 is a structural principle block diagram of the present invention
Fig. 2, Fig. 3 respectively are that part of the present invention is implemented circuit diagram
Wherein the circuit part of Fig. 2 includes:
Central data processor, data memory RAM, Chinese character base EEPROM, ac-dc switching power, supply monitor, RS232 interface circuit, control-signals generator
Circuit among Fig. 3 includes:
IC-card and interface circuit, keyboard scan interface circuit, LCD interface circuit, printer interface circuit
Fig. 2, Fig. 3 circuit diagram constitute an overall circuit figure altogether.
Below in conjunction with accompanying drawing technical scheme of the present invention is described in further detail, and provides preferable embodiment by circuit diagram:
Referring to Fig. 1, tax-control anti-counterfeit electronic receipt machine of the present invention includes central data processor, data memory RAM, Chinese character base EEPROM, the LCD interface circuit, LCDs, printer interface circuit, printer, the RS232 interface, IC-card, IC-card seat and interface circuit, keyboard, the keyboard scan interface circuit, ac-dc switching power, supply monitor, control-signals generator, central data processor is respectively by data bus and data memory RAM, Chinese character base EEPROM, printer interface circuit, the RS232 interface, IC-card seat and interface circuit, the keyboard scan interface circuit is connected, the central data data processor also connects the LCD interface circuit by control bus, ac-dc switching power provides central data processor and each circuit work power, keyboard connects the keyboard scan interface circuit, the output of LCD interface circuit is connected to LCDs, printer interface circuit connects printer, and the output line of supply monitor and control-signals generator also is connected the control central data processor.Concrete division is as follows:
1, serial data communication:
Serial data communication: can connect place's peripheral equipment, can connect communication: can communication between several electronic bill machines with system's machine; The tax is declared in the connection if external MODEM (modulator-demodular unit) can surf the Net.
2, IC-card read-write:
Motherboard is provided with the IC-card seat, and IC-card inserts in the deck, can read and write IC-card, understands the taxpayer and should hand over how many taxes, hand over how many taxes, hands over the amount of money of tax to write again to get ready in the IC-card time to check.
3, button input
The button of this machine has 64 buttons of 8 * 8 matrix forms.Have numerical key 1,2......9,0, English alphabet keys has A, B, C, D......X, X, Y, Z, cursor key → ← ↑ ↓, function key F1, F2, F3......F10, dedicated array of keys RETURN, EXIT, PRINT+/-, CLR ... ENTER (affirmation).
Utilize these keys to carry out various operations, for example: can surf the Net and declare the tax, printed invoice, input digit, input Chinese character, can carry out various editors and other various feature operations etc. to screen to this machine.
4, power of alterating and direct current modular converter:
The power of alterating and direct current modular converter, import 220 volts of 50HZ alternating voltages, through this module be transformed into+5 volts, the direct current output of 1A, this module model is BSA-05-S05, and it has comprised the full-wave bridge rectifier diode, the supply voltage integrated regulator of+5 volts of outputs, the tantalum capacitor filtering of external 2200UF/16 volt is for DSP provides+5 volts of power supplies with each circuit.
5, DSP digital signal processor:
The DSP digital signal processor is the core in the false proof electronic invoice machine circuit of declaring dutiable goods, and it is responsible for data computation and processing, various functions such as control, coordination, communication and input and output.The model of DSP is TMS320F206, and tool 32K flash memory, programmed instruction are written in this memory in the chip.It has six kinds of buses, has the multiplication and division function of hardware, and an one-cycle instruction can be finished multiplication, division arithmetic.Clock frequency arrives more than the 20MHZ.So the speed of its data processing is exceedingly fast, be the ideal control processor.
6, data memory, work RAM:
This data memory adopts Nonvolatile sram, has the RAM of charged pool, is the high anti-interference random memory of high speed, is not afraid of power down, and upper and lower electric 1,000,000 secondary data do not have and lose, and cutting off the power supply kept data effective in back ten years.All invoice datas are kept in this memory in 1 year, are convenient to check historical data.Can also preserve other data after treatment.
7, Chinese character base memory EEPROM:
This Chinese character base memory adopts FLASH storage EEPROM, has single supply+5 volt and rewrites, because this chip internal tool booster circuit ,+5 volts is raised to+12 volts of voltages, rewrites very conveniently, does not need ultraviolet light irradiation to operate, and electricly just can wipe rewriting with+5 volts.There is I and II GB matrix Chinese character bank, also has 10 arabic numeral and 26 English alphabets, for electronic bill machine provides input, demonstration, printing, Chinese-character digital and English alphabet.
8, LCD:
LCD types SMG19264LCM has 4 * 12 words of Chinese character of 16 * 16 dot matrix, and+5 volts of power supplys have backlight control, and working current is very little, has only 6mA, is desirable low-power consumption, electronic bill machine display.
9, receipt printer
III type printer has 80 stylus printers that character is wide, can print 5 invoices simultaneously, also can print other data, and I type printer is a miniprinter, can only print 200 millimeters bills.They are that electronics is sent out one of global facility of machine.
Five, the data-signal flow process and the course of work
1, input signal:
A, IC-card input signal: the raw data of processing is provided, can understands taxpayer's tax affairs, simultaneously, after paying taxes, can be stored in the IC-card again, get ready and time check by the input of IC signal.
B, keyboard input signal: the input of the phonetic input of Chinese character or region-position code input, numeral input, English alphabet is provided, the usefulness of demonstration, printing, operation and processing is provided, the function key dedicated array of keys provides input command, is convenient to this machine is carried out the usefulness of various controls, editor and other operation.
2, output signal:
A, RS232 serial outputting communication signal: online signal is provided or carries out taxation declaration, also can connect the usefulness of miscellaneous equipment by connecting the MODEM online.
B, printout signal provide printing invoice, or the usefulness of other datagraphic printing, and it connects the wide printer of 80 characters.
C, output shows signal offer the LCD19264 LCD and show, LCD can show 4 * 12 Chinese characters, also can show various English alphabets and numeral.
3, electric supply system: for various circuit such as the IC circuit of this machine, transistor provide+5 volts of direct supplys, the direct supply that this power module, input AC, output are 1 ampere uses this power module, simplified circuit, dwindled volume, improved antijamming capability, stingy reliability.
4, host computer system:
It has comprised the DSP data processor, program storage, data memory, character library memory and other some IO interface electrical equipment.DSP data processor TMS320F206, it has comprised the 32K flash memory, serial synchronous communication, asynchronous communication, interrupt system, timer, data processor etc., it is responsible for the Coordination Treatment that number is handled various functions in the management of inputoutput datas and the system.
Principle of work
This electronic bill machine is a microcomputer system, central processing unit is TMS320F206, be the data processor of the high property of tool high speed, its inside has instruction input, output control bus, address input, output bus and has six kinds of buses (general 51 single-chip microcomputers have only three kinds of buses); Have hardware multiplication, division function (51 single-chip microcomputers do not have this function); Have the 20MHZ crystal oscillator input PLL (phaselocked loop) by DSP can frequency multiplication (51 single-chip microcomputer crystal oscillator frequencies have only 11.0359MHZ, pass through inner frequency division and have only 1~2MHZ) to 40MHZ.The processing speed of ratio 51 single-chip microcomputers is near 10~20 times.
TMS320F206 is also had 32KFLFLASH (flash) storer, serial synchronous communication, asynchronous communication, interrupt system, timer, data processor etc.It is responsible for the Coordination Treatment of data processing, input, output and various functions such as data management and system break.
The operation of this machine is by being solidificated in the instruction repertorie among the EPROM.Has 32KEEPROM in the TMS320F206 chip.Instruction repertorie is solidificated in this storage, and all functions of this machine are by carrying out this instruction repertorie.
For example, when using in the hotel, the user need print tax invoice.Need be entered into the consumption inventory in this machine by keyboard, as 10 of Chinese cigarettes, 200 yuan of unit prices, 2000 yuan of subtotals, 3 bottles of wine, 150 yuan of unit prices, 450 yuan of subtotals, 1500 yuan in food, per hour 300 yuan of abstract the recreational consumption private rooms, private room 4 hours, 1200 yuan of subtotals, the organization of making out an invoice in addition.The typing of payee and these character datas of payee; under the control of TMS320F206; carry out keyboard input control program and Chinese character pinyin input method program; keyboard interface circuit 82C79; this circuit has hardware scanning and time-delay de-twitter circuit; the assurance logging data is correct; the data of typing or Chinese character show data and the Chinese character that monitors input on LCDs; after pressing acknowledgement key; deposit in the stochastic storing of work RAM of this machine; in executive routine; can add and subtract statistics automatically; automatically detain tax; the button tax is the tax rate button tax according to tax bureau's regulation; for example: business tax is 6% of a sales volume; the amount of money as preceding typing; 1500 yuan+private room of 450 yuan+food of 200 yuan+wine of cigarette amusement 1200=5150 unit; the total charge of consumption is 5150 yuan, and the business tax that should receive is 5150 a yuan * 6%=309 unit, and this business tax is 309 yuan of memories that deposit SRAM (charged pool protection) in; can not lose in 10 years; these data are deposited among the SRAM, and any end user can't change, every button tax; this machine adds up automatically, and these processes are to be finished by the Automatic Program that is solidificated in this in-core by TMS320F206.If dismiss ticket, still need keyboard typing control command, the data port D0 of keyboard interface circuit 82C79~D7 delivers to data D0~D7 of TMS320F206, DSP processor juggling, the data of typing just, from memory, access, be sent to printer interface circuit 74HC273, send print command simultaneously and give printer, after printer receives order, carry out byte printing one by one, after every printing one byte, printer sends a look-at-me and gives TMS320F206, after TMS320F206 receives this look-at-me, send a byte to count to again to latch among the 74HC273 beat fully with among, like this, this data are printed of Zhou Erfu.Be printed on the security code in the invoice, comprise this plane No., industry number, invoice order, the tax number.Should print organization on the invoice, date, payee, payee's name, wherein the date is the clock output that is provided by this machine clock chip, is handled accessing automatically by DSP, is printed on the invoice, date can not be changed, and needs to carry out a clock check and correction every year to the department of appointment.Control clock change, just can guarantee in same date unique number, also be a kind of method for anti-counterfeit to invoice.
Declare dutiable goods to the tax authority, there is a cover networking tax returns system in the tax authority, just can network and declare dutiable goods.This machine has a RS232 serial communication interface, connects external MODEM (modulatedemodulate device), goes up the long-range net of declaring dutiable goods and declares dutiable goods and pay taxes.A kind of way is by keyboard input control, the tax that should receive every month is accessed from the SRAM storer of this machine.This method that accesses be the program Solidification that weaves in advance in EEPROM, dsp processor, carry out this section program after, from storage, take out automatically and pay tax.Declare dutiable goods through the RX of dsp processor, interface chip MAX5202E, the modem online that the TX serial port outputs to RS232; Another kind method is to declare dutiable goods by IC-card.The process of declaring dutiable goods is such, can be used as a storer to IC-card, button tax volume is deposited in the IC-card at every turn.When declaring dutiable goods, be inserted in the IC-card socket of this machine, pass through Keyboard Control, the read-write program that reception is finished writing in advance, password check and correction by to IC-card reads into the data in the IC-card in the buffer memory of this machine, from DX, the TX communication port of dsp processor, output to RS232 interface chip MAX202E, connect the MODEM online again and declare dutiable goods.
The entire work process of this machine is by the program that writes in advance, is solidificated among the EEPROM.For example: keyboard scan loading routine, IC-card swipe the card read-write program, print driver, phonetic transcriptions of Chinese characters loading routine, read the Chinese character dot matrix program, to printing invoice encipheror, LCD liquid crystal display driver, serial communication programmer, tax table, invoice browser, keyboard input command discriminating program etc.Under the control of keyboard input, the identification through the DSP central processing unit organically combines, and program is planted in reception, realizes the various functions of this machine.
In the course of the work, after dsp processor receives the input command of button, address mouth A0~A15 OPADD sign indicating number by DSP, in data-carrier store, take out data in (work RAM), in Chinese character base (EEPROM), take out Chinese character or numeral, alphabetical dot matrix, deposit in the data-carrier store, through the layout arrangement, by DSP data port D0~D7, give LCDs (SMG19264LCM) and show.Printed invoice if desired, dsp processor be by data port D0~D7 takes out the need printed invoice in data-carrier store data, delivers to the printer interface chip, 74HC273 latchs.By button input print command.Printer is given in differentiation through DSP, after printer interface is received print command, carries out the work of printed tickets.When long-range the declaring dutiable goods of online, be by the button input online order of declaring dutiable goods equally, through DSP identification, in data-carrier store, take out the data of declaring dutiable goods by DSP data port D0~D7, handle through DSP, become serial data by parallel data, deliver to TS232 interface chip MAX202E (level shifting circuit), give MODEM (modulator-demodular unit) and enter tax network and declare dutiable goods from DX, the oral instructions of TX serial data of DSP.The various chips of this machine+the 5V DC voltage, be to provide by line voltage 50HZ, 220 volts of voltages, process AC-DC (AC-to DC) power packs.
Implement circuit diagram referring to Fig. 2, Fig. 3, specifically the consisting of of each circuit: RS232 interface: comprise IC 3, capacitor C 3, C 4, C 5, C 6, socket X 3, IC 1
95 pin (RX), 93 pin (TX) respectively with IC 312 pin (R 1OUT),
11 pin (T 1IN) join IC 313 pin (R 1IN), 14 pin (T 1OUT)
With socket X 32 pin and 3 pin join IC 3Be hemistich communicating circuit MAX202.IC-card interface circuit: comprise the ATD45D041IC deck, triode V 1(9012),
Entry lock storage IC 13(74HC273) ATD45D041IC card.Keyboard scan interface circuit: comprise keyboard interface sweep circuit IC 10(82C79),
Three-eight decoding scheme IC 11(74HC138), keyboard gang socket * 5,64
Keypad.Ac-dc switching power: comprise power supply AC-DC converting circuit V 1(BSA-05-
S05), AC power gang socket X 1(DG508-3T), filter capacitor C 1, C 2Supply monitor: comprise the supply monitor chip IC 2(IMP708), capacitor C 7Data memory RAM: comprise random memory ram IC 8(62256), IC 7
(62256)。Chinese character base EEPROM: comprise flash memory IC 6(29C020), IC 5
(29C020)。LCD interface circuit: comprise inlet latch IC 13(74HC273),
Triode transistor V 2(9012), diode V 3(IN4002), potentiometer R 7
Resistance R 8, LCDs gang socket * 6 (IDC20) LCDs: be SMG19264LCM, 4 * 12 Chinese characters show the storehouse.Printer interface circuit: comprise No. 8 latch IC 12(74HC273), print
Machine gang socket * 5 (DB25), resistance R 3Stylus printer: EPSON LQ-300K.Control-signals generator: by IC 4(GAL16V8) form, by the central data place
The reason device provides A 15, DS, IS, WR, RD, A 7, A 6Input signal is provided,
Through programming in logic, produce CS 1, CS 2, CS 3, CS 4, CS 5, CS 6Sheet
Select signal and read (RD 1), write (WR 1) signal.
Central data processor: TMS320F206,100 pin flat package wherein have 16 address wire A0~A15,16 data lines D0~D15,4 peripheral hardwares to import, export (I/O) mouthful IO 0~ IO 3,8 storer control signal: PS, DS, IS, READY, R/W, RD, WE, STRB.4 multiprocessing signal: BR, HOLDA, XF, BIO, 7 initialization, interruption and reset operation signal: RS, TEST, BOOT, NMI, HOLD/INTI, INT2,2NT3.7 concussion, PLL and timing signal: TOUT, CLKOUTI, CLKW/XZ, XI, DIV1, DIV2, PLL5V, 8 serial ports and UART signal: CLKX, CLXR, FSR, FSX, DR, DX, TX, RX, 7 test signal: TRST, TCK, TMS, TDI, TDO, EMUO, EMHI/OFF, also have power supply PWR and ground GND.
Data-carrier store RAM chip 62256,28 pin dip, wherein address wire is 15, A0~A14,8 D0~D7 of data line, sense wire OE, chip select line CE, writing line WE, power lead VCC, ground wire GND.
Chinese character base eeprom memory chip 29C020 (EEPROM), 18 address wire A0~A17,8 data lines D0~D7, sense wire OE, chip select line CE, writing line WE, power lead VCC, ground wire GND, 28 pin dip.
IC-card, printer interface chip 74HC273 (data latches), 8 input data line D0~D9,8 output data line Q0~Q7, one remove line CLR, clock line CLK, a power lead VCC, ground wire GND, 20 pin dip.
Keyboard scan interface chip: 8 single data incoming line D0~D7,16 single data output lines, OUTA0~OUTA7, OUTB0, OUTB7, an address wire A0, a reset line RESET, one heel piece route selection CE, a sense wire RD, a writing line WE, a clock line CLK, 4 keyboard data output scanning line SL0~SL3,8 keyboard data incoming line RL0~RL7,4 control signal wire IRQ, BD, CNTL/STB, SHIFT, power lead VCC, ground wire GND, 40 pin dip.
Keyboard scan such as circuit also include 74HC138.
Three-eight coding chip GAL20V8 provide A15 by DSP, DS, IS, WR, RD, A7, A6,7 signals are connected with the incoming line of GAL20V8, produce CS1, CS2, CS3 through logical edit, CS4, CS5, CS6, RD1, WR1,8 output signals are IC chip D5, D6, D7, D8, D10 provides sheet choosing and reading writing information.GAL20V8 also has power lead VCC, ground wire GND, and 20 pin are two to the straight cutting encapsulation.
Supply monitor chip MAX708, when power supply electrifying, 7 pin produce the reset signal of the negative saltus step of a RESET, and 8 pin produce a RESET positive transition reset signal, 8 pin dip, 1 pin MR, 2 pin VCC, 3 pin GND, 4 pin FFI, 5 pin FFO, 6 pin NC, 7 pin/RESET, 8 pin RESET.
The ac-dc switching power chip, BSA-05-SO5 exchanges, input pin, 1 pin FG, 2 pin N, 3 pin L, direct current output pin, 5 pin V+ (positive 5 volts of electric currents output), 6 pin V-(ground wire output), 5 pin epoxy encapsulation.
Serial communication RS232 interface chip MAX202E, serial signal sends output pin T10ut (14 pin) and sends input T1IN (11 pin) serial received signal input pin R12N (13 pin) output pin R10UT (12 pin) 1,2,3,4,5,6, pin connects the leaded multilayer ceramic capacitor of 1uf respectively.
Frequency divider 74HC390, two eight frequency dividers, 1 pin and pin link, and 9 pin meanwhile 5 pin link to each other 2 pin, 14 pin ground connection.
The annexation explanation of signal pins between each chip
Here explanation mainly is a signal connecting relation between each chip, number marks in wiring diagram as for each chip pin, no longer specifies, and connects as long as know the signal of each chip, and each number of pins has just come into plain view.
Here the chip signal of explanation connects, and is with DSP data signal processor IC 1Each chip relation each other for core.
TMS320F206 central data processor IC 1Address signal line, A0~A14 respectively with the IC chip IC 8, IC 7(62256), IC 5, IC 6Address wire A0 (29C020)~A14 connects.Preceding 15 low order address is provided.IC 5~IC 6(29C020) high address A15, A16, A17 and IC 1The IO0 of the I/O mouth of DSP, IO1, IO2 connects, and the high address is provided.IC 1The overcast position D0~D7 and the IC chip IC of the data line of DSP (TMS320F206) 5, IC 6(C29C020), IC 7(62256), IC 10(82C79), IC 12(74HC273), IC 13(74HC273), D0~D7 data line of the gang socket X6 of LCDs connects, and reading, writing of 8 bit data mouths is provided.Most-significant byte data line D8~D15 and the IC of DSP (TMS320F206) 8(62256) data line D0~D7 connects.Be IC 8(62256) provide and read the data port that writes.IC 1DSP address wire A0~A3 connects by the LCDs socket, and the address decoding line of A0~A3 is provided for LCDs.Explicit address as display screen.The address A0 of IC1DSP is IC 10(82C79) provide command address to write the address.The address wire A6 of DSP, A7, A15, data strobe signal DS, instruction gating signal IS, read signal RD, write signal WE connects with the incoming line of GAL20V8, and editor's input signal of GAL20V8 is provided.The CLKR of DSP connects with the IC-card pin, offers IC-card, inserts the input detection signal in the seat.The INT3 of DSP, IO3 are respectively the IC-card receptacle pin interruption (INT3) input signal are provided, and the signal of serial port IC3 are provided for 4 pin.
IC 1The INT2 of DSP connects with printer socket X4, interrupts the input port for printer provides, the emulation of DSP, test signal EMU1, and EMU0, TCK, TD0, TD1, TEST, TMS connects with simulation development system socket X2.For simulation development system provides test, interrupt input, the online signal of output, DSP asynchronous transmission signal TX, asynchronous received signal RX and serial interface chip IC 3The input pin 11 (T1IN) of MAX202,12 pin (R1OUT) connect.Input, the output signal of serial communication are provided.3 pin of crystal oscillator GI link to each other with the CLKIN pin of DSP, for DSP provides the input of 20MHZ oscillation frequency signal.Other signal pins of DSP is not temporarily used.The VCC of DSP connects+and 5 volts, GND ground connection.Above said all be the annexation of DSP and each chip pin.
The line work principle:
The printing false-proof tax invoice:
Under normal conditions, TMS320F206 receives the keyboard loading routine constantly.In case there is key to press, after the recognizer, key assignments that just shifts the keyboard key value differentiated, just transfer to this key assignments entry program, carry out the function of this key.64 buttons link to each other with keyboard interface chip 82C79,74HC138 by socket X5.7 (Y7) of 74HC138,9 (Y6), 10 (Y5), 11 (Y4), 12 (Y3), 13 (Y2), 14 (Y1), 15 (Y0) pin link to each other with 1~8 of socket X5, the SL0~SL2 of 82C79 and 74HC138 1,2,3, pin links.
When printing invoice required data, Chinese character, letter, after the button input, enter into RL0~RL7 of 82C79, deliver to least-significant byte data port D0~D7 of DSP through data port D0~D7 of 82C79, identification at the CPU of DSP is handled, carry out the instruction repertorie in the FLASH among the DSP, the data of keying in and the inventory that markets the goods, quantity, the amount of money, organization, payee, payee's information such as name, address are deciphered line A0~A15, data line D0~D7 in turn is deposited in 62256.Simultaneously, deliver in the LCDs and show by address wire A0~A4 and data port D0~D7 process socket X6, if input is a Chinese character, identical with said process, address wire decoding and the data port D0~D7 of different is DSP get the Chinese character dot matrix data from 29C020, handle through DSP and give the LCDs demonstration.
The process of printed invoice, pass through keyboard, key in a printed invoice order, deliver to data D0~D7 of DSP through data port D0~D7 of 82C79, after DSP handles, send a print command to printer, the data that DSP takes out from 62256 are delivered to and are beaten data buffer 74HC273, give printer through print jack X4.After printer receives print command,, print one by one by desired form printing data, organization, account sales, the quantity amount of money and the statistical number of an every trade, anti-counterfeit number, payee, payee etc. on the invoice on the invoice.
The course of work of reading and writing IC card: IC-card inserts in the IC-card socket, key entry reads to decide the IC-card order, identification is judged through DSP, send read write command to IC-card, be deposited among the IC-card interface chip 74HC273,4 pin of IC-card seat are received the IO3 of DSP, and the serial data in the IC-card is read by IO3 in the buffer area of DSP, are deposited into then in the memory 62256.If to the IC-card write data, DSP takes out from 62256, data is deposited in the buffer memory of DSP, is written in the IC-card through the IO3 serial port then.
Declare the course of work of the tax: key in the order of declaring dutiable goods, import from 82C79, be sent among the DSP through data D0~D7, DSP carries out the order of declaring dutiable goods, from 62256, take out and declare dutiable goods data in DSP, DSP becomes serial data to parallel data, and 11 pin (T1IN) of delivering to MAX202 from the TX pin output to the 3 pins output of serial communication socket X3 again through the 14 pin T1OUT of MAX202.Connecting the MODEM online again declares dutiable goods.

Claims (7)

1, a kind of tax-control anti-counterfeit electronic receipt machine is characterized in that including central data processor, data memory RAM, Chinese character base EEPROM, LCD interface circuit, LCDs, printer interface circuit, printer, RS232 interface, IC-card, IC-card seat and interface circuit, keyboard, keyboard scan interface circuit, ac-dc switching power, supply monitor, control-signals generator; Central data processor is respectively by data bus and data memory RAM, Chinese character base EEPROM, printer interface circuit, the RS232 interface, IC-card seat and interface circuit, the keyboard scan interface circuit is connected, central data processor also connects the LCD interface circuit by control bus, ac-dc switching power provides central data processor and each circuit work power, keyboard connects the keyboard scan interface circuit, the output of LCD interface circuit is connected to LCDs, printer interface circuit connects printer, and the output line of supply monitor and control-signals generator also is connected the control central data processor; Central data processor is the core of this machine, its inside has instruction input and output control bus, address input/output bus and hardware multiplication division function, the 32K flash memory, instruction repertorie is solidificated in wherein, clock frequency reaches more than the 20MHZ, central data processor is behind the input command that receives keyboard, by its address mouth OPADD sign indicating number, in data memory RAM, take out data, in Chinese character base EEPROM, take out Chinese character or numeral, the letter dot matrix, deposit among the data memory RAM, through arrangement, data port by central data processor, deliver to LCD interface circuit and LCDs, show, when carrying out the printed invoice program, in data memory RAM, take out print data by data port by central data processor, deliver to printer interface circuit and printer, printed tickets, when carrying out serial communication programmer, central data processor is taken out the data of declaring dutiable goods by data port in data memory RAM, become serial data, from the serial data mouth through the RS232 interface, giving MODEM enters tax network and declares dutiable goods or connect peripherals, connect communication with system's machine or many machines, carry out the IC-card read-write program, IC-card is inserted in the IC-card seat, central data processor is read and write IC-card by IC-card seat and interface circuit, and deposit among the data memory RAM, control-signals generator provides chip select signal, provide the address logic relation by central data processor, choose a certain road chip operation, supply monitor produces reset signal, offer central data processor, system reset.
2, tax-control anti-counterfeit electronic receipt machine according to claim 1 is characterized in that central data processor adopts dsp chip TMS320F206 data signal processor.
3, tax-control anti-counterfeit electronic receipt machine according to claim 1 is characterized in that keyboard has 64 buttons of 8 * 8 matrix forms, has numerical key 1,2 ... 9,0.English alphabet keys A, B, C ... X, Y, Z, cursor key → ← ↑ ↓, function key F1, F2 ... F10, dedicated array of keys RETURN, EXIT, PRINT/-, CLR ... the ENTER key.
4, tax-control anti-counterfeit electronic receipt machine according to claim 1 is characterized in that data memory RAM adopts the RAM of non-mistake, charged pool.
5, tax-control anti-counterfeit electronic receipt machine according to claim 1, it is characterized in that Chinese character base EEPROM adopts FLASH storage EEPROM, has single supply+5 volt rewriting, chip internal has booster circuit, + 5 volts are raised to+12 volts of voltages, need not the ultraviolet light irradiation operation, rewrite, have I and II GB matrix Chinese character bank and have 10 arabic numeral and 26 English alphabets with+5 volts of electric erasables.
6, tax-control anti-counterfeit electronic receipt machine according to claim 1 is characterized in that LCDs adopts SMG19264LCM, has 4 * 12 of the Chinese characters of 16 * 16 dot matrix, and+5 volts of power supplys have backlight control, working current 6mA.
7, tax-control anti-counterfeit electronic receipt machine according to claim 1 is characterized in that printer adopts 80 stylus printers that character is wide, can print 5 invoices, also printable data simultaneously.
CN 01114451 2001-05-10 2001-05-10 Tax-control anti-counterfeit electronic receipt machine Pending CN1385821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01114451 CN1385821A (en) 2001-05-10 2001-05-10 Tax-control anti-counterfeit electronic receipt machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01114451 CN1385821A (en) 2001-05-10 2001-05-10 Tax-control anti-counterfeit electronic receipt machine

Publications (1)

Publication Number Publication Date
CN1385821A true CN1385821A (en) 2002-12-18

Family

ID=4661094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01114451 Pending CN1385821A (en) 2001-05-10 2001-05-10 Tax-control anti-counterfeit electronic receipt machine

Country Status (1)

Country Link
CN (1) CN1385821A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100452020C (en) * 2004-07-08 2009-01-14 赵依军 Method for realizing tax control function, control chip and tax control cash collector
CN102436700A (en) * 2011-10-27 2012-05-02 纪智文 Intelligent network billing machine
CN103514671A (en) * 2012-06-25 2014-01-15 航天信息股份有限公司 Method for generating tax-control anti-counterfeiting invoice and inventory

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100452020C (en) * 2004-07-08 2009-01-14 赵依军 Method for realizing tax control function, control chip and tax control cash collector
CN102436700A (en) * 2011-10-27 2012-05-02 纪智文 Intelligent network billing machine
CN103514671A (en) * 2012-06-25 2014-01-15 航天信息股份有限公司 Method for generating tax-control anti-counterfeiting invoice and inventory
CN103514671B (en) * 2012-06-25 2016-02-17 航天信息股份有限公司 Generate the method for tax-control anti-counterfeit invoice and inventory

Similar Documents

Publication Publication Date Title
CN1049234A (en) Handheld computer
CN2859660Y (en) Portable intelligent terminal device
US4912309A (en) Processing means and terminal incorporating same, particularly for point of sale systems
CN1385821A (en) Tax-control anti-counterfeit electronic receipt machine
CN2490649Y (en) Tax control anti-forge electronic invoice machinery
CN2836112Y (en) Financial tax-controlled cash register
CN2828952Y (en) Tax rate control casher of supporting USB interface and download applied program
CN2424494Y (en) Bus-driving intelligence card reading/writing device
CN101782957A (en) Hand-hold China second-generation identity card verification reader
CN1598843A (en) Tax control cash register
CN2724096Y (en) Tax control cachier machine
CN201917974U (en) Tax-control cash register
CN205451106U (en) Write by hand language of manchus letter collection system
CN2758873Y (en) Tax control charging apparatus
CN2836116Y (en) Tax-controlled cash register with power-down protection
CN2434738Y (en) Intelligent card safety identifying device
CN207281942U (en) A kind of multi-functional consumption POS machine
CN2836117Y (en) Tax controlled cash register with voltage detection and charging circuit
CN2751361Y (en) Tax controller
CN2884353Y (en) Tax payment acception apparatus
CN1588343A (en) Method for realizing tax control function, control chip and tax control cash collector
CN2859679Y (en) Tax controlled cash register
CN2243681Y (en) Electronic coding machine
CN2262721Y (en) Universal primary product for IC card reading writing treating equipment
CN2742496Y (en) IC card trade terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication