WO2019222920A1 - Single-chip microcomputer controlled light tuning method and system based on on-off input - Google Patents

Single-chip microcomputer controlled light tuning method and system based on on-off input Download PDF

Info

Publication number
WO2019222920A1
WO2019222920A1 PCT/CN2018/087877 CN2018087877W WO2019222920A1 WO 2019222920 A1 WO2019222920 A1 WO 2019222920A1 CN 2018087877 W CN2018087877 W CN 2018087877W WO 2019222920 A1 WO2019222920 A1 WO 2019222920A1
Authority
WO
WIPO (PCT)
Prior art keywords
light source
led light
working power
power
switch
Prior art date
Application number
PCT/CN2018/087877
Other languages
French (fr)
Chinese (zh)
Inventor
唐春荣
Original Assignee
深圳市杜莎科技有限公司
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 深圳市杜莎科技有限公司 filed Critical 深圳市杜莎科技有限公司
Priority to CN201880055900.2A priority Critical patent/CN111226505A/en
Priority to PCT/CN2018/087877 priority patent/WO2019222920A1/en
Publication of WO2019222920A1 publication Critical patent/WO2019222920A1/en

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21SNON-PORTABLE LIGHTING DEVICES; SYSTEMS THEREOF; VEHICLE LIGHTING DEVICES SPECIALLY ADAPTED FOR VEHICLE EXTERIORS
    • F21S6/00Lighting devices intended to be free-standing
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light

