Sie sind auf Seite 1von 4

Application of the ZigBee Technology in the Wireless Ordering Dish System

SUN Jian-mei
Dept. of Computer Science and Technology Neusoft Institute of Information Dalian,China sunjianmei@neusoft.edu.cn
AbstractIn order to satisfy the need of attaining the intact management method and idea for restaurants, Electronic ordering dish System becomes the aim pursued by the restaurants in recent years. The paper constructs a kind of Electronic ordering dish system through combining ZigBee that is a new technology of wireless network communication. The paper presents the characteristic and network structure of ZigBee technology. The CC2430 is used as the core processor in the wireless ordering dish system. The paper also presents the design method of hardware and the software process for the system. Keywords-WirelessCommunication,ZigBee,IEEE802.15.4, Wireless Ordering Dish,CC2430

ZHOU Da-yong
Dept. of Mathematics and Physics Dalian Jiaotong University Dalian,China

kind of wireless communication technology that has the character of short range, low transfer rate, low power, low complexity, high reliability, high scalability. ZigBee can be used in industrial control, home gateways, consumer electron products, medical equipment and other fields, and It will have broad prospects for development. ZigBees protocol is simple, easy to achieve, needs less system resources. Figure 1 shows the reference model for its protocol structure.

I.
T T T

INTRODUCTION

The information technology developing constantly gives an impulse to industrial expansion. Such as in the restaurants, the method of electronic ordering dish is adopted widely. Using the high-tech method can improve the profit of economy and achieve an efficient management technique. The wireless communication technology will be used in such system. ZigBee wireless sensor network technology is emerging in the wireless communications field, but it has good prospects for development. The paper describes the application of ZigBee technology in a low-cost, low-power wireless electronic ordering dish system.
T T T

Figure 1. ZigBee Protocol Model

II.

ZIGBEE TECHNOLOGY

A. Overview of ZigBee Technology In order to meet the aim of low-cost and low-power for wireless network, IEEE Standard Board developed a low-rate WPAN standard 802.15.4 in 2000. IEEE802.15.4 defines the PHY layer and MAC layer. PHY layer defines the entity norms of the low-power radio transferred in the 2.4GHz at the lowest 250kb / s transmission rate. MAC layer defines the principle how to share air routes by many 802.15.4 radio signals worked in the same area. However, the definition of the PHY layer and MAC layer is not sufficient to ensure that different devices can be dialogue each other, so ZigBee appears.
T T

B. Network Model of ZigBee Technology ZigBee network is composed of many independent work nodes. ZigBee has three types of wireless network models: stellate shape, cluster tree shape,and reticular shape. ZigBee network equipment is divided into semi-function devices (RFD) and full-function devices (FFD). RFD nodes can act as network terminal nodes, they can not communicate with each other directly, they can send and receive data through FFD nodes, and do not have routing and relay function. FFD can be used as a router, coordination, and terminal node, can communicate with sub-node controlled, collect data and send instructions. ZigBee network has a strong network robustness and system reliability. ZigBee network topology is shown in Figure 2. The wireless ordering dish system uses ZigBee technology to realize the wireless communication.

ZigBee is a software protocol that includes network, security and application based on IEEE802.15.4. ZigBee is a

Neusoft Institute of Information.

978-1-4244-3693-4/09/$25.00 2009 IEEE

Figure 3. Work Flow of the System Figure 2. ZigBee Network Topology

network and is responsible for the formation of network and information routing. IV.
HARDWARE DESIGN

III.

STRUCTURE OF WIRELESS ORDERING DISH SYSTEM

This system is a product developed by restaurants to improve operational efficiency and reduce operating costs. Wireless ordering dish system can reduce the human resources and enhance the brand and image of the restaurants. Wireless ordering dish system replaces the traditional ordering dish method and creates a quiet and comfortable dining environment. This system is composed of wireless ordering terminals, kitchen terminals, distributing dish terminals, checkout terminals, database server and wireless communication nodes. This system is an embedded system based on the C/S structure, which is integrated with the wireless network communication technology and handset terminals technology. The hardware of wireless ordering terminal is realized by CC2430 SOC . The ordering terminals, kitchen terminals, distributing dish terminals, checkout terminals all have ZigBee wireless communication function. Database server is also equipped with ZigBee wireless data node. Waiters and customers can use wireless ordering terminals to order dish, add dish, checkout and other operations anytime and anywhere, can send data to database server through wireless communication timely in the effective field. The database server is used to manage and maintenance the background data. After the disposition of database server in the background, the dish information can be sent to kitchen terminals, kitchen completes cooking according to the menu, waiters distribute the dish, and finally the checkout terminals complete to checkout. The work of the wireless ordering dish system is shown in Figure 3. In this system, the network topology model of ZigBee is stellate. Network coordinator is the wireless data node in the database server. The ordering terminals, kitchen terminals, distributing dish terminals and checkout terminals are RFDs in the network, all RFDs and coordinator can communicate through wireless network ,database server is organizer of the

