登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 光电信息科学与工程 > 正文

基于树莓派的程控斩波器的开发制作毕业论文

 2022-01-21 21:02:56  

论文总字数:21357字

摘 要

光信号调制在光电检测等诸多方面的作用越来越大,信息科技技术在推动社会进步中发挥了越来越重要的作用,光学与电子信息技术的融合对于社会进步与科技发展都有很大的意义。利用计算机科学来改进升级试验设备能够让实验变得更加精确,操作更加容易。本课题主要使用Python编写程序利用树莓派运行,通过控制GPIO接口状态对步进电机进行调速,并进行优化,将光电信息技术和软件程序相结合并应用到科学实验当中。

通过研究如何对GPIO编程驱动,以及开发合适合理的算法和控制方法,从而达到对步进电机进行调控的能力,在步进电机上搭载斩波盘,开发出基于树莓派的程控斩波器。首先,本文介绍了光调制的定义,作用与应用,接着介绍了作为斩波器控制模块的树莓派的相关信息与应用。其次,对基于树莓派的程控斩波器的结构进行了说明。最后将本课题所设计的控制程控斩波器的程序进行了说明和分析。通过硬件调控和软件开发,利用科学的算法完成基于树莓派的程控斩波器的开发与制作。

 

关键词:斩波器 树莓派 光调制 Linux

 

 

 

Development and production of program-controlled chopper based on Raspberry pi

Abstract

Optical signal modulation plays an increasingly important role in many aspects such as photoelectric detection. Information technology plays an increasingly important role in promoting social progress. The integration of optics and electronic information technology is of great significance for social progress and scientific and technological development. Using computer science to improve and upgrade experimental equipment can make experiments more accurate and easier to operate. This subject is mainly based on the python programming of Raspberry PI. By controlling GPIO interface, the stepper motor is regulated and optimized. The photoelectric information technology and software program are combined and applied to scientific experiments.

By studying how to program and drive GPIO, and developing appropriate and reasonable algorithm and control method, so as to achieve the ability to regulate and control the stepping motor, the program controlled chopper based on Raspberry Pi was developed with chopper board installed on the stepper motor. Firstly, this paper introduces the definition, function and application of light modulation, and then introduces the related information and application of Raspberry Pi as the chopper control module. Secondly, the structure of the program-controlled chopper based on Raspberry Pi is described. Finally, the program of the program - controlled chopper is explained and analyzed. Through hardware regulation and software development, the program-controlled chopper based on Raspberry Pi was developed and manufactured by scientific algorithm.

Key Words: Chopper; Raspberry Pi; Light modulation; Linux

目 录

摘 要 I

Abstract II

第一章 绪论 1

1.1 光调制的定义与作用 1

1.2 光调制的方法 1

1.2.1机械调制法 1

1.2.2光控调制器 2

1.2.3内调制法 2

1.3树莓派 3

1.3.1树莓派简介 3

1.3.2树莓派的应用 4

1.4 步进电机 5

1.5 课题的研究意义 6

第二章 程控斩波器的结构设计 7

2.1 程控斩波器的结构 7

2.2 控制模块树莓派 7

2.3 步进电机与斩波盘 8

第三章 程控斩波器的程序设计 11

3.1 树莓派的连接 11

3.2 程序设计 11

3.2.1引脚对应关系与驱动方法 11

3.2.2核心程序设计 12

3.2.3控制电机与引脚口重置 14

3.3 步进电机转速 16

3.3.1转速的调节 16

3.3.2转速的范围 16

3.4 程序窗口 17

3.4.1 Tkinter窗口设计模块 18

3.4.2 窗口程序设计 18

3.4.3窗口的显示 18

第四章 课题的总结和展望 20

4.1 课题总结 20

4.2 课题展望 20

参考文献 21

附录 23

请支付后下载全文,论文总字数:21357字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图