为了正常的体验网站,请在浏览器设置里面开启Javascript功能!

亮度调节设计报告

2018-04-11 16页 doc 74KB 16阅读

用户头像

is_614050

暂无简介

举报
亮度调节设计报告亮度调节设计报告 基于MSP 430149亮度调节设计报告 参赛队员:桂登宇 惠婷婷 于志伟 赛前辅导及文稿整理辅导教师:余平生 摘要: 本文详细描述了基于超低功耗的MSP430系列单片的亮度控制系统的设计方法。本系统主要应 用数字化和无线控制,系统分为单片机处理模块、PWM可调方波模块、传感器及AD转换模块、红外 线控制传输模块以及LCD12864显示模块五个模块。单片机控制模块以MSP430149为核心,用PWM 波驱动LED,调节PWM波的占空比来调节亮度,然后由光敏电阻传感器检测亮度通过AD转换在 LCD12...
亮度调节设计报告
亮度调节 基于MSP 430149亮度调节设计报告 参赛队员:桂登宇 惠婷婷 于志伟 赛前辅导及文稿整理辅导教师:余平生 摘要: 本文详细描述了基于超低功耗的MSP430系列单片的亮度控制系统的设计方法。本系统主要应 用数字化和无线控制,系统分为单片机处理模块、PWM可调方波模块、传感器及AD转换模块、红外 线控制传输模块以及LCD12864显示模块五个模块。单片机控制模块以MSP430149为核心,用PWM 波驱动LED,调节PWM波的占空比来调节亮度,然后由光敏电阻传感器检测亮度通过AD转换在 LCD12864上显示。 关键词: 亮度控制、PWM波、AD转换、数字控制 Abstract: This paper describes the MSP430 ultra power based on single chip brightness control system design method. This system mainly applied and digital wireless control system is divided into SCM processing modules, and adjustable square-wave PWM, sensors and AD conversion module, infrared control module and LCD12864 display module five modules. SCM control module with MSP430149 judgement as the core, using PWM waves, adjust the PWM waves driving leds to adjust the brightness of the cycle, and the brightness of light activated triode sensor detection by AD transform in LCD12864 on display. Keywords: Control PWM waves, brightness, AD transform, digital control since defined. support system management server and consumption POS machine automatically on Shi on Shi frequency can set, support parameter automatically Xia biography, and personnel automatically Xia biography, and task query, function, support variety report: trading summary table, and purchase statistics, and filling buckle adjustable statistics, and withdrawals statistics, and Back to statistical tables, entry tables, manually consumption Details tab, employee consumption summary accounting and management requirements. (3.) parking lot management systemRehabilitation Centre underground parking lots, and locations in the medical Building basement, second floor. Parking management system is a set of video surveillance, access management, parking management, leading spaces, vehicle access control and integrated system management in one. Car park management system and security monitoring system, alarm linkage system, different settings in the import and export control system control box, parking control system in comprehensive management of comprehensive medical building security monitoring center, audio and video surveillance, alarm systems and other new Exchange each other, form a comprehensive, convenient and efficient Ta systems. Parking entrance equipped with image acquisition, comparison system, vehicle access and egress will be automatically collected and stored image information of the vehicle, and according to the card number automatically from the database to bring up the corresponding vehicle information and accurate comparison of the pictures confirm that prevent a vehicle from being stolen. Acquisition of image information is automatically saved for later, and verification. Parking out entrance has alarm device, once access entrance location occurred accident situation, parking site management personnel can timely triggered alarm device, will 目 录 1 比较与论证 ............................................................................ 3 1.1 总体设计方案与比较 .................................................................................... 3 1.2 模块电路设计与论证.................................................................................... 3 2 系统设计 ........................................................................................ 4 2.1总体设计........................................................................................................... 4 2.2 软件图...................................................................................................... 4 2.3 电路原理图...................................................................................................... 5 3 测试数据与分析 ............................................................................ 6 3.1传感器模块检测............................................................................................... 6 3.2 整机调试.......................................................................................................... 6 3.3 测试结果.......................................................................................................... 6 4 设计特色 ........................................................................................ 6 5 总结 ................................................................................................ 7 附录 .................................................................................................... 7 ce, onlen. Acquisition of image information is automatically saved for later, and verification. Parking out entrance has alarm devip the corresponding vehicle information and accurate comparison of the pictures confirm that prevent a vehicle from being stoing ucollected and stored image information of the vehicle, and according to the card number automatically from the database to br systems. Parking entrance equipped with image acquisition, comparison system, vehicle access and egress will be automaticallyTa audio and video surveillance, alarm systems and other new Exchange each other, form a comprehensive, convenient and efficient control box, parking control system in comprehensive management of comprehensive medical building security monitoring center, ystemmanagement system and security monitoring system, alarm linkage system, different settings in the import and export control s ess management, parking management, leading spaces, vehicle access control and integrated system management in one. Car parke, accg lots, and locations in the medical Building basement, second floor. Parking management system is a set of video surveillancon summary accounting and management requirements. (3.) parking lot management systemRehabilitation Centre underground parkinsumptiics, and withdrawals statistics, and Back to statistical tables, entry tables, manually consumption Details tab, employee conuery, function, support variety report: trading summary table, and purchase statistics, and filling buckle adjustable statistpport parameter automatically Xia biography, and personnel automatically Xia biography, and task qsince defined. support system management server and consumption POS machine automatically on Shi on Shi frequency can set, su2will ce access entrance location occurred accident situation, parking site management personnel can timely triggered alarm device, 1 方案比较与论证 1.1 总体设计方案与比较 方案一: 一种基于DAC0832数模转换器和单片机的LED亮度控制系统。整个系统以单片机为控制核心,通过控制D/A转换器DAC0832、多路电子开关以及电压保持等电路实现对多个发光体亮度的连续控制。此设计系统较为复杂,包括多个外围电路。 方案二: 一种以键盘控制PWM占空比来调节亮度系统,显示部分需要键盘控制,需要连接多个键盘的外围电路,此设计电路复杂,控制麻烦。 方案三: 一种基于MSP430149单片机为核心的控制系统。MSP430控制PWM方波的占空比来调节LED灯的显示,光敏电阻传感器采集信号及AD转换,且利用红外线控制传输信号在LCD12864显示器上显示。 方案选择: 以上三种方案都可以实现亮度控制的调节,第一种方案采用DAC0832数模转换模块,需要有电 第二种方案采用键盘控制,外围电路较复杂,不利于控制。所以,我们采用第三种方案,流输入。 这个方案的电路较简单,控制较方便,效率较高。 1.2 模块电路设计与论证 单片机控制模块 主控制器采用MSP430149单片机,处理能力较强,具有便捷的外围电路,具有复位功能。是高速/低功耗/超强抗干扰的新一代单片机,具有很高的性价比。 PWM可调方波产生模块 由MSP430内部控制产生PWM可调方波来驱动LED亮度,利用波形周期改变调节亮度。 红外线控制输出模块 该模块由红外线发射遥控器及红外接收头组成。用红外发射遥控器发射信号,红外接收头接收后经处理控制液晶显示。 传感器及AD转换模块 利用光敏电阻采集LED灯的强度,经AD转换后传递给单片机处理后在LCD液晶显示屏上显示。 显示模块 本系统采用LCD12864液晶显示,这样可以显示更多的信息,并且是汉字显示,便于查看。接口电路简单,控制方便。 eillance, alarm systems and other new Exchange each other, form a comprehensive, convenient and efficient Ta systems. Parkingsurv king control system in comprehensive management of comprehensive medical building security monitoring center, audio and videosecurity monitoring system, alarm linkage system, different settings in the import and export control system control box, par em andparking management, leading spaces, vehicle access control and integrated system management in one. Car park management systin the medical Building basement, second floor. Parking management system is a set of video surveillance, access management, tions nting and management requirements. (3.) parking lot management systemRehabilitation Centre underground parking lots, and locatatistics, and Back to statistical tables, entry tables, manually consumption Details tab, employee consumption summary accouwals ssupport variety report: trading summary table, and purchase statistics, and filling buckle adjustable statistics, and withdracan set, support parameter automatically Xia biography, and personnel automatically Xia biography, and task query, function, since defined. support system management server and consumption POS machine automatically on Shi on Shi frequency Ice location occurred accident situation, parking site management personnel can timely triggered alarm device, willage information is automatically saved for later, and verification. Parking out entrance has alarm device, once access entranof im ing vehicle information and accurate comparison of the pictures confirm that prevent a vehicle from being stolen. Acquisitionimage information of the vehicle, and according to the card number automatically from the database to bring up the correspondored entrance equipped with image acquisition, comparison system, vehicle access and egress will be automatically collected and st -3 2 系统设计 2.1总体设计 总体设计框图如图2-1所示。 稳压电源 PWM ADC 传感器 MSP43 0 LED 显示 红外线 图2-1 总体框图 2.2 软件流程图 软件流程图如图2-2所示。 systems. Parking entrance equipped with image acquisition, comparison system, vehicle access and egress will be automaticallyTa audio and video surveillance, alarm systems and other new Exchange each other, form a comprehensive, convenient and efficient control box, parking control system in comprehensive management of comprehensive medical building security monitoring center, ystemmanagement system and security monitoring system, alarm linkage system, different settings in the import and export control s ess management, parking management, leading spaces, vehicle access control and integrated system management in one. Car parke, accg lots, and locations in the medical Building basement, second floor. Parking management system is a set of video surveillancon summary accounting and management requirements. (3.) parking lot management systemRehabilitation Centre underground parkinsumptiics, and withdrawals statistics, and Back to statistical tables, entry tables, manually consumption Details tab, employee conuery, function, support variety report: trading summary table, and purchase statistics, and filling buckle adjustable statistpport parameter automatically Xia biography, and personnel automatically Xia biography, and task qsince defined. support system management server and consumption POS machine automatically on Shi on Shi frequency can set, su4will ce access entrance location occurred accident situation, parking site management personnel can timely triggered alarm device,ce, onlen. Acquisition of image information is automatically saved for later, and verification. Parking out entrance has alarm devip the corresponding vehicle information and accurate comparison of the pictures confirm that prevent a vehicle from being stoing ucollected and stored image information of the vehicle, and according to the card number automatically from the database to br 主流程 AD转换 PWM方波 开 始 否 显示当前信息 按键选择进入TA中断 进PWM程序 择择 是 等 待 进入按键 设置AD转换 初 始 设 置 显示按键界面 启动AD转换 按键设占空比 更改数据 中断返回 输 出 波 形 退出 进入中断 结束 图2-2 软件流程 2.3 电路原理图 主控电路和显示电路图如图2-3所示 图2-31主控电路图 Ice location occurred accident situation, parking site management personnel can timely triggered alarm device, willage information is automatically saved for later, and verification. Parking out entrance has alarm device, once access entranof im ing vehicle information and accurate comparison of the pictures confirm that prevent a vehicle from being stolen. Acquisitionimage information of the vehicle, and according to the card number automatically from the database to bring up the correspondored entrance equipped with image acquisition, comparison system, vehicle access and egress will be automatically collected and st eillance, alarm systems and other new Exchange each other, form a comprehensive, convenient and efficient Ta systems. Parkingsurv king control system in comprehensive management of comprehensive medical building security monitoring center, audio and videosecurity monitoring system, alarm linkage system, different settings in the import and export control system control box, par em andparking management, leading spaces, vehicle access control and integrated system management in one. Car park management systin the medical Building basement, second floor. Parking management system is a set of video surveillance, access management, tions nting and management requirements. (3.) parking lot management systemRehabilitation Centre underground parking lots, and locatatistics, and Back to statistical tables, entry tables, manually consumption Details tab, employee consumption summary accouwals ssupport variety report: trading summary table, and purchase statistics, and filling buckle adjustable statistics, and withdracan set, support parameter automatically Xia biography, and personnel automatically Xia biography, and task query, function, since defined. support system management server and consumption POS machine automatically on Shi on Shi frequency -5 3 测试数据与分析 3.1传感器模块检测 无外界光干扰下,LED灯亮度与光敏电阻两端的输出电压关系 等级 0 1 2 3 4 5 6 7 8 9 10 11 12 电压值 0.4 0.524 0.633 0.731 0.815 0.896 0.967 1.02 1.08 1.14 1.202 1.254 1.30 光强 475 625 733 873 963 1063 1153 1232 1300 1321 1437 1532 1598 由此可知,光敏电阻的输出电压可以检测光强度。 3.2 整机调试 组装好电路并连接好所有的电源线和信号控制线,检查线路是否正确无误。打开电源,通过所编程序控制速度测量。需调试的功能有传感器采集、AD转换、PWM方波显示、亮度调节显示、红外线控制传输。 3.3 测试结果 项目 完成情况 PWM方波控制LED亮度 完成 基 本 MSP430处理与LCD显示功能 完成 要 求 传感器采集功能 完成 AD转换及亮度量级显示 完成 发挥 亮度的等级控制(12级) 完成 部分 红外线控制传输功能 完成 超范围警告显示 完成 4 设计特色 , 本系统主要应用数字化和红外无线控制。 , 用光敏电阻连接桥式电路来采集光的强弱变化信号,通过AD转换为数字信号通过单片机处 理后进行显示。 , LED亮度控制部分,原理是利用红外线控制PWM可调方波的高电平的占空比来调节。 , 显示部分采用LCD12864液晶显示器,12864显示面积大且可直接显示汉字,方便查看。 , 本系统在实际生活中可用于家居方面的灯光的智能调节控制、养殖场的灯光补偿等。 6will ce access entrance location occurred accident situation, parking site management personnel can timely triggered alarm device,ce, onlen. Acquisition of image information is automatically saved for later, and verification. Parking out entrance has alarm devip the corresponding vehicle information and accurate comparison of the pictures confirm that prevent a vehicle from being stoing ucollected and stored image information of the vehicle, and according to the card number automatically from the database to br systems. Parking entrance equipped with image acquisition, comparison system, vehicle access and egress will be automaticallyTa audio and video surveillance, alarm systems and other new Exchange each other, form a comprehensive, convenient and efficient control box, parking control system in comprehensive management of comprehensive medical building security monitoring center, ystemmanagement system and security monitoring system, alarm linkage system, different settings in the import and export control s ess management, parking management, leading spaces, vehicle access control and integrated system management in one. Car parke, accg lots, and locations in the medical Building basement, second floor. Parking management system is a set of video surveillancon summary accounting and management requirements. (3.) parking lot management systemRehabilitation Centre underground parkinsumptiics, and withdrawals statistics, and Back to statistical tables, entry tables, manually consumption Details tab, employee conuery, function, support variety report: trading summary table, and purchase statistics, and filling buckle adjustable statistpport parameter automatically Xia biography, and personnel automatically Xia biography, and task qsince defined. support system management server and consumption POS machine automatically on Shi on Shi frequency can set, su 5 总结 这次设计我们基本完成了预定的几个设计指标,也完成了硬件电路的搭建实验。完成过程中,首先制定出亮度控制的具体方案,我们采用了方案三的控制方案。这个方案的测试方法的控制方便,电路简单,效率较高。确定方案后,我们着重进行软件的设计,主要是C语言编程部分。经过多次尝试,我们一步步完成设计功能,最终,终于连同调试圆满完成。 现在我们可以较好的运用MSP430单片机,在设计过程中我们解决了很多问,但是,不同问题还会与我们见面,我们尽自己所能尽量做到最好。这次设计存在的最主要的问题就是,各个模块的合成较麻烦,问题较多。这还有待我们的进一步改善。这次设计,使我们团队共同合作的成果,我们今后一定更加努力更加团结来创造更好的成绩。 附录 参考文献 [1]MSP430使用手册; [2]LCD12864用户手册; [3]《MSP430接口原理与应用》; ored entrance equipped with image acquisition, comparison system, vehicle access and egress will be automatically collected and st eillance, alarm systems and other new Exchange each other, form a comprehensive, convenient and efficient Ta systems. Parkingsurv king control system in comprehensive management of comprehensive medical building security monitoring center, audio and videosecurity monitoring system, alarm linkage system, different settings in the import and export control system control box, par em andparking management, leading spaces, vehicle access control and integrated system management in one. Car park management systin the medical Building basement, second floor. Parking management system is a set of video surveillance, access management, tions nting and management requirements. (3.) parking lot management systemRehabilitation Centre underground parking lots, and locatatistics, and Back to statistical tables, entry tables, manually consumption Details tab, employee consumption summary accouwals ssupport variety report: trading summary table, and purchase statistics, and filling buckle adjustable statistics, and withdracan set, support parameter automatically Xia biography, and personnel automatically Xia biography, and task query, function, since defined. support system management server and consumption POS machine automatically on Shi on Shi frequency Ice location occurred accident situation, parking site management personnel can timely triggered alarm device, willage information is automatically saved for later, and verification. Parking out entrance has alarm device, once access entranof im ing vehicle information and accurate comparison of the pictures confirm that prevent a vehicle from being stolen. Acquisitionimage information of the vehicle, and according to the card number automatically from the database to bring up the correspond-7
/
本文档为【亮度调节设计报告】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索