CN204652759U - A kind of SCM Based indoor intelligent light control system - Google Patents

A kind of SCM Based indoor intelligent light control system Download PDF

Info

Publication number
CN204652759U
CN204652759U CN201520414957.0U CN201520414957U CN204652759U CN 204652759 U CN204652759 U CN 204652759U CN 201520414957 U CN201520414957 U CN 201520414957U CN 204652759 U CN204652759 U CN 204652759U
Authority
CN
China
Prior art keywords
resistor
capacitor
terminal
chip microcomputer
chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201520414957.0U
Other languages
Chinese (zh)
Inventor
孙金风
徐海强
杜文强
杨先乐
陈学谦
鲁礼努力
韩庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hubei University of Technology
Original Assignee
Hubei University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hubei University of Technology filed Critical Hubei University of Technology
Priority to CN201520414957.0U priority Critical patent/CN204652759U/en
Application granted granted Critical
Publication of CN204652759U publication Critical patent/CN204652759U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

本实用新型公开了一种基于单片机的室内智能光控系统,包括:用于控制整个系统的单片机控制芯片、用于采集室内环境光亮度信息的环境光亮度传感模块、用于判断有无人员或人员位置的人体红外感应模块、LED照明灯具以及用于根据所述单片机控制芯片输出的波形驱动LED照明灯具的LED驱动模块;所述环境光亮度传感模块和人体红外感应模块均与单片机控制芯片连接;所述单片机控制芯片通过所述的LED驱动模块与LED照明灯具连接。本实用新型能通过检测到的环境光亮度来实时调节灯具亮度,使室内总体亮度保持在一个合适的范围内,避免过强或者过弱的灯光使人眼感到疲劳且节约电能,具有成本低、能耗小、易于形成大批量生产,便于安装,维修方便。

The utility model discloses an indoor intelligent light control system based on a single-chip microcomputer, which comprises: a single-chip microcomputer control chip for controlling the entire system, an ambient light brightness sensing module for collecting indoor ambient light brightness information, and a sensor module for judging whether there are personnel or the human body infrared sensing module at the personnel position, the LED lighting fixture, and the LED driver module for driving the LED lighting fixture according to the waveform output by the single-chip microcomputer control chip; the ambient light brightness sensing module and the human body infrared sensing module are all controlled Chip connection; the single-chip microcomputer control chip is connected to the LED lighting fixture through the LED drive module. The utility model can adjust the brightness of the lamp in real time through the detected brightness of the ambient light, so that the overall brightness of the room can be kept in a suitable range, avoiding the fatigue of the human eye due to the too strong or too weak light and saving electric energy, and has the advantages of low cost, Low energy consumption, easy to form mass production, easy to install and maintain.

Description

一种基于单片机的室内智能光控系统An Indoor Intelligent Light Control System Based on SCM

技术领域 technical field

本实用新型涉及节能照明系统技术领域,尤其涉及一种基于单片机的室内智能光控系统。 The utility model relates to the technical field of energy-saving lighting systems, in particular to an indoor intelligent light control system based on a single-chip microcomputer.

背景技术 Background technique

近年来,随着常规化石能源日趋紧张,能源价格不断上涨,节约能源,提高能源利用率,成为人们研究探索的问题。国内外各种电器正在向智能化,人性化,节能化方向发展,而智能照明控制系统以它高智能,便捷,易控制等优点赢得人们的青睐。 In recent years, with the increasing shortage of conventional fossil energy sources and rising energy prices, saving energy and improving energy utilization have become research and exploration issues. All kinds of electrical appliances at home and abroad are developing in the direction of intelligence, humanization and energy saving, and the intelligent lighting control system has won people's favor for its high intelligence, convenience and easy control.

在很多的高等院校中,由于上课教室不固定,同学们在用完教室后忽略关灯的现象普遍存在,这样就造成了不必要的能源浪费和经济损失。很有必要对教室灯光进行实时智能控制管理。虽然目前对智能光控系统研究已很多,且各传感模块也较为成熟,但由于整个系统的成本高,控制系统的抗干扰能力弱,无法广泛应用,因此需要设计出一种成本低,易于形成大批量生产,便于安装,维修方便,控制系统稳定的智能光控系统。 In many colleges and universities, because the classrooms are not fixed, it is common for students to neglect to turn off the lights after using the classrooms, which causes unnecessary energy waste and economic losses. It is necessary to carry out real-time intelligent control and management of classroom lighting. Although there have been many studies on intelligent light control systems, and the sensing modules are relatively mature, due to the high cost of the entire system and the weak anti-interference ability of the control system, it cannot be widely used. Therefore, it is necessary to design a low-cost, easy-to-use It forms an intelligent light control system with mass production, easy installation, convenient maintenance, and stable control system.

实用新型内容 Utility model content

基于这样的考虑,需要设计一个能够对教室灯光进行实时控制的系统,本实用新型的目的在于提供一种基于单片机的室内智能光控系统,具有成本低,易于形成大批量生产,便于安装,维修方便,控制系统稳定的特点。重点解决对室内自然光照强度的实时监控和自动调节灯光强度,通过感知人体红外线确定室内是否有人,从而自动调节LED灯光照强度;同时让人们在一个舒适的光线环境下工作和生活,且减少电能的浪费。 Based on such considerations, it is necessary to design a system that can control classroom lighting in real time. The purpose of this utility model is to provide an indoor intelligent light control system based on a single-chip microcomputer, which has low cost, is easy to form mass production, and is convenient for installation and maintenance. Convenient and stable control system. Focus on real-time monitoring of indoor natural light intensity and automatic adjustment of light intensity, and determine whether there are people in the room by sensing human infrared rays, thereby automatically adjusting the intensity of LED light; at the same time, it allows people to work and live in a comfortable light environment and reduce power consumption. waste.

本实用新型的目的是通过如下技术方案实现的: The purpose of this utility model is achieved through the following technical solutions:

一种基于单片机的室内智能光控系统,包括:用于控制整个系统的单片机控制芯片、用于采集室内环境光亮度信息的环境光亮度传感模块、用于判断有无人员或人员位置的人体红外感应模块、LED照明灯具以及用于根据所述单片机控制芯片输出的波形驱动LED照明灯具的LED驱动模块; An indoor intelligent light control system based on a single-chip microcomputer, including: a single-chip microcomputer control chip for controlling the entire system, an ambient light brightness sensor module for collecting indoor ambient light brightness information, and a human body for judging whether there is a person or the location of the person An infrared sensing module, an LED lighting fixture, and an LED driver module for driving the LED lighting fixture according to the waveform output by the single-chip microcomputer control chip;

所述环境光亮度传感模块和人体红外感应模块均与单片机控制芯片连接;所述单片机控制芯片通过所述的LED驱动模块与LED照明灯具连接。 Both the ambient light brightness sensing module and the human body infrared sensing module are connected to the single-chip microcomputer control chip; the single-chip microcomputer control chip is connected to the LED lighting lamp through the LED driving module.

其中,所述环境光亮度传感模块通过Zigbee无线通信模块与单片机控制芯片连接。 Wherein, the ambient light brightness sensing module is connected with the single-chip microcomputer control chip through the Zigbee wireless communication module.

其中,所述人体红外感应模块、环境光亮度传感模块和LED照明灯具在室内均布置有多个,且一个所述环境光亮度传感模块对应一个所述LED照明灯具。 Wherein, multiple human body infrared sensing modules, ambient light brightness sensing modules and LED lighting fixtures are arranged indoors, and one ambient light brightness sensing module corresponds to one LED lighting fixture.

其中,所述单片机控制芯片,包括:型号为AT89C52的单片机U4、电容C1、电容C2、电容C3、电阻R1、电阻R2、晶体振荡器X1及开关K1,所述电容C2的一端与电容C3的一端连接且均接地,所述电容C2的另一端连接晶体振荡器X1的一端且与单片机U4的端子19连接,所述电容C3的另一端连接晶体振荡器X1的另一端且与单片机U4的端子18连接,所述电阻R1的一端接地,所述电阻R1的另一端分别与电容C1的负极、电阻R2的一端、及单片机U4的端子9连接,所述电容C1的正极与电源VCC连接,所述电阻R2的另一端连接开关K1的一端,所述开关K1的另一端连接电容C1的正极且与电源VCC连接。 Wherein, the single-chip microcomputer control chip includes: the single-chip microcomputer U4 that the model is AT89C52, capacitor C1, capacitor C2, capacitor C3, resistor R1, resistor R2, crystal oscillator X1 and switch K1, one end of the capacitor C2 and the capacitor C3 One end is connected and grounded, the other end of the capacitor C2 is connected to one end of the crystal oscillator X1 and connected to the terminal 19 of the single-chip microcomputer U4, and the other end of the capacitor C3 is connected to the other end of the crystal oscillator X1 and connected to the terminal of the single-chip microcomputer U4 18 connection, one end of the resistor R1 is grounded, the other end of the resistor R1 is respectively connected to the negative pole of the capacitor C1, one end of the resistor R2, and the terminal 9 of the single-chip microcomputer U4, and the positive pole of the capacitor C1 is connected to the power supply VCC, so The other end of the resistor R2 is connected to one end of the switch K1, and the other end of the switch K1 is connected to the anode of the capacitor C1 and connected to the power supply VCC.

