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.