Title: Design of a Cigarette Sorting System Based on RFID Technology
1Design of a Cigarette Sorting System Based on
RFID Technology
- Zhang Lei
- Shenyang Institute of Automation, Chinese Academy
of Sciences
2Outline
- Introduction
- System Architecture Design
- Design of Software
- Hardware Design of CAN Intelligent Node
- Conclusion
3Introduction
4Introduction
5System Architecture
6Design of Software
- Communication protocol
- Development of RFID readers driver
- The interface of upper machine software
7Communication protocol
- The specific protocol is based on CAN 2.0B
- Extended frame which is defined by 29 identifier
bits,2 bytes more than standard frame, provides
more flexibility, reliability as well as
expansion. - The protocol is designed as IDcommandsdata
8The frame format of protocol
9- DIR DIR decides a half of message priority
during bus access, and the remaining priority is
defined by nodes address. The lower address has
higher priority. - RFID Reader/ Antenna Each Sense1824 reader
equips 4 antennas. There are about 13 readers in
our system. So 4 bits is used to identify RFID
readers and 2 bits is used to identify antennas.
10- Address ID18-ID0 participates in the acceptance
filter, which identifies 50 working positions. - DLC Data length (1-8).
- Data the contents of packages.
- Data Type The format of data type is shown in
Table below.
11Functional definition of data type
12Development of RFID readers driver
- MCGS divides the actual equipment into 3 parts
independent equipment, father equipment and son
equipment. - RFID reader, as a son equipment, communicates
with MCGS configuration software through the
serial communication father equipment. - we can evoke standard serial functions provided
by father equipment to develop the son equipment
driver.
13RFID reader flow chat
The API functions are described as
follows ScsAntennaReceiveSelect a receiving
antenna. ScsAntennaTransmitSelect a sending
antenna. SaharaListStartStart the reading tag
process. SaharaListReportGet tags data from
readers. SaharaListEndEnd the read tag process
and turn microwave power off.
14The interface of upper machine software
- Upper machine software has been implemented by
MCGS 5.5, Visual Basic 6.0 and SQL Server2000. - It consists of equipment driver module, data
access module, data analysis and processing
module, front monitor module and database module.
15- MCGS configuration software manages hardware,
schedule processing and also controls the data
stream. Depending on the abundant resources of
MCGS, some complex functions, such as statistics,
reports and phonic warning, etc. can be easily
achieved. - The interface of upper machine software is shown
in figure 4.
16(No Transcript)
17Hardware design of CAN intelligent node
18Conclusion
- Present a new design strategy of cigarette
sorting system by combining RFID technology with
CAN bus - MCGS makes configuration more flexible and easy
to maintain - LCD touch-screen simples the operation processes
and enhances sorting efficiency and accuracy.
19Thank You!