其中,所述电容C1的容值为10uF,所述电容C2的容值为30pF,所述电容C3的容值为30pF,所述电阻R1的阻值为10kΩ,所述电阻R2的阻值为220Ω,所述晶体振荡器X1的工作频率为12MHz,所述电源VCC的电压为3V。 Wherein, the capacitance of the capacitor C1 is 10uF, the capacitance of the capacitor C2 is 30pF, the capacitance of the capacitor C3 is 30pF, the resistance of the resistor R1 is 10kΩ, and the resistance of the resistor R2 is 220Ω, the operating frequency of the crystal oscillator X1 is 12MHz, and the voltage of the power supply VCC is 3V.

其中,所述环境光亮度传感模块,包括:型号为BH1750FVI的光强度传感器U3、电阻R3、电阻R4、电阻R5、电容C4,所述光强度传感器U3的端子1分别连接电源VCC、电容C4的一端,所述电容C4的另一端连接所述光强度传感器U3的端子3,所述光强度传感器U3的端子2连接电阻R5的一端,所述电阻R5的另一端接地,所述光强度传感器U3的端子4分别连接电阻R4的一端、单片机U4的端子4,所述电阻R4的另一端与电阻R3的一端连接且均与电源VCC连接,所述光强度传感器U3的端子5连接单片机U4的端子1,所述光强度传感器U3的端子6分别连接电阻R3的另一端、单片机U4的端子5。 Wherein, the ambient light brightness sensing module includes: a light intensity sensor U3 whose model is BH1750FVI, a resistor R3, a resistor R4, a resistor R5, and a capacitor C4, and the terminal 1 of the light intensity sensor U3 is respectively connected to the power supply VCC and the capacitor C4 One end of the capacitor C4, the other end of the capacitor C4 is connected to the terminal 3 of the light intensity sensor U3, the terminal 2 of the light intensity sensor U3 is connected to one end of the resistor R5, the other end of the resistor R5 is grounded, and the light intensity sensor The terminal 4 of U3 is respectively connected with one end of the resistor R4 and the terminal 4 of the single-chip microcomputer U4, the other end of the resistor R4 is connected with one end of the resistor R3 and both are connected with the power supply VCC, and the terminal 5 of the light intensity sensor U3 is connected with the single-chip microcomputer U4. The terminal 1 and the terminal 6 of the light intensity sensor U3 are respectively connected to the other end of the resistor R3 and the terminal 5 of the single chip microcomputer U4.

其中,所述电阻R3的阻值为10kΩ,所述电阻R4的阻值为10kΩ,所述电阻R5的阻值为10kΩ,所述电容C4的容值为0.1uF,所述电源VCC的电压为3V。 Wherein, the resistance value of the resistor R3 is 10kΩ, the resistance value of the resistor R4 is 10kΩ, the resistance value of the resistor R5 is 10kΩ, the capacitance value of the capacitor C4 is 0.1uF, and the voltage of the power supply VCC is 3V.

其中,所述人体红外感应模块,包括:型号为BISS0001的传感信号处理芯片U2、型号为RE200B的传感器TO、电阻R6、电阻R7、电阻R8、电阻R9、电阻R10、电阻R11、电阻R12、电阻R13、电阻R14、电阻R15、电阻R16、电容C5、电容C6、电容C7、电容C8、电容C9、电容C10、电容C11、电容C12、电容C13、电容C14,所述传感信号处理芯片U2的端子1分别连接电容C5的一端、电阻R6的一端、电阻R7的一端,所述电容C5的另一端与电阻R7的另一端连接且均连接电源VCC,所述电阻R6的另一端接地,所述传感信号处理芯片U2的端子2连接电阻R8的一端,所述电阻R8的另一端接地,所述传感信号处理芯片U2的端子3连接电源VCC,所述传感信号处理芯片U2的端子4分别连接电阻R9的一端、电容C7的一端,所述电阻R9的另一端分别连接电阻R10的一端、电容C7的另一端、传感信号处理芯片U2的端子5,所述电阻R10的另一端连接电容C6的一端,所述电容C6的另一端分别连接电容C8的一端、电阻R12的一端、传感信号处理芯片U2的端子8,所述电容C8的另一端分别连接传感信号处理芯片U2的端子7、电阻R12的另一端、电阻R13的一端,所述电阻R13的另一端连接电容C9的一端,所述电容C9的另一端接地,所述传感信号处理芯片U2的端子6连接传感器TO的端子2,所述传感器TO的端子1分别连接电容C10的一端、电容C11的一端、电阻R11的一端,所述电阻R11的另一端连接电源VCC,所述电容C10的另一端接地,所述电容C11的另一端连接电容C12的一端,所述电容C12的另一端连接传感器TO的端子3且接地,所述传感信号处理芯片U2的端子9连接电阻R14的一端,所述电阻R14的另一端连接电源VCC,所述传感信号处理芯片U2的端子10分别连接电容C13的一端、电容C14的一端且接地,所述传感信号处理芯片U2的端子11连接电阻R15的一端,所述电阻R15的另一端分别连接电容C13的另一端、传感信号处理芯片U2的端子12,所述传感信号处理芯片U2的端子13分别连接电容C14的另一端、电阻R16的一端,所述电阻R16的另一端连接传感信号处理芯片U2的端子14,所述传感信号处理芯片U2的端子15连接单片机U4的端子12,所述传感信号处理芯片U2的端子16接地。 Wherein, the human body infrared sensing module includes: a sensing signal processing chip U2 whose model is BISS0001, a sensor TO whose model is RE200B, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11, a resistor R12, Resistor R13, resistor R14, resistor R15, resistor R16, capacitor C5, capacitor C6, capacitor C7, capacitor C8, capacitor C9, capacitor C10, capacitor C11, capacitor C12, capacitor C13, capacitor C14, the sensing signal processing chip U2 Terminal 1 of the terminal 1 is respectively connected to one end of the capacitor C5, one end of the resistor R6, and one end of the resistor R7, the other end of the capacitor C5 is connected to the other end of the resistor R7 and both are connected to the power supply VCC, and the other end of the resistor R6 is grounded, so The terminal 2 of the sensing signal processing chip U2 is connected to one end of the resistor R8, the other end of the resistor R8 is grounded, the terminal 3 of the sensing signal processing chip U2 is connected to the power supply VCC, and the terminal of the sensing signal processing chip U2 4 Connect one end of the resistor R9 and one end of the capacitor C7 respectively, the other end of the resistor R9 is respectively connected to one end of the resistor R10, the other end of the capacitor C7, and terminal 5 of the sensing signal processing chip U2, and the other end of the resistor R10 One end of the capacitor C6 is connected, the other end of the capacitor C6 is respectively connected to one end of the capacitor C8, one end of the resistor R12, and the terminal 8 of the sensing signal processing chip U2, and the other end of the capacitor C8 is respectively connected to the sensing signal processing chip U2 terminal 7, the other end of the resistor R12, and one end of the resistor R13, the other end of the resistor R13 is connected to one end of the capacitor C9, the other end of the capacitor C9 is grounded, and the terminal 6 of the sensor signal processing chip U2 is connected to the sensor Terminal 2 of TO, terminal 1 of the sensor TO is respectively connected to one end of capacitor C10, one end of capacitor C11, and one end of resistor R11, the other end of the resistor R11 is connected to the power supply VCC, and the other end of the capacitor C10 is grounded, so The other end of the capacitor C11 is connected to one end of the capacitor C12, the other end of the capacitor C12 is connected to the terminal 3 of the sensor TO and grounded, the terminal 9 of the sensing signal processing chip U2 is connected to one end of the resistor R14, and the resistor R14 The other end is connected to the power supply VCC, the terminal 10 of the sensing signal processing chip U2 is respectively connected to one end of the capacitor C13, one end of the capacitor C14 and grounded, and the terminal 11 of the sensing signal processing chip U2 is connected to one end of the resistor R15. The other end of the resistor R15 is respectively connected to the other end of the capacitor C13 and the terminal 12 of the sensing signal processing chip U2, and the terminal 13 of the sensing signal processing chip U2 is respectively connected to the other end of the capacitor C14 and one end of the resistor R16. The other end of R16 is connected to the terminal 14 of the sensing signal processing chip U2, the terminal 15 of the sensing signal processing chip U2 is connected to the terminal 12 of the single chip microcomputer U4, and the terminal 16 of the sensing signal processing chip U2 is grounded.