Definitions

  • the invention relates to the technical field of LED light sources, in particular to a dimming method and system controlled by a switch input and a single-chip microcomputer.
  • LED has the characteristics of energy saving, environmental protection, long life, small size, etc., and is widely used. People hope to be able to adjust the brightness of the light source during use. This will not only save power and reduce waste, but also avoid long-term operation of LED lights under overload. Improved LED operating efficiency and service life.
  • the dimming methods include:
  • Triac dimming This method requires special custom-made LED lamps and knob switches that are specially installed and matched with the thyristor dimming method. The installation cost is high and troublesome.
  • Resistor dimming requires external potentiometers and cannot control multiple lights at one time
  • the technical problem to be solved by the present invention is to provide a switching input and a single-chip computer-controlled dimming method and system for various problems of the existing dimming methods.
  • the method saves the working power P at any time, For power usage, when dimming is needed, just turn the switch off and then turn it on within a few seconds (preset time).
  • the brightness change can be adjusted from the last working power P, and it can be saved when the brightness is deemed appropriate. , You can adjust the brightness of the LED light source, which makes the adjustment more simple and practical.
  • a switch input and a single-chip computer-controlled dimming method which is characterized by including: S101, receiving a user's request to start an LED light source, and according to the last working power P1 of the LED light source Light the LED light source for the initial working power value; S102, if the user needs to adjust the brightness of the LED light source and start to switch the dimming mode, the LED light source enters the adjustable mode after it is turned on. At this time, the brightness of the LED light source is changed from the last working power.
  • the value of P1 is gradually changed according to a preset method; S103, the user adjusts the LED light source to a working power P2 corresponding to the brightness, and starts confirmation.
  • the LED light source stores the working power P2 as an initial working power of the next time the LED light source starts.
  • step S102 further includes step S104. If the user does not meet the conditions for switching the dimming mode, the LED light source operates at the initial power P1.
  • the preferred solution is that the steps S101, S102 and 103 are performed cyclically, the initial power of the LED light source after one cycle is P1, the initial power of the LED light source after the second cycle is P2, and so on, and the Nth time the LED light source is turned on The initial power at this time is the working power Pn-1 at the N-1th time.
  • the preferred solution is: the user's request to start the LED light source in step S101 can be started by a switch.
  • the switching condition of the dimming mode in step S102 may be: the time interval between turning off and turning on is less than N seconds.
  • the preset method in step S102 is "gradually decreasing brightness from P1 value to zero brightness", or “gradually increasing from P1 value to highest brightness”, the preset method is 1% accuracy, 5 The rate changes in% / second, stays for a preset time when it reaches the maximum value, and then cyclically changes.
  • the invention also provides a dimming system controlled by a switch input and a single chip microcomputer, which is characterized by comprising: a device for starting an LED light source for receiving a switch sent by a user and turning it off within a preset time; a programmable controller, Determine whether the opening is within a preset time after closing and output the variable working power according to the preset change law; or save the working power P1 after receiving the switch signal closed by the user, and output as P1 next time the power is turned on; The working power P1 sent by the programmable controller is described; the LED light source, the working power P1 received by the power supply unit is turned on.
  • the device for starting the LED light source is a pull switch, a sluice switch, a push button switch, a microwave control switch, a radio frequency control switch, a sound control switch or an infrared switch.
  • the power supply unit outputs constant current DC power.
  • the invention combines a programmable controller and a constant current power source with existing LED light sources and control switches, so that the LED dimming accuracy can be arbitrarily adjusted within the range of 1-100%, breaking the bottleneck of brightness adjustment, and greatly improving the dimming method. Practicality and convenience, has outstanding substantial advantages.
  • FIG. 1 is a flowchart of a first embodiment of the present invention
  • Figure 3 is a schematic diagram of the system of the present invention.
  • Embodiments of the present invention provide a dimming method and system controlled by a switch input and a single-chip microcomputer.
  • the method includes:
  • S101 Receive a user's request to start an LED light source, and light up the LED light source according to the last working power P1 value of the LED light source;
  • the last working power P1 value of the LED light source is stored in the dimmable system.
  • the LED light source enters the adjustable mode after being turned on. At this time, the brightness of the LED light source gradually changes from the last working power P1 value according to a preset manner.
  • the user adjusts the LED light source to a working power P2 corresponding to a suitable brightness, and starts confirmation.
  • the LED light source stores the working power P2.
  • the steps S101, S102, and S103 can be performed cyclically.
  • the steps S101, S102 and 103 are performed cyclically, the initial power of the LED light source after one cycle is P1, the initial power of the LED light source after the second cycle is P2, and so on, and the initial power of the Nth time when the LED light source is turned on is the first N-1 times working power Pn-1.
  • the request of the user to start the LED light source in the step S101 may be started through a switch.
  • the preset method may be "gradually decreasing brightness from P1 value to zero brightness", or “gradually increasing from P1 value to maximum brightness”, gradually brightening or darkening, to give a description
  • Scheme 1 Change with 1% accuracy and 5% / sec rate, according to user setting-> plus 1% ( ⁇ 50%); according to user setting-> minus 1% ( ⁇ 50%); stay at the maximum value Pre-set time, and then cyclical changes, as long as the brightness of the LED light source can be changed through a certain rule.
  • Option 2 Change with 0.5% accuracy and 3% / second rate, user setting-> plus 0.5% ( ⁇ 50%); user setting-> minus 0.5% ( ⁇ 50%); stay at the maximum value Pre-set time, and then cyclical changes, as long as the brightness of the LED light source can be changed through a certain rule. No more exhausting here.
  • step S102 if the switching condition is not satisfied during the switching of the switch from off to on, the LED light source is turned on according to the output power of the P1 value of the last time the light source is turned on after the LED light source is turned on.
  • a switching input, single-chip computer-controlled dimming method of the present invention combines a programmable controller and a constant current power supply with existing LED light sources and control switches, so that the LED dimming accuracy is within the range of 1-100%. It can be adjusted arbitrarily to break the bottleneck of brightness adjustment, which greatly improves the practicability and convenience of the dimming method, and has outstanding substantial advantages.
  • the dimming switching in step S102 may be a time interval between turning off the signal and turning on the LED light source, and the preset range is 0-N seconds.
  • the LED light source enters the first working mode. At this time, the LED The brightness of the light source is 15%. If you need to change the brightness of the LED light source, you only need to turn the button switch off and then on again to turn the LED light source off and on. At the same time, you must ensure that the recognition time between turning off and turning on the light is a preset time of 0-N seconds. It will enter the adjustable mode. At this time, it is adjusted with 1% accuracy and 5% per second.
  • the user can start the adjustment from the power P1; stay at the maximum value for 3 seconds, and then reverse the cycle as long as it can pass.
  • a certain rule can change the brightness of the LED light source, and keep cycling. If you find a suitable brightness, you can automatically save and save the second power P2 with a brightness of 50% if you turn off the switch. The light source will automatically display the Secondary power P2, brightness 50%, no need to repeat setting again.
  • the present invention also includes a dimming system controlled by a switch input and a single-chip microcomputer, as shown in FIG. 2: A dimming system controlled by a single-chip microcomputer is shown in FIG. 2
  • the system 10 includes: a device 11 for starting an LED light source for receiving an on or dimming signal sent by a user; a programmable controller 12 for storing a working power P selected by the LED light source in real time and sending it to a power source unit; a power source The unit 13 receives the working power P sent by the programmable controller; the LED light source 14 receives the working power output by the power supply unit and is turned on.
  • the device 11 for starting the LED light source is a pull switch, a knife switch, a button switch, a microwave control switch, a radio frequency control switch, a sound control switch or an infrared switch.
  • the power supply unit 12 outputs a constant current voltage.
  • the programmable controller 12 can be implemented as “gradually decreasing from the highest brightness to zero brightness”, and also can be “gradually increasing from zero brightness to the highest brightness”, and continuously cycle, with the increasing or decreasing range being the highest 1% of the brightness value, but the last adjusted working power P is stored.
  • the brightness of the LED light source is turned off for the last time is 15%, and the corresponding power value is P1.
  • the LED light source enters the first working mode. At this time, the brightness of the LED light source is 15%. . If the brightness of the LED light source needs to be changed, the device 11 for starting the LED light source needs to be turned off and then turned on, and the LED light source 14 is turned off and then turned on. At the same time, it is necessary to ensure that the recognition time between turning off and turning on the light is a preset time 0— In N seconds, the LED light source 14 will enter the adjustable mode.
  • the adjustment is performed at a precision of 1% and a rate of 5% / second.
  • the user can adjust from the power P1 and the brightness of 15%; stay at 3 when the maximum value is reached Second, and then reverse the cycle, as long as the brightness of the LED light source can be changed through a certain regularity, and continuously cycle, if you find a suitable brightness, you can simply turn off the device 11 that starts the LED light source, and it can be automatically saved by the programmable controller 12
  • the second power P2 the brightness is 50%, any time after turning on the LED light source to automatically display the adjusted second power P2, the brightness is 50%, there is no need to repeat the setting again.
  • the recognition time between turning off and turning on the light is not within a preset time of 0-N seconds, the LED light source is turned on and the last working power P1 is turned on to light up the LED light source to work .
  • the switch input and single-chip computer-controlled dimming method of the present invention utilizes a combination of a programmable controller and a power supply unit to drive a light source within a range of 0-100% dimming accuracy so that a user can obtain a desired brightness of the light and automatically save it.
  • the LED dimming method breaks through the technical bottleneck of the brightness adjustment range, greatly improving the practicability and convenience of the dimming method, and has outstanding substantial advantages.

