Font Size: a A A

Research And Implementation Of Smart Lighting System In University Classroom Based On STM32

Posted on:2019-04-15Degree:MasterType:Thesis
Country:ChinaCandidate:F ZhangFull Text:PDF
GTID:2382330566481226Subject:Intelligent Building
Abstract/Summary:PDF Full Text Request
With the vigorous development of our country's education,the number of university teaching buildings is increasing.The attendant problem is the increasing consumption of electric energy and the phenomenon of wasted electric energy.In the era of vigorous promotion of energy-saving and emission-reduction in the country,there is a "long light" phenomenon in classrooms in universities.Indoor lighting does not make full use of natural light to achieve on-demand lighting and a low degree of intelligence in lighting systems.The STM32 core is designed.The smart lighting system for college classrooms of controllers is of great significance to energy conservation in colleges and universities.In view of the problems existing in the classroom lighting system in colleges and universities,the main work of the thesis is as follows:First,in order to be able to use natural light rationally and achieve on-demand lighting,a fuzzy PID dimming controller is designed.Use LED lamps as control objects and use PWM dimming.Determine the control algorithm and simulate the algorithm.Since the natural light intensity is greatly affected by weather factors,the effects of time-varying and unpredictable factors on the light effects are nonlinear.The fuzzy adaptive PID control algorithm is adopted and the Simulink tool in MATLAB is used for simulation,and compared with the conventional PID.It can be seen that the fuzzy adaptive PID controller has fast adjustment speed and accurate output duty cycle,which can achieve better dimming effect.Then the hardware and software system is designed.The hardware system mainly includes STM32 controller,ZigBee wireless communication module,LED lighting module and data acquisition module.It completes PCB welding and debugging of hardware circuit and builds the hardware platform of the system.The software system mainly includes transplantation and modification of ?C/OS-II operating system,system main program,intelligent dimming program and ZigBee wireless transmission program,at the same time,using the ?C/GUI embedded graphics system as the local host computer interface to complete the design of the GUI interfaceFinally,the upper computer monitoring platform was developed.The B/S-based Web software system realizes classroom real-time data display and centralized management of lamps and lanterns,and solves the problem of unnecessary consumption caused by manual management of classroom lighting.And the entire classroom smart lighting system software and hardware system testing.The results show that the system is stable and accurate in dimming.
Keywords/Search Tags:classroom intelligent lighting system, STM32, ?C/OS-?, ZigBee, fuzzy adaptive PID
PDF Full Text Request
Related items