[go: up one dir, main page]

CN101778505A - User-friendly control method for LED lamps - Google Patents

User-friendly control method for LED lamps Download PDF

Info

Publication number
CN101778505A
CN101778505A CN200910104807A CN200910104807A CN101778505A CN 101778505 A CN101778505 A CN 101778505A CN 200910104807 A CN200910104807 A CN 200910104807A CN 200910104807 A CN200910104807 A CN 200910104807A CN 101778505 A CN101778505 A CN 101778505A
Authority
CN
China
Prior art keywords
state
circuit
color
lamp
state information
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
Application number
CN200910104807A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN200910104807A priority Critical patent/CN101778505A/en
Priority to PCT/CN2009/001571 priority patent/WO2010078716A1/en
Publication of CN101778505A publication Critical patent/CN101778505A/en
Pending legal-status Critical Current

Links

Images

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]
    • H05B45/20Controlling the colour of the light

Landscapes

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

Abstract

The invention relates to a user-friendly control method for LED lamps, which realizes the control of color or brightness of the LED lamps by using a single switch. The control method comprises an AC-DC circuit, a DC-AC circuit, a power failure detection circuit, a microprogrammed control unit (MCU) circuit (with a built-in EEPROM) and an LED drive circuit. The invention is characterized by utilizing the capacitor capability of storing electric energy, when the power is off, the power failure detection circuit and the MCU can continue working, the power failure detection circuit transmits a message to the MCU, and the MCU sets the state information of the lamp according to the time length from on-state to off-state and stores the parameters and the state information of the LED lamp to the EEPROM; and when the power is off, the parameters and the state information of the LED lamp in the EEPROM are read, and the MCU outputs PWM to the LED drive circuit to finally control the working current of the LED circuit, thereby realizing the control of the color or brightness.

Description