Abstract

Disclosed are a single-chip microcomputer controlled light tuning method and system based on an on-off input. Said system comprises: an apparatus for starting an LED light source, configured to receive on-off and turning-off sent by a user and start within a preset time; a programmable controller, configured to determine whether to turn-on after turn-off is performed within a preset time, and output a varying working power according to a preset change rule, or save a working power P1 after having received an on-off signal, from a user, to turn-off, and output the P1 at the next turning-on; a power supply unit, configured to receive the working power P1 sent by the programmable controller; the LED light source, configured to receive the working power P1 outputted from the power supply unit and to light. The present invention enables, by the actions of "turn-off" and "turn-on" at a single time, a light tuning module to drive the light source to change within a 1-100% light tuning accuracy range so that a user can obtain a desired light brightness, which is automatically memorized and saved, improving the practicality and convenience of the light tuning method, and therefore the invention has prominent substantive advantages.

Description

[根据细则91更正 20.09.2019] 一种开关输入、单片机控制的调光方法和系统[Corrected according to Rule 91. 20.09.2019] A switch input, single-chip computer-controlled dimming method and system 技术领域Technical field
[根据细则91更正 20.09.2019] 
本发明涉及LED光源技术领域,具体涉及开关输入、单片机控制的调光方法和系统。
[Corrected under Rule 91. 20.09.2019]
The invention relates to the technical field of LED light sources, in particular to a dimming method and system controlled by a switch input and a single-chip microcomputer.
背景技术Background technique
LED具有节能、环保、寿命长、体积小等特点,应用十分广泛,人们在使用过程中希望能够调节光源亮度,这样不仅节约电能、降低浪费,同时避免了LED灯长期在超负荷状态下工作,提高了LED的运行效率和使用寿命。LED has the characteristics of energy saving, environmental protection, long life, small size, etc., and is widely used. People hope to be able to adjust the brightness of the light source during use. This will not only save power and reduce waste, but also avoid long-term operation of LED lights under overload. Improved LED operating efficiency and service life.
 目前,市场上已有部分LED灯具或LED光源带有调光功能,其调光方式包括:At present, some LED lamps or LED light sources on the market have dimming functions. The dimming methods include:
