CN2845330Y - RF dining management device - Google Patents

RF dining management device Download PDF

Info

Publication number
CN2845330Y
CN2845330Y CNU2005201163159U CN200520116315U CN2845330Y CN 2845330 Y CN2845330 Y CN 2845330Y CN U2005201163159 U CNU2005201163159 U CN U2005201163159U CN 200520116315 U CN200520116315 U CN 200520116315U CN 2845330 Y CN2845330 Y CN 2845330Y
Authority
CN
China
Prior art keywords
power supply
mcu
terminal
server
grid line
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
Application number
CNU2005201163159U
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.)
Ningbo University
Original Assignee
Ningbo University
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 Ningbo University filed Critical Ningbo University
Priority to CNU2005201163159U priority Critical patent/CN2845330Y/en
Application granted granted Critical
Publication of CN2845330Y publication Critical patent/CN2845330Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model discloses an RF dining management device, which comprises a server MCU and a terminal MCU, wherein the interfaces of the server MCU are respectively connected with a liquid crystal display, a card reading module connected with a card reading antenna, an RS-232 communication interface connected with a computer, and a power supply circuit; the interfaces of the terminal MCU are connected with the card reading module connected with the card reading antenna. The power supply circuit comprises a switching power supply, and also comprises charging management, a spare battery and power supply output, wherein the switching power supply is divided into two ways; one way is directly connected with the power supply output; the other way is then connected with the power supply output via the charging management and the spare battery. The interfaces of the server MCU are also respectively connected with the power supply output and full-duplex combined 485 communication; the interfaces of the terminal MCU are also respectively connected with full duplex combined 485 communication and arbitration. The full-duplex combined 485 communication of the server MCU is connected with the full-duplex combined 485 communication and arbitration of the terminal MCU. The utility model has the characteristics of simple and reasonable system composition and configuration, clear interface, accuracy, reliability, high efficiency and strong functions.

Description

