- 30
- 0
- 约 42页
- 2017-08-01 发布于江苏
- 举报
基于单片机的数字PWM控制器设计与应用软件
摘 要
基于C51单片机和PWM对LED亮度进行调节, STC89C52作为主控芯片,设置了手动控制。在手动控制时,通过两个按键输出不同的PWM占空比对LED的电流进行控制,从而实现了对光度的手动调节。51单片机本身是没有PWM接口的,本文是通过软件模拟PWM在一定的频率的方波中,调整高电平和低电平的占空比,即可实现LED灯亮度控制。PWM调节LED亮度是一种利用简单的数字脉冲反复开关白光LED驱动器的调光技术。系统只需要提供宽、窄不同的数字式脉冲,即可简单地实现改变输出电流从而调节白光LED的亮度。
不管用Buck,Boost,Buck-Boost还是线性调节器来驱动LED。它们的共同思路都是用驱动电路来控制光的输出。一些应用只是简单地来实现“开”和“关”地功能,但是更多地应用需求是要基本从0到100%调节光的亮度。而且经常要有很高的精度。使用开关电路以相对于人眼识别力来说足够高的频率工作来改变光输出的平均值,即数字调光。使用脉冲宽度调制PWM来设置周期和占空度,可能是最简单的实现数字调光的方法,并且Buck调节器拓扑往往能够提供一个最好的性能。
关键词 单片机,数字脉冲,占空比调节,驱动电路,LED亮度调节
ABSTRA
Because C51SCM and PWM can regulate the brightness of the white light LED, STC89C5 as the DSP set up the manual control. During the process of the manual control, different PWM duty ratio output by two key regulate the electric current of LED so as to realize the manual control of the luminosity. As a matter of fact, C51SCM don’t have the interface. The control of the brightness of LED is realized by the software which simulating the situation that PWM adjust the duty ratio of the high level and the low level. PWM dimming is a technology which makes use of simple digital pulse so as to switch white LED drive repeatedly.
For Buck, Boost, Buck-Boost or linear regulation to drive LED, their common ideas are using drive circuit to control the output of light. Some applications only achieve the “on” and “off” function simply. While more application demand that it can regulate the brightness of light from 0 to 100% and often have very high precision. Digital dimmer is the use of the switch circuit which works in a high frequency with respect to human recognition capacity to change the average of the light output. The use of pulse width modulation to set the cycle and duty ratio is probably the simplest method to realize digital dimming and Buck regulator topology can often provide the best performance.
KEY WORDS: SCM, digital pulse, duty-cycle correction, driver circuit, regulation of LED brightness
目
您可能关注的文档
- 每年产量330万吨转炉炼钢车间毕业论文报告.doc
- 设计资料馨阳酒店管理系统论文资料.doc
- 课程设计基于51单片机的数字钟论文资料.doc
- 设计资料中学实验楼毕业论文.doc
- 课程设计基于单片机的模拟电梯系统毕业论文.doc
- 设计资料粘土心墙坝毕业论文.doc
- 设计资料自动售货机论文资料.doc
- 每年产量150万吨冷轧薄板车间.doc
- 课程设计基于D1800的调频收音机对讲机系统无线通信实践教学毕业论文.doc
- 课程设计基于物联网技术的智能家居系统毕业论文.doc
- 广东省广州省实验中学教育集团2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州大学附属中学2025-2026学年八年级上学期奥班期中物理试题(解析版).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(含答案).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(解析版).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 2026《中国人寿上海分公司营销员培训体系优化研究》18000字.docx
- 《生物探究性实验教学》中小学教师资格模拟试题.docx
最近下载
- 《专业工程管理与实务》.pdf VIP
- 中国血栓性疾病防治指南(2025版).docx VIP
- 施工质量日志-.xls VIP
- 2025年国家公务员全国总工会面试题及答案.docx VIP
- 合肥市普通高中六校联盟2025-2026学年高三第一次语文教学质量监测+答案.docx VIP
- 局部晚期食管癌患者新辅助免疫治疗与常规新辅助治疗的比较:系统评价和meta分析.pdf
- 2025以骑手为代表的新就业群体研究报告:职业技能与跑单时长对收入的共同作用.pdf VIP
- 年产一亿片别嘌呤醇的车间工艺设计.doc VIP
- 商务型(带电梯、地下室、效果图)三层别墅设计图.pdf VIP
- 2026年详版个人信用报告征信报告最新Word可编辑模版样板doc文件.docx
原创力文档

文档评论(0)