摘要
介绍了一种基于嵌入式技术的自动售货机控制系统的设计方法。根据自动售货系统的组成和功能需求,研究业界主流通信协议和标准,提出了系统的总体设计方案,分为外设层、硬件层和软件层3部分。硬件部分由控制信号的类型和所需空间大小,选择嵌入式芯片LPC2214作为核心控制器,再设计相关的外围接口电路。软件部分包括驱动程序、MDB会话和应用程序的设计,重点介绍了MDB/ICP协议、DEX/UCS标准、销售模式和服务模式的实现。经过现场测试,所设计的系统能够达到相关技术标准和规范的要求,具有智能化程度高,销售控制功能丰富,支持数据统计和下载,兼容性好等特点。
This paper introduces a kind of design method of the vending machine controller based on the embedded technology.According to the components and the functional requirements of the vending machine,the primary protocols and standards are studied,and a general framework for the system is proposed,which is divided into the peripherals,the hardware and the software.In the hardware designing,the embedded chip LPC2214 is chosen as the core microcontroller and the correlative peripheral interfaces are designed after analyzing the types of the control signals and the size of space.The software designing contains the driving program,the session program based on MDB and the application program.The implementations of the MDB/ICP protocol,DEX/UCS standard,the sale mode and the service mode are emphasized.This new vending machine controller is subjected to all the required tests,and it makes a feature of intelligent product,more options in vending control,the data downloading,much improved compatibility and so on.
出处
《工业仪表与自动化装置》
2010年第5期31-34,共4页
Industrial Instrumentation & Automation