(1)可控硅调光。这种方式需专门定做LED灯具及专门安装配合可控硅调光方式的旋钮开关,使用安装成本高且麻烦。(1) Triac dimming. This method requires special custom-made LED lamps and knob switches that are specially installed and matched with the thyristor dimming method. The installation cost is high and troublesome.
(2)遥控开关调光。这种方式需要灯具上安装与遥控器配套的驱动器,一旦没有遥控器则不能实现调光,成本高。(2) Remote control switch dimming. This method requires a driver for the remote control to be installed on the luminaire. Once there is no remote control, dimming cannot be achieved, and the cost is high.
(3)基于集成IC控制电路调光方式。这种方式虽不需另外配置设备,但需要在设定时间内(一般0—2秒)连续多次开关,而且没有记忆功能,每次使用前都需要重复进行设置,使用麻烦,用户体验差。(3) Dimming method based on integrated IC control circuit. Although this method does not require additional equipment configuration, it needs to be turned on and off multiple times within the set time (usually 0-2 seconds), and there is no memory function. The setting must be repeated before each use, which is troublesome to use and has a poor user experience. .
(4)0-10v/1-10v调光,需要另外配调光器和额外的拉线,成本高,而且每次使用都是从关开始,从最小的功率或最大功率调整到需要的调光亮度;(4) 0-10v / 1-10v dimming, which requires additional dimmers and additional cables, which is costly, and each use starts from the off, and adjusts from the minimum power or maximum power to the required dimming brightness;
(5)电阻调光,需要外界电位器,而且不能一个控制多个灯;(5) Resistor dimming requires external potentiometers and cannot control multiple lights at one time;
因此,如何解决现有LED调光方式存在的各种问题,设计一种操作更为简便的调光方法成为本领域技术人员重点研究的课题。Therefore, how to solve various problems existing in the existing LED dimming methods, and design a dimming method that is more convenient to operate has become a subject of focus for those skilled in the art.
技术问题technical problem
本发明要解决的技术问题在于,针对现有调光方式的各种问题,提供一种开关输入、单片机控制的调光方法和系统,该方法随时保存工作功率P,每次打开就按上次的功率使用,需要调光时,仅需把开关关闭然后在几秒内(预设时间内)打开,亮度变化可从上一次的工作功率P开始进行调节,达到认为合适的亮度关闭即可以保存,便可实现调整LED光源亮度,这使得调节更加简单实用。The technical problem to be solved by the present invention is to provide a switching input and a single-chip computer-controlled dimming method and system for various problems of the existing dimming methods. The method saves the working power P at any time, For power usage, when dimming is needed, just turn the switch off and then turn it on within a few seconds (preset time). The brightness change can be adjusted from the last working power P, and it can be saved when the brightness is deemed appropriate. , You can adjust the brightness of the LED light source, which makes the adjustment more simple and practical.
技术解决方案Technical solutions
本发明解决上述技术问题所采用的技术方案是:一种开关输入、单片机控制的调光方法,其特征在于,包括:S101,接收用户启动LED光源的请求,按照LED光源最后一次的工作功率P1为初始工作功率值点亮LED光源;S102,若用户需要调节LED光源的亮度,启动切换调光模式,则LED光源开启后进入可调节模式,此时,LED光源的亮度从最后一次的工作功率P1值根据预设方式逐渐变化;S103,用户调节LED光源至适合亮度对应的工作功率P2,启动确认,LED光源存储所述工作功率P2为LED光源的下一次开始的初始工作功率。The technical solution adopted by the present invention for solving the above technical problems is: a switch input and a single-chip computer-controlled dimming method, which is characterized by including: S101, receiving a user's request to start an LED light source, and according to the last working power P1 of the LED light source Light the LED light source for the initial working power value; S102, if the user needs to adjust the brightness of the LED light source and start to switch the dimming mode, the LED light source enters the adjustable mode after it is turned on. At this time, the brightness of the LED light source is changed from the last working power. The value of P1 is gradually changed according to a preset method; S103, the user adjusts the LED light source to a working power P2 corresponding to the brightness, and starts confirmation. The LED light source stores the working power P2 as an initial working power of the next time the LED light source starts.
其中,优选方案为:步骤S102还包括步骤S104,若用户不满足切换调光模式的条件,则,LED光源以初始功率P1工作。The preferred solution is that step S102 further includes step S104. If the user does not meet the conditions for switching the dimming mode, the LED light source operates at the initial power P1.
其中,优选方案为:所述S101、S102以及103步骤循环进行,一次循环后LED光源的初始功率为P1,二次循环后LED光源的初始功率为P2,以此类推,第N次LED光源开启时的初始功率是第N-1次的工作功率Pn-1。Among them, the preferred solution is that the steps S101, S102 and 103 are performed cyclically, the initial power of the LED light source after one cycle is P1, the initial power of the LED light source after the second cycle is P2, and so on, and the Nth time the LED light source is turned on The initial power at this time is the working power Pn-1 at the N-1th time.
其中,优选方案为:所述步骤S101中的用户启动LED光源的请求,可以通过开关进行启动。Among them, the preferred solution is: the user's request to start the LED light source in step S101 can be started by a switch.
其中,优选方案为:步骤S102中的调光模式的切换条件可为:关闭然后打开的时间间隔小于N秒。Among them, the preferred solution is that the switching condition of the dimming mode in step S102 may be: the time interval between turning off and turning on is less than N seconds.
其中,优选方案为:步骤S102中的预设方式为 “由P1值亮度逐渐递减至零亮度”,或“由P1值逐渐递增至最高亮度”,所述预设方式以1%的精度、5%/秒的速率变化,到最值时停留预设时间,再反过来循环变动。Among them, the preferred solution is: the preset method in step S102 is "gradually decreasing brightness from P1 value to zero brightness", or "gradually increasing from P1 value to highest brightness", the preset method is 1% accuracy, 5 The rate changes in% / second, stays for a preset time when it reaches the maximum value, and then cyclically changes.
本发明还提供一种开关输入、单片机控制的调光系统,其特征在于:包括:一启动LED光源的装置,用于接收用户发送的开关和关闭在预设时间内打开;可编程控制器,判断关闭后打开是否在预设的时间内,且根据预设的变化规律输出变动工作功率;或接收用户关闭的开关信号后保存工作功率P1,下次打开就按P1输出;电源单元,接收所述可编程控制器发送的工作功率P1; LED光源,接收电源单元输出的工作功率P1点亮。The invention also provides a dimming system controlled by a switch input and a single chip microcomputer, which is characterized by comprising: a device for starting an LED light source for receiving a switch sent by a user and turning it off within a preset time; a programmable controller, Determine whether the opening is within a preset time after closing and output the variable working power according to the preset change law; or save the working power P1 after receiving the switch signal closed by the user, and output as P1 next time the power is turned on; The working power P1 sent by the programmable controller is described; the LED light source, the working power P1 received by the power supply unit is turned on.
其中,优选方案为:所述启动LED光源的装置为拉线开关、闸刀开关、按钮开关、微波控制开关、射频控制开关、声控开关或红外开关。Among them, a preferred solution is that the device for starting the LED light source is a pull switch, a sluice switch, a push button switch, a microwave control switch, a radio frequency control switch, a sound control switch or an infrared switch.
其中,优选方案为:电源单元输出恒流直流电。Among them, the preferred solution is that the power supply unit outputs constant current DC power.
有益效果Beneficial effect
本发明将可编程控制器和恒流电源与现有LED光源和控制开关相结合,使LED调光精度在1—100%范围内可任意调节,突破亮度调节瓶颈,大大地提高了调光方法的实用性和方便性,具有突出的实质优点。The invention combines a programmable controller and a constant current power source with existing LED light sources and control switches, so that the LED dimming accuracy can be arbitrarily adjusted within the range of 1-100%, breaking the bottleneck of brightness adjustment, and greatly improving the dimming method. Practicality and convenience, has outstanding substantial advantages.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below with reference to the accompanying drawings and embodiments. In the drawings:
图1是本发明第一实施例流程图;FIG. 1 is a flowchart of a first embodiment of the present invention;
图2为本发明的第二实施例的流程图;2 is a flowchart of a second embodiment of the present invention;
图3是本发明系统的原理图。Figure 3 is a schematic diagram of the system of the present invention.
本发明的最佳实施方式Best Mode of the Invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施方式。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the implementation manners. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work fall into the protection scope of the present invention.
本发明实施例提供一种开关输入、单片机控制的调光方法和系统。Embodiments of the present invention provide a dimming method and system controlled by a switch input and a single-chip microcomputer.
参见图1,该方法,包括:Referring to FIG. 1, the method includes:
S101,接收用户启动LED光源的请求,按照LED光源最后一次的工作功率P1值点亮LED光源;S101. Receive a user's request to start an LED light source, and light up the LED light source according to the last working power P1 value of the LED light source;
其中,LED光源最后一次的工作功率P1值存储于可调光的系统中。The last working power P1 value of the LED light source is stored in the dimmable system.
S102,用户若需要调节LED光源的亮度,启动切换调光模式,则LED光源开启后进入可调节模式,此时,LED光源的亮度从最后一次的工作功率P1值根据预设方式逐渐变化。In S102, if the user needs to adjust the brightness of the LED light source and start to switch the dimming mode, the LED light source enters the adjustable mode after being turned on. At this time, the brightness of the LED light source gradually changes from the last working power P1 value according to a preset manner.
S103,用户调节LED光源至适合亮度对应的工作功率P2,启动确认,LED光源存储所述工作功率P2。S103. The user adjusts the LED light source to a working power P2 corresponding to a suitable brightness, and starts confirmation. The LED light source stores the working power P2.
其中,所述步骤S101、S102以及S103可循环进行。所述S101、S102以及103步骤循环进行,一次循环后LED光源的初始功率为P1,二次循环后LED光源的初始功率为P2,以此类推,第N次LED光源开启时的初始功率是第N-1次的工作功率Pn-1。The steps S101, S102, and S103 can be performed cyclically. The steps S101, S102 and 103 are performed cyclically, the initial power of the LED light source after one cycle is P1, the initial power of the LED light source after the second cycle is P2, and so on, and the initial power of the Nth time when the LED light source is turned on is the first N-1 times working power Pn-1.
其中 ,所述步骤S101中的用户启动LED光源的请求,可以通过开关进行启动。Wherein, the request of the user to start the LED light source in the step S101 may be started through a switch.
需要说明的是,所述预设方式可以为“由P1值亮度逐渐递减至零亮度”,还可以为“由P1值逐渐递增至最高亮度”,渐亮或者变暗,举列子说明,方案1:以1%的精度、5%/秒的速率变化,根据用户设定->加1%(<50%);根据用户设定->减1%(≥50%);到最值时停留预设定时间,再反过来循环变动只要可通过一定的规律使LED光源的亮度发生变化即可。方案2:以0.5%的精度、3%/秒的速率变化,用户设定->加0.5%(<50%);用户设定->减0.5%(≥50%);到最值时停留预设定时间,再反过来循环变动只要可通过一定的规律使LED光源的亮度发生变化即可。这里不再穷举。It should be noted that the preset method may be "gradually decreasing brightness from P1 value to zero brightness", or "gradually increasing from P1 value to maximum brightness", gradually brightening or darkening, to give a description, Scheme 1 : Change with 1% accuracy and 5% / sec rate, according to user setting-> plus 1% (<50%); according to user setting-> minus 1% (≥50%); stay at the maximum value Pre-set time, and then cyclical changes, as long as the brightness of the LED light source can be changed through a certain rule. Option 2: Change with 0.5% accuracy and 3% / second rate, user setting-> plus 0.5% (<50%); user setting-> minus 0.5% (≥50%); stay at the maximum value Pre-set time, and then cyclical changes, as long as the brightness of the LED light source can be changed through a certain rule. No more exhausting here.
步骤S102中,若开关的关、开的切换过程中,不满足切换条件,则LED光源开启后,按照最后一次关闭灯光的P1值输出功率点亮LED光源。In step S102, if the switching condition is not satisfied during the switching of the switch from off to on, the LED light source is turned on according to the output power of the P1 value of the last time the light source is turned on after the LED light source is turned on.
由上可知,本发明的一种开关输入、单片机控制的调光方法将可编程控制器和恒流电源与现有LED光源和控制开关相结合,使LED调光精度在1—100%范围内可任意调节,突破亮度调节瓶颈,大大地提高了调光方法的实用性和方便性,具有突出的实质优点。As can be seen from the above, a switching input, single-chip computer-controlled dimming method of the present invention combines a programmable controller and a constant current power supply with existing LED light sources and control switches, so that the LED dimming accuracy is within the range of 1-100%. It can be adjusted arbitrarily to break the bottleneck of brightness adjustment, which greatly improves the practicability and convenience of the dimming method, and has outstanding substantial advantages.
具体地,步骤S102的调光切换可以为关闭信号与开启LED光源的时间间隔,所述预设范围为0—N秒。Specifically, the dimming switching in step S102 may be a time interval between turning off the signal and turning on the LED light source, and the preset range is 0-N seconds.
如图2所示:例如,用户第一次按压按钮开关开启LED光源时,最后一次关闭LED光源的亮度为15%,对应的功率值为P1,LED光源进入第一工作模式,此时,LED光源的亮度15%。若需要改变LED光源的亮度,则只需将按钮开关关闭再开启,使LED光源关闭后再开启,同时需保证关灯与开灯之间的识别时间为预设时间0—N秒,LED光源就会进入可调节模式,此时以1%的精度、5%/秒的速率变化调节,用户可以从功率P1,开始进行调节;到最值时停留3秒,再反过来循环变动只要可通过一定的规律使LED光源的亮度发生变化即可,不断循环,若找到合适亮度只需关闭开关即可自动记忆保存第二次功率P2,亮度50%,以后任何时候开启光源自动显示调节后的第二次功率P2,亮度50%,无需再次重复设置。As shown in Figure 2: For example, when the user presses the button switch for the first time to turn on the LED light source, the last time the LED light source is turned off with a brightness of 15% and the corresponding power value is P1. The LED light source enters the first working mode. At this time, the LED The brightness of the light source is 15%. If you need to change the brightness of the LED light source, you only need to turn the button switch off and then on again to turn the LED light source off and on. At the same time, you must ensure that the recognition time between turning off and turning on the light is a preset time of 0-N seconds. It will enter the adjustable mode. At this time, it is adjusted with 1% accuracy and 5% per second. The user can start the adjustment from the power P1; stay at the maximum value for 3 seconds, and then reverse the cycle as long as it can pass. A certain rule can change the brightness of the LED light source, and keep cycling. If you find a suitable brightness, you can automatically save and save the second power P2 with a brightness of 50% if you turn off the switch. The light source will automatically display the Secondary power P2, brightness 50%, no need to repeat setting again.
另外,本发明还包括一开关输入、单片机控制的调光系统,如图2所示:                                             In addition, the present invention also includes a dimming system controlled by a switch input and a single-chip microcomputer, as shown in FIG. 2: A dimming system controlled by a single-chip microcomputer is shown in FIG. 2
所述系统10包括:一启动LED光源的装置11,用于接收用户发送的开启或调光信号;可编程控制器12,用于存储LED光源实时选择的工作功率P并发送至电源单元;电源单元13,接收所述可编程控制器发送的工作功率P; LED光源14,接收电源单元输出的工作功率点亮。The system 10 includes: a device 11 for starting an LED light source for receiving an on or dimming signal sent by a user; a programmable controller 12 for storing a working power P selected by the LED light source in real time and sending it to a power source unit; a power source The unit 13 receives the working power P sent by the programmable controller; the LED light source 14 receives the working power output by the power supply unit and is turned on.
其中,启动LED光源的装置11为拉线开关、闸刀开关、按钮开关、微波控制开关、射频控制开关、声控开关或红外开关。Wherein, the device 11 for starting the LED light source is a pull switch, a knife switch, a button switch, a microwave control switch, a radio frequency control switch, a sound control switch or an infrared switch.
其中,所述电源单元12输出恒流电压。The power supply unit 12 outputs a constant current voltage.
需要说明的是,所述可编程控制器12可以实现为“由最高亮度逐渐递减至零亮度”,还可以为“由零亮度逐渐递增至最高亮度”,并且不断循环,递增或递减幅度为最高亮度值的1%,但并将最后调节好的工作功率P存储。It should be noted that the programmable controller 12 can be implemented as "gradually decreasing from the highest brightness to zero brightness", and also can be "gradually increasing from zero brightness to the highest brightness", and continuously cycle, with the increasing or decreasing range being the highest 1% of the brightness value, but the last adjusted working power P is stored.
例如,用户第一次按压启动LED光源的装置11时,最后一次关闭LED光源的亮度为15%,对应的功率值为P1,LED光源进入第一工作模式,此时,LED光源的亮度15%。若需要改变LED光源的亮度,则只需将启动LED光源的装置11关闭再开启,使LED光源14关闭后再开启,同时需保证关灯与开灯之间的识别时间为预设时间0—N秒,LED光源14就会进入可调节模式,此时以1%的精度、5%/秒的速率变化调节,用户可以从功率P1,亮度为15%开始进行调节;到最值时停留3秒,再反过来循环变动只要可通过一定的规律使LED光源的亮度发生变化即可,不断循环,若找到合适亮度只需关闭启动LED光源的装置11即可通过可编程控制器12自动记忆保存第二次功率P2,亮度50%,以后任何时候开启LED光源自动显示调节后的第二次功率P2,亮度50%,无需再次重复设置。For example, when the user presses the device 11 for starting the LED light source for the first time, the brightness of the LED light source is turned off for the last time is 15%, and the corresponding power value is P1. The LED light source enters the first working mode. At this time, the brightness of the LED light source is 15%. . If the brightness of the LED light source needs to be changed, the device 11 for starting the LED light source needs to be turned off and then turned on, and the LED light source 14 is turned off and then turned on. At the same time, it is necessary to ensure that the recognition time between turning off and turning on the light is a preset time 0— In N seconds, the LED light source 14 will enter the adjustable mode. At this time, the adjustment is performed at a precision of 1% and a rate of 5% / second. The user can adjust from the power P1 and the brightness of 15%; stay at 3 when the maximum value is reached Second, and then reverse the cycle, as long as the brightness of the LED light source can be changed through a certain regularity, and continuously cycle, if you find a suitable brightness, you can simply turn off the device 11 that starts the LED light source, and it can be automatically saved by the programmable controller 12 The second power P2, the brightness is 50%, any time after turning on the LED light source to automatically display the adjusted second power P2, the brightness is 50%, there is no need to repeat the setting again.
若关闭启动LED光源的装置11关闭再开启,不满足关灯与开灯之间的识别时间为预设时间0—N秒中,则LED光源开启保留上一次的工作功率P1点亮LED光源工作。If the device 11 for turning on and turning off the LED light source is turned off and then on again, the recognition time between turning off and turning on the light is not within a preset time of 0-N seconds, the LED light source is turned on and the last working power P1 is turned on to light up the LED light source to work .
本发明一种开关输入、单片机控制的调光方法利用可编程控制器与电源单元相结合,驱动光源在0—100%调光精度范围内让用户获得所需的灯光亮度,并自动记忆保存。该LED调光方法突破亮度调节范围技术瓶颈,大大地提高了调光方法的实用性和方便性,具有突出的实质优点。The switch input and single-chip computer-controlled dimming method of the present invention utilizes a combination of a programmable controller and a power supply unit to drive a light source within a range of 0-100% dimming accuracy so that a user can obtain a desired brightness of the light and automatically save it. The LED dimming method breaks through the technical bottleneck of the brightness adjustment range, greatly improving the practicability and convenience of the dimming method, and has outstanding substantial advantages.
 以上所述者,仅为本发明优选实施例而已,并非用于限制本发明的范围,凡依本发明申请专利范围所作的等效变化或修饰,皆为本发明所涵盖。The foregoing are merely preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent changes or modifications made in accordance with the scope of the patent application for the present invention are covered by the present invention.

