CN108834255A - A new multifunctional energy-saving lighting system and design method - Google Patents
A new multifunctional energy-saving lighting system and design method Download PDFInfo
- Publication number
- CN108834255A CN108834255A CN201810476930.2A CN201810476930A CN108834255A CN 108834255 A CN108834255 A CN 108834255A CN 201810476930 A CN201810476930 A CN 201810476930A CN 108834255 A CN108834255 A CN 108834255A
- Authority
- CN
- China
- Prior art keywords
- light intensity
- chip microcomputer
- led
- sensor
- lighting system
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000013461 design Methods 0.000 title claims abstract description 9
- 238000012545 processing Methods 0.000 claims description 20
- 238000005516 engineering process Methods 0.000 claims description 3
- 230000006698 induction Effects 0.000 claims description 3
- 208000030533 eye disease Diseases 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 11
- 238000012360 testing method Methods 0.000 description 5
- CURLTUGMZLYLDI-UHFFFAOYSA-N Carbon dioxide Chemical compound O=C=O CURLTUGMZLYLDI-UHFFFAOYSA-N 0.000 description 4
- 210000003128 head Anatomy 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 229910002092 carbon dioxide Inorganic materials 0.000 description 2
- 239000001569 carbon dioxide Substances 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 230000010355 oscillation Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
- H05B45/395—Linear regulators
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/10—Controlling the intensity of the light
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/30—Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
本发明提供一种新型多功能节能照明系统及设计方法,包括单片机、无线遥控传感器、光照传感器、红外感应传感器、蓝牙模块、LCD显示屏、LED驱动器和LED灯组,本发明通过科学合理的系统结构设计形成多功能、智能的调节LED灯泡亮度,使室内环境不会对人眼造成负担,减少眼睛疾病的发生,并且在很大程度上具有节能、减排的作用,本发明提供的照明系统结构简单、操作方便、智能化程度高,具有良好的经济与推广价值。The invention provides a novel multifunctional energy-saving lighting system and design method, including a single-chip microcomputer, a wireless remote control sensor, a light sensor, an infrared sensor, a bluetooth module, an LCD display screen, an LED driver and an LED lamp group. The invention adopts a scientific and reasonable system The structural design forms a multifunctional and intelligent adjustment of the brightness of LED bulbs, so that the indoor environment will not burden the human eyes, reduce the occurrence of eye diseases, and have the functions of energy saving and emission reduction to a large extent. The lighting system provided by the invention The structure is simple, the operation is convenient, the degree of intelligence is high, and it has good economic and popularization value.
Description
技术领域technical field
本发明涉及室内照明领域,尤其涉及一种新型多功能节能照明系统及设计方法。The invention relates to the field of indoor lighting, in particular to a novel multifunctional energy-saving lighting system and a design method.
背景技术Background technique
在能源危机、全球生态环境日益恶劣的情况下,节约和合理利用有效资源的形式势不可挡。中国的能源危机日益凸显,能源紧张问题制约经济的快速发展。照明是人们生活中极其重要的需求,目前随着我国城市化进程的加快,室内照明系统也在快速建设,人们在照明时使用市电统一供电的方式用于照明,不利于节能环保,如果可以根据室内的光照亮度进行灯光照明的智能调控,不仅能够营造出舒适人眼的亮度条件,还能在很大程度上减少电力资源的浪费,减少经济成本,具有较高的市场应用前景。In the context of the energy crisis and the deteriorating global ecological environment, the form of saving and rationally utilizing effective resources is unstoppable. China's energy crisis has become increasingly prominent, and energy shortages have restricted the rapid development of the economy. Lighting is an extremely important demand in people's lives. With the acceleration of urbanization in our country, indoor lighting systems are also being built rapidly. Intelligent control of lighting according to the brightness of indoor light can not only create a comfortable brightness condition for human eyes, but also reduce the waste of power resources to a large extent, reduce economic costs, and has a high market application prospect.
发明内容Contents of the invention
本发明的目的在于提供一种新型多功能节能照明系统及设计方法,针对解决现阶段室内照明不适宜的光照强度容易诱发眼睛疾病并且带来极大的用电浪费的问题,在保证室内舒适光线强度的基础上,降低照明能源的消耗,起到节能、智能的作用。The purpose of the present invention is to provide a new multifunctional energy-saving lighting system and design method, aiming at solving the problem that the unsuitable light intensity of indoor lighting at the present stage is likely to induce eye diseases and bring about a huge waste of electricity, while ensuring indoor comfortable light On the basis of light intensity, it reduces the consumption of lighting energy, and plays the role of energy saving and intelligence.
本发明是通过以下技术方案解决上述技术问题的:The present invention solves the above technical problems through the following technical solutions:
一种新型多功能节能照明系统,包括单片机、无线遥控传感器、光照传感器、红外感应传感器、蓝牙模块、LCD显示屏和LED驱动器;所述光照传感器用于自动检测外界光照强度,通过电力线与所述单片机相连接;所述红外感应传感器用于通过手势滑动进行光照强度的调节,通过电力线与所述单片机相连接;所述无线遥控传感器通过手持式遥控器按键的是否按下手动进行光照强度的调节,通过电力线与所述单片机相连接;所述蓝牙模块用于利用移动终端自主调节LED灯泡光照强度,通过电力线与所述单片机相连接;所述LCD显示屏用于显示当前光照强度值,通过电力线与所述单片机相连接;所述LED驱动器与LED灯泡组电性连接,通过电压值的变化点亮不同个数LED灯泡,调节光照强度,所述LED驱动器通过电力线与所述单片机相连接;所述单片机通过接收光照传感器、红外感应传感器、无线遥控传感器和蓝牙模块的信号变化情况进行综合处理,利用PWM调频技术控制LED驱动模块,调节LED照明系统的亮度变化。A new multifunctional energy-saving lighting system, including a single-chip microcomputer, a wireless remote control sensor, a light sensor, an infrared sensor, a Bluetooth module, an LCD display and an LED driver; the light sensor is used to automatically detect the intensity of external light, and communicates with the The single-chip microcomputer is connected; the infrared induction sensor is used to adjust the light intensity through gesture sliding, and is connected to the single-chip microcomputer through the power line; the wireless remote control sensor manually adjusts the light intensity by pressing the button of the hand-held remote control , connected to the single-chip microcomputer through the power line; the bluetooth module is used to use the mobile terminal to independently adjust the light intensity of the LED bulb, and is connected to the single-chip microcomputer through the power line; the LCD display is used to display the current light intensity value, through the power line It is connected with the single-chip microcomputer; the LED driver is electrically connected with the LED light bulb group, lights up different numbers of LED light bulbs through the change of the voltage value, and adjusts the light intensity, and the LED driver is connected with the single-chip microcomputer through the power line; The single-chip microcomputer performs comprehensive processing by receiving the signal changes of the light sensor, infrared sensor, wireless remote control sensor and Bluetooth module, and uses PWM frequency modulation technology to control the LED driver module to adjust the brightness change of the LED lighting system.
一种新型多功能节能照明系统,所述光照传感器输出端电性连接单片机输入端,传感器将接收到的外界光照强度传送至单片机进行设定处理自动调节LED灯组光照强度。A new multifunctional energy-saving lighting system, the output end of the light sensor is electrically connected to the input end of a single-chip microcomputer, and the sensor transmits the received external light intensity to the single-chip microcomputer for setting processing to automatically adjust the light intensity of the LED light group.
一种新型多功能节能照明系统,所述蓝牙模块的输出端与单片机的输入端电性连接,通过蓝牙协议与移动终端相连,利用自主写入的手机软件程序对LED灯组光照强度进行自主调节。A new multi-functional energy-saving lighting system, the output end of the Bluetooth module is electrically connected to the input end of the single-chip microcomputer, connected to the mobile terminal through the Bluetooth protocol, and the light intensity of the LED light group is adjusted independently by using the mobile phone software program written independently .
一种新型多功能节能照明系统,所述红外感应传感器包括红外感应模块和电位器,电位器用于红外感应距离的调节,红外感应模块的输出端与单片机输入端电性连接,通过录入的手势识别信号滑动调节LED灯组光照强度。A new multifunctional energy-saving lighting system, the infrared sensing sensor includes an infrared sensing module and a potentiometer, the potentiometer is used to adjust the infrared sensing distance, the output end of the infrared sensing module is electrically connected to the input end of a single-chip microcomputer, and the gesture recognition input The signal slides to adjust the light intensity of the LED light group.
一种新型多功能节能照明系统,所述无线遥控传感器包含无线遥控驱动,通过无线的方式与手持式遥控器连接,无线遥控传感器的输出端与单片机输入端电性连接,通过手持式遥控器按键对LED灯组光照强度进行调节。A new multifunctional energy-saving lighting system, the wireless remote control sensor includes a wireless remote control driver, which is connected to a hand-held remote control in a wireless manner, the output end of the wireless remote control sensor is electrically connected to the input end of a single-chip microcomputer, and the hand-held remote control button Adjust the light intensity of the LED light group.
一种新型多功能节能照明系统,所述LCD显示屏的输入端与单片机的输出端电性连接,通过单片机接收到的处理信号将当前光照强度值显示在LCD显示屏上。A new multi-functional energy-saving lighting system, the input end of the LCD display screen is electrically connected with the output end of the single-chip microcomputer, and the current light intensity value is displayed on the LCD screen through the processing signal received by the single-chip microcomputer.
一种新型多功能节能照明系统,所述LED驱动器的输入端与单片机的输出端电性连接,LED驱动器的输出端与LED灯组的输入端电性连接,通过单片机接收到的处理信号直接驱动LED驱动器调节LED灯组的光照亮度。A new multifunctional energy-saving lighting system, the input end of the LED driver is electrically connected to the output end of the single-chip microcomputer, the output end of the LED driver is electrically connected to the input end of the LED lamp group, and the processing signal received by the single-chip microcomputer is directly driven. The LED driver adjusts the light brightness of the LED lamp group.
一种新型多功能节能照明系统的设计方法,包括以下步骤:A design method for a novel multifunctional energy-saving lighting system, comprising the following steps:
S1、在自动模式下,当系统启用时光照传感器自动检测外界光照强度,将检测的光照强度值传送至单片机进行处理,当外界光照强度强时,通过LED驱动器驱动LED灯组减弱LED灯泡的照明亮度,当外界光照强度弱时,驱动LED灯组增强照明亮度;S1. In the automatic mode, when the system is enabled, the light sensor automatically detects the external light intensity, and transmits the detected light intensity value to the single-chip microcomputer for processing. When the external light intensity is strong, the LED driver drives the LED light group to weaken the lighting of the LED bulb Brightness, when the external light intensity is weak, drive the LED light group to enhance the lighting brightness;
S2、在手动模式下,当单片机接收到手持式无线遥控器发出的信号时,通过无线遥控器按键号的不同手动调节LED灯泡的光照强度;S2. In manual mode, when the single-chip microcomputer receives the signal from the handheld wireless remote control, manually adjust the light intensity of the LED bulb through the different key numbers of the wireless remote control;
S3、在手动模式下,当单片机接收到红外感应模块信号时,单片机初始化,通过检测是否有手势滑动的信号输入,若有根据设定的用户程序进行光强度的调节,若没有则保持原来的光照强度;S3. In manual mode, when the MCU receives the signal from the infrared sensing module, the MCU initializes. By detecting whether there is a gesture sliding signal input, if there is a light intensity adjustment according to the set user program, if not, keep the original light intensity;
S4、在手动模式下,通过移动终端蓝牙程序与单片机上连接的蓝牙驱动模块连接,利用自主设计的光度条对光照强度直接控制,若使用其他控制方式,断开移动终端蓝牙程序;S4. In manual mode, connect the bluetooth driver module connected to the microcontroller through the mobile terminal bluetooth program, and use the self-designed photometric bar to directly control the light intensity. If other control methods are used, disconnect the mobile terminal bluetooth program;
S5、在手动模式下调节光照强度时,当光照强度超出了实时设定的光强范围时,系统会发出警告信号。S5. When adjusting the light intensity in manual mode, when the light intensity exceeds the real-time set light intensity range, the system will send a warning signal.
本发明的有益效果是:The beneficial effects of the present invention are:
1、本发明提供的智能节能照明系统在基于环境光度比的特性下,在自动调节和手动调节的模式下能够对LED的光照强度进行调节,符合多控要求;1. The intelligent energy-saving lighting system provided by the present invention can adjust the light intensity of the LED in the mode of automatic adjustment and manual adjustment based on the characteristics of the ambient light ratio, which meets the requirements of multi-control;
2、单片机智能控制LED灯的发光强度,环境光照强时,自动降低发光强度,节约电能,环境光照弱时,自动增强发光强度,使产品人性化,用户更舒适;2. The single-chip microcomputer intelligently controls the luminous intensity of the LED light. When the ambient light is strong, the luminous intensity is automatically reduced to save power. When the ambient light is weak, the luminous intensity is automatically increased, making the product humanized and more comfortable for users;
3、用户可以手持遥控或红外传感手势调光,也可通过手机程序自动调光,简化操作,提高用户感受性;3. The user can adjust the light with hand-held remote control or infrared sensor gestures, or automatically adjust the light through the mobile phone program, which simplifies operation and improves user sensitivity;
4、对外只有电源输入端、调节信号端、电源输出端,能方便地与现有灯光照明系统结合,便于扩大规模推广使用;4. There are only power input terminals, adjustment signal terminals, and power output terminals externally, which can be easily combined with the existing lighting system, which is convenient for expansion and promotion;
5、与传统的固定LED照明系统相比较,仅需增加光照传感器、无线模块和蓝牙模块,不会对系统成本造成较大影响,而且改善后的光照系统起到节能减排的作用,值得推广。5. Compared with the traditional fixed LED lighting system, it only needs to add light sensors, wireless modules and Bluetooth modules, which will not have a great impact on the system cost, and the improved lighting system can save energy and reduce emissions, which is worth promoting .
附图说明Description of drawings
图1为本发明实施例新型多功能节能照明系统的总体设计示意图。FIG. 1 is a schematic diagram of the overall design of a novel multifunctional energy-saving lighting system according to an embodiment of the present invention.
图2为本发明实施例光照传感模块电路示意图。Fig. 2 is a schematic circuit diagram of an illumination sensing module according to an embodiment of the present invention.
图3为本发明实施例编码器编码电路原理图。Fig. 3 is a schematic diagram of an encoding circuit of an encoder according to an embodiment of the present invention.
图4为本发明实施例解码器解码电路原理图。Fig. 4 is a schematic diagram of a decoding circuit of a decoder according to an embodiment of the present invention.
图5为本发明实施例红外感应模块电路示意图。Fig. 5 is a schematic circuit diagram of an infrared sensing module according to an embodiment of the present invention.
图6为本发明实施例蓝牙模块电路示意图。FIG. 6 is a schematic circuit diagram of a Bluetooth module according to an embodiment of the present invention.
图7为本发明实施例新型多功能节能照明系统软件总体设计流程图。Fig. 7 is a flow chart of the overall design of the software of the new multifunctional energy-saving lighting system according to the embodiment of the present invention.
图8为本发明实施例光照传感器驱动流程图。FIG. 8 is a flow chart of driving an illumination sensor according to an embodiment of the present invention.
图9为本发明实施例按键号输入到数据发射的流程图。FIG. 9 is a flow chart from key number input to data transmission according to an embodiment of the present invention.
图10为本发明实施例红外感应驱动流程图。Fig. 10 is a flow chart of infrared induction driving according to an embodiment of the present invention.
图11为本发明实施例蓝牙驱动流程图。Fig. 11 is a flow chart of Bluetooth driver according to the embodiment of the present invention.
具体实施方式Detailed ways
下面对本发明的实施例作详细说明,本实施例在以本发明技术方案为前提下进行实施,给出了详细的实施方式和具体的操作过程,但本发明的保护范围不限于下述的实施例。The following is a detailed description of the embodiments of the present invention. This embodiment is implemented on the premise of the technical solution of the present invention, and detailed implementation methods and specific operating procedures are provided, but the protection scope of the present invention is not limited to the following implementation example.
下面结合附图,对本发明的技术方案进行具体说明。The technical solution of the present invention will be specifically described below in conjunction with the accompanying drawings.
本发明公开了一种新型多功能节能照明系统如图1所示,包括单片机、无线遥控传感器、光照传感器、红外感应传感器、蓝牙模块、LCD显示屏和LED驱动器;所述无线遥控传感器、光照传感器、红外感应传感器、蓝牙模块的输出端电性连接在单片机上的输入端,LCD显示屏和LED驱动器的输入端电性连接在单片机的输出端,LED驱动器的输出端电性连接LED灯泡组;所述光照传感器用于自动检测外界光照强度;所述红外感应传感器用于通过手势滑动进行光照强度的调节;所述无线遥控传感器通过手持式遥控器按键的是否按下手动进行光照强度的调节;所述蓝牙模块用于利用移动终端自主调节LED灯泡光照强度;所述LCD显示屏用于显示当前光照强度值;所述LED驱动器通过电压值的变化点亮不同个数LED灯泡,调节光照强度;所述单片机通过接收光照传感器、红外感应传感器、无线遥控传感器和蓝牙模块的信号变化情况进行综合处理,利用PWM调频技术控制LED驱动模块,调节LED照明系统的亮度变化。The invention discloses a novel multifunctional energy-saving lighting system, as shown in Figure 1, comprising a single-chip microcomputer, a wireless remote control sensor, a light sensor, an infrared sensor, a bluetooth module, an LCD display screen and an LED driver; the wireless remote control sensor, the light sensor , the output of the infrared sensor and the Bluetooth module are electrically connected to the input of the single-chip microcomputer, the input of the LCD display and the LED driver are electrically connected to the output of the single-chip microcomputer, and the output of the LED driver is electrically connected to the LED light bulb group; The light sensor is used to automatically detect the light intensity of the outside world; the infrared sensor is used to adjust the light intensity through gesture sliding; the wireless remote control sensor manually adjusts the light intensity by pressing or not the button of the hand-held remote control; The bluetooth module is used to use the mobile terminal to independently adjust the light intensity of the LED light bulb; the LCD display is used to display the current light intensity value; the LED driver lights up different numbers of LED light bulbs through the change of the voltage value to adjust the light intensity; The single-chip microcomputer performs comprehensive processing by receiving signal changes of the light sensor, infrared sensor, wireless remote sensor and Bluetooth module, and uses PWM frequency modulation technology to control the LED drive module to adjust the brightness change of the LED lighting system.
本实施例中所述光照传感器输出端电性连接单片机输入端,传感器将接收到的外界光照强度传送至单片机进行设定处理自动调节LED灯组光照强度。In this embodiment, the output end of the light sensor is electrically connected to the input end of the single-chip microcomputer, and the sensor transmits the received external light intensity to the single-chip microcomputer for setting processing to automatically adjust the light intensity of the LED light group.
其中光照传感器模块电路图如图2所示,其中光照传感模块中的传感器通过SCL时钟引脚和SDA数据引脚进行光照强度数据的传输,SDA作为应答信号的接受和发送端,控制起始信号和停止信号,最后数据沿I IC总线传送至单片机进行信号处理,为了根据外界光照强度的不同对LED照明系统进行相应的调节需要靠光照传感器驱动实现如图8所示,在光照传感模块接收外界光照强度转化为电压的数据形式传递给驱动模块进行数据处理,数据发送后经接收模块上进行合成,然后通过对应的端口与单片机连接,单片机通过传递的数据驱动LED驱动器改变LED光照强度。The circuit diagram of the light sensor module is shown in Figure 2, where the sensor in the light sensor module transmits light intensity data through the SCL clock pin and the SDA data pin, and SDA is used as the receiving and sending end of the response signal to control the start signal and stop signal, and finally the data is sent to the single chip microcomputer along the I IC bus for signal processing. In order to adjust the LED lighting system according to the different light intensity of the outside world, it needs to be driven by the light sensor, as shown in Figure 8. The light sensor module receives The data form of external light intensity converted into voltage is transmitted to the driving module for data processing. After the data is sent, it is synthesized on the receiving module, and then connected to the single-chip microcomputer through the corresponding port. The single-chip microcomputer drives the LED driver to change the LED light intensity through the transmitted data.
本实施例中所述蓝牙模块的输出端与单片机的输入端电性连接,通过蓝牙协议与移动终端相连,利用自主写入的手机软件程序对LED灯组光照强度进行自主调节。In this embodiment, the output end of the bluetooth module is electrically connected to the input end of the single-chip microcomputer, and connected to the mobile terminal through the bluetooth protocol, and the light intensity of the LED lamp group is adjusted independently by using the mobile phone software program written independently.
其中蓝牙模块电路图如图6所示,单片机通过UART串口方式与蓝牙模块通讯,模块TXD连接单片机RXD,模块RXD连接单片机TXD,该模块与移动终端以蓝牙协议进行数据传输,接收到的数据又以UART协议与单片机进行数据传输,为了能够自主利用移动终端调节光照强度,通过蓝牙驱动程序如图11所示完成,通过蓝牙协议将移动终端与蓝牙模块进行连接,在移动终端自主设计亮度条通过蓝牙驱动程序直接控制蓝牙适配器,将数据通过串口连接发送给单片机进行光照强度相应处理,实现利用移动终端智能调光。The bluetooth module circuit diagram is shown in Figure 6. The single-chip microcomputer communicates with the bluetooth module through the UART serial port. The module TXD is connected to the single-chip microcomputer RXD, and the module RXD is connected to the single-chip microcomputer TXD. The UART protocol communicates with the MCU for data transmission. In order to use the mobile terminal to adjust the light intensity independently, it is completed through the Bluetooth driver program as shown in Figure 11. The mobile terminal is connected to the Bluetooth module through the Bluetooth protocol, and the brightness bar is independently designed on the mobile terminal through Bluetooth. The driver program directly controls the Bluetooth adapter, and sends the data to the single-chip microcomputer through the serial port connection for corresponding processing of light intensity, so as to realize intelligent dimming by using the mobile terminal.
本实施例中所述红外感应传感器包括红外感应模块和电位器,电位器用于红外感应距离的调节,红外感应模块的输出端与单片机输入端电性连接,通过录入的手势识别信号滑动调节LED灯组光照强度。The infrared sensing sensor described in this embodiment includes an infrared sensing module and a potentiometer, and the potentiometer is used to adjust the infrared sensing distance. The output end of the infrared sensing module is electrically connected to the input end of the single-chip microcomputer, and the LED light is adjusted by sliding the input gesture recognition signal. Group light intensity.
其中红外感应模块电路图如图5所示,其中传感器模块输出端口直接与单片机IO口连接,在检测端没有有电平变化时,输出端口持续输出低电平信号,在检测端产生电平变化时,输出端口输出高电平。电平的变化信号通过IO口传输到单片机上处理,得出对应的光照强度变化,红外感应模块电路模块检测到前方障碍物信号时,电路板上绿色指示灯点亮电平,同时信号输出接口输出低电平信号,为了实现通过手势识别的方式进行照明系统光强的调节,在红外感应传感器中增加红外感应驱动程序如图10所示,开始对单片机进行初始化,提前写入手势向右滑动的程序增加光照强度,手势向左滑动的程序降低光照强度,在红外感应模块检测到有手势滑动时,发送脉冲给驱动进行采样,将采样信号发送给单片机进行用户程序的运行,根据提前写入的程序对光强进行调节,当每一次红外感应模块每发射一次脉冲系统自动清零,重新进行下一组脉冲的发送,接受脉冲端在没有接收到数据时也返回初始状态。The circuit diagram of the infrared sensor module is shown in Figure 5. The output port of the sensor module is directly connected to the IO port of the microcontroller. When there is no level change at the detection end, the output port continues to output a low-level signal. When the level change occurs at the detection end , the output port outputs a high level. The level change signal is transmitted to the single-chip microcomputer for processing through the IO port, and the corresponding light intensity change is obtained. When the infrared sensing module circuit module detects the obstacle signal in front, the green indicator light on the circuit board lights up the level, and the signal output interface Output low-level signal, in order to adjust the light intensity of the lighting system through gesture recognition, add an infrared sensor driver to the infrared sensor, as shown in Figure 10, start to initialize the single-chip microcomputer, write the gesture in advance and slide to the right The program to increase the light intensity, and the program to slide the gesture to the left to reduce the light intensity. When the infrared sensor module detects a gesture slide, it will send a pulse to the driver for sampling, and send the sampling signal to the single-chip microcomputer to run the user program. According to the written in advance The program adjusts the light intensity. When the infrared sensor module emits a pulse every time, the system automatically clears and sends the next group of pulses again. The receiving pulse end also returns to the initial state when no data is received.
本实施例中所述无线遥控传感器包含无线遥控驱动,通过无线的方式与手持式遥控器连接,无线遥控传感器的输出端与单片机输入端电性连接,通过手持式遥控器按键对LED灯组光照强度进行调节。The wireless remote control sensor described in this embodiment includes a wireless remote control drive, which is connected to the handheld remote control in a wireless manner, the output end of the wireless remote control sensor is electrically connected to the input end of the single-chip microcomputer, and the LED light group is illuminated through the buttons of the hand-held remote control Adjust the intensity.
其中无线遥控模块由无线编码模块和无线解码模块组合的控制模块,无线编码模块由编码器、高频调剂和功率放大电路组成,无线解码模块由解码芯片和接受头组成;图3所述的是PT2262编码电路图,图4为PT2272解码电路图,其中PT2262编码器将编码信号在振荡电路和调制电路下,用无线的方式将数据传输至PT2262解码器的接收头,接收头将接收到的数据输入解码芯片进行解码,得出的相应指令传递给单片机进行信号处理,PT2262编码器和PT2272解码器的地址编码和振荡电阻互相匹配才能保证距离较远时接受到信号,为了通过无线遥控器按键的是否按下调节光照强度需要靠无线遥控驱动如图9所示完成,在接通电源时单片机初始化,利用调用键扫描子程序的方式判断遥控器控制键是否按下,如果按下逐行扫描,按照P口值查找相应的按键号,根据不同按键号写入的程序不同发送相应的信号至单片机进行特定处理,从而实现遥控按键调节照明系统的亮度。The wireless remote control module is a control module composed of a wireless encoding module and a wireless decoding module. The wireless encoding module is composed of an encoder, a high-frequency regulator and a power amplifier circuit. The wireless decoding module is composed of a decoding chip and a receiving head; Figure 3 shows PT2262 encoding circuit diagram, Figure 4 is a PT2272 decoding circuit diagram, in which the PT2262 encoder transmits the encoded signal to the receiving head of the PT2262 decoder in a wireless manner under the oscillation circuit and modulation circuit, and the receiving head inputs the received data into the decoding The chip is decoded, and the corresponding instructions obtained are passed to the single-chip microcomputer for signal processing. The address codes and oscillation resistors of the PT2262 encoder and PT2272 decoder match each other to ensure that the signal is received when the distance is long. The adjustment of the light intensity needs to be completed by the wireless remote control drive as shown in Figure 9. When the power is turned on, the microcontroller is initialized, and the method of calling the key scan subroutine is used to determine whether the control key of the remote control is pressed. Find the corresponding button number according to the port value, and send the corresponding signal to the single chip microcomputer for specific processing according to the program written in different button numbers, so as to realize the remote control button to adjust the brightness of the lighting system.
本实施例中所述LCD显示屏选用LCD1602显示屏,其输入端与单片机的输出端电性连接,通过单片机接收到的处理信号将当前光照强度值显示在显示屏上。The LCD display screen in this embodiment is an LCD1602 display screen, its input end is electrically connected to the output end of the single-chip microcomputer, and the current light intensity value is displayed on the display screen through the processing signal received by the single-chip microcomputer.
本实施例中所述LED驱动器的输入端与单片机的输出端电性连接,LED驱动器的输出端与LED灯组的输入端电性连接,通过单片机接收到的处理信号直接驱动LED驱动器调节LED灯组的光照亮度。The input end of the LED driver described in this embodiment is electrically connected to the output end of the single-chip microcomputer, and the output end of the LED driver is electrically connected to the input end of the LED light group, and the processing signal received by the single-chip microcomputer directly drives the LED driver to adjust the LED light. The light intensity of the group.
本发明提供的新型多功能节能照明系统的操作原理如下:The operating principle of the novel multifunctional energy-saving lighting system provided by the present invention is as follows:
如图7所示:当启动系统时,进行数据初始化,通过单片机接通电源后输出的占空比点亮LED灯泡,将系统点亮的LED灯泡光照强度值通过LCD1602显示屏显示当前光照强度值,当使用手持式无线遥控器控制当前光照强度时,通过提前设定的按键程序确定是否增加光照强度,若选择增加光照强度,单片机通过接收到的遥控模块传递的信号增加PWM占空比增强LED灯泡组亮度,若选择减小光照强度,单片机减小PWM占空比减弱LED灯泡组亮度;当没有接收到无线遥控信号时,光照传感器自动检测外界光照强度,通过外界光照强度值的大小将信号传递给单片机,单片机根据外界的光照强度大小做出改变PWM占空比改变LED灯泡亮度,当外界光照强度强时,减弱LED灯泡亮度,当外界光照强度弱时,增强LED灯泡亮度;当系统接收到红外传感器模块信号时,通过录入的手势右滑信号改变LED灯泡亮度,若红外传感器模块感应手势向右滑动的信号时,单片机通过红外模块传递的信号增加PWM占空比增强LED灯泡亮度,若手势向左滑动则减小PWM占空比减弱LED灯泡亮度,改变的LED灯泡强度值都通过LCD显示屏显示当前的光照强度大小。As shown in Figure 7: when the system is started, the data is initialized, the LED bulb is lit by the duty cycle output after the microcontroller is powered on, and the light intensity value of the LED bulb lighted by the system is displayed on the LCD1602 display. , when using the hand-held wireless remote control to control the current light intensity, determine whether to increase the light intensity through the key program set in advance, if you choose to increase the light intensity, the microcontroller will increase the PWM duty cycle through the received signal from the remote control module to enhance the LED The brightness of the light bulb group, if you choose to reduce the light intensity, the single-chip microcomputer reduces the PWM duty cycle to weaken the brightness of the LED light bulb group; when no wireless remote control signal is received, the light sensor automatically detects the external light intensity, and the signal is converted by the value of the external light intensity. Pass it to the single-chip microcomputer, and the single-chip microcomputer changes the PWM duty cycle according to the external light intensity to change the brightness of the LED bulb. When the external light intensity is strong, the LED bulb brightness is weakened. When the external light intensity is weak, the LED bulb brightness is enhanced; when the system receives When the signal from the infrared sensor module is received, the brightness of the LED bulb will be changed through the input gesture signal of sliding right. If the infrared sensor module senses the signal of gesture sliding to the right, the signal transmitted by the microcontroller through the infrared module will increase the PWM duty cycle to enhance the brightness of the LED bulb. Slide the gesture to the left to reduce the PWM duty cycle and weaken the brightness of the LED bulb. The changed LED bulb intensity value will display the current light intensity on the LCD display.
对本发明提供的新型多功能节能照明系统按照实施例进行组装、试验,经测试,在自动调节和手动调节的模式下能够对LED的光照强度进行调节,符合多控要求,并且在试验过程中通过对照明系统和节能系统方面通过对比试验得到的试验数据如表1和表2所示:The new multi-functional energy-saving lighting system provided by the present invention is assembled and tested according to the embodiment. After testing, the light intensity of the LED can be adjusted in the mode of automatic adjustment and manual adjustment, which meets the requirements of multi-control, and passed the test during the test. The test data obtained through comparative tests on the lighting system and energy-saving system are shown in Table 1 and Table 2:
表1Table 1
3条1.2米36W荧光灯和3个15W新型节能特性组合LED灯对比列表Comparison list of 3 1.2m 36W fluorescent lamps and 3 15W new energy-saving feature combination LED lamps
表2Table 2
满足人们正常生活要求的光照强度(占空比为70%)数据列表Data list of light intensity (duty cycle is 70%) that meets the requirements of people's normal life
通过以上的数据分析,可以得出:Through the above data analysis, it can be concluded that:
(1)新型多功能节能照明系统比普通LED灯节能约30%,减少二氧化碳排放约30%;(1) The new multifunctional energy-saving lighting system can save energy by about 30% compared with ordinary LED lights, and reduce carbon dioxide emissions by about 30%;
(2)新型多功能节能照明系统比传统荧光灯节能约70%,减少二氧化碳排放约70%;(2) The new multifunctional energy-saving lighting system can save energy by about 70% compared with traditional fluorescent lamps, and reduce carbon dioxide emissions by about 70%;
(3)新型多功能节能照明系统既能满足人们正常照明亮度的需求,又能做到节能减排,具有客观的经济效益,可以向学校、工厂、地下停车场、超市等室内照明公众场所推广,具有较好的应用前景。(3) The new multifunctional energy-saving lighting system can not only meet people's needs for normal lighting brightness, but also achieve energy saving and emission reduction. It has objective economic benefits and can be promoted to indoor lighting public places such as schools, factories, underground parking lots, supermarkets, etc. , has a good application prospect.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810476930.2A CN108834255A (en) | 2018-05-18 | 2018-05-18 | A new multifunctional energy-saving lighting system and design method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810476930.2A CN108834255A (en) | 2018-05-18 | 2018-05-18 | A new multifunctional energy-saving lighting system and design method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108834255A true CN108834255A (en) | 2018-11-16 |
Family
ID=64148942
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810476930.2A Pending CN108834255A (en) | 2018-05-18 | 2018-05-18 | A new multifunctional energy-saving lighting system and design method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108834255A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110062499A (en) * | 2019-04-16 | 2019-07-26 | 唐馨岚 | A kind of Multifunction energy-saving lighting system |
CN113316287A (en) * | 2021-07-08 | 2021-08-27 | 昆明理工大学 | Intelligent control system and control method for household lighting |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103576861A (en) * | 2013-11-18 | 2014-02-12 | 谢元澄 | Non-touch gesture control system |
CN105050301A (en) * | 2015-09-10 | 2015-11-11 | 天津工业大学 | Mobile phone Bluetooth-based indoor Intelligent LED lighting system design |
CN106369352A (en) * | 2015-07-21 | 2017-02-01 | 上海本星电子科技有限公司 | Electric lamp for starting wireless receiving through infrared signals and remote control unit of electric lamp |
-
2018
- 2018-05-18 CN CN201810476930.2A patent/CN108834255A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103576861A (en) * | 2013-11-18 | 2014-02-12 | 谢元澄 | Non-touch gesture control system |
CN106369352A (en) * | 2015-07-21 | 2017-02-01 | 上海本星电子科技有限公司 | Electric lamp for starting wireless receiving through infrared signals and remote control unit of electric lamp |
CN105050301A (en) * | 2015-09-10 | 2015-11-11 | 天津工业大学 | Mobile phone Bluetooth-based indoor Intelligent LED lighting system design |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110062499A (en) * | 2019-04-16 | 2019-07-26 | 唐馨岚 | A kind of Multifunction energy-saving lighting system |
CN113316287A (en) * | 2021-07-08 | 2021-08-27 | 昆明理工大学 | Intelligent control system and control method for household lighting |
CN113316287B (en) * | 2021-07-08 | 2024-03-01 | 昆明理工大学 | Intelligent control system for household illumination and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201764282U (en) | LED intelligent lighting device | |
CN104378871A (en) | Intelligent optical control lamp system | |
CN207603967U (en) | A kind of intelligent road lamp system based on Internet of Things | |
CN202549151U (en) | Wireless monitoring and control practical training system of street lamp | |
CN105050301A (en) | Mobile phone Bluetooth-based indoor Intelligent LED lighting system design | |
CN108834255A (en) | A new multifunctional energy-saving lighting system and design method | |
CN104159362A (en) | Community street lamp energy-saving controller | |
CN201393326Y (en) | Ballast with emergency lighting function | |
CN205179441U (en) | Indoor LED lighting system of intelligence bluetooth of mobile phone control | |
CN204539582U (en) | Novel LED illuminating light intelligent control system | |
CN207939804U (en) | A kind of lamps and lanterns of gesture induction control | |
CN102281673A (en) | Intelligent lightening device | |
CN206608027U (en) | A kind of intelligent window control system based on Internet of Things | |
CN205546054U (en) | An automatic switch spotlight with adjustable light | |
CN205830102U (en) | An intelligent eye protection lamp system | |
CN206713127U (en) | An intelligent desk lamp | |
CN106973451A (en) | A kind of Intelligent LED lighting control system | |
CN201263231Y (en) | Voice centralized control wireless dimming LED fluorescent lamp | |
CN201651973U (en) | An LED eye protection lamp capable of precisely controlling illuminance | |
CN205491347U (en) | Intelligent control ware of indoor LED lamp | |
CN205566724U (en) | An intelligent wireless control system for LED lighting | |
CN204442806U (en) | A kind of storehouse, ground LED illumination lamp based on human body sensing | |
CN207399579U (en) | A kind of SCM Based energy-saving illumination automaton | |
CN108463032A (en) | For the intelligent lighting circuit of underground parking garage, system and illumination control method | |
CN108337773A (en) | It is a kind of can online internet intelligent street lamp control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181116 |
|
RJ01 | Rejection of invention patent application after publication |