Utilize the supervisor of having dinner of radio frequency
Technical field
The utility model relates to the supervisor of having dinner, and relates generally to the supervisor of having dinner that utilizes radio frequency.
Background technology
" magnetic card have dinner supervisor " of the Chinese utility model patent ZL95236291.0 in the March 3 nineteen ninety-five prior art applying date provide mainly by mainboard, main display board, magnetic card read head, power supply, communication interface plate, connect key plate, keyboard interface plate, keyboard and display panel forms, mainboard comprises that single chip machine controlling circuit, communicating circuit, auditory tone cues electric circuit, plane No. are provided with circuit etc., mainboard links to each other with the corresponding contact of main display board, magnetic card read head, communication interface plate, can be networked with main control computer and other supervisors again by the communication interface plate.Magnetic card read head interface circuit links to each other with the magnetic card read head, the magnetic card read head can read the magnetic card that has data such as card number, time, password, the amount of money of having dinner, giving has dinner pays the bill, accounts, replace the Dining Ticket way to manage, the supervisor building block is many but this magnetic card is had dinner, system complex, systematic error and magnetic loss easily cause misoperation in actual use, influence result of use.
Summary of the invention
Technical problem to be solved in the utility model is to provide system to form advantages of simple at above-mentioned prior art deficiency, accurately and reliably, and the supervisor of having dinner that utilizes radio frequency that efficient is high.
The utility model solves the problems of the technologies described above the technical scheme that is adopted: the supervisor of having dinner that utilizes radio frequency, comprise server MCU and terminal MCU, the interface that server MCU has connects the card reading module of liquid crystal display, connection card reading antennas, RS-232 communication interface, the power circuit of connection computer respectively; The interface that terminal MCU has connects the card reading module that connects card reading antennas; Power circuit includes Switching Power Supply, and the technical measures of taking also comprise: power circuit also includes Charge Management, reserve battery and power supply output; Switching Power Supply is divided two-way, and one the tunnel directly is connected with power supply output, and another road is connected with power supply output through Charge Management, reserve battery again; The interface that server MCU has has also connected power supply output respectively and full duplex makes up 485 communications, and the interface that terminal MCU has has also connected full duplex respectively and made up 485 communications and arbitration; Server MCU full duplex makes up 485 communications and terminal MCU full duplex makes up 485 communications and arbitrates matched.
For optimizing technique scheme, the measure of being taked also comprises:
Charge Management in the power circuit comprises the relay with automatic switchover effect, and reserve battery comprises solid-state rechargeable battery, and the power supply that mains switch with double-pole switch in the power circuit and cell switch are controlled electric main and battery respectively opens and closes; The direct voltage of Switching Power Supply Power output, this direct voltage is to the relay adhesive, and load power source is provided by protective tube Fuse1 by Switching Power Supply Power, and carries out constant-voltage charge by diode D6 and 27 pairs of solid-state rechargeable batteries of resistance R.
The direct voltage of Switching Power Supply output is lower than 6V, and relay discharges, and load power source is directly powered by solid-state rechargeable battery.
Full duplex makes up 485 communications and comprises 8 core grid lines, 1-2 core grid line wherein and 3-4 core grid line 485 full duplex communications that partner are crossed circuit, 1-2 core grid line is used for sending, and 3-4 core grid line is used for receiving, and R19, R20, R23 are the receiving terminal build-out resistor; 5-6 core grid line inserts 485 terminal build-out resistor R21, R22, R24 are used for the bus contention arbitration; RXD and TXD are the RTP lines of the universal asynchronous serial port UART of server MCU.
Full duplex makes up 485 communications and arbitration comprises 8 core grid lines, and 1-2 core grid line wherein and 3-4 core grid line 485 full duplex communications that partner are crossed circuit, and 1-2 core grid line is used for receiving; 3-4 core grid line is used for sending, and R9, R10, R11 are the terminal build-out resistors, and this terminal build-out resistor has the antijamming capability effect that strengthens communication when grid line is long; 5-6 core grid line uses independently, and 485 buses are used for the bus contention arbitration; Bus has by Max3082 provides low level and high level to the P0.5 of terminal CPU, and terminal CPU determines according to this level information whether needs are waited for the bus free time; The information that 485 buses provide server to send by special chip IC 8 to the RXD of terminal CPU; Terminal CPU sends information flow by TXD to server.
The pin 48,49 of server MCU draws and connects the overtone crystal oscillating circuit that includes crystal oscillator AT, capacitor C15, C16, C17 and inductance L 2.
It is Max707 that the pin 68 of server MCU draws the model that resetting of connecing and power supply detect integrated circuit (IC) 2, be used for system power on and low-voltage resets, to guarantee the operate as normal of system.
Terminal MCU also can be connected to DC power supply, is directly powered by this DC power supply.
Compared with prior art, the power circuit of the utility model employing also includes Charge Management, reserve battery and power supply output; Switching Power Supply is divided two-way, and one the tunnel directly is connected with power supply output, and another road is connected with power supply output through Charge Management, reserve battery again; The interface that server MCU has has also connected power supply output respectively and full duplex makes up 485 communications, and the interface that terminal MCU has has also connected full duplex respectively and made up 485 communications and arbitration; Server MCU full duplex makes up 485 communications and terminal MCU full duplex makes up 485 communications and arbitrates matched.Its system forms configuration advantages of simple, and it is clear to have an interface, accurately and reliably, and efficient height, powerful characteristics.
Description of drawings
Fig. 1 is the utility model embodiment functional-block diagram;
Fig. 2 is that power circuit is formed line map among Fig. 1;
Fig. 3 forms line map for server MCU full duplex among Fig. 1 makes up 485 communications;
Fig. 4 is that server MCU forms and the annexation line map among Fig. 1;
Fig. 5 makes up 485 communications for terminal MCU full duplex among Fig. 1 and line map is formed in arbitration.
Embodiment
Embodiment describes in further detail the utility model below in conjunction with accompanying drawing.
To shown in Figure 5, be the utility model one preferred embodiment from Fig. 1.
Figure 1 shows that the utility model embodiment functional-block diagram, utilize the supervisor of having dinner of radio frequency, comprise server MCU and terminal MCU, the interface that server MCU has connects the card reading module of liquid crystal display, connection card reading antennas, RS-232 communication interface, the power circuit of connection computer respectively; The interface that terminal MCU has connects the card reading module that connects card reading antennas; Power circuit includes Switching Power Supply, and the technical measures of taking also comprise: power circuit also includes Charge Management, reserve battery and power supply output; Switching Power Supply is divided two-way, and one the tunnel directly is connected with power supply output, and another road is connected with power supply output through Charge Management, reserve battery again; The interface that server MCU has has also connected power supply output respectively and full duplex makes up 485 communications, and the interface that terminal MCU has has also connected full duplex respectively and made up 485 communications and arbitration; Server MCU full duplex makes up 485 communications and terminal MCU full duplex makes up 485 communications and arbitrates matched; Terminal MCU also can be connected to DC power supply, is directly powered by this DC power supply.
Figure 2 shows that power circuit composition line map.Switching Power Supply adopts the finished product direct-current switch power supply, and 160-220V exchanges input, and output dc voltage must be between 7.1V-72V, current capacity 3A; Double-pole switch " mains switch " and " cell switch " are controlled the intervention state of electric main and battery respectively.Having under the situation of alternating current, the direct voltage of Switching Power Supply " Power " output 7.1V-7.2V, this direct voltage makes relay " HRB1-S-DC9V " adhesive, power supply is provided by protective tube " Fuse1 " by Switching Power Supply, and by diode D6 (1N5817) and resistance R 27 (2 Ω) solid-state rechargeable battery " 6RE4.5P " is carried out constant-voltage charge.When there not being alternating current, when perhaps the direct voltage of Switching Power Supply output is lower than 6V, relay " HRB1-S-DC9V " discharges, and load is directly powered by reserve battery " 6RE4.5P ", and diode D6 (1N5817) and resistance R 27 (2 Ω) no longer work owing to reverse bias.When cell voltage is lower than 5V, lcd segment can not show, voltage enters a place to be reduced and will make the CPU can't operate as normal.
Reserve battery adopts 6V 4.5AH solid rechargeable battery " 6RE4.5P ";
Power supply output: output DC source 6V-7.2V, current capacity 3A; Provide DC power supply by 7 and No. 8 each terminals of alignment in the 8 core grid lines.If the terminal number is too much, perhaps the terminal distance is excessive, and the AC-powered circuit that should use terminal to carry has enough direct-current working volts to guarantee each terminal.
Card reading antennas L1 adopts the 0.14mm high strength enamelled wire, and the coiled area is 40cm 2Coil, the number of turn 70 circle.Card reading module adopts ID card Card Reader special chip EM4095, and its output line DEMOD_out is connected with P3.4 (counter function) with the P3.2 (external interrupt function) of server CPU respectively with RDY/CLK, is used for the decoding of card information stream.The P1.1 of input control line SHD and server is connected, and is used to control the operating state of EM4095.
The segmentation SPI serial line interface LCD SMS1306B of customization is adopted in liquid crystal display, can show year, month, day, hour, min, second, when the server hair fastener, can also show card number about 1 second.
MAX232CPE becomes the TTL conversion of signals of server CPU the computer serial line interface to use 232 signals by RS-232 communication interface dedicated convert chip, so that the communication at any time of server and computer, with computer real-time management server data.
Fig. 3 forms line map for server MCU full duplex makes up 485 communications; The 1-2 of 8 core grid lines and 3-4 485 full duplex communications that partner are crossed circuit, and 1-2 is used for sending, and 3-4 is used for receiving, and R19, R20, R23 are the receiving terminal build-out resistors.5-6 inserts 485 terminal build-out resistor R21, R22, R24 are used for bus contention arbitration (seeing " full duplex makes up 485 communications " of terminal part).RXD (P3.0) and TXD (P3.1) are the RTP lines of the UART (universal asynchronous serial port) of server MCU.
Fig. 4 is that server MCU forms and the annexation line map among Fig. 1; Computer operation dedicated management software " blue screen have dinner management system " is adopted in computer control, is used to manage consumption card, statistics and management consumption data, setting and management server and terminal thereof.The embedded 51 enhancement mode single-chip microcomputer uPSD3254 that server CPU IC3 uses ST company to produce.Internal resource is abundant, has two flash memories and is respectively 256kB and 32kB.Wherein 32kB is generally used for depositing program, and 256kB is generally used for store data, also has the 32kB internal RAM to be used to deposit dynamic data, has 8052 kernels, and each machine cycle comprises 12 clocks, and the highest operation clock speed is 40M.
Because the crystal oscillator of common 40M is the overtone crystal oscillator, directly vibration is had any problem in nominal frequency, has increased starting of oscillation auxiliary circuit L2 and C17 here.Reset and model that power supply detects integrated circuit (IC) 2 is Max707, be used for system power on and low-voltage resets, to guarantee the operate as normal of system, switch REST is used for the hand-reset system.Jtag interface JP2 is used for the program of programming CPU by JTAG adaptation and special-purpose software PSDExpress.Transistor is used for the driven for emitting lights diode to indicate necessary information." Save " button be used to preserve dynamic data in case when maintenance obliterated data.VCC is a system power supply, and VCC1 is the 3V battery, and the RAM data that are used for CPU are kept the normal operation with special clock chip SD2003.
The DC power supply of terminal part:
Terminal also has the DC power-supply circuit that has alternating current to produce, if the terminal number is too much, perhaps the terminal distance is excessive, and the AC-powered circuit that should use terminal to carry has enough direct-current working volts to guarantee each terminal.
Fig. 5 makes up 485 communications for terminal MCU full duplex and line map is formed in arbitration.The 1-2 of 8 core grid lines and 3-4 485 full duplex communications that partner are crossed circuit, and 1-2 is used for receiving; 3-4 is used for sending, and R9, R10, R11 are the terminal build-out resistors, need increase when grid line is long to strengthen the antijamming capability of communication; 5-6 uses independently, and 485 buses are used for the bus contention arbitration.When arbitration bus was occupied, bus provided low level by Max3082 to the P0.5 of terminal CPU, otherwise high level is provided, and terminal CPU determines according to this level information whether needs are waited for the bus free time.The information that 485 buses provide server to send by special chip IC 8 (MAX3080) to the RXD of terminal CPU, terminal CPU sends information flow by TXD to server simultaneously.Owing to there are 485 hardware arbitration bus, make efficient 485 buses and the server of using of formula of to take the lead between each terminal carry out real-time communication.
Computer control adopts special purpose computer management software " blue screen have dinner management system " directly to manage each terminal by server.
The segmentation SPI serial line interface LCD SMS1248 of customization is adopted in liquid crystal display, can show that communication state, malfunction, current remaining sum, this amount of consumption, consumption back remaining sum and 1 second left and right sides card number show; Can add, subtract, the multiplication and division computing, can fix the consumption of meal Flat Amount automatically.
Card reading antennas L1 adopts the 0.14mm high strength enamelled wire, and the coiled area is 40cm 2Coil, the number of turn 70 circle.Card reading module in the card reading module similar service device adopts ID card Card Reader special chip EM4095 equally; Its output line DEMOD_out is connected with P0.7 (counter function) with the P0.6 (the keyboard interrupt function of P0 mouth) of server CPU respectively with RDY/CLK, is used for the decoding of card information stream.The P0.2 of input control line SHD and server is connected, and is used to control the operating state of EM4095.
Terminal CPU adopts the high speed enhancement mode single-chip microcomputer P89LPC932 of Philips company, have 8k flash program storage and 512B EEPROM and 512B internal extended RAM is used to deposit dynamic data, have 8052 kernels, each machine cycle only comprises 2 clocks, the highest operation clock speed is 12M, is equivalent to the 72M speed of service of 12 clocks.
The IC7 special use chip that resets can make single-chip microcomputer P89LPC932 reliable reset when powering on, and JP2 is used to be connected to blue segmentation LCD SMS1248 backlight; Transistor T 1 is used to drive buzzer, pipes when swiping the card, and green luminotron Green lights simultaneously.The operating voltage of P89LPC932 is 2.7V-3.6V, can be in control about 3.4V operating voltage through an emitting red light by the 5V working power.
The utility model system forms the configuration advantages of simple, and it is clear to have an interface, accurately and reliably, the efficient height, powerful Characteristics.