Claims (10)

  1. 一种开关输入、单片机控制的调光方法,其特征在于,包括:A switching input, single-chip computer-controlled dimming method, which is characterized by:
    S101,接收用户启动LED光源的请求,按照LED光源最后一次的工作功率P1为初始工作功率值点亮LED光源;S101. Receive a user's request to start an LED light source, and light up the LED light source according to the last working power P1 of the LED light source as the initial working power value;
    S102,若用户需要调节LED光源的亮度,启动切换调光模式,则LED光源开启后进入可调节模式,此时,LED光源的亮度从最后一次的工作功率P1值根据预设方式逐渐变化;S102, if the user needs to adjust the brightness of the LED light source and start to switch the dimming mode, the LED light source enters an adjustable mode after being turned on. At this time, the brightness of the LED light source gradually changes from the last working power P1 value according to a preset manner;
    S103,用户调节LED光源至适合亮度对应的工作功率P2,启动确认,LED光源存储所述工作功率P2为LED光源的下一次开始的初始工作功率。S103. The user adjusts the LED light source to a working power P2 corresponding to the brightness, and starts confirmation. The LED light source stores the working power P2 as an initial working power of the next time the LED light source starts.
  2. 根据权利要求1所述的调光方法,其特征在于,步骤S102还包括步骤S104,若用户不满足切换调光模式的条件,则,LED光源以初始功率P1工作。The dimming method according to claim 1, wherein step S102 further comprises step S104, and if the user does not meet the condition for switching the dimming mode, the LED light source operates at the initial power P1.
  3. 根据权利要求1所述的调光方法,其特征在于,所述S101、S102以及103步骤循环进行,一次循环后LED光源的初始功率为P1,二次循环后LED光源的初始功率为P2,以此类推,第N次LED光源开启时的初始功率是第N-1次的工作功率Pn-1。The dimming method according to claim 1, wherein the steps S101, S102 and 103 are performed cyclically, the initial power of the LED light source after one cycle is P1, and the initial power of the LED light source after two cycles is P2, By analogy, the initial power when the LED light source is turned on for the Nth time is the working power Pn-1 for the N-1th time.
  4. 根据权利要求1所述的调光方法,其特征在于,所述步骤S101中的用户启动LED光源的请求,可以通过开关进行启动。The dimming method according to claim 1, wherein the user's request to start the LED light source in step S101 can be started by a switch.
  5. 根据权利要求1所述的调光方法,其特征在于,步骤S102中的调光模式的切换条件可为:关闭然后打开的时间间隔小于N秒。The dimming method according to claim 1, wherein a switching condition of the dimming mode in step S102 is: a time interval between turning off and turning on is less than N seconds.
  6. 根据权利要求1所述的调光方法,其特征在于,步骤S102中的预设方式为 “由P1值亮度逐渐递减至1%亮度”,或“由P1值逐渐递增至最高亮度”。The dimming method according to claim 1, wherein the preset method in step S102 is "gradually decreasing brightness from P1 value to 1% brightness", or "gradually increasing from P1 value to highest brightness".
  7. 根据权利要求7所述的调光方法,其特征在于,所述预设方式以1%的精度、5%/秒的速率变化,到最值时停留预设时间,再反过来循环变动。The dimming method according to claim 7, wherein the preset method changes with an accuracy of 1% and a rate of 5% / second, stays for a preset time when it reaches the maximum value, and then cyclically changes in turn.
  8. 一种开关输入、单片机控制的调光系统,其特征在于:包括:一启动LED光源的装置,用于接收用户发送的开关和关闭在预设时间内打开;可编程控制器,判断关闭后打开是否在预设的时间内,且根据预设的变化规律输出变动工作功率;或接收用户关闭的开关信号后保存工作功率P1,下次打开就按P1输出;电源单元,接收所述可编程控制器发送的工作功率P1; LED光源,接收电源单元输出的工作功率P1点亮。A switch-input, single-chip computer-controlled dimming system, which is characterized by comprising: a device for starting an LED light source for receiving a switch sent by a user and turning it off within a preset time; a programmable controller that turns on after determining that it is turned off Whether to output the variable working power within a preset time and according to a preset change rule; or save the working power P1 after receiving the switch signal turned off by the user, and output it as P1 next time it is turned on; the power supply unit receives the programmable control The working power P1 sent by the transmitter; LED light source, the working power P1 output from the receiving power unit is on.
  9. 如权利要求8所述的调光系统,其特征在于,所述启动LED光源的装置为拉线开关、闸刀开关、按钮开关、微波控制开关、射频控制开关、声控开关或红外开关。The dimming system according to claim 8, wherein the device for activating the LED light source is a pull switch, a knife switch, a button switch, a microwave control switch, a radio frequency control switch, a sound control switch, or an infrared switch.
  10. 如权利要求8所述的调光系统,其特征在于,电源单元输出恒流直流电。The dimming system according to claim 8, wherein the power supply unit outputs a constant current DC power.
