Summary of the invention
Technical matters to be solved by this invention does not have the shortcoming of NFC function for electronic scales in prior art and proposes a kind of electronic scales that can realize rapid payment.
The technical scheme that the present invention solves the employing of its technical matters is: a kind of electronic scales that can realize rapid payment, comprise weighing unit, NFC unit and power supply unit, described weighing unit is connected with NFC payment unit, carry out gathering and measuring for symmetrical heavy articles weight information, and by the information transmission that collects to NFC payment unit; Described NFC payment unit is for the mobile payment of the article that realize weighing.
Further, described weighing unit comprises LOAD CELLS, microcontroller chip, communication interface and display module, described microcontroller chip and LOAD CELLS, display module connects, for controlling the work of other each components and parts, described LOAD CELLS is for gathering the weight information of testee, and the weight information obtained is transferred to microcontroller chip, described microcontroller chip calculates the pricing information of testee, and this pricing information is transferred to display module, described display module demonstrates weight and the pricing information of testee according to the control command of microcontroller chip, described communication interface is used for carrying out data interaction with NFC payment unit.
Further, described NFC payment unit comprises match circuit, crystal oscillating circuit and radio frequency chip circuit, described radio frequency chip circuit is connected with the microcontroller chip of match circuit, crystal oscillating circuit and weighing unit, for realizing the data interaction with microcontroller chip, described crystal oscillating circuit is used for providing external clock for radio frequency chip, described match circuit is connected with radio frequency chip circuit, for providing external antennal interface.
Further, the microcontroller chip of described weighing unit adopts LPC1768 to realize.
Further, described LOAD CELLS adopts chip HX710 to realize.
Further, the radio frequency chip circuit of described NFC payment unit adopts chip TRF7970A to realize.
Further, described power supply unit adopts the LDO power supply chip of ASM1117 to realize.
Beneficial effect of the present invention: a kind of electronic scales that can realize rapid payment of the present invention, by the inner integrated NFC payment unit of electronic scales, makes electronic scales can realize rapid payment in the environment of near field; NFC technique combines with electronic scales, for to realize and with the communication between the terminal device of NFC function or NFC electronic tag, may be used for the multiple application scheme such as identity and recognition of devices, E-Payment, advertisement pushing, device-dependent message acquisition, and the electronic scales after integrated has compact, it is distant, highly sensitive to read, fault-tolerance is strong, identify the features such as accurate, and in real life application, applicability is stronger.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are further described.
Be illustrated in figure 1 a kind of system chart that can realize the electronic scales of rapid payment of the embodiment of the present invention, comprise weighing unit, NFC unit and power supply unit, described weighing unit is connected with NFC payment unit, carry out gathering and measuring for symmetrical heavy articles weight information, and by the information transmission that collects to NFC payment unit; Described NFC payment unit is for the mobile payment of the article that realize weighing.Wherein, described weighing unit comprises LOAD CELLS, microcontroller chip, communication interface and display module, described microcontroller chip and LOAD CELLS, display module connects, for controlling the work of other each components and parts, described LOAD CELLS is for gathering the weight information of testee, and the weight information obtained is transferred to microcontroller chip, described microcontroller chip calculates the pricing information of testee, and this pricing information is transferred to display module, described display module demonstrates weight and the pricing information of testee according to the control command of microcontroller chip, described communication interface is used for carrying out data interaction with NFC payment unit.Described NFC payment unit comprises match circuit, crystal oscillating circuit and radio frequency chip circuit, described radio frequency chip circuit is connected with the microcontroller chip of match circuit, crystal oscillating circuit and weighing unit, for realizing the data interaction with microcontroller chip, described crystal oscillating circuit is used for providing external clock for radio frequency chip, described match circuit is connected with radio frequency chip circuit, for providing external antennal interface.
The present invention passes through in the inner integrated NFC payment unit of electronic scales, existing electronic scales is enable to realize after tested article complete weighing, get final product price expense corresponding to rapid payment, fill up the blank of the electronic scales that there is not rapid payment in prior art, solve user and buy the problem that directly can not realize direct payment after commodity terminate in the place completing commodity weighing, improve the buying experience of user, and fairly large application can be realized in existing market.Can understand in order to those skilled in the art and implement technical solution of the present invention, below in conjunction with concrete circuit structure, the present invention program being described in detail:
Be illustrated in figure 2 a kind of circuit structure block diagram that can realize the electronic scales of rapid payment of the present invention, wherein, the microcontroller chip of described weighing unit adopts LPC1768 to realize, LOAD CELLS adopts chip HX710 to realize, display driver and display adopt CS5817 display module to realize, and the radio frequency chip circuit of described NFC payment unit adopts chip TRF7970A to realize;
Circuit structure according to Fig. 2, wherein, microcontroller chip LPC1768 carries out data interaction by SPI serial line interface and radio frequency chip circuit chip TRF7970A, its pin RX_IN1 and RX_IN2 is as the input signal end of radio frequency chip circuit chip, pin TX_OUT is as the output signal end of radio frequency chip circuit chip, described match circuit adopts RC circuit realiration, and pin ANT1 and ANT2 is as external antennal interface; Described crystal oscillating circuit is connected with radio frequency chip circuit, and the clock that it provides adopts 13.56MHz; Described microcontroller chip LPC1768 is connected with CS5817 display module, LOAD CELLS chip HX710 by I2C bus; 5V voltage transitions is that 3.3V voltage is provided to microcontroller chip LPC1768 and radio frequency chip circuit chip TRF7970A by power supply unit, and it adopts the low voltage difference LDO linear voltage stabilization chip of ASM1117 to realize.Below by the particular circuit configurations schematic diagram of each components and parts, the present invention is described in detail:
Be illustrated in figure 3 the circuit diagram of LOAD CELLS, U2 is LOAD CELLS HX710 chip, 1 pin connects 3.3V voltage as the reference voltage, 7 pin and 8 pin connect 3.3V voltage respectively through C9, C10 filtering, 3 pin and 4 pin access simulating signal anode and the negative terminal of sensor respectively, and 5 pin are clock signal SCL, and 6 pin are data-signal SDO, be connected with microcontroller chip with 6 pin by 5 pin, realize the weight data of the tested article collected to transfer to microcontroller chip.
Be illustrated in figure 4 the circuit diagram of display module, U23 chip wherein, namely CS5817 is the chief component of display module, and it is a charactron driving chip, for the display of charactron.25 pin connect 3.3V voltage to chip power supply, 11 pin ground connection, and 9 pin are the SCL clock signal of I2C, 10 pin are the SDA data-signal of I2C, are connected with 10 pin by 9 pin with microcontroller chip, receive idsplay order, all the other pins are charactron and control pin, control the display of each charactron.
Be illustrated in figure 5 the circuit diagram of microcontroller chip, wherein cpu chip, what namely U5 selected is the LPC1768 chip of NXP company, LPC1768 chip is the processor of ARM framework, and dominant frequency is up to 100Mhz, and the effect of this microcontroller chip is that the weight information receiving LOAD CELLS transmission is gone forward side by side row relax, in association after the information such as commodity and price, preserve, or transfer to display module, the weight of display of commodity and pricing information.
Be illustrated in figure 6 the circuit diagram of power supply unit, wherein U3 and ASM1117, for LDO power supply chip, it belongs to low voltage difference (LDO) linear voltage stabilization chip, and LDO linear voltage stabilization chip cost is low, and noise is low, quiescent current is little, the outward element of its needs is also little simultaneously, usually only needs one or two shunt capacitance, so just enormously simplify the peripheral circuit of chip.Adding the present invention program adopts single supply to design, and the volume of whole circuit design just obtains further and reduces.1 pin of U3 is chip ground end, and in external GND, figure, 5V voltage inputs to 3 pin of U3 simultaneously through C25, C26 filtering, and 4 pin of U3 are voltage output pin, export 3.3V voltage after C23, C24 filtering.In embodiments of the present invention, the operating voltage of each subelement is 3.3V.
TRF7970A chip is the NFC chip that TI company goes out, and supports near field communication standard NFCIP-1 (ISO/IEC18092) and NFCIP-2 (ISO/IEC21481), and the fully-integrated protocol processes of Felica.For all three bit rate (106kbps, 212kbps, the integrated encoder, demoder and the array frame NFC transmit leg that 424kbps) emulate with card, the operation of active and passive target side, and it can perform the arbitrary pattern in following Three models: RFID/NFC reader, NFC equity point or card simulation model.
Below each circuit module of NFC payment unit is described:
Be illustrated in figure 7 the schematic diagram of crystal oscillating circuit, the clock that it provides adopts 13.56MHz.
Be illustrated in figure 8 the schematic diagram of match circuit, its pin RX_IN1 and RX_IN2 is as the input signal end of radio frequency chip circuit chip, pin TX_OUT is as the output signal end of radio frequency chip circuit chip, described match circuit adopts RC circuit realiration, and pin ANT1 and ANT2 is as external antennal interface.
Be illustrated in figure 9 the schematic diagram of radio frequency chip circuit, it adopts TRF7970A to realize, and chip TRF7970A has 2 receiver inputs: RX_IN1 (pin 8) and RX_IN2 (pin 9).Each input is connected to an external capacitive voltage divider to guarantee having 1 can use through modulation signal from label inputted in 2 inputs at least.This framework eliminates by any possible communication leak of label to reader, these 2 inputs of RX_IN1 and RX_IN2 are multiplexed into 2 receivers, i.e. main receiver and secondary sink, but in specific works process, general receives with main receiver, and secondary sink is used for signal quality monitoring.TRF7970A is connected to microcontroller chip by 22 pin and 20 pin, and interface is SPI interface.
The present invention, compared with other homogeneous e scale, adopts modular organization, except valuation of can weighing, and can also at HF band operation; The agreement supported comprises: ISO14443TypeA, ISO14443TypeB, ISO18092.Pass through NFC module, complete the functions such as E-Payment, snap gauge plan, point-to-point communication, make the electronic scales scale that not only just a table scale is heavy, and have the multiple functions such as E-Payment, identification, point-to-point communication, make its application can be more diversified.
In the application of reality, such as during electric payment transaction, electronic scales of the present invention first can calculate dealing money by pricing mode of weighing, and communicated by the terminal device with NFC function of NFC module and consumer or NFC electronic tag, the dealing money of deduction consumer proper account, and form transaction data and send processor to, the simultaneously transaction data that will collect of electronic scales, and exchange data by wired or wireless network and server data center, conveniently record Transaction Information, for capital settlement.And bill printing module can be increased, according to user's needs, print corresponding information, as information such as Item Title, weight, unit price, total prices.
Those of ordinary skill in the art will appreciate that, embodiment described here is to help reader understanding's principle of the present invention, should be understood to protection scope of the present invention but be not limited to so special statement and embodiment.Everyly make various possible equivalent replacement or change according to foregoing description, be all considered to belong to the protection domain of claim of the present invention.