Claims (8)

1, utilize the supervisor of having dinner of radio frequency, comprise server MCU and terminal MCU, the interface that server MCU has connects the card reading module of liquid crystal display, connection card reading antennas, RS-232 communication interface, the power circuit of connection computer respectively; The interface that terminal MCU has connects the card reading module that connects card reading antennas; Power circuit includes Switching Power Supply, it is characterized in that: described power circuit also includes Charge Management, reserve battery and power supply output; Described Switching Power Supply is divided two-way, and one the tunnel directly is connected with described power supply output, and another road is connected with described power supply output through Charge Management, reserve battery again; The interface that described server MCU has has also connected power supply output respectively and full duplex makes up 485 communications, and the interface that described terminal MCU has has also connected full duplex respectively and made up 485 communications and arbitration; Described server MCU full duplex makes up 485 communications and described terminal MCU full duplex makes up 485 communications and arbitrates matched.
2, the supervisor of having dinner that utilizes radio frequency according to claim 1, it is characterized in that: the Charge Management in the described power circuit comprises the relay (HRB1-S-DC9V) with automatic switchover effect, reserve battery comprises solid-state rechargeable battery (6RE4.5P), and the power supply that mains switch with double-pole switch in the described power circuit and cell switch are controlled electric main and battery respectively opens and closes; The direct voltage of described Switching Power Supply Power output, this direct voltage makes relay (HRB1-S-DC9V) adhesive, load power source is provided by protective tube Fuse1 by Switching Power Supply Power, and carries out constant-voltage charge by diode D6 and 27 pairs of solid-state rechargeable batteries of resistance R (6RE4.5P).
3, the supervisor of having dinner that utilizes radio frequency according to claim 1 is characterized in that: the direct voltage of described Switching Power Supply output is lower than 6V, and relay (HRB1-S-DC9V) discharges, and load power source is directly powered by solid-state rechargeable battery (6RE4.5P).
4, according to claim 1 or the 2 or 3 described supervisors of having dinner that utilize radio frequency, it is characterized in that: described full duplex makes up 485 communications and comprises 8 core grid lines, 1-2 core grid line wherein and 3-4 core grid line 485 full duplex communications that partner are crossed circuit, 1-2 core grid line is used for sending, 3-4 core grid line is used for receiving, and R19, R20, R23 are the receiving terminal build-out resistor; 5-6 core grid line inserts 485 terminal build-out resistor R21, R22, R24 are used for the bus contention arbitration; RXD (P3.0) and TXD (P3.1) are the RTP lines of the universal asynchronous serial port UART of server MCU.
5, according to claim 1 or the 2 or 3 described supervisors of having dinner that utilize radio frequency, it is characterized in that: described full duplex makes up 485 communications and arbitration comprises 8 core grid lines, 1-2 core grid line wherein and 3-4 core grid line 485 full duplex communications that partner are crossed circuit, and 1-2 core grid line is used for receiving; 3-4 core grid line is used for sending, and R9, R10, R11 are the terminal build-out resistors, and this terminal build-out resistor has the antijamming capability effect that strengthens communication when grid line is long; 5-6 core grid line uses independently, and 485 buses are used for the bus contention arbitration; Bus has by Max3082 provides low level and high level to the P0.5 of terminal CPU, and terminal CPU determines according to this level information whether needs are waited for the bus free time; The information that 485 buses provide server to send by special chip IC 8 (MAX3080) to the RXD of terminal CPU; Terminal CPU sends information flow by TXD to server.
6, the supervisor of having dinner that utilizes radio frequency according to claim 5 is characterized in that: the pin 48,49 of described server MCU draws and connects the overtone crystal oscillating circuit that includes crystal oscillator AT, capacitor C15, C16, C17 and inductance L 2.
7, the supervisor of having dinner that utilizes radio frequency according to claim 6, it is characterized in that: it is Max707 that the pin 68 of described server MCU draws the model that resetting of connecing and power supply detect integrated circuit (IC) 2, be used for system power on and low-voltage resets, to guarantee the operate as normal of system.
8, according to claim 1 or the 2 or 3 described supervisors of having dinner that utilize radio frequency, it is characterized in that: described terminal MCU is connected to DC power supply.
CNU2005201163159U 2005-11-10 2005-11-10 RF dining management device Expired - Fee Related CN2845330Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2005201163159U CN2845330Y (en) 2005-11-10 2005-11-10 RF dining management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2005201163159U CN2845330Y (en) 2005-11-10 2005-11-10 RF dining management device

