摘要当今世界快速发展,各个国家都在极力发展本国经济,能源短缺成了许多国家面临的问题。不管身处何处,都可以看到能源的大量消耗,只有找到廉价的清洁无污染能源,企业才能在经济发展的潮流中占据一席之地,而太阳能在这方面有着巨大的开发和发展潜能。我国太阳能资源丰富,有效利用太阳能资源对社会的可持续发展有着重要的战略意义。26119
为提高太阳能利用率,本次将设计一个基于单片机的太阳能发电电池板双轴跟随系统,该设计以STC12C5A60S2单片机为核心控制元件,通过光电传感装置将收集到的信号传送给单片机,经过单片机内部的A/D转换功能和数据分析处理后,对舵机的运行进行控制从而保持太阳能电板能一直垂直对准太阳,最有效的获取太阳能。
在设计中,首先要完成对本方案的验证及确定,然后通过Keil软件,利用C语言编制程序,完成整个程序设计,接着利用下载器将程序烧写到单片机中。最后的研究调制结果表明,本设计能够顺利的跟随太阳转动,达到了预期的设计目标。
毕业论文关键字 太阳能跟随系统 光电传感装置 单片机 C语言 舵机
Abstract Nowadays, with the the rapid development of the world, all the countries are trying their best to develop the national economy. Energy shortage is a very serious problem every country is faced with in this period of time. You can see a large amount of energy consumption everywhere. Only to find the cheap energy without pollution can a company achieve success in the trend of economic development. Solar has a huge development potential in this respect. In China, energy resource is rich. If we use the solar energy resource in the right way, it will have great significance to the development of the society.
In order to improve the utilization rate of solar energy, we will design a solar tracking system based on MCU. In this design, we use STC12C5A60S2 as the core control element. Signals are collected through the photoelectric sensor to be transmitted to the MCU. After the using of A/D and data analysis function of MCU, MCU makes control actuators work to keep that the solar panels can always align perpendicular to the sun to use the solar energy effectively.
In the design, we first need to complete verification of the scheme, then use the keil software and C language to program and complete the whole process of the design. Next, use the download software to burn the program into the MCU. In the end, the results show that this design can rotate with the sun successfully and we achieve the design goals.
Keywords: solar tracking system photoelectric sensor C language MCU control actuator
目 录
摘要Ⅰ
AbstractⅡ
1 概述1
1.1 能源与环保1
1.1.1 能源短缺1
1.1.2 环境污染1
1.2 太阳能特点2
1.3 国内外太阳能应用现状3
1.4 太阳能跟踪技术的发展现状4
2 太阳能发电电池板跟随系统的总体设计5
2.1 系统设计要求5
2.2 跟踪系统的设计原理5
2.3 设计流程步骤6
3 系统的硬件设计8
3.1 主控制电路8
3.1.1单片机简介8
3.1.2 单片机最小系统10
3.2 光敏电压检测电路11
3.3 外部时钟电路12
3.4 液晶显示电路15
3.5 舵机简介16
4 系统的软件设计18
4.1 程序流程图18
4.1.1 光电跟踪流程图18
4.1.2 外部时钟工作流程图19
4.1.3 系统总流程图20
4.2 部分程序设计21
4.2.1 主程序21
4.2.2 内部中断初始化21 单片机太阳能发电电池板跟随系统设计+电路图+源程序:http://www.youerw.com/zidonghua/lunwen_20185.html