Control method of LED lamp convenient to use
Technical Field
The invention relates to a control method when a Light Emitting Diode (LED) is used as a decorative lighting lamp, in particular to a method for controlling the color or brightness of an LED lamp by using a switch of an original lamp after the original traditional lamp is replaced with the LED lamp using the control method. The method is suitable for various LED decorative lighting lamps, and belongs to the technical field of semiconductor lighting and singlechip application.
Background
The LED lamp can conveniently create a harmonious and warm living working environment, so that people can work and live in a comfortable, flexible and personalized lighting environment with artistic charm, and the traditional lamp lighting cannot be compared. With the continuous improvement of LED technology, LED lamps have actually entered the field of decorative lighting, and related lamps are continuously emerging. Compared with the traditional lamp, the LED lamp has the advantages of energy conservation, environmental protection, convenient control and the like, is a new light source in twenty-first century, and becomes a mainstream lamp.
The color of nature is composed of three primary colors of Red (Red), Green (Green) and Blue (Blue), and the combination of different brightness of the three primary colors of Red, Green and Blue can generate various colors. One of the most obvious advantages of LED lamps is that the conventional lamps do not have any advantage, i.e. the user can control parameters such as color or brightness of the lamp at will. That is, the brightness of the three primary colors of red, green and blue can be controlled and configured together, and the most suitable illumination light with the favorite color can be obtained.
At present, some control methods of LED lamps with adjustable color or brightness are controlled by wireless remote control or infrared remote control, most of the control methods are one-to-one, but with the popularization of LEDs, the LED lamps can enter places such as families in large quantities, and when a plurality of LED lamps are arranged in one place, the LED lamps are inevitably interfered and mutually influenced when being remotely controlled, so that correct and effective control cannot be carried out.
Disclosure of Invention
The invention provides a control method of an LED lamp which is convenient to use based on the technical background, and the color or the brightness of the LED lamp can be controlled without a remote controller.
The method comprises the following steps:
the color or brightness of the LED lamp can be controlled by a single switch, the switch of the LED lamp is turned on, the LED lamp is quickly turned off and then turned on, the color or brightness of the LED lamp can be automatically changed, when the color or brightness which you like is reached, the LED lamp can be turned off, and when the LED lamp is turned on again, the color or brightness which you need can be reached.
Furthermore, the control method of the invention comprises the following parts to form a control circuit: the LED lamp comprises an AC-DC circuit (the DC power supply lamp does not have the part), a DC-DC circuit (2), a power failure detection circuit (3), a three-primary-color microprocessor MCU (MCU) (provided with an EEPROM circuit (4)) and a three-primary-color LED drive circuit (5) in a built-in mode.
The AC-DC circuit (1) provides direct current power supply for the lamp system, and utilizes the capacity of the capacitor to store electric energy, when the power supply is turned off, the voltage on the capacitor can be kept for a little time, then the power failure detection circuit (3) and the three-primary-color microprocessor MCU circuit (4) can continue to work, the power failure detection circuit (3) detects that the power supply is turned off and sends a message to the microprocessor MCU, the microprocessor MCU realizes the setting of the lamp STATE information (L-STATE) according to the time between the turning on and the turning off, and stores the current RGB parameters and status information (L-STATE) of the LED lamp into EEPROM, when the power is turned on, and (3) reading RGB parameters and STATE information (L-STATE) of the LED lamp in the EEPROM, outputting three paths of PWM to three paths of LED driving circuits (5) by a microprocessor MCU circuit, and finally controlling the working current of the three primary color LED circuit (6) so as to realize color control.
Correspondingly, the color control corresponds to a three primary color LED fixture and the brightness control corresponds to a single color LED fixture.
The invention is applied to the LED lamp, and can be suitable for any shape of any three-primary-color luminous LED as a lighting source, and any style of decorative lamp or lighting lamp; and the LED lamp can be used for any single-color LED lamp needing brightness adjustment.
The invention is applied to the LED lamp, can realize the control of the color or the brightness of the lamp, and can exert the advantages and the advantages of the semiconductor light source to the maximum extent. Corresponding to infrared remote control or wireless remote control, it has following main advantages:
1. the original power supply circuit does not need to be changed, and the lamp using the control method built in the invention can be used for replacing the original lamp.
2. The original switch can be used for realizing the on and off of the lamp and the control of the color or the brightness.
3. The lamps can be connected in parallel, and one switch is used for realizing the on-off of the lamps and the control of color or brightness.
4. The LED lamp is absolutely energy-saving, and has no standby power consumption after being turned off compared with an infrared remote control or wireless remote control LED lamp, and is the same as a traditional lamp.
Drawings
The technical scheme of the invention is further explained in detail by combining the attached drawings. Wherein,
FIG. 1 is a three primary colors AC power supply hardware diagram
FIG. 2 is a hardware diagram of three primary DC power supply
FIG. 3 is a hardware diagram of a three primary color dedicated control module
FIG. 4 is a hardware diagram of a control module dedicated for three primary colors
FIG. 5 is a diagram of three hardware components of a three primary color dedicated control module
FIG. 6 is a diagram of four hardware components of a three primary color dedicated control module
FIG. 7 is a hardware diagram of a three primary color dedicated control module
FIG. 8 is a schematic diagram of a three primary color startup process
FIG. 9 is a schematic diagram of a three primary color shutdown workflow
FIG. 10 is a schematic diagram of the operation flow of the three primary colors in the automatic cycle mode
FIG. 11 is a schematic diagram of a monochrome AC power supply hardware
FIG. 12 is a schematic diagram of a single-color DC power supply
FIG. 13 hardware diagram of a monochrome dedicated control module
FIG. 14 is a diagram of a hardware implementation of a monochrome dedicated control module
FIG. 15 is a diagram of three hardware components of a monochrome application specific control module
FIG. 16 is a diagram of four hardware components of a monochrome dedicated control module
FIG. 17 is a diagram of five hardware components of a monochrome dedicated control module
FIG. 18 is a schematic view of a monochrome opening workflow
FIG. 19 is a schematic view of a monochrome closing workflow
FIG. 20 is a schematic view of a monochrome automatic cycle mode workflow
Detailed Description
Fig. 1 is a schematic diagram of three primary colors ac power supply hardware, and a control portion includes: the LED driving circuit comprises an AC-DC circuit (1), a DC-DC circuit (2), a power failure detection circuit (3), a three-primary-color microprocessor MCU circuit (4) and three LED driving circuits (5).
Fig. 2 is a schematic diagram of three primary color dc power supply hardware, and the control part includes: the LED driving circuit comprises a DC-DC circuit (2), a power failure detection circuit (3), a three-primary-color microprocessor MCU circuit (4) and three LED driving circuits (5).
The AC-DC circuit (1) in fig. 1 is partially removed, and the AC input is changed to DC input, which is a hardware schematic diagram of three primary colors DC power supply, as shown in fig. 2.
The AC-DC circuit (1) provides direct current power supply for a lamp system, the capacity of storing electric energy is utilized, when the power supply is turned off, the voltage on the capacity can be kept for a little time, at the moment, a power failure detection circuit (3) and a three-primary color microprocessor MCU circuit (4) can continue to work, the power failure detection circuit (3) detects that the power supply is turned off and sends a message to the microprocessor MCU, the microprocessor MCU realizes the setting of lamp STATE information (L-STATE) according to the time between the turning on and the turning off, and stores the current RGB parameters and the STATE information (L-STATE) of the LED lamp into an EEPROM, when the power supply is turned on, the RGB parameters and the STATE information (L-STATE) of the LED lamp in the EEPROM are read, the three-primary color microprocessor MCU circuit (4) outputs three paths of PWM to a three-primary color LED drive circuit (5), and finally the working current of the three-primary, thereby achieving color control.
An AC-DC circuit (1) part: alternating current and direct current voltage conversion, wherein the input is alternating current, the input can be high voltage (AC110V or AC220V), and the input can also be low voltage (such as AC 12V or AC 24V), and the output direct current voltage VCC is used for supplying power to the LED lamp system.
A DC-DC circuit (2) part: the method is a direct current voltage conversion method, an input direct current voltage VCC is converted into direct current voltages VDD for work of a power failure detection circuit (3), a three primary color microprocessor MCU circuit (4) and the like, VCC-VDD is preferably more than or equal to 2V, so that a stable output voltage VDD can be obtained, and capacitors C1 and C2 have proper and sufficiently large capacity, so that when the power failure occurs, the voltage of the point A is reduced from VCC to power failure, the VDD voltage can be kept for a certain time, and the microprocessor MCU has sufficient time to store RGB parameters and STATE information (L-STATE) of an LED lamp in the power failure to an EEPROM.
The power failure detection circuit (3) part: when the voltage of the point A is detected to be reduced from VCC and power down, a message is sent to a three-primary-color microprocessor MCU circuit (4), the microprocessor MCU starts a three-primary-color closing work flow, and RGB parameters and STATE information (L-STATE) of an LED lamp during power down are stored in an EEPROM.
A three primary color microprocessor MCU circuit (4) part: the LED lamp is a core part, a single chip microprocessor containing an EEPROM erasable memory and the like is arranged in the LED lamp, and the LED lamp mainly completes system control, detection processing and storage of RGB parameters and STATE information (L-STATE), output of three paths of PMWs and the like, wherein the three paths of PWM correspond to three primary colors of red, green and blue, and the PWM can be formed by software.
Three-way LED drive circuit (5) part: three driving circuits are arranged in the three-primary-color LED driving circuit, three PWM (pulse-width modulation) output from the three-primary-color microprocessor MCU circuit (4) respectively control one driving circuit, and finally, three LED driving circuits (5) control the working current of each LED of the three-primary-color LED circuit (6).
The present invention employs a Pulse Width Modulation (PWM) technique, which is a very efficient technique for controlling an analog circuit using the digital output of a microprocessor. And the microprocessor MCU outputs PWM to control whether the light-emitting diode light source emits light or not and the intensity of the light emission. When energized, the LED emits light, the intensity of which is controlled by the pulse width. In one working period, the pulse width determines the conduction time of the LED current, the conduction time is long, the current is large, and the brightness of the LED is high. The LED brightness parameter is set by the MCU, and the control range is 2aIf a is 9, then it is 29512, i.e. the control range mayUp to 512 levels of luminance, i.e. 0-511, corresponding to binary 000000000-. That is, when the data is 000000000, the on time is 0/512, the generated pulse width is 0, the LED does not emit light, and when it is 111111111, the on time is 511/512, the average current is close to the maximum value, and the LED emits almost the strongest light. Therefore, the on-off and the size of the current of each electrode of the LED can be controlled in a digital form, and the LED light source does not emit light and has luminous intensity. Due to the human visual persistence characteristic, the frequency of the modulation pulse PWM output by the microprocessor MCU is more than or equal to 10KHz, thereby keeping the lighting effect of the lamp.
Three primary color LED circuit (6) portion: the LED lamp consists of LEDs and corresponding current-limiting resistors, three LED circuits including R (Red ), G (Green) and B (Blue) are arranged in the LED lamp, the number of each LED circuit can be one or a plurality of LEDs connected in series according to the requirement of the lamp, or a plurality of LEDs connected in series and then in parallel, so that the purpose of expanding the number of LEDs is achieved, and the brightness of the lamp is increased.
The DC-DC circuit (2), the power failure detection circuit (3), and the three primary color microprocessor MCU circuit (4) in fig. 1 or fig. 2 may be integrated into an asic to form a three primary color dedicated control module one (7), as shown in the dashed box of fig. 3.
Similarly, the DC-DC circuit (2), the power-down detection circuit (3), the three-primary-color microprocessor MCU circuit (4), and the three-way LED driving circuit (5) in fig. 1 or fig. 2 may be integrated into an asic to form a two (8) three-primary-color dedicated control module, as shown in the dashed-line frame of fig. 4.
Similarly, the power down detection circuit (3) and the three primary color microprocessor MCU circuit (4) in fig. 1 or fig. 2 may be integrated into an asic to form a three primary color dedicated control module three (9), as shown in the dashed box of fig. 5.
Similarly, the power-down detection circuit (3), the three-primary-color microprocessor MCU circuit (4), and the three-way LED driving circuit (5) in fig. 1 or fig. 2 may be integrated into an asic to form a three-primary-color dedicated control module four (10), as shown in the dashed-line frame of fig. 6.
Similarly, the three-primary-color microprocessor MCU circuit (4) and the three-way LED driving circuit (5) in fig. 1 or fig. 2 may be integrated into an asic to form a three-primary-color dedicated control module (11), as shown in the dashed-line frame of fig. 7.
Fig. 8 is a three primary color on workflow diagram.
When K01 in fig. 1 or K02 in fig. 2 is turned on, the three primary color on workflow is entered, which includes the following steps:
reading RGB parameters and STATE information (L-STATE) of an LED lamp in an EEPROM;
initializing related parameters;
turning on an OPEN-TIME (OPEN-TIME) to work;
judging the lamp STATE information (L-STATE), if the lamp STATE information (L-STATE) is 0, then the lamp STATE information is in an automatic cycle mode (three primary colors automatic cycle), if the lamp STATE information (L-STATE) is 1, then the lamp STATE information is in a fixed mode (fixed color), and lighting the LED lamp according to the corresponding STATE information (L-STATE) and the RGB parameters of the LED lamp;
when the STATE (T-STATE) of the power-on timer is 0, reading the parameter of the power-on timer, if the parameter is 1, returning to the judgment of the above lamp STATE information (L-STATE) and entering a working cycle;
judging the power-on TIME, if the OPEN-TIME is larger than or equal to N, stopping the power-on timer, setting the STATE (T-STATE) of the power-on timer to be 1, if the OPEN-TIME is smaller than N, setting the STATE (T-STATE) of the power-on timer to be 0;
finally, returning to the above lamp status information (L-STATE) determination, the duty cycle is entered.
Fig. 9 is a three primary color shutdown workflow.
Turning off K01 in FIG. 1 or K02 in FIG. 2, when the power is turned off, the three primary color off workflow is entered, that is, the power down detection flow is entered, which includes the following steps:
reading the STATE information (T-STATE) of the power-on timer, if the STATE information (T-STATE) is 0, setting the STATE information (L-STATE) of the lamp to be 0;
if the STATE information (T-STATE) of the power-on timer is 1 and the STATE information (L-STATE) of the original lamp is 0, setting the STATE information (L-STATE) of the lamp to be 1, and storing the RGB parameters of the current LED lamp;
if the STATE information (T-STATE) of the power-on timer is 1 and the STATE information (L-STATE) of the original lamp is 1, the RGB parameters and the STATE information (L-STATE) of the tricolor LED lamp are unchanged;
finally, storing RGB parameters and STATE information (L-STATE) of the tricolor LED lamp into an EEPROM (electrically erasable programmable read-only memory) in the MCU;
the three primary color close workflow ends.
Lamp status information (L-STATE): 0: automatic circulation mode, 1: fixed mode
Power-on timer (OPEN-TIME): length of time for turning on power supply
Power on timer status (T-STATE): 0: OPEN-TIME < N, 1: OPEN-TIME is not less than N
N may be determined by the system software according to the actual needs, for example, N2 seconds.
FIG. 10 is a schematic diagram of the three primary colors automatic cycle mode, in which RGB represents the three primary colors Red (Red) Green (Green) Blue (Blue), respectively; m represents the control range of RGB, i.e. the adjustable number of stages, the control range is 2aIf a is 9, m is 511, and the control range is from 0 to 511.
The automatic change of RGB three primary color parameters can reach the three primary color automatic cycle mode. When the RGB parameters are 0(12) at the same time, the lamp is turned off and not lit, when the RGB parameters are slowly increased at the same time, it is slowly lit (white light), when the RGB reaches maximum m, the lamp is brightest white (13) (RGB brightness, wavelength is configured according to the standard three primary colors), then R is not changed, GB is slowly decreased to 0(14), then red is present, RB is not changed, G is slowly increased to m (15), then yellow is present, then GB is not changed, R is slowly decreased to 0(16), then green is present, then GR is not changed, B is slowly increased to m (17), then light green is present, then RB is not changed, G is slowly decreased to 0(18), then blue is present, then GB is not changed, R is slowly increased to m (19), then purple is present, then RB is not changed, G is slowly increased to m (12), then it returns to white again, an automatic cycle is completed, that is to start from three primary color motion cycle (12), automatic cycling from off (12) -white (13) -red (14) -yellow (15) -green (16) -light green (17) -blue (18) -purple (19) -white (13).
The time from (12) to (13), or (13) to (14), or.
Fig. 11 is a schematic diagram of a monochrome ac power supply hardware, and the control portion includes: the LED driving circuit comprises an AC-DC circuit (1), a DC-DC circuit (2), a power failure detection circuit (3), a single-color microprocessor MCU circuit (20) and a single-circuit LED driving circuit (21).
Fig. 12 is a schematic diagram of a monochrome dc power supply hardware, and the control portion includes: the LED driving circuit comprises a DC-DC circuit (2), a power failure detection circuit (3), a single-color microprocessor MCU circuit (20) and a single-circuit LED driving circuit (21).
The AC-DC circuit (1) in fig. 11 is partially removed, and the AC input is changed to DC input, which is a hardware schematic diagram of monochrome DC power supply, as shown in fig. 12.
The AC-DC circuit (1) provides direct current power supply for the lamp system, and utilizes the capacity of the capacitor to store electric energy, when the power supply is turned off, the voltage on the capacitor can be kept for a little time, then the power failure detection circuit (3) and the single-color microprocessor MCU circuit (20) can continue to work, the power failure detection circuit (3) detects that the power supply is turned off and sends a message to the microprocessor MCU, the microprocessor MCU realizes the setting of the lamp STATE information (L-STATE) according to the time between the turning on and the turning off, and the current monochromatic LED lamp parameters and status information (L-STATE) are stored in an EEPROM, when the power supply is started, the method comprises the steps of reading parameters and STATE information (L-STATE) of a monochromatic LED lamp in an EEPROM, outputting one path of PWM to a single-path LED driving circuit (21) by a monochromatic microprocessor MCU circuit (20), and finally controlling the working current of a monochromatic LED circuit (22) so as to realize the control of brightness.
An AC-DC circuit (1) part: alternating current and direct current voltage conversion, wherein the input is alternating current, the input can be high voltage (AC110V or AC220V), and the input can also be low voltage (such as AC 12V or AC 24V), and the output direct current voltage VCC is used for supplying power to the LED lamp system.
A DC-DC circuit (2) part: the method is a direct current voltage conversion method, an input direct current voltage VCC is converted into direct current voltages VDD for working of a power failure detection circuit (3), a monochrome microprocessor MCU circuit (20) and the like, VCC-VDD is preferably more than or equal to 2V, so that a stable output voltage VDD can be obtained, and capacitors C1 and C2 have proper and sufficiently large capacity, so that when the power failure occurs, the voltage of a point A is reduced from VCC to power failure, the VDD voltage can be kept for a certain time, and the microprocessor MCU has sufficient time to store monochrome LED lamp parameters and STATE information (L-STATE) in the power failure into an EEPROM.
The power failure detection circuit (3) part: when the voltage of the point A is detected to be reduced from VCC and power down, a message is sent to a single-color microprocessor MCU circuit (20), the microprocessor MCU starts a single-color shutdown working process, and the parameters and STATE information (L-STATE) of a single-color LED lamp during power down are stored in an EEPROM.
A monochrome microprocessor MCU circuit (20) section: the core part is provided with a single chip microprocessor containing an EEPROM erasable memory and the like, and mainly completes system control, single-color LED lamp parameter and STATE information (L-STATE) detection processing and storage, one path of PMW output and the like, and PWM can be formed by software.
One-way LED drive circuit (21) section: the LED driving circuit is internally provided with a driving circuit, a PWM control driving circuit output from the single-color microprocessor MCU circuit (20), and finally, the single-color LED driving circuit (21) controls the LED working current of the single-color LED circuit (22).
Single color LED circuit (22) portion: the LED lamp consists of LEDs and corresponding current-limiting resistors, a path of LED circuit is arranged in the LED lamp, the number of the LEDs can be one, or a plurality of LEDs can be connected in series and then in parallel, so that the purpose of expanding the number of the LEDs is achieved, and the brightness of the lamp is increased.
The DC-DC circuit (2), the power failure detection circuit (3), and the MCU circuit (20) of fig. 11 or fig. 12 may be integrated into an asic to form a monochrome dedicated control module one (23), as shown in the dashed box of fig. 13.
Similarly, the DC-DC circuit (2), the power-down detection circuit (3), the MCU circuit (20) of the monochrome microprocessor, and the three-way LED driving circuit (21) in fig. 11 or fig. 12 can be integrated into an asic to form a second control module (24) for monochrome application, as shown in the dashed box of fig. 14.
Similarly, the power down detection circuit (3) and the MCU circuit (20) of fig. 11 or fig. 12 may be integrated into an asic to form a monochrome dedicated control module iii (25), as shown in the dashed box of fig. 15.
Similarly, the power failure detection circuit (3), the single-color microprocessor MCU circuit (20), and the single-circuit LED driving circuit (21) in fig. 11 or fig. 12 may be integrated into an asic to form a single-color dedicated control module four (26), as shown in the dashed-line frame of fig. 16.
Similarly, the monochrome microprocessor MCU circuit (20) and the one-way LED driving circuit (21) in fig. 11 or fig. 12 can be integrated into an asic to form a monochrome dedicated control module five (27), as shown in the dashed box of fig. 17.
FIG. 18 is a monochrome opening workflow diagram.
When the power is turned on, the monochrome turn-on workflow is entered after K03 in FIG. 11 or K04 in FIG. 12 is closed, and the method comprises the following steps:
reading parameters and STATE information (L-STATE) of a single-color LED lamp in an EEPROM;
initializing related parameters;
turning on an OPEN-TIME (OPEN-TIME) to work;
judging the lamp STATE information (L-STATE), if the lamp STATE information (L-STATE) is 0, then the lamp is in an automatic circulation mode (brightness automatic circulation), if the lamp STATE information (L-STATE) is 1, then the lamp is in a fixed mode (fixed brightness), and lighting the LED lamp according to the corresponding STATE information (L-STATE) and the monochromatic LED lamp parameters;
when the STATE (T-STATE) of the power-on timer is 0, reading the parameter of the power-on timer, if the parameter is 1, returning to the judgment of the above lamp STATE information (L-STATE) and entering a working cycle;
judging the power-on TIME, if the OPEN-TIME is larger than or equal to N, stopping the power-on timer, setting the STATE (T-STATE) of the power-on timer to be 1, if the OPEN-TIME is smaller than N, setting the STATE (T-STATE) of the power-on timer to be 0;
finally, returning to the above lamp status information (L-STATE) determination, the duty cycle is entered.
FIG. 19 is a monochrome shutdown workflow diagram.
When the power is turned off by turning off the K03 in fig. 11 or the K04 in fig. 12, the monochrome turn-off workflow is entered, that is, the power failure detection flow is entered, and the method includes the following steps:
reading the STATE information (T-STATE) of the power-on timer, if the STATE information (T-STATE) is 0, setting the STATE information (L-STATE) of the lamp to be 0;
if the STATE information (T-STATE) of the power-on timer is 1 and the STATE information (L-STATE) of the original lamp is 0, setting the STATE information (L-STATE) of the lamp to be 1 and storing the current monochromatic LED lamp parameters;
if the STATE information (T-STATE) of the power-on timer is 1 and the STATE information (L-STATE) of the original lamp is 1, the parameters and the STATE information (L-STATE) of the monochromatic LED lamp are not changed;
finally, storing the parameters and the STATE information (L-STATE) of the monochromatic LED lamp into an EEPROM (electrically erasable programmable read-only memory) in the MCU;
the monochrome shutdown workflow ends.
Lamp status information (L-STATE): 0: automatic circulation mode, 1: fixed mode
Power-on timer (OPEN-TIME): length of time for turning on power supply
Power on timer status (T-STATE): 0: OPEN-TIME < N, 1: OPEN-TIME is not less than N
N may be determined by the system software according to the actual needs, for example, N2 seconds.
FIG. 20 is a schematic view of a monochrome automatic cycle mode workflow wherein C represents monochrome LED parameters, respectively; m represents the control range of C, namely the adjustable stage number, and the control range is 2aIf a is 9, m is 511, and the control range is from 0 to 511.
And automatically changing the monochrome parameter C, thereby achieving the monochrome automatic circulation mode. The LED parameters C are gradually increased from off 0(28) to m brightest (29), and C is gradually decreased from m to 0 off (28), so as to form an off 0(28) -brightest m (29) -off 0(28) -brightest m (29) to.
The time from (28) to (29), or (29) to (28), is the same, the length of time being determined by the software according to the actual requirements, preferably greater than 1.5N.