The CC2430-F128 chip is used as the core processor. It realizes ZigBee communication and control function in this system. CC2430 is produced by Chipcon Company. A 2.4GHz DSSS (Direct Sequence Spread Spectrum) RF transceiver based on IEEE802.15.4 and an enhanced 8051 microprocessor core is integrated into a CC2430 single chip mainly. The core is also integrated with 128KB Flash, 8KB RAM, ADC, AES128 security coprocessor, watchdog, sleep mode timer, poweron and reset circuit, detection circuit, 21 programmable I/ O ports, two powerful USARTs and so on. CC2430 chip is power-saving, low-cost. Using CC2430 as ZigBee wireless communication module has a certain economic benefits in the wireless ordering dish system. The hardware of wireless ordering terminal uses the wireless single-chip CC2430-F128 as the core, and the hardware circuits include wireless transceiver circuit, power modules, debugging module, crystal oscillator circuit, reset circuit, LCD display circuit, keyboard module. Waiters and customers can realize operational processes for ordering dish through clicking the keys in the wireless ordering terminals, related information can be displayed in the LCD, and the ordering terminals can communicate with database server through wireless transceiver circuit. The hardware structure is shown in Figure 4.

Kitchen terminal receives the data information from network coordinator and prints food information at the same time, sends a success message to network coordinator. Distributing dish terminal and checkout terminal also sends relevant information to a network coordinator. Network coordinator sends accounts information to checkout terminal. The software process of the network coordinator is shown in figure 7. Main software functions of the network coordinate are shown as followed: 1) Initialization: initializes CC2430-F128, initializes protocol stack, opens interruption.
Figure 4. Hardware Structure of Ordering Terminal

Database server is composed of a PC and ZigBee wireless communication module (Network Coordinator). Database server acts as the coordinator in the ZigBee wireless network, it is the main center of the network. It receives data from ordering terminals, kitchen terminals, distributing dish terminals, checkout terminals in the network, and sends instructions to each terminal in accordance with business logic, and at the same time manages the background database through UART interface. Database server hardware structure is shown in Figure 5.

2) Constructes a new network: formats a network and sends physical address ,network ID and other information to PC and shows through the UART interface. 3) Monitors the ZigBee signal: scans the wireless signal, If the network RFD joins the network, it shows the physical address of RFD and distributes network address for RFD nodes at the same time. 4) Receives data: receives data from the network RFD nodes and shows data in PC through UART. 5) Sends data: sends relevant information to the appropriate RFD nodes according to information received.

Figure 5. Hardware Structure of Database Server

V.

SOFTWARE DESIGN

After compiling and downloading the ZigBee protocol, the next work is realizing the software program design for ZigBee network coordinator and RFDs using C51 language in the wireless ordering dish system. The ordering terminals, kitchen terminals, distributing dish terminals, checkout terminals are all the RFDs in the network of this system. RFD initializes CC2430 and ZigBee protocol firstly, and then sends the network signal, waits for the network coordinator to respond and to distribute the network address. Wireless ordering terminal checks the state of the keys regularly, the combination of keys shows the operation for dish, after clicking "OK" key, the data will be packaged to send to the network coordinator, if sent successfully, terminal is idle, or resend information to the network coordination. The software process of the ordering terminal is shown in Figure 6.

Figure 6. Software Flow Chart of RFD

improves the operational efficiency and system application flexibility, and at the same time reduces the various problems of the traditional paper-style method and reduces cost. The wireless ordering dish system introduced in this paper uses a wireless single-chip CC2430-F128 to achieve, simplifies the hardware and software design, it is proved that application of the ZigBee wireless technology in the electronic ordering dish system has a certain feasibility through practice, it is low-cost, low-power, has high reliability and good stability. It can be verified that ZigBee technology will have broad prospects for development in the consumer industry field. REFERENCES
[1] F.B.Wu,Y.X.Qiang,Observation and control system based on ZigBee technology, Journal of Northwest University(Natural Science Edition),Xian,China, vol.38,No.5,pp.731734,2008. W.Z.Li,C.Y.Duan, Entry and Application of ZigBee Wireless Network Technology,Beijing University of Aeronautics and Astronautics Press,Beijing,China,2007. X.W.Zhang,P.Y.Duan, Design of Campus Lighting Controlling System Based on ZigBee Networks, Information technology and Informatization, Jinan,China, vol.4,pp.90-91,2008. Q.Ji,P.Y.Duan, Research and implementation of intelligent home based on ZigBee wireless sensor network, Computer Engineering and Design, Beijing,China, vol.29,No.12,pp.3064-3067,2008. Y.J.Xu,Z.L.An,Wireless sensor networks Practice Guide, Beijing Institute of Technology Press,Beijing,China,2007. Q.Liu,Y.M.You, ZigBee Network based on the SMAC Protocol, Microcontroller and Embedded Systems, Beijing,China, No.11,pp.810,2008.

[2]

[3]

Figure 7. Software Flow Chart of Network Coordinator

[4]

VI.

CONCLUSION

[5] [6]

Application of the low-cost, low-power wireless ZigBee technology in the wireless electronic ordering dish system not only achieves the paperless operation on dish but also

Das könnte Ihnen auch gefallen