其中,所述电阻R6的阻值为60kΩ,电阻R7的阻值为20kΩ,电阻R8的阻值为1MΩ,电阻R9的阻值为1MΩ,电阻R10的阻值为10kΩ,电阻R11的阻值为3.3kΩ,电阻R12的阻值为10kΩ,电阻R13的阻值为47kΩ,电阻R14的阻值为220kΩ,电阻R15的阻值为330kΩ,电阻R16的阻值为330kΩ,电容C5的容值为2.2uF,电容C6的容值为10uF,电容C7的容值为103pF,电容C8的容值为103pF,电容C9的容值为47uF,电容C10的容值为470uF,电容C11的容值为103pF,电容C12的容值为103pF,电容C13的容值为102pF,电容C14的容值为10nF,所述电源VCC的电压为3V。 Wherein, the resistance value of the resistor R6 is 60kΩ, the resistance value of the resistor R7 is 20kΩ, the resistance value of the resistor R8 is 1MΩ, the resistance value of the resistor R9 is 1MΩ, the resistance value of the resistor R10 is 10kΩ, and the resistance value of the resistor R11 is 3.3kΩ, the resistance value of resistor R12 is 10kΩ, the resistance value of resistor R13 is 47kΩ, the resistance value of resistor R14 is 220kΩ, the resistance value of resistor R15 is 330kΩ, the resistance value of resistor R16 is 330kΩ, the capacitance value of capacitor C5 is 2.2 uF, the capacitance of capacitor C6 is 10uF, the capacitance of capacitor C7 is 103pF, the capacitance of capacitor C8 is 103pF, the capacitance of capacitor C9 is 47uF, the capacitance of capacitor C10 is 470uF, and the capacitance of capacitor C11 is 103pF. The capacitance of the capacitor C12 is 103pF, the capacitance of the capacitor C13 is 102pF, the capacitance of the capacitor C14 is 10nF, and the voltage of the power supply VCC is 3V.

其中,所述LED驱动模块,包括:型号为LM3407的照明驱动器U5、电阻R17、电阻R18、电阻R19、电容C15、电容C16、电容C17、电感L1、二极管D1,所述照明驱动器U5的端子1 分别连接电阻R17的一端、电阻R18的一端,所述电阻R17的另一端和电阻R18的另一端连接且均接地,所述照明驱动器U5的端子2连接单片机U4的端子23,所述照明驱动器U5的端子3连接单片机U4的端子24,所述照明驱动器U5的端子4连接电阻R19的一端,所述电阻R19的另一端接地,所述照明驱动器U5的端子8分别连接二极管D1的正极、电容C15的一端、LED照明灯具的一端,所述电容C15的另一端连接LED照明灯具的另一端且与电感L1的一端连接,所述电感L1的另一端连接二极管D1的负极,所述照明驱动器U5的端子7连接电容C16的一端且接地,所述照明驱动器U5的端子6连接电容C16的另一端且连接电源VCC,所述照明驱动器U5的端子5分别连接电容C17的一端、二极管D1的负极、电源VIN,所述电容C17的另一端接地。 Wherein, the LED driver module includes: a lighting driver U5 modeled as LM3407, a resistor R17, a resistor R18, a resistor R19, a capacitor C15, a capacitor C16, a capacitor C17, an inductor L1, and a diode D1. Terminal 1 of the lighting driver U5 One end of the resistor R17 and one end of the resistor R18 are respectively connected, the other end of the resistor R17 is connected to the other end of the resistor R18 and both are grounded, the terminal 2 of the lighting driver U5 is connected to the terminal 23 of the single chip microcomputer U4, and the lighting driver U5 The terminal 3 of the lighting driver U5 is connected to the terminal 24 of the single chip microcomputer U4, the terminal 4 of the lighting driver U5 is connected to one end of the resistor R19, the other end of the resistor R19 is grounded, and the terminal 8 of the lighting driver U5 is respectively connected to the anode of the diode D1 and the capacitor C15 One end of the LED lighting fixture, one end of the LED lighting fixture, the other end of the capacitor C15 is connected to the other end of the LED lighting fixture and to one end of the inductor L1, the other end of the inductor L1 is connected to the negative pole of the diode D1, and the lighting driver U5 Terminal 7 is connected to one end of the capacitor C16 and grounded. Terminal 6 of the lighting driver U5 is connected to the other end of the capacitor C16 and connected to the power supply VCC. Terminal 5 of the lighting driver U5 is respectively connected to one end of the capacitor C17, the negative pole of the diode D1, and the power supply. VIN, the other end of the capacitor C17 is grounded.

其中,所述电阻R17的阻值为1.13kΩ,电阻R18的阻值为1.13kΩ,电阻R19的阻值为40.2kΩ,电容C15的容值为1nF,电容C16的容值为1uF,电容C17的容值为4.7uF,电感L1的感抗为30uH,二极管D1的工作电压及电流为40V/1A,所述电源VCC的电压为3V,所述电源VIN的电压为20-30V。 Wherein, the resistance value of the resistor R17 is 1.13kΩ, the resistance value of the resistor R18 is 1.13kΩ, the resistance value of the resistor R19 is 40.2kΩ, the capacitance value of the capacitor C15 is 1nF, the capacitance value of the capacitor C16 is 1uF, and the capacitance value of the capacitor C17 is 1uF. The capacitance value is 4.7uF, the inductance of the inductor L1 is 30uH, the working voltage and current of the diode D1 are 40V/1A, the voltage of the power supply VCC is 3V, and the voltage of the power supply VIN is 20-30V.

有益效果: Beneficial effect:

本实用新型采用单片机控制芯片作为控制芯片,环境光亮度传感模块采集室内亮度数据传给单片机控制芯片,同时人体红外感应模块判断有无人员或人员位置,单片机控制芯片综合处理后,启闭LED照明灯具并调节其亮度。本实用新型的优点是:利用单片机成本低、能耗小的优点,与红外定位、亮度检测等模块组成室内光控系统,易于形成大批量生产,便于安装,维修方便。能够对教室灯光进行实时控制的系统,重点解决对室内自然光照强度的实时监控和自动调节灯光强度,通过感知人体红外线确定室内是否有人,从而自动调节LED灯光照强度;同时让人们在一个舒适的光线环境下工作和生活,且减少电能的浪费。 The utility model adopts a single-chip microcomputer control chip as the control chip. The ambient light brightness sensing module collects indoor brightness data and transmits it to the single-chip microcomputer control chip. At the same time, the human body infrared sensing module judges whether there is a person or the location of the person. Lighting fixtures and adjusting their brightness. The utility model has the advantages of: taking advantage of the advantages of low cost and low energy consumption of the single-chip microcomputer, and forming an indoor light control system with modules such as infrared positioning and brightness detection, it is easy to form mass production, easy to install, and easy to maintain. A system capable of real-time control of classroom lighting, focusing on real-time monitoring of indoor natural light intensity and automatic adjustment of light intensity. It can automatically adjust the intensity of LED lighting by sensing human infrared rays to determine whether there are people in the room; Work and live in a light environment, and reduce the waste of electric energy.

附图说明 Description of drawings

图1是本实用新型的方案原理框图。 Fig. 1 is the schematic block diagram of the scheme of the present utility model.

图2是本实用新型的单片机控制芯片的电路图。 Fig. 2 is the circuit diagram of the single-chip microcomputer control chip of the utility model.

图3是本实用新型的环境光亮度传感模块的电路图。 Fig. 3 is a circuit diagram of the ambient light brightness sensing module of the present invention.

图4是本实用新型的人体红外感应模块的电路图。 Fig. 4 is a circuit diagram of the human body infrared sensing module of the present invention.

图5是本实用新型的LED驱动模块及LED照明灯具的电路图。 Fig. 5 is a circuit diagram of the LED driving module and the LED lighting fixture of the present invention.

图中: In the picture:

1—单片机控制芯片;2—环境光亮度传感模块;3—人体红外感应模块;4—LED驱动模块;5—LED照明灯具。 1—Single-chip microcomputer control chip; 2—Ambient light brightness sensing module; 3—Human body infrared sensing module; 4—LED driver module; 5—LED lighting fixture.

具体实施方式 Detailed ways

为了更好的说明本实用新型的目的与优点,下面结合附图对本实用新型内容作进一步的详细描述。 In order to better illustrate the purpose and advantages of the utility model, the content of the utility model will be further described in detail below in conjunction with the accompanying drawings.

图1是本实用新型的方案原理框图。如图1所示,本发明所述的一种基于单片机的室内智能光控系统,包括:用于控制整个系统的单片机控制芯片1、用于采集室内环境光亮度信息的环境光亮度传感模块2、用于判断有无人员或人员位置的人体红外感应模块3、LED照明灯具5以及用于根据所述单片机控制芯片1输出的波形驱动LED照明灯具5的LED驱动模块4; Fig. 1 is the schematic block diagram of the scheme of the present utility model. As shown in Figure 1, a kind of indoor intelligent light control system based on single-chip microcomputer according to the present invention includes: a single-chip microcomputer control chip 1 for controlling the whole system, and an ambient light brightness sensing module for collecting indoor ambient light brightness information 2. A human body infrared sensing module 3 for judging whether there is a person or the location of the person, an LED lighting fixture 5 and an LED driver module 4 for driving the LED lighting fixture 5 according to the waveform output by the single-chip microcomputer control chip 1;

所述环境光亮度传感模块2和人体红外感应模块3均与单片机控制芯片1连接;所述单片机控制芯片1通过所述的LED驱动模块4与LED照明灯具5连接。 Both the ambient light brightness sensing module 2 and the human body infrared sensing module 3 are connected to the single-chip microcomputer control chip 1 ; the single-chip microcomputer control chip 1 is connected to the LED lighting fixture 5 through the LED driving module 4 .