Claims (20)

1. A control method of an LED lamp convenient to use comprises a process of realizing color control of a tricolor LED lamp by a single switch, and is characterized in that:
the control method comprises the following steps: the LED driving circuit comprises an AC-DC circuit (1), a DC-DC circuit (2), a power failure detection circuit (3), a three-primary-color microprocessor MCU circuit (4) and three LED driving circuits (5);
the AC-DC circuit (1) provides direct current power supply for the lamp system, and utilizes the capacity of the capacitor to store electric energy, when the power supply is turned off, the voltage on the capacitor can be kept for a little time, then the power failure detection circuit (3) and the three-primary-color microprocessor MCU circuit (4) can continue to work, the power failure detection circuit (3) detects that the power supply is turned off and sends a message to the microprocessor MCU, the microprocessor MCU realizes the setting of the lamp STATE information (L-STATE) according to the time between the turning on and the turning off, and stores the current RGB parameters and status information (L-STATE) of the LED lamp into EEPROM, when the power is turned on, and (3) reading RGB parameters and STATE information (L-STATE) of the LED lamp in the EEPROM, outputting three paths of PWM to three paths of LED driving circuits (5) by a microprocessor MCU circuit, and finally controlling the working current of the three primary color LED circuit (6) so as to realize color control.
2. A control method of an LED lamp convenient to use comprises a process of realizing color control of a tricolor LED lamp by a single switch, and is characterized in that:
the control method comprises the following steps: the LED driving circuit comprises a DC-DC circuit (2), a power failure detection circuit (3), a three-primary-color microprocessor MCU circuit (4) and three LED driving circuits (5);
by utilizing the property that the capacitor can store electric energy, when the power supply is turned off, the voltage on the capacitor can be kept for a little time, at the moment, the power failure detection circuit (3) and the three-primary-color microprocessor MCU circuit (4) can continue to work, the power failure detection circuit (3) detects that the power supply is turned off and sends a message to the microprocessor MCU, the microprocessor MCU realizes the setting of lamp STATE information (L-STATE) according to the time between the turning on and the turning off, the current RGB parameters and the STATE information (L-STATE) of the LED lamp are stored in the EEPROM, when the power supply is turned on, the RGB parameters and the STATE information (L-STATE) of the LED lamp in the EEPROM are read, the microprocessor MCU circuit outputs three paths of PWM to the three paths of LED driving circuits (5), and finally the working current of the three-primary-color LED circuit (6) is controlled, so.
3. The control method of the LED lamp convenient to use according to claim 1 or 2, characterized in that: the DC-DC circuit (2), the power failure detection circuit (3) and the three-primary-color microprocessor MCU circuit (4) can be integrated into a special integrated circuit to form a three-primary-color special control module I (7).
4. The control method of the LED lamp convenient to use according to claim 1 or 2, characterized in that: the DC-DC circuit (2), the power failure detection circuit (3), the three-primary-color microprocessor MCU circuit (4) and the three-path LED drive circuit (5) can be integrated into a special integrated circuit to form a special three-primary-color control module II (8).
5. The control method of the LED lamp convenient to use according to claim 1 or 2, characterized in that: the power failure detection circuit (3) and the three-primary-color microprocessor MCU circuit (4) can be integrated into a special integrated circuit to form a three-primary-color special control module III (9).
6. The control method of the LED lamp convenient to use according to claim 1 or 2, characterized in that: the power failure detection circuit (3), the three-primary-color microprocessor MCU circuit (4) and the three-path LED drive circuit (5) can be integrated into a special integrated circuit to form a three-primary-color special control module four (10).
7. The control method of the LED lamp convenient to use according to claim 1 or 2, characterized in that: the two parts of the three-primary-color microprocessor MCU circuit (4) and the three-path LED driving circuit (5) can be integrated into a special integrated circuit to form a three-primary-color special control module five (11).
8. The control method of the LED lamp convenient to use according to claim 1 or 2, characterized in that: after the power supply is turned on, the three-primary-color starting working process is entered, and the method comprises the following steps:
reading RGB parameters and STATE information (L-STATE) of an LED lamp in an EEPROM;
initializing related parameters;
turning on an OPEN-TIME (OPEN-TIME) to work;
judging the lamp STATE information (L-STATE), if the lamp STATE information (L-STATE) is 0, then the lamp STATE information is in an automatic cycle mode (three primary colors automatic cycle), if the lamp STATE information (L-STATE) is 1, then the lamp STATE information is in a fixed mode (fixed color), and lighting the LED lamp according to the corresponding STATE information (L-STATE) and the RGB parameters of the LED lamp;
when the STATE (T-STATE) of the power-on timer is 0, reading the parameter of the power-on timer, if the parameter is 1, returning to the judgment of the above lamp STATE information (L-STATE) and entering a working cycle;
judging the power-on TIME, if the OPEN-TIME is larger than or equal to N, stopping the power-on timer, setting the STATE (T-STATE) of the power-on timer to be 1, if the OPEN-TIME is smaller than N, setting the STATE (T-STATE) of the power-on timer to be 0;
finally, returning to the above lamp status information (L-STATE) determination, the duty cycle is entered.
9. The control method of the LED lamp convenient to use according to claim 1 or 2, characterized in that: when the power is turned off, the three-primary-color turn-off workflow is entered, which comprises the following steps:
reading the STATE information (T-STATE) of the power-on timer, if the STATE information (T-STATE) is 0, setting the STATE information (L-STATE) of the lamp to be 0;
if the STATE information (T-STATE) of the power-on timer is 1 and the STATE information (L-STATE) of the original lamp is 0, setting the STATE information (L-STATE) of the lamp to be 1 and storing the RGB parameters of the current LED lamp;
if the STATE information (T-STATE) of the power-on timer is 1 and the STATE information (L-STATE) of the original lamp is 1, the RGB parameters and the STATE information (L-STATE) of the tricolor LED lamp are unchanged;
finally, storing RGB parameters and STATE information (L-STATE) of the tricolor LED lamp into an EEPROM (electrically erasable programmable read-only memory) in the MCU;
the three primary color close workflow ends.
10. The control method of the LED lamp convenient to use according to claim 1 or 2, characterized in that: the LED lamp is any shape with any three primary colors luminous LED as a lighting source, and is a decorative lamp or a lighting lamp with any style.
11. A control method of an LED lamp convenient to use comprises a process of realizing brightness control of a single-color LED lamp by a single switch, and is characterized in that:
the control method comprises the following steps: the LED driving circuit comprises an AC-DC circuit (1), a DC-DC circuit (2), a power failure detection circuit (3), a single-color microprocessor MCU circuit (20) and a single-circuit LED driving circuit (21);
the AC-DC circuit (1) provides direct current power supply for the lamp system, and utilizes the capacity of the capacitor to store electric energy, when the power supply is turned off, the voltage on the capacitor can be kept for a little time, then the power failure detection circuit (3) and the single-color microprocessor MCU circuit (20) can continue to work, the power failure detection circuit (3) detects that the power supply is turned off and sends a message to the microprocessor MCU, the microprocessor MCU realizes the setting of the lamp STATE information (L-STATE) according to the time between the turning on and the turning off, and the current monochromatic LED lamp parameters and status information (L-STATE) are stored in an EEPROM, when the power supply is started, the parameters and the STATE information (L-STATE) of the single-color LED lamp in the EEPROM are read, the MCU circuit of the microprocessor outputs one path of PWM to the single-path LED drive circuit (21), and finally the working current of the single-color LED circuit (22) is controlled, so that the brightness is controlled.
12. A control method of an LED lamp convenient to use comprises a process of realizing brightness control of a single-color LED lamp by a single switch, and is characterized in that:
the control method comprises the following steps: the LED driving circuit comprises a DC-DC circuit (2), a power failure detection circuit (3), a single-color microprocessor MCU circuit (20) and a single-circuit LED driving circuit (21);
by utilizing the property that the capacitor can store electric energy, when a power supply is turned off, the voltage on the capacitor can be kept for a little time, at the moment, the power failure detection circuit (3) and the monochromatic microprocessor MCU circuit (20) can continue to work, the power failure detection circuit (3) detects that the power supply is turned off and sends a message to the microprocessor MCU, the microprocessor MCU realizes the setting of lamp STATE information (L-STATE) according to the time between the turning on and the turning off, and stores the current monochromatic LED lamp parameter and STATE information (L-STATE) into the EEPROM, when the power supply is turned on, the monochromatic LED lamp parameter and STATE information (L-STATE) in the EEPROM are read, the microprocessor MCU circuit outputs a PWM to the monochromatic LED drive circuit (21), and finally the working current of the monochromatic LED circuit (22) is controlled, so that the brightness is controlled.
13. The control method of the LED lamp convenient to use according to claim 11 or 12, characterized in that: the DC-DC circuit (2), the power failure detection circuit (3) and the single-color microprocessor MCU circuit (20) can be integrated into a special integrated circuit to form a single-color special control module I (23).
14. The control method of the LED lamp convenient to use according to claim 11 or 12, characterized in that: the DC-DC circuit (2), the power failure detection circuit (3), the single-color microprocessor MCU circuit (20) and the single-circuit LED drive circuit (21) can be integrated into a special integrated circuit to form a second single-color special control module (24).
15. The control method of the LED lamp convenient to use according to claim 11 or 12, characterized in that: the power failure detection circuit (3) and the monochrome microprocessor MCU circuit (20) can be integrated into a special integrated circuit to form a monochrome special control module III (25).
16. The control method of the LED lamp convenient to use according to claim 11 or 12, characterized in that: the power failure detection circuit (3), the single-color microprocessor MCU circuit (20) and the single-circuit LED drive circuit (21) can be integrated into a special integrated circuit to form a single-color special control module IV (26).
17. The control method of the LED lamp convenient to use according to claim 11 or 12, characterized in that: the two parts of the single-color microprocessor MCU circuit (20) and the single-circuit LED drive circuit (21) can be integrated into a special integrated circuit to form a single-color special control module five (27).
18. The control method of the LED lamp convenient to use according to claim 11 or 12, characterized in that: after the power supply is turned on, entering a monochrome starting working process, comprising the following steps:
reading parameters and STATE information (L-STATE) of a single-color LED lamp in an EEPROM;
initializing related parameters;
turning on an OPEN-TIME (OPEN-TIME) to work;
judging the lamp STATE information (L-STATE), if the lamp STATE information (L-STATE) is 0, then the lamp is in an automatic circulation mode (brightness automatic circulation), if the lamp STATE information (L-STATE) is 1, then the lamp is in a fixed mode (fixed brightness), and lighting the LED lamp according to the corresponding STATE information (L-STATE) and the monochromatic LED lamp parameters;
when the STATE (T-STATE) of the power-on timer is 0, reading the parameter of the power-on timer, if the parameter is 1, returning to the judgment of the above lamp STATE information (L-STATE) and entering a working cycle;
judging the power-on TIME, if the OPEN-TIME is larger than or equal to N, stopping the power-on timer, setting the STATE (T-STATE) of the power-on timer to be 1, if the OPEN-TIME is smaller than N, setting the STATE (T-STATE) of the power-on timer to be 0;
finally, returning to the above lamp status information (L-STATE) determination, the duty cycle is entered.
19. The control method of the LED lamp convenient to use according to claim 11 or 12, characterized in that: when the power supply is turned off, the monochrome turning-off working process is entered, and the method comprises the following steps:
reading the STATE information (T-STATE) of the power-on timer, if the STATE information (T-STATE) is 0, setting the STATE information (L-STATE) of the lamp to be 0;
if the STATE information (T-STATE) of the power-on timer is 1 and the STATE information (L-STATE) of the original lamp is 0, setting the STATE information (L-STATE) of the lamp to be 1 and storing the current monochromatic LED lamp parameters;
if the STATE information (T-STATE) of the power-on timer is 1 and the STATE information (L-STATE) of the original lamp is 1, the parameters and the STATE information (L-STATE) of the monochromatic LED lamp are not changed;
finally, storing the parameters and the STATE information (L-STATE) of the monochromatic LED lamp into an EEPROM (electrically erasable programmable read-only memory) in the MCU;
the monochrome shutdown workflow ends.
20. The control method of the LED lamp convenient to use according to claim 11 or 12, characterized in that: the LED lamp is any shape with any monochromatic luminous LED as a lighting source, and is a decorative lamp or a lighting lamp with any style.
CN200910104807A 2009-01-09 2009-01-09 User-friendly control method for LED lamps Pending CN101778505A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910104807A CN101778505A (en) 2009-01-09 2009-01-09 User-friendly control method for LED lamps
PCT/CN2009/001571 WO2010078716A1 (en) 2009-01-09 2009-12-28 Conveniently usable control method for led lamps

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910104807A CN101778505A (en) 2009-01-09 2009-01-09 User-friendly control method for LED lamps

