(2)The system is feature-rich, easy to configure, and applicability. Combined with the detection, scene control, the system satisfies stadium lighting intelligent, scientific and unified management, the pursuit of the art of the best lighting effect and energy saving effect.
(3)Given full consideration to the CAN bus network system compatibility and cost-effective, CAN bus network system is flexible networking and has cost-effective advantages.
(4)Taken lull account of the security and reliability of system operation, the system is easy to maintain. Automatic control and manual control are taken into account.
Based on the CAN bus intelligent lighting applications technology is mature. Through the practical application of engineering verification, energy-saving effect is good and distributed control convenient. The system is designed and reformed in utilities, railway stations, schools, and other buildings. It has broad application prospects.
Key Words:CAN bus;SJA1000;STC15F2K60S2;Simulation of I2C;Pyroelectric infrared sensor
目录
1绪论 1
1.1 课题研究背景 1
1.2 智能照明控制系统概述 1
1.3 课题的研究意义 1
1.4 国内外照明发展情况和前景 2
1.5 照明控制系统发展历程和方向 2
1.5.1 照明控制系统发展历程 2
1.5.2照明控制系统发展方向 3
1.6 论文主要内容 4
2 CAN总线、I2C总线技术概述 5
2.1 CAN总线介绍 5
2.2 CAN总线工作原理 5
2.3 CAN总线节点组成 6
2.4 CAN总线的通信协议 7
2.4.1 CAN总线的数据链路层通信协议 7
2.4.2 CAN总线的数据帧结构 8
2.4.3数据场定义 9
2.4.4数据的打包与发送 9
2.5 CAN总线节点硬件概述 11
2.5.1控制器SJA1000芯片概述 11
2.5.2 CAN总线收发器TJA1050芯片概述 12
2.6 I2C总线介绍 14
2.7 I2C总线工作原理 14
2.8本章小结 15
3 智能照明控制系统规划设计 15
3.1网络系统主要规划内容 15
3.2节点规划 16
3.3 应用层通信协议软件设计规划 17
3.3.1 CAN总线的应用层协议设计 17
3.3.2 CAN总线的应用层通信描述 18
3.4本章小结 20
4 照明控制系统硬件设计 21
4.1 SJA1000 与 STC15F2K60S2电路设计 21
4.1.1 STC15F系列单片机介绍 21
4.1.2 SJA1000 与 STC15F2K60S2电路连接原理说明 22
4.2控制器SJA1000、驱动器TJA1050与CAN总线电路设计 23
4.3 PWM控制信号输出电路 23
4.4 电源电路 24
4.5本章小结 25
5 照明控制系统软件设计 26
5.1 CAN总线的寄存器参数初始化设定 26
5.2 系统通信程序设计 28
5.2.1 CAN总线节点初始化程序设计 28
5.2.2 CAN总线的主控节点报文帧发送程序设计 29
5.2.3 开关量输入模块程序设计 30
5.2.4 PWM调光信号程序设计 30
5.2.5模拟I2C通信设计 31
5.3本章小结 32
6 总结 33
致谢 34
参考文献 35 基于CAN总线的室内LED智能控制器的设计+程序(2):http://www.751com.cn/zidonghua/lunwen_37782.html