Control System of an Electronic Receipt Cabinet
- Author
- WangFengQin
- Advisor
- ZuoWanLi
- School
- Jilin University
- Major
- Software Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 31
- Citations
- 0
Abstract
The core component of Automatically-Returned Bill Machine is the Bill Machine’s management and control system, whose main characteristic is the computer and modern control technology. A system was developed in order to meet the needs of financial services. The structure, working principle and control method of the system were systematically introduced in this thesis.The management system depends on the high performance system host executing visualized and object oriented management program to complete the functions such as send the In/Out bill instruction to the control system, user authentication, customer information query, customer account management, intelligent filter, customer information security management, print list, video display, Bill Box dynamic allocation , etc.The control system real-time control and monitor the returned bill machine according to the instructions sent by the management system to implement the Bill Box automatic access and state feedback, and monitor the main hardware such as system power.The hardware include returned bill control circuit, power and communicating control circuit and returned Bill Box control circuit. returned Bill Box control circuit is controlled by a single chip computer to complete the following functions:(1) Serial Communication with the system host,(2) Select the target Bill Machine and according to the system host instruction;(3) Open the target Bill Box automatically;(4) Detect the open/closed state of the target Bill Box;(5) Detect the bill state in the target Bill Box;(6) Feedback the detect results to the system host.The main functions of power and communicating control circuit are as follows:(1) System power centralized control;(2) Communication signal level’s translation and drive;(3) Audio signal’s power amplification. The functions of Bill Box control circuit are as follows:(1) Opens and closes the returned bill box electromagnet,(2) Send the open/close state detecting signals of the Bill Box to single chip computer;(3) Send the bill state detecting signals in the Bill Box to single chip computer.The system software is composed of the communication protocol and the control program of the system host and the single chip computer. The control program of single chip computer include main program and interrupt service program. The main program implements system initialization. The interrupt service program implements all of the control and detection.Time delay control technology is used in order to receive accurate detecting signals.The Bill Box is closed manually, therefore the control program doesn’t know when it closes. Thus the system sets a limit for the waiting time of box closure. This time limit can be adjusted anytime by the system host via control instructions. If a negative pulse closing signal is detected within the box closure waiting time limit, then the status message“the target Bill Box is already closed”is immediately sent to the system host; If it passes the waiting time limit and still has not detected the negative pulse signal, then the message“the target Bill Box is not closed yet”is sent to the system host.To avoid the chaos and false information on the open/close status and deposit receipt examinations that are caused by the vibration of the dry reed relay sensors, and to acquire accurate information on the target Bill Box’s closure, we adopted a delay subroutine to avoid the closure examination of the Bill Box immediately after the openning examination. We discovered in the debugging process that when the Bill Box is opened and closed, the output of comparator sends multiple negative pulse signals. This creates false information later on the closure and deposit receipt examination. The second pulse can easily be mistaken as door closing or receipt coming signal. This is because the Bill Box’s opening and closing as well as the deposit receipt examination methods are essentially the same, they are only differentiated by the gap in timing. The small magnet’s field change when passing the dry reed relay causes the dry reed relay sensors to vibrate, which is the main reason for the multiple negative pulses output from the comparator. Although the reason has been clear, it is extremely difficult to eliminate the problem. How do we address the issue then? We propose a delay technique.To avoid the system lockdown caused by external disruptions, we specifically designed the WDT-Reset circuit for the single chip computer control circuit.We set this WDT triggering programs at multiple locations in the main program and the interrupt servicing program. Under normal circumstances, the control program won’t be reset because the WDT’s trigger interval is less than 1.6 seconds. However, if the program enters an endless loop for some reason, the single chip computer will reset and the control program will be resurrected to run, because it fails to execute the WDT trigger program within 1.6 seconds. This automatic procedure is a very important feature to guarantee the system’s security and reliability.It is safe to say that people are active in research in the related fields of the above technologies and yield encouraging result. We will integrate these technologies and apply them to the development processes.
Table of contents
Executive summary 4-7
Chapter 1 Introduction 7-12
1.1 electronic receipt cabinet management and control systems research background 7
1.2 electronic back the single cabinet control and management system functions and features 7-11
1.2.1 electronic back single cabinet management and control system functions 7-9
1.2.2 electronic receipt cabinet Management and Control System Features 9-10
1.2.3 electronic back the single cabinet management and control system developed purpose 10-11
1.3 electronic back single cabinet management and control system composed 11-12
Chapter 2 electronic receipt cabinet control system circuit and works 12-31
2.1 Power Control 12
2.2 level conversion 12
2.3 audio amplification 12-14
2.4 display character display control 14-15
2.5 back single box switch and check single control 15-19
2.5.1 Summary 15-16
2.5.2 host and MCU communication protocol 16-17
2.5.3 back to a single cabinet back to a single box array 17-19
2.6 control circuit 19-31
2.6.1 microcontroller 19-20
2.6.2 row address decoder and driver circuit 20-21
2.6.3 column address decoder and driver circuit 21-22
2.6.4 back to a single box structure and its control circuit 22-24
2.6.5 controllable power control circuit 24-26
2.6.6 multiplexing control switch signal comparison circuit 26-28
2.6.7 watchdog circuit 28-29
2.6.8 local cabinet number set module 29-31
the MCU control
Chapter 3 program and the flow chart 31-37
3.1 main program 31
3.2 communication interrupt service routine to 31-33
3.2.1 command word received and analysis 31-32
3.2.2 back to a single cartridge related operations 32-33
3.3 send traffic and delay subroutine 33-35
3.3.1 send communications subroutine 33-34
3.3.2 Delay subroutine 34-35
3.4 control system program flowchart 35-37
Chapter 4 electronic back to single-cabinet system function implemented 37-52
4.1 system architecture 37
4.2 system function design 37-50
4.2.1 The main interface features 37-39
4.2.2 user interface features 39-40
the
the 4.2.3 Administrator interface function 40-49
4.2.4 automatic functions 49-50
4.3 electronic receipt cabinet management system flow chart 50-52
Chapter 5 Conclusion 52-53
5.1 thesis work achievements 52
5.2 recommended 52-53
the
References 53-54
summary 54-56
ABSTRACT 56-59
Acknowledgements 59
Related dissertations
- Design and Implementation of Hydrological Information Telemetry System Based on GSM
- Research on PLC remote monitoring technology based on Internet
- Design of an Automatic Test System for Radar
- Study of Vision-based Tracking and Positioning System for Moving Target in a Large-scale Space
- Development and design of intelligent residential area centralized control system
- Development of Simple Controller Device
- Development of Automatic Towel Hemming Machine Control System
- PID Parameters Adjustingand Optimization Tuning Assistant by Upper Computer
- Research on Robot Teaching-box Based on an Embedded Computer
- The Development and Application of Tobacco WMS Based on RFID
- Design and Application of Remote Meter Reading System of Shenyang Power Company
- Design and implementation of intelligent Upper West pharmacy system software
- Research of Data Acquisition and Signal Processing of THz Radar
- The Research and Implementation of Adaptive Algorithm for Serial Port Parameters Based on Linux
- The Research and Design of the Wire Tracker Based on DSP
- The legitimacy of the macro-control of the real estate market in China
- Study on the old age security help information system
- Research of Substation Intelligent Monitoring and Diagnosis Based on LabVIEW Platform
- Development of the Key Technologies of the Virtual Assembly System of TBM
- Research of Hotel Fresh Air System Based on Fuzzy PID Control