Publications (1)

Publication Number Publication Date
CN101778505A true CN101778505A (en) 2010-07-14

Family

ID=42316201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910104807A Pending CN101778505A (en) 2009-01-09 2009-01-09 User-friendly control method for LED lamps

Country Status (2)

Country Link
CN (1) CN101778505A (en)
WO (1) WO2010078716A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023457A (en) * 2013-03-01 2014-09-03 海洋王(东莞)照明科技有限公司 Power failure detection circuit and lamp
CN104780679A (en) * 2015-04-10 2015-07-15 陕西亚成微电子股份有限公司 Lamp control method and device
CN105960078A (en) * 2016-06-28 2016-09-21 欧普照明股份有限公司 Method and device for controlling state of light source based on microprocessor
CN106413185A (en) * 2016-10-05 2017-02-15 长沙修恒信息科技有限公司 Method for controlling ball crown-shaped decoration lamp
CN106658819A (en) * 2016-10-05 2017-05-10 长沙修恒信息科技有限公司 Control method of petal-shaped decorative lamp
WO2018177429A1 (en) * 2017-04-01 2018-10-04 苏州欧普照明有限公司 Intelligent control method and device of illuminating system, and illuminating system
CN108696968A (en) * 2018-07-12 2018-10-23 宁波升谱光电股份有限公司 A kind of light modulation/shading process for lamps and lanterns
CN108882435A (en) * 2018-04-11 2018-11-23 广东基地灯饰有限公司 It is a kind of that the circuit without stroboscopic continuous light tuning can be achieved
CN111445641A (en) * 2020-04-02 2020-07-24 上海递煌智能科技有限公司 Method, equipment and system for realizing simultaneous picking and placing of parts by multiple persons by adopting multicolor lamplight
CN112601328A (en) * 2020-12-17 2021-04-02 广州彩熠灯光股份有限公司 Lamp control method and device, lamp and storage medium
CN114710859A (en) * 2022-04-24 2022-07-05 江西煜明智慧光电股份有限公司 Multi-primary color full-spectrum LED mixed light source

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200941704Y (en) * 2006-06-09 2007-08-29 姚荣湘 Controllable LED lighting device
CN1874634B (en) * 2006-06-09 2011-10-05 姚荣湘 Controllable LED lighting device and lighting control method thereof
CN2924999Y (en) * 2006-07-04 2007-07-18 西安智海电力科技有限公司 Temperature Brightness Control Constant Current Limiting Voltage WLED Array Lighting
CN201045470Y (en) * 2007-06-20 2008-04-09 林万炯 Color-changing controller for lamp
CN201078622Y (en) * 2007-06-22 2008-06-25 吴强项 Color light mixing control device for providing high-power light emitting diode
CN201114883Y (en) * 2007-08-10 2008-09-10 鹤山丽得电子实业有限公司 Peach Blossom Tree Light Controller

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023457A (en) * 2013-03-01 2014-09-03 海洋王(东莞)照明科技有限公司 Power failure detection circuit and lamp
CN104780679A (en) * 2015-04-10 2015-07-15 陕西亚成微电子股份有限公司 Lamp control method and device
CN105960078B (en) * 2016-06-28 2019-01-18 欧普照明股份有限公司 A kind of method and device based on microprocessor control light emitting source state
CN105960078A (en) * 2016-06-28 2016-09-21 欧普照明股份有限公司 Method and device for controlling state of light source based on microprocessor
CN106413185A (en) * 2016-10-05 2017-02-15 长沙修恒信息科技有限公司 Method for controlling ball crown-shaped decoration lamp
CN106658819A (en) * 2016-10-05 2017-05-10 长沙修恒信息科技有限公司 Control method of petal-shaped decorative lamp
CN106658819B (en) * 2016-10-05 2018-06-26 中山市耐思灯饰电器有限公司 A kind of control method of petal ornament lamp
CN106413185B (en) * 2016-10-05 2018-07-03 福建拓路建设有限公司 A kind of control method of spherical ornament lamp
WO2018177429A1 (en) * 2017-04-01 2018-10-04 苏州欧普照明有限公司 Intelligent control method and device of illuminating system, and illuminating system
CN108882435A (en) * 2018-04-11 2018-11-23 广东基地灯饰有限公司 It is a kind of that the circuit without stroboscopic continuous light tuning can be achieved
CN108696968A (en) * 2018-07-12 2018-10-23 宁波升谱光电股份有限公司 A kind of light modulation/shading process for lamps and lanterns
CN111445641A (en) * 2020-04-02 2020-07-24 上海递煌智能科技有限公司 Method, equipment and system for realizing simultaneous picking and placing of parts by multiple persons by adopting multicolor lamplight
CN112601328A (en) * 2020-12-17 2021-04-02 广州彩熠灯光股份有限公司 Lamp control method and device, lamp and storage medium
CN112601328B (en) * 2020-12-17 2023-08-29 广州彩熠灯光股份有限公司 Lamp control method, device, lamp and storage medium
CN114710859A (en) * 2022-04-24 2022-07-05 江西煜明智慧光电股份有限公司 Multi-primary color full-spectrum LED mixed light source
CN114710859B (en) * 2022-04-24 2023-10-20 江西煜明智慧光电股份有限公司 Multi-primary-color full-spectrum LED (light-emitting diode) light mixing light source

