Research of a New Type Vending Machine Control System

Author
ZhangJianLong
Advisor
YuShiMing
School
Zhejiang University of Technology
Major
Control Theory and Control Engineering
Classification
TH692.6 Vending machine
Degree
Master's thesis
Year
2009
Downloads
128
Citations
0

Request the full text

Abstract

With the continuous development of China 's non-store retail formats , the vending machine has become an inevitable trend in China's development and popularization . The details of the research status and development trend of the vending machine , vending machine control system of the master-slave architecture , and complete control system hardware circuit based on clear user needs and vending machine works , planning designing and writing software . High-speed CAN transceiver hardware circuit is divided into two parts of the motherboard and the drive plate , optional CAN bus as a medium of communication between the two , and Isolated module to improve the anti-jamming . This section describes the general principles of the processor selection , as well as the control system motherboard driver board processor selection process . Motherboard driver board choice of peripherals rich ARM microcontroller , strong anti-jamming capability dsPIC controller completed the design of the functional part of the vending machines , and on this basis . The control system uses an enhanced single-chip responsible for the management of the coin machine , paper money machine module for to solve motherboard ARM microcontroller serial format MDB communication protocol conflict . Microcontroller with ARM microcontroller via a high-speed SPI bus communication to ensure that the real-time nature . Given the large size of software , software writing portion of the theory of finite state machines , combining the entire operation procedure of the automatic vending machine , the system is divided into seven states , and the application based on the transfer of the state transition function , and gives the corresponding state transition diagram ( table) . Simplifies board program structure , the system microcontroller functionality packaged into interface functions for the ARM program calls via the SPI command . In addition , detailed agreement on the SPI bus and CAN bus communication format . Finally, the vending machine functions the laboratory module test and the whole test , and the results show that this vending machine control system designed to meet the expected requirements , running in good condition .

Table of contents

Abstract 5-6 ABSTRACT 6-10 Chapter 1 Introduction 10-17 1.1 Background 10-11 1.2 research purpose and meaning 11-12 1.3 research status and trend 12-14 1.4 In this paper, the main content 14-17 1.4.1 14-16 1.4.2 Key Features 16-17 Chapter 2 topics relevant knowledge 17-24 2.1 Embedded Systems 17-20 2.1.1 embedded system definition and composition 17-18 2.1.2 embedded processor classification 18-19 2.1.3 ARM embedded microcontroller 19-20 2.1.4 dsPIC microcontroller 20 2.2 finite state machine 20-22 The basic principle of the 2.2.1 finite state machine 20-21 2.2.2 program state machine model 21-22 2.3 CAN bus technology 22-24 2.3.1 CAN Bus Overview 22-23 2.3.2 CAN bus superiority 23-24 Chapter 3 system hardware design 24-41 3.1 vending machine needs analysis 24-25 3.1.1 customer needs analysis 24 the demand for 3.1.2 carriers Analysis 24-25 3.2 system hardware overall design 25-28 3.3 processor selection 28-32 3.3.1 motherboard processor selection 30-31 3.3.2 driver board processor selection 31-32 3.4 communication interface design 32-37 3.4.1 SPI communication interface design 32-35 3.4.1.1 the SPI interface to the basic principles of 32-34 3.4.1.2 SPI interface design 34-35 3.4.2 CAN communication interface design 35-37 3.4.2.1 CTM1040 introduced 35-36 3.4.2.2 CAN interface design 36-37 the the 3.5 voice module hardware design 37-41 3.5.1 ZY1730 voice module 38-39 3.5.2 ZY1730 module hardware design 39-41 Chapter 4 system software design 41-63 4.1 software structure 41-43 4.2 finite state machine in the motherboard program design in the application 43-50 4.2.1 finite state machine implementations 44-45 4.2.2 program status divided 45-46 4.2.3 program state machine implementation 46-48 4.2.4 state transition diagram 48-50 4.3 communication program design 50-58 4.3.1 SPI module software design 50-54 4.3.1.1 host sends data 50-51 4.3.1.2 send data from the machine 51-52 4.3.1.3 SPI communication management 52-54 4.3.2 CAN module software design 54-58 4.3.2.1 CAN protocol technology specification 54-56 4.3.2.2 CAN communication management 56-58 4.4 voice module software design 58-63 4.4.1 ZY1730 voice module operating agreement 58-59 4.4.2 ZY1730 voice module software design 59-63 Chapter 5 System Test and Analysis 63-70 5.1 spiral motor module testing and analysis 63-65 5.2 lift motor module testing and analysis 65-66 5.3 hard / paper money machine module testing and analysis 66-67 5.4 SPI communications test 67-68 5.5 CAN communication test 68 5.6 machine test run 68-70 Chapter 6 Summary and Outlook 70-72 6.1 summarizes 70-71 6.2 Looking 71-72 the References 72-75 Appendix circuit physical map 75-77 Acknowledgements 77-78 studying for a master's degree during the thesis and participate in the project 78

Related dissertations

  1. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  2. Design of Car CAN Bus Base on the Embedded System
    MaLongXiang ·Tianjin University of Technology ·2013 ·Master's thesis
  3. Design and Implement of Wood Processing Network Control System Based on Canopen
    LeXinYi ·Wuhan University of Technology ·2012 ·Master's thesis
  4. The Design of Multi-baghouse Dust-collector Control System
    TangMing ·Guangxi University of Technology ·2012 ·Master's thesis
  5. Analysis of Aspect-Oriented Technology and Its Application in the Development of Software for Large-Scale Embedded System
    DengAQun ·Zhejiang University ·2007 ·Doctoral dissertation
  6. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  7. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  8. The Research and Design of Embedded Graphic Remote Monitor Terminal
    DengBoWen ·Harbin Engineering University ·2013 ·Master's thesis
  9. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  10. Design and Application of the Distributed Monitoring System Based on Embedded Web
  11. Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
    ZhangYanYan ·Dalian Polytechnic University ·2011 ·Master's thesis
  12. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  13. Industrial Field Data Acquisition System Design Based on CAN Bus
  14. Design of the Hazard Source Monitoring System Based on CAN Bus
  15. The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
  16. Research on Data Acquisition System of Can Bus
  17. The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
    QianYiWei ·Hunan University ·2013 ·Master's thesis
  18. Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
    FeiYongYun ·Nanjing Agricultural College ·2013 ·Master's thesis
  19. Design and Implementation of Intelligent Wiring Hardness Detection System
  20. The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station