本实用新型采用单片机控制芯片1作为控制芯片,环境光亮度传感模块2采集室内亮度数据传给单片机控制芯片1,同时人体红外感应模块3判断有无人员或人员位置,单片机控制芯片1综合处理后,单片机控制芯片1输出信号控制LED驱动模块4,LED驱动模块4驱动LED照明灯具5进行调节光亮度。本实用新型的优点是:利用单片机成本低、能耗小的优点,与红外定位、亮度检测等模块组成室内光控系统,易于形成大批量生产,便于安装,维修方便。能够对教室灯光进行实时控制的系统,重点解决对室内自然光照强度的实时监控和自动调节灯光强度,通过感知人体红外线确定室内是否有人,从而自动调节LED灯光照强度;同时让人们在一个舒适的光线环境下工作和生活,且减少电能的浪费。 The utility model adopts the single-chip microcomputer control chip 1 as the control chip, the ambient light brightness sensing module 2 collects indoor brightness data and transmits it to the single-chip microcomputer control chip 1, and at the same time, the human body infrared sensing module 3 judges whether there is a person or the position of the person, and the single-chip microcomputer control chip 1 comprehensively processes Finally, the single-chip microcomputer control chip 1 outputs a signal to control the LED driving module 4, and the LED driving module 4 drives the LED lighting fixture 5 to adjust the brightness. The utility model has the advantages of: taking advantage of the advantages of low cost and low energy consumption of the single-chip microcomputer, and forming an indoor light control system with modules such as infrared positioning and brightness detection, it is easy to form mass production, easy to install, and easy to maintain. A system capable of real-time control of classroom lighting, focusing on real-time monitoring of indoor natural light intensity and automatic adjustment of light intensity. It can automatically adjust the intensity of LED lighting by sensing human infrared rays to determine whether there are people in the room; Work and live in a light environment, and reduce the waste of electric energy.

在本方案中,所述人体红外感应模块3、环境光亮度传感模块2和LED照明灯具5在室内均布置有多个,检测人员所处位置开启对应区域的LED照明灯具5,且一个所述环境光亮度传感模块2对应一个所述LED照明灯具5。 In this scheme, the human body infrared sensing module 3, the ambient light brightness sensing module 2 and the LED lighting fixture 5 are all arranged in multiples indoors, and the LED lighting fixture 5 in the corresponding area is turned on at the position of the detecting person, and one of the LED lighting fixtures 5 The ambient light brightness sensing module 2 corresponds to one LED lighting fixture 5 .

本实用新型的工作过程如下: The working process of the present utility model is as follows:

手动打开室内灯具,人体红外感应模块3检测检测人员所在室内区域,如果人体红外感应模块3一定时间后(譬如5mins后)检测到人不在所定区域,随即单片机控制芯片1通过LED驱动模块4关闭相应区域LED照明灯具5;如果人体红外感应模块3检测到检测人员在所定区域,则单片机控制芯片1继续工作并计时,同时启动环境光亮度传感模块2,由于教室所需照度的标准值为280lx,因此如果检测到工作面光照大于280lx,则单片机控制芯片1通过LED驱动模块4随即关闭该环境光亮度传感模块2对应的LED照明灯具5;如果光照小于280lx,则单片机控制芯片1通过LED驱动模块4对该环境光亮度传感模块2对应的LED照明灯具5进行调光,让所在区域上的光照符合工作要求;同时每隔一定时间(譬如5mins)单片机控制芯片1控制人体红外感应模块3进行一次检测,如果检测到无人状态,则一定时间后(譬如5mins后)单片机控制芯片1通过LED驱动模块4关闭LED照明灯具5;否则环境光亮度传感模块2再次检测光照度,进行以上循环。总之,在满足正常工作光照强度的条件下,最大限度的节约电能。需要说明的是,所述单片机控制芯片1能产生不同占空比的PWM方波,PWM方波使LED驱动模块4对LED照明灯具5实现无级调光。 Manually turn on the indoor lamp, and the human body infrared sensor module 3 detects the indoor area where the person is located. If the human body infrared sensor module 3 detects that the person is not in the predetermined area after a certain period of time (for example, after 5 minutes), the single-chip microcomputer control chip 1 will immediately turn off the corresponding LED driver module 4. Area LED lighting fixture 5; if the human body infrared sensing module 3 detects that the detection personnel is in the designated area, then the single-chip microcomputer control chip 1 continues to work and counts, and starts the ambient light brightness sensing module 2 at the same time, because the standard value of the required illuminance in the classroom is 280lx , so if it is detected that the light on the working surface is greater than 280lx, the single-chip microcomputer control chip 1 will immediately turn off the LED lighting fixture 5 corresponding to the ambient light brightness sensor module 2 through the LED driver module 4; The driver module 4 adjusts the light of the LED lighting fixture 5 corresponding to the ambient light brightness sensor module 2, so that the light in the area meets the work requirements; at the same time, the single-chip microcomputer control chip 1 controls the human body infrared sensor module at regular intervals (for example, 5mins) 3. Carry out a detection. If no one is detected, after a certain period of time (for example, after 5mins), the single-chip microcomputer control chip 1 turns off the LED lighting fixture 5 through the LED driver module 4; otherwise, the ambient light brightness sensor module 2 detects the illuminance again, and performs the above cycle. In short, under the condition of satisfying the normal working light intensity, the power can be saved to the greatest extent. It should be noted that the single-chip microcomputer control chip 1 can generate PWM square waves with different duty ratios, and the PWM square waves enable the LED drive module 4 to realize stepless dimming of the LED lighting fixture 5 .

优选地,所述环境光亮度传感模块2通过Zigbee无线通信模块与单片机控制芯片1连接。 Preferably, the ambient light brightness sensing module 2 is connected with the single-chip microcomputer control chip 1 through a Zigbee wireless communication module.

图2是本实用新型的单片机控制芯片1的电路图。如图2所示,所述单片机控制芯片1,包括:型号为AT89C52的单片机U4、电容C1、电容C2、电容C3、电阻R1、电阻R2、晶体振荡器X1及开关K1,所述电容C2的一端与电容C3的一端连接且均接地,所述电容C2的另一端连接晶体振荡器X1的一端且与单片机U4的端子19连接,所述电容C3的另一端连接晶体振荡器X1的另一端且与单片机U4的端子18连接,所述电阻R1的一端接地,所述电阻R1的另一端分别与电容C1的负极、电阻R2的一端、及单片机U4的端子9连接,所述电容C1的正极与电源VCC连接,所述电阻R2的另一端连接开关K1的一端,所述开关K1的另一端连接电容C1的正极且与电源VCC连接。 Fig. 2 is the circuit diagram of the single-chip microcomputer control chip 1 of the present utility model. As shown in Figure 2, the single-chip microcomputer control chip 1 includes: the single-chip microcomputer U4, capacitor C1, capacitor C2, capacitor C3, resistor R1, resistor R2, crystal oscillator X1 and switch K1 that the model is AT89C52, the capacitor C2 One end is connected to one end of the capacitor C3 and both are grounded, the other end of the capacitor C2 is connected to one end of the crystal oscillator X1 and connected to the terminal 19 of the microcontroller U4, the other end of the capacitor C3 is connected to the other end of the crystal oscillator X1 and It is connected with the terminal 18 of the single-chip microcomputer U4, one end of the resistor R1 is grounded, and the other end of the resistor R1 is respectively connected with the negative pole of the capacitor C1, one end of the resistor R2, and the terminal 9 of the single-chip microcomputer U4, and the positive pole of the capacitor C1 is connected with the terminal 9 of the single-chip microcomputer U4 The power supply VCC is connected, the other end of the resistor R2 is connected to one end of the switch K1, and the other end of the switch K1 is connected to the positive pole of the capacitor C1 and connected to the power supply VCC.

优选地,所述电容C1的容值为10uF,所述电容C2的容值为30pF,所述电容C3的容值为30pF,所述电阻R1的阻值为10kΩ,所述电阻R2的阻值为220Ω,所述晶体振荡器X1的工作频率为12MHz,所述电源VCC的电压为3V。 Preferably, the capacitance of the capacitor C1 is 10uF, the capacitance of the capacitor C2 is 30pF, the capacitance of the capacitor C3 is 30pF, the resistance of the resistor R1 is 10kΩ, and the resistance of the resistor R2 is is 220Ω, the operating frequency of the crystal oscillator X1 is 12MHz, and the voltage of the power supply VCC is 3V.

