摘要随着信息技术和物联网等技术的广泛应用,传统仓储系统正朝着自动化、网络化和智能化方向快速发展。本文即基于仓储系统的典型设备--电动货架,研究了核心控制器的软硬件设计及实现。论文以ARM系列Cortex M3微处理器为控制核心,综合应用传感器技术、通信技术和µC/OS-III操作系统的多任务技术等,实现系统的控制逻辑并对软硬件进行了相关调试。论文的主要内容包括:
(1)电动货架整体架构及硬件平台介绍。主要包括系统整体架构、硬件接口连接以及STM32硬件控制板介绍。30698
(2)电动货架控制软件设计及功能模块调试。该部分包括外设驱动设计、通信协议制定以及重点讲述了电动货架主控列和移动列的控制软件设计。同时还包括其各个功能模块的调试。
(3)移植µC/OS-III系统到硬件平台实现控制软件的多任务划分、调度和协同控制。该部分介绍了µC/OS-III系统的特点并讲述了如何移植µC/OS-III系统到STM32平台的方法。
论文实现了系统的软硬件设计,经过在实际系统的调试和实验,工作稳定、可靠,基本实现系统的设计目标和设计任务。
关键词 电动货架 STM32 多任务 µC/OS-III
毕业论文设计说明书外文摘要
Title The software design of electric shelf control
based on µC/OS-Ⅲ and STM32
Abstract
With the wide application of information technology and Internet of things technology, the traditional warehouse system is developing rapidly towards automation, networking and intelligent direction.. This paper is based on the typical equipment of the storage system, the electric shelf, studying the hardware and software design of the core controller.The arm cortex m3 microprocessor as control core, comprehensive application of sensor technology, communication technology and µ C/OS-Ⅲ operating system multi task technology etc., to achieve the control logic of the system ,the hardware and software are related to debugging. The main content of the paper is:
(1) the overall architecture and hardware platform of the electric shelf. Mainly includes the whole structure and electric shelf hardware interface connection and STM32 control board.
(2) the design and debugging of the electric shelf control software. This part includes peripheral driver design, communication protocol development and focuses on electric shelf main control column and movable column control software design and the debugging of the various functional modules.
(3) transplantat µC/OS-Ⅲ system to the hardware platform of the control software to achieve multi task partitioning,scheduling and cooperative control. This part introduces the characteristics of µC/OS-Ⅲ system and introduces the method of how to transplant µC/OS-Ⅲ to the STM32 platform system.
Keywords electric shelf,STM32,multi task,µC/OS-Ⅲ
目 次
1 绪论 1
2 电动货架整体架构 2
2.1排列分布 2
2.2硬件接口连接 2
3电动货架硬件平台介绍 5
3.1硬件整体设计需求分析 5
3.2微处理器简介 5
3.3通信模块设计 7
3.4主要I/O端口简介 8
3.5微处理器简介 9
3.6其他模块 9
4电动货架控制软件设计 10
4.1整体功能分析 10
4.2开发环境介绍 11
4.3 主要外设驱动开发 11
4.4 MODBUS通信协议 16
4.5 主控列控制软件设计 17
4.6 移动列控制软件设计 22
4.7 系统调试方法 23
5 µC/OS-Ⅲ系统简介及移植 26
5.1 µC/OS-Ⅲ操作系统介绍 26
5.2 µC/OS-Ⅲ源码及结构 27
5.3移植方法及步骤 28
5.4系统裁剪 31
5.5不足与改进 31
结论 33
致谢 34 基于STM32和µC/OS-Ⅲ的电动货架控制软件设计+源程序:http://www.youerw.com/zidonghua/lunwen_26561.html