欢迎来到专业的新思文库网平台! 工作计划 工作总结 心得体会 事迹材料 述职报告 疫情防控 思想汇报 党课下载
当前位置:首页 > 范文大全 > 教案设计 > 正文

基于keil软件的一体化螺丝刀控制器设计

时间:2022-10-28 15:45:06 来源:网友投稿


打开文本图片集

摘  要: 针对低压断路器产品生产效率低、可操作性差等系列问题,提出了基于keil软件的一体化螺丝刀控制器设计。基于Keil5(Keil uVision5)的软件平台及STM32f10x封装函数包,在搭建好实物装置的基础上,建立控制模型及编写控制系统的运行程序。编写的程序主要是在一体化螺絲刀装置上的各个传感器等设备的监测下,完成以STM32f103ZET6为主控芯片的控制器来控制相应步进电机的运行及电磁阀的开断配合,完成一个完整的轨迹运行。并将设计的程序进行仿真、实验调试。实验最终表明:该装置可以实现低压断路器高效率的生产且该设计的控制器可操作性强。

关键词 Keil5;控制模型;STM32f103ZET6;仿真模拟;实验调试

中图分类号: TP319    文献标识码 A    DOI:10.3969/j.issn.1003-6970.2019.09.017

本文著录格式:王飞,杜向阳. 基于keil软件的一体化螺丝刀控制器设计[J]. 软件,2019,40(9):75-80

Design of Integrated Screwdriver Controller Based on Keil Software

WANG Fei, DU Xiang-Yang

School of Mechanical and Automotive Engineering, Shanghai University of Engineering and Technology, Shanghai 201620, China

Abstract: For the series of low-voltage circuit breaker products with low production efficiency and poor operability, an integrated screwdriver controller design based on leil software is proposed. Based on Keil (Keil uVision5) software platform and STM32f10x package function package, based on the physical device, the control model and the running program of the control system are established. The main task of the prepared control program code is to complete the control of the corresponding stepper motor with STM32f103ZET6 as the main control chip under the monitoring of various sensors and other devices on the integrated screwdriver device (one angle control motor, two displacement control motors), a control of the torque nut motor), the designed program running code for simulation, experimental debugging. The experiment finally shows that the device can achieve high-efficiency production of low-voltage circuit breakers and the controller of the design is operability.

Key words: Keil5; Control model; STM32f103ZET6; Simulation; Experimental debugging

0  引言

ARM公司[1]在2005年收购keil公司后,于2013年10月推出了最新的开发环境Keil5。Keil提供了包括C编译器、宏汇编、链接器、库管理和一个功能强大的仿真调试器等在内的完整开发方案,通过一个集成开发环境(uVision)将这些部分组合在一起。Keil官网虽然没有发布中文版本,但是Keil系列软件[2-3]却被中国80%以上的软硬件工程师使用,说明该系统软件的强大,以及它的发展前景。

此软件开发系统的优点:Keil5生成的目标代码效率非常之高,多数语句生成的汇编代码很紧凑,容易理解。在开发大型软件时更能体现高级语言的优势。与汇编相比,C语言在功能上、结构性、可读性、可维护性上有明显的优势,因而易学易用。因此,借助集成开发环境Keil5,在以STM32f103ZET6为主控芯片的控制器[4-6]硬件平台来控制一体化螺丝刀装置运行,提高装置的工作

推荐访问:螺丝刀 控制器 设计 软件 keil