图3是本实用新型的环境光亮度传感模块2的电路图。如图3所示,所述环境光亮度传感模块2,包括:型号为BH1750FVI的光强度传感器U3、电阻R3、电阻R4、电阻R5、电容C4,所述光强度传感器U3的端子1分别连接电源VCC、电容C4的一端,所述电容C4的另一端连接所述光强度传感器U3的端子3,所述光强度传感器U3的端子2连接电阻R5的一端,所述电阻R5的另一端接地,所述光强度传感器U3的端子4分别连接电阻R4的一端、单片机U4的端子4,所述电阻R4的另一端与电阻R3的一端连接且均与电源VCC连接,所述光强度传感器U3的端子5连接单片机U4的端子1,所述光强度传感器U3的端子6分别连接电阻R3的另一端、单片机U4的端子5。 FIG. 3 is a circuit diagram of the ambient light brightness sensing module 2 of the present invention. As shown in Figure 3, the ambient light brightness sensing module 2 includes: a light intensity sensor U3, a resistor R3, a resistor R4, a resistor R5, and a capacitor C4 whose model is BH1750FVI, and the terminals 1 of the light intensity sensor U3 are respectively connected to The power supply VCC, one end of the capacitor C4, the other end of the capacitor C4 is connected to the terminal 3 of the light intensity sensor U3, the terminal 2 of the light intensity sensor U3 is connected to one end of the resistor R5, and the other end of the resistor R5 is grounded, The terminal 4 of the light intensity sensor U3 is respectively connected to one end of the resistor R4 and the terminal 4 of the single-chip microcomputer U4, the other end of the resistor R4 is connected to one end of the resistor R3 and both are connected to the power supply VCC, and the terminal of the light intensity sensor U3 5 is connected to the terminal 1 of the single-chip microcomputer U4, and the terminal 6 of the light intensity sensor U3 is respectively connected to the other end of the resistor R3 and the terminal 5 of the single-chip microcomputer U4.

优选地,所述电阻R3的阻值为10kΩ,所述电阻R4的阻值为10kΩ,所述电阻R5的阻值为10kΩ,所述电容C4的容值为0.1uF,所述电源VCC的电压为3V。 Preferably, the resistance value of the resistor R3 is 10kΩ, the resistance value of the resistor R4 is 10kΩ, the resistance value of the resistor R5 is 10kΩ, the capacitance value of the capacitor C4 is 0.1uF, and the voltage of the power supply VCC is 3V.

图4是本实用新型的人体红外感应模块3的电路图。如图4所示,所述人体红外感应模块3,包括:型号为BISS0001的传感信号处理芯片U2、型号为RE200B的传感器TO、电阻R6、电阻R7、电阻R8、电阻R9、电阻R10、电阻R11、电阻R12、电阻R13、电阻R14、电阻R15、电阻R16、电容C5、电容C6、电容C7、电容C8、电容C9、电容C10、电容C11、电容C12、电容C13、电容C14,所述传感信号处理芯片U2的端子1分别连接电容C5的一端、电阻R6的一端、电阻R7的一端,所述电容C5的另一端与电阻R7的另一端连接且均连接电源VCC,所述电阻R6的另一端接地,所述传感信号处理芯片U2的端子2连接电阻R8的一端,所述电阻R8的另一端接地,所述传感信号处理芯片U2的端子3连接电源VCC,所述传感信号处理芯片U2的端子4分别连接电阻R9的一端、电容C7的一端,所述电阻R9的另一端分别连接电阻R10的一端、电容C7的另一端、传感信号处理芯片U2的端子5,所述电阻R10的另一端连接电容C6的一端,所述电容C6的另一端分别连接电容C8的一端、电阻R12的一端、传感信号处理芯片U2的端子8,所述电容C8的另一端分别连接传感信号处理芯片U2的端子7、电阻R12的另一端、电阻R13的一端,所述电阻R13的另一端连接电容C9的一端,所述电容C9的另一端接地,所述传感信号处理芯片U2的端子6连接传感器TO的端子2,所述传感器TO的端子1分别连接电容C10的一端、电容C11的一端、电阻R11的一端,所述电阻R11的另一端连接电源VCC,所述电容C10的另一端接地,所述电容C11的另一端连接电容C12的一端,所述电容C12的另一端连接传感器TO的端子3且接地,所述传感信号处理芯片U2的端子9连接电阻R14的一端,所述电阻R14的另一端连接电源VCC,所述传感信号处理芯片U2的端子10分别连接电容C13的一端、电容C14的一端且接地,所述传感信号处理芯片U2的端子11连接电阻R15的一端,所述电阻R15的另一端分别连接电容C13的另一端、传感信号处理芯片U2的端子12,所述传感信号处理芯片U2的端子13分别连接电容C14的另一端、电阻R16的一端,所述电阻R16的另一端连接传感信号处理芯片U2的端子14,所述传感信号处理芯片U2的端子15连接单片机U4的端子12,所述传感信号处理芯片U2的端子16接地。 Fig. 4 is a circuit diagram of the human body infrared sensing module 3 of the present invention. As shown in Figure 4, the human body infrared sensing module 3 includes: a sensing signal processing chip U2 whose model is BISS0001, a sensor TO whose model is RE200B, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11, resistor R12, resistor R13, resistor R14, resistor R15, resistor R16, capacitor C5, capacitor C6, capacitor C7, capacitor C8, capacitor C9, capacitor C10, capacitor C11, capacitor C12, capacitor C13, capacitor C14, the transmission The terminal 1 of the sense signal processing chip U2 is respectively connected to one end of the capacitor C5, one end of the resistor R6, and one end of the resistor R7, the other end of the capacitor C5 is connected to the other end of the resistor R7 and both are connected to the power supply VCC, the resistor R6 The other end is grounded, the terminal 2 of the sensing signal processing chip U2 is connected to one end of the resistor R8, the other end of the resistor R8 is grounded, the terminal 3 of the sensing signal processing chip U2 is connected to the power supply VCC, and the sensing signal processing chip U2 is connected to the power supply VCC. The terminal 4 of the processing chip U2 is respectively connected to one end of the resistor R9 and one end of the capacitor C7, and the other end of the resistor R9 is respectively connected to one end of the resistor R10, the other end of the capacitor C7, and the terminal 5 of the sensing signal processing chip U2. The other end of the resistor R10 is connected to one end of the capacitor C6, the other end of the capacitor C6 is respectively connected to one end of the capacitor C8, one end of the resistor R12, and the terminal 8 of the sensing signal processing chip U2, and the other end of the capacitor C8 is respectively connected to the sensor Terminal 7 of the sensor signal processing chip U2, the other end of the resistor R12, and one end of the resistor R13, the other end of the resistor R13 is connected to one end of the capacitor C9, the other end of the capacitor C9 is grounded, and the sensor signal processing chip U2 The terminal 6 of the sensor TO is connected to the terminal 2 of the sensor TO, and the terminal 1 of the sensor TO is respectively connected to one end of the capacitor C10, one end of the capacitor C11, and one end of the resistor R11, and the other end of the resistor R11 is connected to the power supply VCC. The other end is grounded, the other end of the capacitor C11 is connected to one end of the capacitor C12, the other end of the capacitor C12 is connected to the terminal 3 of the sensor TO and grounded, and the terminal 9 of the sensing signal processing chip U2 is connected to one end of the resistor R14, The other end of the resistor R14 is connected to the power supply VCC, the terminal 10 of the sensing signal processing chip U2 is respectively connected to one end of the capacitor C13, one end of the capacitor C14 and grounded, and the terminal 11 of the sensing signal processing chip U2 is connected to the resistor R15 The other end of the resistor R15 is respectively connected to the other end of the capacitor C13 and the terminal 12 of the sensing signal processing chip U2, and the terminal 13 of the sensing signal processing chip U2 is respectively connected to the other end of the capacitor C14 and the terminal of the resistor R16. One end, the other end of the resistor R16 is connected to the terminal 14 of the sensing signal processing chip U2, the terminal 15 of the sensing signal processing chip U2 is connected to the terminal 12 of the single chip microcomputer U4, and the terminal 16 of the sensing signal processing chip U2 is grounded .

优选地,所述电阻R6的阻值为60kΩ,电阻R7的阻值为20kΩ,电阻R8的阻值为1MΩ,电阻R9的阻值为1MΩ,电阻R10的阻值为10kΩ,电阻R11的阻值为3.3kΩ,电阻R12的阻值为10kΩ,电阻R13的阻值为47kΩ,电阻R14的阻值为220kΩ,电阻R15的阻值为330kΩ,电阻R16的阻值为330kΩ,电容C5的容值为2.2uF,电容C6的容值为10uF,电容C7的容值为103pF,电容C8的容值为103pF,电容C9的容值为47uF,电容C10的容值为470uF,电容C11的容值为103pF,电容C12的容值为103pF,电容C13的容值为102pF,电容C14的容值为10nF,所述电源VCC的电压为3V。 Preferably, the resistance value of the resistor R6 is 60kΩ, the resistance value of the resistor R7 is 20kΩ, the resistance value of the resistor R8 is 1MΩ, the resistance value of the resistor R9 is 1MΩ, the resistance value of the resistor R10 is 10kΩ, and the resistance value of the resistor R11 is The resistance value of resistor R12 is 10kΩ, the resistance value of resistor R13 is 47kΩ, the resistance value of resistor R14 is 220kΩ, the resistance value of resistor R15 is 330kΩ, the resistance value of resistor R16 is 330kΩ, and the capacitance value of capacitor C5 is 2.2uF, the capacitance of capacitor C6 is 10uF, the capacitance of capacitor C7 is 103pF, the capacitance of capacitor C8 is 103pF, the capacitance of capacitor C9 is 47uF, the capacitance of capacitor C10 is 470uF, and the capacitance of capacitor C11 is 103pF , the capacitance value of the capacitor C12 is 103pF, the capacitance value of the capacitor C13 is 102pF, the capacitance value of the capacitor C14 is 10nF, and the voltage of the power supply VCC is 3V.