Also Published As

Publication number Publication date
WO2010078716A1 (en) 2010-07-15

Similar Documents

Publication Publication Date Title
CN101778505A (en) User-friendly control method for LED lamps
JP5760176B2 (en) Solid-state light source lighting device and lighting apparatus and lighting system using the same
JP4951369B2 (en) Lighting device and lighting system
JP2008538053A (en) Lighting device having a circuit including a plurality of light emitting diodes, and method for controlling and calibrating the lighting device
JP2009004483A (en) Light emitting diode drive circuit
JP2008527446A (en) Method and apparatus for storing and defining light shows
CN103068123A (en) Light emitting diode (LED) lamp with illumination intensity adjustable
CN201995188U (en) LED (light-emitting diode) film and television lamp with adjustable color temperature and brightness
JP6507449B2 (en) Lighting device, lighting device, and lighting device
US20110279042A1 (en) Led lighting system with auto and manual dimming functions
JP2016081812A (en) Dimming control unit, illumination system and equipment
RU2009147312A (en) SCHEME AND METHOD FOR ADJUSTING THE LAMP LIGHT POWER
CN103929851A (en) LED circuit with dimming function and color matching function
CN201964294U (en) Bionic energy-saving type LED (light-emitting diode) lamp
Wu Design and implementation of an LED automatic lighting system for plant factories
KR101482895B1 (en) Device for lighting light-emitting diode, illumination device, and illumination method
TWI445449B (en) Dimming method with memory feature, dimmable lamp with memory feature and dimmable driving circuit
CN202587548U (en) Light emitting diode (LED) infrared remote control type color-changeable and light-adjustable automotive indoor lighting lamp system
CN219459338U (en) LED lamp
CN110958739A (en) BLE-MSEH intelligent driving power supply
CN205640511U (en) LED intelligence house illumination lamps and lanterns by control of wireless bluetooth
JP4839023B2 (en) Light-emitting diode dimming circuit and lighting device
US10856397B2 (en) Lighting apparatus with wireless module
CN204398735U (en) Automatic induction LED dynamic stereograph
KR101736692B1 (en) Illumination device of Light Emitting Diode

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100714