PCT/CN2018/087877 2018-05-22 2018-05-22 Single-chip microcomputer controlled light tuning method and system based on on-off input WO2019222920A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880055900.2A CN111226505A (en) 2018-05-22 2018-05-22 Light adjusting method and system controlled by switch input and single chip microcomputer
PCT/CN2018/087877 WO2019222920A1 (en) 2018-05-22 2018-05-22 Single-chip microcomputer controlled light tuning method and system based on on-off input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/087877 WO2019222920A1 (en) 2018-05-22 2018-05-22 Single-chip microcomputer controlled light tuning method and system based on on-off input

Publications (1)

Publication Number Publication Date
WO2019222920A1 true WO2019222920A1 (en) 2019-11-28

Family

ID=68616078

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/087877 WO2019222920A1 (en) 2018-05-22 2018-05-22 Single-chip microcomputer controlled light tuning method and system based on on-off input

Country Status (2)

Country Link
CN (1) CN111226505A (en)
WO (1) WO2019222920A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235901A (en) * 2020-09-27 2021-01-15 深圳拓邦股份有限公司 Method for realizing light modulation of LED lamp by using switch, LED lamp light modulation system and LED lamp

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607818A (en) * 2012-12-25 2014-02-26 生迪光电科技股份有限公司 A light-adjustable LED lamp and a light adjusting method
US20140312776A1 (en) * 2011-06-24 2014-10-23 Planet System Co., Ltd. Dimming led lighting system
CN104735874A (en) * 2015-03-20 2015-06-24 彭云 Lamp and dimming method thereof
CN105744676A (en) * 2016-01-29 2016-07-06 高玉扬 Simple on/off-based LED dimming method
CN105848384A (en) * 2016-04-12 2016-08-10 东莞市励晶电子科技有限公司 Illuminating lamp light modulation method and illuminating lamp adopting such light modulation method
CN107222954A (en) * 2016-03-21 2017-09-29 美的集团股份有限公司 The control method and control system of lighting apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554977A (en) * 2015-12-18 2016-05-04 罗震 Switch, control method thereof and control device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140312776A1 (en) * 2011-06-24 2014-10-23 Planet System Co., Ltd. Dimming led lighting system
CN103607818A (en) * 2012-12-25 2014-02-26 生迪光电科技股份有限公司 A light-adjustable LED lamp and a light adjusting method
CN104735874A (en) * 2015-03-20 2015-06-24 彭云 Lamp and dimming method thereof
CN105744676A (en) * 2016-01-29 2016-07-06 高玉扬 Simple on/off-based LED dimming method
CN107222954A (en) * 2016-03-21 2017-09-29 美的集团股份有限公司 The control method and control system of lighting apparatus
CN105848384A (en) * 2016-04-12 2016-08-10 东莞市励晶电子科技有限公司 Illuminating lamp light modulation method and illuminating lamp adopting such light modulation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235901A (en) * 2020-09-27 2021-01-15 深圳拓邦股份有限公司 Method for realizing light modulation of LED lamp by using switch, LED lamp light modulation system and LED lamp