图5是本实用新型的LED驱动模块4及LED照明灯具5的电路图。如图5所示,所述LED驱动模块4,包括:型号为LM3407的照明驱动器U5、电阻R17、电阻R18、电阻R19、电容C15、电容C16、电容C17、电感L1、二极管D1,所述照明驱动器U5的端子1 分别连接电阻R17的一端、电阻R18的一端,所述电阻R17的另一端和电阻R18的另一端连接且均接地,所述照明驱动器U5的端子2连接单片机U4的端子23,所述照明驱动器U5的端子3连接单片机U4的端子24,所述照明驱动器U5的端子4连接电阻R19的一端,所述电阻R19的另一端接地,所述照明驱动器U5的端子8分别连接二极管D1的正极、电容C15的一端、LED照明灯具5的一端,所述电容C15的另一端连接LED照明灯具5的另一端且与电感L1的一端连接,所述电感L1的另一端连接二极管D1的负极,所述照明驱动器U5的端子7连接电容C16的一端且接地,所述照明驱动器U5的端子6连接电容C16的另一端且连接电源VCC,所述照明驱动器U5的端子5分别连接电容C17的一端、二极管D1的负极、电源VIN,所述电容C17的另一端接地。 FIG. 5 is a circuit diagram of the LED driving module 4 and the LED lighting fixture 5 of the present invention. As shown in Figure 5, the LED driver module 4 includes: a lighting driver U5 whose model is LM3407, a resistor R17, a resistor R18, a resistor R19, a capacitor C15, a capacitor C16, a capacitor C17, an inductor L1, and a diode D1. The terminal 1 of the driver U5 is respectively connected to one end of the resistor R17 and one end of the resistor R18, the other end of the resistor R17 is connected to the other end of the resistor R18 and both are grounded, and the terminal 2 of the lighting driver U5 is connected to the terminal 23 of the single chip microcomputer U4, The terminal 3 of the lighting driver U5 is connected to the terminal 24 of the microcontroller U4, the terminal 4 of the lighting driver U5 is connected to one end of the resistor R19, the other end of the resistor R19 is grounded, and the terminal 8 of the lighting driver U5 is respectively connected to the diode D1 The positive pole of the capacitor C15, one end of the LED lighting fixture 5, the other end of the capacitor C15 is connected to the other end of the LED lighting fixture 5 and connected to one end of the inductor L1, and the other end of the inductor L1 is connected to the negative pole of the diode D1 , the terminal 7 of the lighting driver U5 is connected to one end of the capacitor C16 and grounded, the terminal 6 of the lighting driver U5 is connected to the other end of the capacitor C16 and connected to the power supply VCC, and the terminals 5 of the lighting driver U5 are respectively connected to one end of the capacitor C17 , the cathode of the diode D1, the power supply VIN, and the other end of the capacitor C17 is grounded.

优选地,所述电阻R17的阻值为1.13kΩ,电阻R18的阻值为1.13kΩ,电阻R19的阻值为40.2kΩ,电容C15的容值为1nF,电容C16的容值为1uF,电容C17的容值为4.7uF,电感L1的感抗为30uH,二极管D1的工作电压及电流为40V/1A,所述电源VCC的电压为3V,所述电源VIN的电压为20-30V。 Preferably, the resistance value of the resistor R17 is 1.13kΩ, the resistance value of the resistor R18 is 1.13kΩ, the resistance value of the resistor R19 is 40.2kΩ, the capacitance value of the capacitor C15 is 1nF, the capacitance value of the capacitor C16 is 1uF, and the capacitance value of the capacitor C17 The capacitance of the inductor L1 is 4.7uF, the inductance of the inductor L1 is 30uH, the working voltage and current of the diode D1 are 40V/1A, the voltage of the power supply VCC is 3V, and the voltage of the power supply VIN is 20-30V.

以上所述,仅为本实用新型较佳的具体实施方式,但本实用新型的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本实用新型揭露的技术范围内,根据本实用新型的技术方案及其实用新型构思加以等同替换或改变,都应涵盖在本实用新型的保护范围之内。 The above is only a preferred embodiment of the utility model, but the scope of protection of the utility model is not limited thereto. The equivalent replacement or change of the new technical solution and the concept of the utility model shall be covered by the protection scope of the utility model.

Claims (11)