Publications (1)

Publication Number Publication Date
CN2845330Y true CN2845330Y (en) 2006-12-06

Family

ID=37487272

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2005201163159U Expired - Fee Related CN2845330Y (en) 2005-11-10 2005-11-10 RF dining management device

Country Status (1)

Country Link
CN (1) CN2845330Y (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049818A (en) * 2012-09-04 2013-04-17 无锡市三立科技有限公司 Online intelligent dining management system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049818A (en) * 2012-09-04 2013-04-17 无锡市三立科技有限公司 Online intelligent dining management system and method

Similar Documents

Publication Publication Date Title
CN201508589U (en) IC card intelligent water meter with wireless remote function
CN2845330Y (en) RF dining management device
CN201955840U (en) Local single-phase prepaid intelligent electric energy meter
CN1204377C (en) Intelligent pre-payment IC card watermeter with stepped charge and calculation
CN104916113A (en) Heat supply system building concentrator IC card control terminal
CN101739578B (en) Three-key portable IC (integrated circuit) card read-write device
CN208673444U (en) A kind of intelligent charging spot charge system
CN203630796U (en) Mobile phone, computer double-purpose card and USB key reader
CN207233120U (en) A kind of integrated payment function novel intelligent cash register
CN1393832A (en) Time-shared metering and recording system for electric energy
CN210155783U (en) Handheld consumer machine of distinguishable two-dimensional code
CN208521401U (en) A kind of hall self-help payment terminal
CN203397432U (en) Concentrated data reader for integrated circuit (IC) card prepaid water meter
CN2282225Y (en) Common read and write device for IC card
CN2630797Y (en) IC card prepaid watermeter data integrated reading device
CN208607742U (en) A kind of intelligent electric motor-car charging unit
CN108108801A (en) A kind of simulating contact Formulas I C cards realize the device and reading/writing method of reading and writing data
CN2820935Y (en) Non-contact intelligent card self-aiding washing machine
CN2473053Y (en) Non-contact IC card electronic time controling automatic charging meter for parking
CN203311516U (en) Non-contact ic card water controller
CN109228918A (en) One kind being based on Embedded charging pile system
CN219019087U (en) Intelligent lighting switch control device
CN2781466Y (en) Non-contact smart card for water supply controller
CN1235018C (en) Radio communication type IC card heat supply monitoring device
CN210072757U (en) Take interactive function's of bluetooth consumption machine

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20061206

Termination date: 20111110