Also Published As

Publication number Publication date
CN111226505A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
US10582584B2 (en) LED security light and LED security light control device thereof
US3919592A (en) High intensity discharge mercury vapor lamp dimming system
US20090256483A1 (en) Load Control Device Having a Visual Indication of an Energy Savings Mode
US4286195A (en) Dimmer circuit for fluorescent lamps
CA2429789A1 (en) Dimming control system for electronic ballasts
RU2009147312A (en) SCHEME AND METHOD FOR ADJUSTING THE LAMP LIGHT POWER
WO2019222920A1 (en) Single-chip microcomputer controlled light tuning method and system based on on-off input
JP2016536747A (en) Control method for multiple lamps
US8593078B1 (en) Universal dimming ballast platform
US8569968B2 (en) Method for adjusting light brightness using a toggle switch and related illuminant system
EP3481156A1 (en) Led lamp power supply
KR20030077841A (en) Dimming apparatus
CN108174474B (en) LED lamp with dimming function during opening and closing and dimming method during opening and closing
KR200280581Y1 (en) dimming apparatus
US11528793B1 (en) High-compatibility lighting dimmer
TW201334624A (en) Methods and lighting appliance to regulate illumination with change of ambient light
CN213213899U (en) Double-path dimming and color mixing system controlled by point contact switch input single chip microcomputer
KR200292350Y1 (en) Illumination Controlling Apparatus
KR200388931Y1 (en) Low voltage delay break device of the lamp
CN109041345B (en) Method capable of manually setting dimming range of lamp and lamp system
CN109413794B (en) Remote controller control device with replaceable function
US10390392B2 (en) Method for controlling an output of an electrical AC voltage
JPS6141118B2 (en)
FI96472B (en) Method for adjusting the operation of the dimmer and the dimmer
TWI584686B (en) Single circuit can adjust the load of the circuit structure

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18919642

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19/03/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18919642

Country of ref document: EP

Kind code of ref document: A1