1.一种基于单片机的室内智能光控系统,其特征在于,包括:用于控制整个系统的单片机控制芯片(1)、用于采集室内环境光亮度信息的环境光亮度传感模块(2)、用于判断有无人员或人员位置的人体红外感应模块(3)、LED照明灯具(5)以及用于根据所述单片机控制芯片(1)输出的波形驱动LED照明灯具(5)的LED驱动模块(4); 1. An indoor intelligent light control system based on a single-chip microcomputer, characterized in that, comprising: a single-chip microcomputer control chip (1) for controlling the entire system, an ambient light brightness sensing module (2) for collecting indoor ambient light brightness information , a human body infrared sensing module (3) for judging whether there is a person or the location of the person, an LED lighting fixture (5), and an LED driver for driving the LED lighting fixture (5) according to the waveform output by the single-chip microcomputer control chip (1) module(4); 所述环境光亮度传感模块(2)和人体红外感应模块(3)均与单片机控制芯片(1)连接;所述单片机控制芯片(1)通过所述的LED驱动模块(4)与LED照明灯具(5)连接。 Both the ambient light brightness sensing module (2) and the human body infrared sensing module (3) are connected to the single-chip microcomputer control chip (1); the single-chip microcomputer control chip (1) is connected to the LED lighting module (4) The light fixture (5) is connected. 2.根据权利要求1所述的一种基于单片机的室内智能光控系统,其特征在于,所述环境光亮度传感模块(2)通过Zigbee无线通信模块与单片机控制芯片(1)连接。 2. A kind of indoor intelligent light control system based on single-chip microcomputer according to claim 1, is characterized in that, described ambient light brightness sensing module (2) is connected with single-chip microcomputer control chip (1) by Zigbee wireless communication module. 3.根据权利要求1或2所述的一种基于单片机的室内智能光控系统,其特征在于,所述人体红外感应模块(3)、环境光亮度传感模块(2)和LED照明灯具(5)在室内均布置有多个,且一个所述环境光亮度传感模块(2)对应一个所述LED照明灯具(5)。 3. An indoor intelligent light control system based on a single-chip microcomputer according to claim 1 or 2, characterized in that the human body infrared sensing module (3), the ambient light brightness sensing module (2) and the LED lighting fixture ( 5) A plurality of them are arranged indoors, and one ambient light brightness sensing module (2) corresponds to one LED lighting fixture (5). 4.根据权利要求1所述的一种基于单片机的室内智能光控系统,其特征在于,所述单片机控制芯片(1),包括:型号为AT89C52的单片机U4、电容C1、电容C2、电容C3、电阻R1、电阻R2、晶体振荡器X1及开关K1,所述电容C2的一端与电容C3的一端连接且均接地,所述电容C2的另一端连接晶体振荡器X1的一端且与单片机U4的端子19连接,所述电容C3的另一端连接晶体振荡器X1的另一端且与单片机U4的端子18连接,所述电阻R1的一端接地,所述电阻R1的另一端分别与电容C1的负极、电阻R2的一端、及单片机U4的端子9连接,所述电容C1的正极与电源VCC连接,所述电阻R2的另一端连接开关K1的一端,所述开关K1的另一端连接电容C1的正极且与电源VCC连接。 4. A kind of indoor intelligent light control system based on single-chip microcomputer according to claim 1, is characterized in that, described single-chip microcomputer control chip (1), comprises: model is the single-chip microcomputer U4 of AT89C52, capacitor C1, capacitor C2, capacitor C3 , resistor R1, resistor R2, crystal oscillator X1 and switch K1, one end of the capacitor C2 is connected to one end of the capacitor C3 and both are grounded, and the other end of the capacitor C2 is connected to one end of the crystal oscillator X1 and connected to the single chip microcomputer U4 Terminal 19 is connected, the other end of the capacitor C3 is connected to the other end of the crystal oscillator X1 and is connected to the terminal 18 of the single-chip microcomputer U4, one end of the resistor R1 is grounded, and the other end of the resistor R1 is respectively connected to the negative pole of the capacitor C1, One end of the resistor R2 is connected to the terminal 9 of the microcontroller U4, the positive pole of the capacitor C1 is connected to the power supply VCC, the other end of the resistor R2 is connected to one end of the switch K1, the other end of the switch K1 is connected to the positive pole of the capacitor C1 and Connect with power supply VCC. 5.根据权利要求4所述的一种基于单片机的室内智能光控系统,其特征在于,所述电容C1的容值为10uF,所述电容C2的容值为30pF,所述电容C3的容值为30pF,所述电阻R1的阻值为10kΩ,所述电阻R2的阻值为220Ω,所述晶体振荡器X1的工作频率为12MHz,所述电源VCC的电压为3V。 5. The indoor intelligent light control system based on a single-chip microcomputer according to claim 4, wherein the capacitance of the capacitor C1 is 10uF, the capacitance of the capacitor C2 is 30pF, and the capacitance of the capacitor C3 The value is 30pF, the resistance value of the resistor R1 is 10kΩ, the resistance value of the resistor R2 is 220Ω, the operating frequency of the crystal oscillator X1 is 12MHz, and the voltage of the power supply VCC is 3V. 6.根据权利要求4所述的一种基于单片机的室内智能光控系统,其特征在于,所述环境光亮度传感模块(2),包括:型号为BH1750FVI的光强度传感器U3、电阻R3、电阻R4、电阻R5、电容C4,所述光强度传感器U3的端子1分别连接电源VCC、电容C4的一端,所述电容C4的另一端连接所述光强度传感器U3的端子3,所述光强度传感器U3的端子2连接电阻R5的一端,所述电阻R5的另一端接地,所述光强度传感器U3的端子4分别连接电阻R4的一端、单片机U4的端子4,所述电阻R4的另一端与电阻R3的一端连接且均与电源VCC连接,所述光强度传感器U3的端子5连接单片机U4的端子1,所述光强度传感器U3的端子6分别连接电阻R3的另一端、单片机U4的端子5。 6. The indoor intelligent light control system based on a single-chip microcomputer according to claim 4, wherein the ambient light brightness sensing module (2) includes: a light intensity sensor U3 whose model is BH1750FVI, a resistor R3, Resistor R4, resistor R5, and capacitor C4, the terminal 1 of the light intensity sensor U3 is respectively connected to the power supply VCC and one end of the capacitor C4, the other end of the capacitor C4 is connected to the terminal 3 of the light intensity sensor U3, the light intensity The terminal 2 of the sensor U3 is connected to one end of the resistor R5, the other end of the resistor R5 is grounded, the terminal 4 of the light intensity sensor U3 is respectively connected to one end of the resistor R4, and the terminal 4 of the single-chip microcomputer U4, and the other end of the resistor R4 is connected to the One end of the resistor R3 is connected and both are connected to the power supply VCC, the terminal 5 of the light intensity sensor U3 is connected to the terminal 1 of the single-chip microcomputer U4, and the terminal 6 of the light intensity sensor U3 is respectively connected to the other end of the resistor R3 and the terminal 5 of the single-chip microcomputer U4 . 7.根据权利要求6所述的一种基于单片机的室内智能光控系统,其特征在于,所述电阻R3的阻值为10kΩ,所述电阻R4的阻值为10kΩ,所述电阻R5的阻值为10kΩ,所述电容C4的容值为0.1uF,所述电源VCC的电压为3V。 7. The indoor intelligent light control system based on a single-chip microcomputer according to claim 6, wherein the resistance value of the resistor R3 is 10kΩ, the resistance value of the resistor R4 is 10kΩ, and the resistance value of the resistor R5 is 10kΩ. The value is 10kΩ, the capacitance of the capacitor C4 is 0.1uF, and the voltage of the power supply VCC is 3V. 8.根据权利要求6所述的一种基于单片机的室内智能光控系统,其特征在于,所述人体红外感应模块(3),包括:型号为BISS0001的传感信号处理芯片U2、型号为RE200B的传感器TO、电阻R6、电阻R7、电阻R8、电阻R9、电阻R10、电阻R11、电阻R12、电阻R13、电阻R14、电阻R15、电阻R16、电容C5、电容C6、电容C7、电容C8、电容C9、电容C10、电容C11、电容C12、电容C13、电容C14,所述传感信号处理芯片U2的端子1分别连接电容C5的一端、电阻R6的一端、电阻R7的一端,所述电容C5的另一端与电阻R7的另一端连接且均连接电源VCC,所述电阻R6的另一端接地,所述传感信号处理芯片U2的端子2连接电阻R8的一端,所述电阻R8的另一端接地,所述传感信号处理芯片U2的端子3连接电源VCC,所述传感信号处理芯片U2的端子4分别连接电阻R9的一端、电容C7的一端,所述电阻R9的另一端分别连接电阻R10的一端、电容C7的另一端、传感信号处理芯片U2的端子5,所述电阻R10的另一端连接电容C6的一端,所述电容C6的另一端分别连接电容C8的一端、电阻R12的一端、传感信号处理芯片U2的端子8,所述电容C8的另一端分别连接传感信号处理芯片U2的端子7、电阻R12的另一端、电阻R13的一端,所述电阻R13的另一端连接电容C9的一端,所述电容C9的另一端接地,所述传感信号处理芯片U2的端子6连接传感器TO的端子2,所述传感器TO的端子1分别连接电容C10的一端、电容C11的一端、电阻R11的一端,所述电阻R11的另一端连接电源VCC,所述电容C10的另一端接地,所述电容C11的另一端连接电容C12的一端,所述电容C12的另一端连接传感器TO的端子3且接地,所述传感信号处理芯片U2的端子9连接电阻R14的一端,所述电阻R14的另一端连接电源VCC,所述传感信号处理芯片U2的端子10分别连接电容C13的一端、电容C14的一端且接地,所述传感信号处理芯片U2的端子11连接电阻R15的一端,所述电阻R15的另一端分别连接电容C13的另一端、传感信号处理芯片U2的端子12,所述传感信号处理芯片U2的端子13分别连接电容C14的另一端、电阻R16的一端,所述电阻R16的另一端连接传感信号处理芯片U2的端子14,所述传感信号处理芯片U2的端子15连接单片机U4的端子12,所述传感信号处理芯片U2的端子16接地。 8. The indoor intelligent light control system based on a single-chip microcomputer according to claim 6, wherein the human body infrared sensing module (3) includes: a sensor signal processing chip U2 whose model is BISS0001, and whose model is RE200B Sensor TO, resistor R6, resistor R7, resistor R8, resistor R9, resistor R10, resistor R11, resistor R12, resistor R13, resistor R14, resistor R15, resistor R16, capacitor C5, capacitor C6, capacitor C7, capacitor C8, capacitor C9, capacitor C10, capacitor C11, capacitor C12, capacitor C13, capacitor C14, the terminal 1 of the sensing signal processing chip U2 is respectively connected to one end of the capacitor C5, one end of the resistor R6, and one end of the resistor R7, and the terminal of the capacitor C5 The other end is connected to the other end of the resistor R7 and both are connected to the power supply VCC, the other end of the resistor R6 is grounded, the terminal 2 of the sensing signal processing chip U2 is connected to one end of the resistor R8, and the other end of the resistor R8 is grounded, The terminal 3 of the sensor signal processing chip U2 is connected to the power supply VCC, the terminal 4 of the sensor signal processing chip U2 is respectively connected to one end of the resistor R9 and one end of the capacitor C7, and the other end of the resistor R9 is respectively connected to the terminal of the resistor R10. One end, the other end of the capacitor C7, and the terminal 5 of the sensing signal processing chip U2, the other end of the resistor R10 is connected to one end of the capacitor C6, and the other end of the capacitor C6 is respectively connected to one end of the capacitor C8, one end of the resistor R12, The terminal 8 of the sensing signal processing chip U2, the other end of the capacitor C8 is respectively connected to the terminal 7 of the sensing signal processing chip U2, the other end of the resistor R12, and one end of the resistor R13, and the other end of the resistor R13 is connected to the capacitor C9 One end of the capacitor C9, the other end of the capacitor C9 is grounded, the terminal 6 of the sensor signal processing chip U2 is connected to the terminal 2 of the sensor TO, and the terminal 1 of the sensor TO is respectively connected to one end of the capacitor C10, one end of the capacitor C11, and the resistor One end of R11, the other end of the resistor R11 is connected to the power supply VCC, the other end of the capacitor C10 is grounded, the other end of the capacitor C11 is connected to one end of the capacitor C12, and the other end of the capacitor C12 is connected to the terminal 3 of the sensor TO And grounded, the terminal 9 of the sensing signal processing chip U2 is connected to one end of the resistor R14, the other end of the resistor R14 is connected to the power supply VCC, and the terminal 10 of the sensing signal processing chip U2 is respectively connected to one end of the capacitor C13, the capacitor One end of C14 is grounded, the terminal 11 of the sensing signal processing chip U2 is connected to one end of the resistor R15, and the other end of the resistor R15 is respectively connected to the other end of the capacitor C13 and the terminal 12 of the sensing signal processing chip U2. The terminal 13 of the sensing signal processing chip U2 is respectively connected to the other end of the capacitor C14 and one end of the resistor R16, the other end of the resistor R16 is connected to the terminal 14 of the sensing signal processing chip U2, and the terminal of the sensing signal processing chip U2 15 is connected to the terminal 12 of the microcontroller U4, the The terminal 16 of the sensing signal processing chip U2 is grounded. 9.根据权利要求8所述的一种基于单片机的室内智能光控系统,其特征在于,所述电阻R6的阻值为60kΩ,电阻R7的阻值为20kΩ,电阻R8的阻值为1MΩ,电阻R9的阻值为1MΩ,电阻R10的阻值为10kΩ,电阻R11的阻值为3.3kΩ,电阻R12的阻值为10kΩ,电阻R13的阻值为47kΩ,电阻R14的阻值为220kΩ,电阻R15的阻值为330kΩ,电阻R16的阻值为330kΩ,电容C5的容值为2.2uF,电容C6的容值为10uF,电容C7的容值为103pF,电容C8的容值为103pF,电容C9的容值为47uF,电容C10的容值为470uF,电容C11的容值为103pF,电容C12的容值为103pF,电容C13的容值为102pF,电容C14的容值为10nF,所述电源VCC的电压为3V。 9. The indoor intelligent light control system based on a single-chip microcomputer according to claim 8, wherein the resistance value of the resistor R6 is 60kΩ, the resistance value of the resistor R7 is 20kΩ, and the resistance value of the resistor R8 is 1MΩ, The resistance value of resistor R9 is 1MΩ, the resistance value of resistor R10 is 10kΩ, the resistance value of resistor R11 is 3.3kΩ, the resistance value of resistor R12 is 10kΩ, the resistance value of resistor R13 is 47kΩ, and the resistance value of resistor R14 is 220kΩ. The resistance value of R15 is 330kΩ, the resistance value of resistor R16 is 330kΩ, the capacitance value of capacitor C5 is 2.2uF, the capacitance value of capacitor C6 is 10uF, the capacitance value of capacitor C7 is 103pF, the capacitance value of capacitor C8 is 103pF, and the capacitance value of capacitor C9 The capacitance value of capacitor C10 is 47uF, the capacitance value of capacitor C10 is 470uF, the capacitance value of capacitor C11 is 103pF, the capacitance value of capacitor C12 is 103pF, the capacitance value of capacitor C13 is 102pF, the capacitance value of capacitor C14 is 10nF, the power supply VCC The voltage is 3V. 10.根据权利要求8所述的一种基于单片机的室内智能光控系统,其特征在于,所述LED驱动模块(4),包括:型号为LM3407的照明驱动器U5、电阻R17、电阻R18、电阻R19、电容C15、电容C16、电容C17、电感L1、二极管D1,所述照明驱动器U5的端子1 分别连接电阻R17的一端、电阻R18的一端,所述电阻R17的另一端和电阻R18的另一端连接且均接地,所述照明驱动器U5的端子2连接单片机U4的端子23,所述照明驱动器U5的端子3连接单片机U4的端子24,所述照明驱动器U5的端子4连接电阻R19的一端,所述电阻R19的另一端接地,所述照明驱动器U5的端子8分别连接二极管D1的正极、电容C15的一端、LED照明灯具(5)的一端,所述电容C15的另一端连接LED照明灯具(5)的另一端且与电感L1的一端连接,所述电感L1的另一端连接二极管D1的负极,所述照明驱动器U5的端子7连接电容C16的一端且接地,所述照明驱动器U5的端子6连接电容C16的另一端且连接电源VCC,所述照明驱动器U5的端子5分别连接电容C17的一端、二极管D1的负极、电源VIN,所述电容C17的另一端接地。 10. The indoor intelligent light control system based on single-chip microcomputer according to claim 8, characterized in that, the LED driver module (4) includes: a lighting driver U5 whose model is LM3407, a resistor R17, a resistor R18, a resistor R19, capacitor C15, capacitor C16, capacitor C17, inductor L1, diode D1, the terminal 1 of the lighting driver U5 is respectively connected to one end of the resistor R17, one end of the resistor R18, the other end of the resistor R17 and the other end of the resistor R18 connected and both grounded, the terminal 2 of the lighting driver U5 is connected to the terminal 23 of the single-chip microcomputer U4, the terminal 3 of the lighting driver U5 is connected to the terminal 24 of the single-chip U4, and the terminal 4 of the lighting driver U5 is connected to one end of the resistor R19. The other end of the resistor R19 is grounded, the terminal 8 of the lighting driver U5 is respectively connected to the anode of the diode D1, one end of the capacitor C15, and one end of the LED lighting fixture (5), and the other end of the capacitor C15 is connected to the LED lighting fixture (5). ) and is connected to one end of the inductor L1, the other end of the inductor L1 is connected to the cathode of the diode D1, the terminal 7 of the lighting driver U5 is connected to one end of the capacitor C16 and grounded, and the terminal 6 of the lighting driver U5 is connected to The other end of the capacitor C16 is connected to the power supply VCC, the terminal 5 of the lighting driver U5 is respectively connected to one end of the capacitor C17, the cathode of the diode D1, and the power supply VIN, and the other end of the capacitor C17 is grounded. 11.根据权利要求10所述的一种基于单片机的室内智能光控系统,其特征在于,所述电阻R17的阻值为1.13kΩ,电阻R18的阻值为1.13kΩ,电阻R19的阻值为40.2kΩ,电容C15的容值为1nF,电容C16的容值为1uF,电容C17的容值为4.7uF,电感L1的感抗为30uH,二极管D1的工作电压及电流为40V/1A,所述电源VCC的电压为3V,所述电源VIN的电压为20-30V。 11. The indoor intelligent light control system based on a single-chip microcomputer according to claim 10, wherein the resistance value of the resistor R17 is 1.13kΩ, the resistance value of the resistor R18 is 1.13kΩ, and the resistance value of the resistor R19 is 40.2kΩ, the capacitance of capacitor C15 is 1nF, the capacitance of capacitor C16 is 1uF, the capacitance of capacitor C17 is 4.7uF, the inductance of inductor L1 is 30uH, and the working voltage and current of diode D1 are 40V/1A. The voltage of the power supply VCC is 3V, and the voltage of the power supply VIN is 20-30V.
CN201520414957.0U 2015-06-16 2015-06-16 A kind of SCM Based indoor intelligent light control system Expired - Fee Related CN204652759U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520414957.0U CN204652759U (en) 2015-06-16 2015-06-16 A kind of SCM Based indoor intelligent light control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520414957.0U CN204652759U (en) 2015-06-16 2015-06-16 A kind of SCM Based indoor intelligent light control system

