Design and Implementation of Vending Machine Control Based on UcosII and LPC2134
- Author
- LuoXin
- Advisor
- JinZuo
- School
- Central South University
- Major
- Applied Computer Technology
- Classification
- TH692.62 Vending machine
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 105
- Citations
- 0
Abstract
Increasing functionality of the vending machines , vending machine control system must constantly becomes huge , which makes the original process-oriented development methodology becomes increasingly difficult to extend and maintain , according to the needs of the vending machine , research proposed a hierarchy of systems development , based on the embedded development , this development makes convenient . Firstly, design the hardware of the system , using the LPC2134 processor and introduced a power supply module , the MDB communication module , motor module , display and keyboard module circuit implementation process . Then design the software part of the system , uC / OS-Ⅱ operating system and software into the driver layer and the application layer , the underlying upper further distinction can be based on different needs in the future to easily modify the system . At the application layer , multi-tasking mechanism is displayed to the keyboard task the MDB communication tasks , the user application task lights task , watchdog tasks , user tasks , based on the theory of automatic state machine is proposed in vending machines on state machine model , the model abstraction and separation of the state of the system , the establishment of the state of the system tables and state transition table , state machine model is a mesh . To find based on system events and the current state of the system state transition table , if there is a match , the state transitions . After experiments show that the model is able to solve the huge problem of code , and system development becomes easy to maintain . The present system for the development of vending machines provide a model , greatly improving the efficiency of the development , and to make modifications and maintenance was more convenient , and study other embedded system has certain reference value and practical significance , with a wide range of applications prospects.
Table of contents
Summary 4-5
Abstract 5-9
chapter the introduction 9-13
1.1 Introduction 9-10
1.2 the domestic research 10-11
1.3 topics sources and research significance 11
1.4 research goals 11
1.5 research content chapters 11-12
1.6 The main features of this innovation 12-13
second chapter vending machine controller knowledge and demand analysis 13 - 25
2.1 controller functional requirements 13-14
a 2.2 the controller overall architecture 14-16
2.3 controller module design 16-23
2.3.1 motor drive module program designed the 16-17 the 2.3.2 system control and management module program
Design 17-20
2.3.3 communication module design 20-22
2.3.4 Functional design of human-computer interaction 22-23
2.4 controller development environment 23-24
2.5 Chapter Summary 24-25
Chapter of the control system hardware circuit design 25-38
3.1 vending machines motherboard and peripheral interfaces 25-27
3.2 The main controller circuit design 27-34
3.2.1 power circuit 27-28
3.2.2 MDB peripheral drive circuit 28-29 <br / > 3.2.3 the motor drive circuit 29-32
3.2.4 keyboard and display interface circuit the 32-34
3.3 hardware circuit anti-jamming 34-37 < br /> 3.3.1 suppress interference source 34-35
3.3.2 cut interference transmission routes 35-36
3.3.3 to improve the anti-jamming performance of sensitive devices 36-37
3.4 Chapter Summary 37-38
Chapter IV control system software design 38-63
4.1 embedded operating system uC/OS- the Ⅱ transplant 38-42
4.2 drivers design 42-50
4.2.1 keyboard and display panel driver 42-45
4.2 .2 MDB device drivers 45-46
4.2.3 motor driver 46-50
4.3 on uC/OS- the Ⅱ application design 50-62
4.3.1 display tasks 51
4.3.2 keyboard scan tasks the 51-53 4.3.3 MDB communication tasks
53-56
4.3.4 system management tasks 56-61
4.3.5 indicator task 61
4.3.6 Watchdog Task 61-62
4.4 Chapter Summary 62-63
Chapter test results and summarize Outlook 63-65
5.1 test results 63
5.2 summarize 63-64
5.3 Looking to References 64-65
65-69
Acknowledgements 69-70
degree during the main research 70
Related dissertations
- Design of Circuit Testing System of Vehicle Fuse Box Based on LabVIEW
- Design and implementation of the system of brake machine control system based on QT
- Design and Development of All Electric Injection Molding Machine Control System
- The Design of CAN Controller Based on the ISO2.0Full Standard Protocol
- Design and Implementation of Vending Machine Operations Management System Based on the Google Maps
- Design and Implementation of the IOT Platform of Vending Machine Based on2D Bar Code Payment
- Design and Implementation of the System of Vending Machine for Box Lunch Based on3G Network
- The Design of an Automatically Variable Modulus ADPLL
- Research and Implementation of High Reliability and Real-time Perfomance for High-speed Train's Wireless Data Transmission
- The Design and Research of the Logging While Drilling Sonic Caliper Control System
- Research of Injection Unit and Ejection Unit Control Technology of All-electrical Injection Molding Machine
- Research and Development of Marine Self-contained Temperature-depth Data Logger
- Design of a High-speed Reconfigurable Serial Field Bus and Its Appl Ication
- The Research on the Marine Temperature Data Logger Based on the PIC Microcontroller
- Aging Test System and Sales Forecasting of Vending Machine
- The Design and Implementation of Large-scale Virtual Network Platform on Cloud Environment
- Design of state machine AI network game combat system based on
- Research and Implementation of International Business Settlement System with Memory-based Database
- Based on QP-nano Automobile ABS Simulation Software System Design and Realization
- Study and Implementation of State Machine Code Generation Technology for Quantum Framework in Embedded Systems