首页|基于最小二乘法的高校教室灯光控制系统的设计

基于最小二乘法的高校教室灯光控制系统的设计

扫码查看
针对目前高校教室电能浪费严重的情况,提出了一种基于最小二乘法的高校教室灯光控制系统.该系统以STM32 单片机作为控制核心,LED灯作为从控器件,通过测量教室内光照强度和区域内是否有人来实现对教室的灯光控制.采用最小二乘法进一步优化光照强度的测量值,同时将采集到的数据经无线传输模块传送至上位机,达到监测管理教室照明状态的目的.实验结果表明:相比传统手动控制,该系统在不改变LED灯原有功能前提下,节能效果明显.采用最小二乘算法,光照强度的测量平均误差减少了1.8%,提高了测量精度.
Design of Lighting Control System in University Classrooms Based on Least Squares Method
In view of the serious waste of energy in University classrooms,a light control system for university classrooms based on least squares method is presented.The system takes STM32 single-chip computer as the control core and LED lamp as the slave control device.It measures the light intensity in the classroom and whether there is anyone in the area to control the light in the classroom.The least squares method is used to further optimize the light intensity measurements,and at the same time,the collected data is transmitted to the upper computer through the wireless transmission module to achieve the purpose of monitoring and managing the lighting status of the class-room.The experimental results show that compared with traditional manual control,the system can save energy sig-nificantly without changing the original function of the LED lamp.With the least squares algorithm,the average er-ror of light intensity measurement is reduced by 1.8%,and the measurement accuracy is improved.

STM32least squares methodcollege classroomsenergy conservation

刘艳峰

展开 >

甘肃省太阳能发电系统工程重点实验室 酒泉职业技术学院,甘肃 酒泉 735000

STM32 最小二乘法 高校教室 节能

甘肃省教育厅高等学校创新基金(2021)酒泉职业技术学院校级科研项目

2021B-5112022XJZXM02

2024

山西电子技术
山西省电子工业科学研究院 山西省电子学会

山西电子技术

影响因子:0.197
ISSN:1674-4578
年,卷(期):2024.(2)
  • 7