资料详情

基于Ocean Connect云平台的照明控制系统设计 毕业论文+开题报告+程序+元器件清单+文献资料+检测查重报告+电路原理图

头像

电子类

编号:5127

摘  要

目前我国照明能耗大约占到社会总发电量的15%左右,而现阶段大部分建筑对室内照明是通过人工开/关灯进行控制,有少量建筑虽然实现了按照预先设置的时间进行自动控制,但是无法根据自然光的动态变化对灯具照度进行优化反馈调节,存在长明灯现象,造成能源的大量浪费,因此迫切需要研究并开发基于自然采光的智能调光控制系统。

本次设计师基于LED的智能照明控制系统,选择采用ZigBee智能灯具和Ocean Connect云平台的模式搭建自己的智能照明控制系统。本文采用ZigBee无线通信技术制作了一套智能灯具,ZigBee是一种短距离的无线通信技术,其具有低功耗、低成本、低复杂度的优点,其在智能照明系统中的应用非常广泛,也是未来发展的一个趋势。

本系统采用ZigBee系列的单片机为核心,利用BH1750传感器测量实时光照强度,要想实现对各种灯的统一控制首先需要制定控制协议,将一段控制指令发送到智能灯具,智能灯具的控制芯片调节每一路恒流驱动器的输出电流的占空比来控制LED灯具的各种状态。

关键词:照明;照明系统;智能照明;单片机;Ocean Connect

Abstract

At present, the energy consumption of lighting in China accounts for about 15% of the total power generation of society. At present, most buildings control indoor lighting by manual on/off lights. However, it is impossible to optimize and adjust the illumination according to the dynamic change of natural light.

The designer based on the LED intelligent lighting control system, choose to use ZigBee intelligent lamps and Ocean Connect cloud platform mode to build their own intelligent lighting control system. This paper uses ZigBee wireless communication technology to make a set of intelligent lamps, ZigBee is a short distance wireless communication technology, which has the advantages of low power consumption, low cost and low complexity. It is widely used in intelligent lighting system and a trend in the future.

The system uses ZigBee series of single-chip computers as the core and uses BH1750 sensors to measure real-time illumination intensity. In order to realize the unified control of various lamps, it is necessary to make a control protocol and send a control instruction to intelligent lamps. Intelligent lamp control chip adjusts the duty cycle of output current of each constant current driver to control the state of LED lamp.

Keywords: lighting; lighting system; intelligent lighting; single chip microcomputer; Ocean Connect

目  录

摘  要

Abstract

1 绪论

1.1选题背景及意义

1.2国内外研究现状

1.2.1云平台发展现状

1.2.2智能照明的发展现状

1.3 研究主要内容

2 总体方案设计

2.1 系统的需求分析

2.2 系统架构设计

2.3 通信协议设计

2.3.1协议数据帧格式

2.3.2控制协议的具体实现

3 硬件设计

3.1 电源模块

3.2 单片机最小系统

3.3 Ocean Connect云平台

3.3.1 ESP8266模块电路设计

3.3.2 ESP8266模块特性

3.3.3 ESP8266模块功耗

3.4 按键输入模块电路的设计

3.5 RGB 灯驱动电路设计

3.5.1 WS2811主要特点

3.5.2 WS2811概述

3.5.3 WS2811管脚说明

4 Ocean Connect云平台使用

4.1 工作模式

4.2 AT指令集

4.2.1 基础AT指令

4.2.2 WiFi功能AT指令

4.3.3 TCP/IP工具箱 AT指令

5 软件设计

5.1软件总流程图

5.2 RGB灯驱动程序编写

5.3 Ocean Connect云平台编写

5.4数据帧处理机制

6 系统调试

总  结

参考文献

致  谢

附录一 原理图

附录二 手机客户端操作界面截图