Publications (1)

Publication Number Publication Date
CN204652759U true CN204652759U (en) 2015-09-16

Family

ID=54105463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520414957.0U Expired - Fee Related CN204652759U (en) 2015-06-16 2015-06-16 A kind of SCM Based indoor intelligent light control system

Country Status (1)

Country Link
CN (1) CN204652759U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172759A (en) * 2017-07-06 2017-09-15 庞绮琪 LED-based induction type Intelligent lightening device
CN107231729A (en) * 2017-07-25 2017-10-03 惠州市元盛科技有限公司 The method and circuit of a kind of intelligent control lighting apparatus brightness
CN107707234A (en) * 2017-11-15 2018-02-16 惠州市元盛科技有限公司 A kind of driver adjusts circuit
CN114828353A (en) * 2021-01-18 2022-07-29 漳州立达信光电子科技有限公司 Light control circuit, light control device and lamp

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172759A (en) * 2017-07-06 2017-09-15 庞绮琪 LED-based induction type Intelligent lightening device
CN107231729A (en) * 2017-07-25 2017-10-03 惠州市元盛科技有限公司 The method and circuit of a kind of intelligent control lighting apparatus brightness
CN107231729B (en) * 2017-07-25 2023-09-26 惠州市元盛科技有限公司 Method and circuit for intelligently regulating and controlling brightness of lighting equipment
CN107707234A (en) * 2017-11-15 2018-02-16 惠州市元盛科技有限公司 A kind of driver adjusts circuit
CN114828353A (en) * 2021-01-18 2022-07-29 漳州立达信光电子科技有限公司 Light control circuit, light control device and lamp

Similar Documents

Publication Publication Date Title
CN104540278A (en) Wireless dimming control system for LED illuminating lamp
CN204652759U (en) A kind of SCM Based indoor intelligent light control system
CN104131763B (en) Light-operated louver generating illuminating system
CN205596391U (en) Classroom intelligence LED lamp based on single chip microcomputer control
CN204145850U (en) The LED street lamp of a kind of pair of adjustable color
CN206314042U (en) A kind of energy saving controller for classroom illumination
CN104806961A (en) Lighting method applying wind energy and optical energy complementing LED (Light Emitting Diode) street lamp
CN202634824U (en) Sunlight-LED (Light-Emitting Diode) complementary all-weather green illumination device
CN206807841U (en) A kind of street lamp with environment self-adaption brightness control function
CN205213117U (en) Intelligence lamps and lanterns control system based on flow of people
CN204305437U (en) Intelligent power saving control circuit
CN219960878U (en) Multipath LED self-adaptive adjustment driving power supply
CN202103901U (en) Novel illumination control system
CN203261530U (en) A dimming and color-adjusting LED solar street light controller
CN202979394U (en) LED intelligent control system
CN204652760U (en) A kind of student dormitory illuminator based on acousto-optic sensor
CN204358608U (en) A kind of LED garden lamp
CN201739918U (en) LED (light-emitting diode) indoor low-voltage lighting device
CN202773121U (en) Classroom energy-saving lighting centralized control system
CN204534413U (en) A kind of illuminator adopting the complementary LED street lamp of wind/light energy
CN205847670U (en) A Wifi-based multi-lamp automatic control system
CN205051937U (en) Remote control system for LED (light emitting diode) street lamp
CN104507217A (en) Illumination system capable of remotely and intelligently being controlled
CN203708597U (en) LED indoor lighting control system
CN209116193U (en) A kind of open air can voluntarily adjust the energy-saving park street lamp of lamplight brightness

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150916

Termination date: 20170616

CF01 Termination of patent right due to non-payment of annual fee