摘 要:随着人们生活水平的不断提高,越来越强调拥有一个舒适生活或学习工作的环境,本篇论文设计的是一个自动起闭光控窗帘控制系统,它可以感应周围环境的光照强度,当达到设定的光照强度数值窗帘就会自动的打开或者关闭。该论文设计了电源模块、光照采集模块、信号处理模块、A/D转换模块、步进电机控制模块。为系统提供稳定的电压是电源模块;光敏电阻组成的分压电路构建了光照采集模块,控制信号的改变由输入信号的改变决定,在信号处理模块中使用电压跟随电路的方法,将输入阻抗提高,便于后续的信号处理;ADC0832为A/D转换模块的核心,将转换后的数字信号送入单片机AT89C51中进行控制;用ULN2003芯片驱动步进电机直接采用单片机进行程控这构成了步进电机控制模块。本设计系统为智能家居领域开辟新的市场。40515
毕业论文关键词:信号处理;AT89C51;ADC0832;ULN2003;步进电机
Design of The Control System for Light Controlling Curtains which can Open and Close Automatically
Abstract: With the continuous improvement of people's living standard, more and more emphasis on having a comfortable life or study work environment, this paper designed a automatic lifting electric curtain control system, it can be induced ambient light intensity, when to set the light intensity of numerical curtain will automatically open or closed. The paper designed the power supply module, light collection module, signal processing module, A/D conversion module, stepper motor control module. For the system to provide a stable voltage is power supply module; Partial pressure of photosensitive resistance circuit constructed illumination acquisition module, control the change of the signal is determined by the change of the input signal, the signal processing module used in voltage following circuit, the method of the input impedance, facilitate subsequent signal processing; ADC0832 as the core of the A/D conversion module, will be transformed into digital signal in the single chip microcomputer AT89C51 to control; Stepper motor is driven by ULN2003 chip directly using SPC that constitute the single-chip stepper motor control module. This design system for the intelligent household field opening up new markets.
Key words: Signal’processing ;AT89C51;ADC0832;ULN2003;Stepping motor
目 录
摘要 1
引言 2
1.系统方案的总体设计 2
1.1 设计目标及任务 2
1.2 总体方案设计 3
2.硬件电路设计方案 4
2.1 设计思路 4
2.2 电源模块硬件电路 4
2.3 数据采集模块硬件电路 5
2.4 信号处理模块硬件电路 6
2.5 A/D转换模块硬件电路 7
2.6 控制系统核心模块—单片机AT89C51 8
2.7 步进电机驱动模块硬件电路 9
2.8 整体硬件电路图 11
3.软件设计 12
3.1 控制软件设计方案 12
3.2 数据处理方案 13
3.3 步进电机程控方案 13
3.4 ADC0832的控制方案 15
4.系统调试 16
4.1 光照采集硬件模块光敏电阻测试 16
4.2 电源模块测试 16
4.3 电压跟随模块调试及问题 17
4.4 步进电机控制模块调试及问题 17
5.总结 17
参考文献 18
附录 18
致谢 25
自动起闭光控窗帘控制系统设计引言 AT89C51单片机自动起闭光控窗帘控制系统设计+程序:http://www.751com.cn/zidonghua/lunwen_38838.html