WO2022100730A1 - Led control method and apparatus, and led illumination apparatus - Google Patents

Led control method and apparatus, and led illumination apparatus Download PDF

Info

Publication number
WO2022100730A1
WO2022100730A1 PCT/CN2021/130612 CN2021130612W WO2022100730A1 WO 2022100730 A1 WO2022100730 A1 WO 2022100730A1 CN 2021130612 W CN2021130612 W CN 2021130612W WO 2022100730 A1 WO2022100730 A1 WO 2022100730A1
Authority
WO
WIPO (PCT)
Prior art keywords
driving unit
led driving
led
control signal
brightness
Prior art date
Application number
PCT/CN2021/130612
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 青岛易来智能科技股份有限公司
Publication of WO2022100730A1 publication Critical patent/WO2022100730A1/en

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/30Driver circuits
    • H05B45/32Pulse-control circuits
    • H05B45/325Pulse-width modulation [PWM]
    • 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
    • H05B45/14Controlling the intensity of the light using electrical feedback from LEDs or from LED modules
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/14Controlling the light source in response to determined parameters by determining electrical parameters of the light source

Definitions

  • Embodiments of the present invention relate to the field of smart homes, and in particular, to an LED control method, a device, and an LED lighting device.
  • the light-emitting diode (Light Emitting Diode, LED for short) driving dimming depth is not high enough to provide stable low-brightness lighting, and cannot meet the increasing demand of consumers for lighting.
  • Embodiments of the present invention provide an LED control method, a device, and an LED lighting device, so as to at least solve the problem of low LED driving dimming depth in the related art.
  • an LED control device including: an MCU (Microcontroller Unit, micro control unit), a first LED driving unit, and a second LED driving unit, wherein the MCU is respectively connected with the first LED driving unit. an LED driving unit, the second LED driving unit is connected,
  • the MCU is configured to, when receiving an adjustment instruction, control the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and control the first LED driving unit and/or the second LED driving unit through the first LED driving unit and/or the The second LED driving unit controls the brightness of the LED load;
  • the first LED driving unit for controlling the brightness of the LED load
  • the second LED driving unit is used to control the brightness of the LED load.
  • the MCU is further configured to send a first control signal to the first LED driving unit according to the adjustment instruction when receiving the adjustment instruction; and/or, after receiving the adjustment instruction , sending a second control signal to the second LED driving unit;
  • the first LED driving unit is further configured to control the brightness of the LED load according to the first control signal; and/or the second LED driving unit is further configured to control the LED load according to the second control signal. the brightness of the LED load.
  • the MCU is further configured to, when receiving the adjustment instruction, adjust the first duty cycle of the first control signal according to the brightness parameter carried in the adjustment instruction, and send the first LED to the first LED.
  • the driving unit sends a first control signal carrying the first duty cycle; and/or, when receiving the adjustment instruction, adjusts the second control signal of the second control signal according to the brightness parameter carried in the adjustment instruction a duty cycle, sending a second control signal carrying the second duty cycle to the second LED driving unit;
  • the first LED driving unit is further configured to control the brightness of the LED load according to the first duty cycle carried in the first control signal; and/or the second LED driving unit is further configured to use The brightness of the LED load is controlled according to the second duty cycle carried in the second control signal.
  • the MCU is further configured to, when receiving the adjustment instruction, if the brightness parameter is greater than 0 and less than a first preset value, send a message carrying the second LED driving unit to the second LED driving unit. the second control signal of the duty cycle;
  • the first control signal carrying the first duty cycle to the first LED driving unit and send the first control signal to the first LED driving unit.
  • the second LED driving unit sends the second control signal carrying the second duty cycle, wherein the first preset value is less than or equal to the second preset value;
  • the first control signal carrying the first duty cycle is sent to the first LED driving unit.
  • the device further includes: a power supply and an upper-end sampling resistor, wherein one end of the upper-end sampling resistor is respectively connected to the positive pole of the power supply and the output end of the first LED driving unit, and the other end of the upper-end sampling resistor is connected. One end is connected to the LED load, and the DC bus current of the power supply passes through the upper sampling resistor, passes through the LED load, and flows through the second LED drive unit to ground.
  • the upper sampling resistor includes at least a first resistor and a second resistor connected in parallel.
  • the first LED driving unit includes a constant current LED driving chip U2;
  • the second LED driving unit at least includes an N-channel MOS transistor Q4 and a triode Q2.
  • the second LED driving unit further includes a resistor R51, a resistor R52, a resistor R53, a resistor R54 and a diode, wherein,
  • the first end of the resistor R53 is connected to the MCU, the second end of the resistor R53 is respectively connected to the first end of the resistor R54 and the C pole of the transistor Q2, and the second end of the resistor R54 is connected to the first end of the resistor R54 respectively.
  • the terminal is connected to the E pole of the transistor Q2, the resistor R52 is connected in parallel with the resistor R51 and then connected to the E pole and B pole of the transistor Q2 in parallel, and the resistor R51 is connected to the N-channel MOS transistor Q4, all The diodes are connected in series.
  • an LED lighting device including the above-mentioned LED control device and an LED load, wherein the LED load is connected to the first LED driving unit and the second LED driving unit respectively. unit connection.
  • an LED control method comprising:
  • the first LED driving unit and/or the second LED driving unit are controlled according to the adjustment instruction, and the brightness of the LED load is controlled by the first LED driving unit and/or the second LED driving unit.
  • a computer-readable storage medium is also provided, where a computer program is stored in the storage medium, wherein the computer program is configured to execute any one of the above method embodiments when running steps in .
  • an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor is configured to run the computer program to execute any of the above Steps in Method Examples.
  • an adjustment instruction is received; the first LED driving unit and/or the second LED driving unit are controlled according to the adjustment instruction, and the first LED driving unit and/or the second LED driving unit are controlled by the first LED driving unit and/or the second LED driving unit Controlled by the LED drive unit, so as to complete the dimming or dimming of the LED load, which can solve the problem of low dimming depth of the LED drive in the related art.
  • the first LED drive unit and/or the second LED drive unit controls and adjusts the LED load. The brightness increases the LED driver dimming depth.
  • FIG. 1 is a flowchart of an LED control method according to an embodiment of the present invention.
  • FIG. 2 is a block diagram 1 of an LED control device according to an embodiment of the present invention.
  • FIG. 3 is a block diagram of an LED control device according to an alternative embodiment of the present invention.
  • FIG. 4 is a block diagram of an LED lighting device according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an LED lamp control circuit according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of the corresponding relationship between current and PWM according to an embodiment of the present invention.
  • FIG. 7 is a second block diagram of an LED control apparatus according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of an LED control method according to an embodiment of the present invention. As shown in FIG. 1 , the flowchart includes the following steps:
  • Step S102 receiving an adjustment instruction
  • Step S104 controlling the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and controlling the brightness of the LED load through the first LED driving unit and/or the second LED driving unit.
  • steps S102 to S104 receive an adjustment instruction; control the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and control the first LED driving unit and/or the second LED driving unit through the first LED driving unit and/or the second LED driving unit
  • Two LED drive units control the brightness of the LED load, so as to complete the dimming or dimming of the LED load, which can solve the problem of the low dimming depth of the LED drive in the related art.
  • the first LED drive unit drives and/or the second LED drive unit Controlling and adjusting the brightness of the LED load improves the dimming depth of the LED driver.
  • step S104 may specifically include:
  • the brightness parameter carried in the instruction adjusts the first duty cycle of the first control signal; sends the first control signal carrying the first duty cycle to the first LED driving unit;
  • the brightness of the LED load is controlled according to the first control signal within the first brightness range, specifically, according to the first duty carried in the first control signal within the first brightness range than controls the brightness of the LED load.
  • step S106 may specifically include:
  • the brightness of the LED load is controlled according to the second control signal within the second brightness range, and specifically, the brightness of the LED load is controlled according to the second duty cycle carried in the second control signal within the second brightness range
  • the brightness parameter in this embodiment may be used to characterize the first brightness range and the second brightness range, and may be the same numerical value or proportional relationship.
  • sending a first control signal to the first LED driving unit, and/or sending a second control signal to the second LED driving unit may further include: if the brightness parameter is greater than 0 , and is less than the first preset value, send the second control signal carrying the second duty cycle to the second LED driving unit; if the brightness parameter is greater than the first preset value and less than For the second preset value, sending the first control signal carrying the first duty cycle to the first LED driving unit and sending the second LED driving unit the first control signal carrying the second duty cycle The second control signal, wherein, the first preset value is less than or equal to the second preset value; if the brightness parameter is greater than the second preset value, send a carry to the first LED driving unit the first control signal of the first duty cycle.
  • the maximum value of the first brightness range is greater than the maximum value of the second brightness range, and the minimum value of the first brightness range is greater than the minimum value of the second brightness range; optionally, the first brightness range The minimum value of is less than or equal to the maximum value of the second luminance range.
  • FIG. 2 is a block diagram 1 of an LED control device according to an embodiment of the present invention. As shown in FIG. 2 , it includes: an MCU22, a first LED driving unit 23, a Two LED driving units 24, wherein the MCU 22 is connected to the first LED driving unit 23 and the second LED driving unit 24, respectively,
  • the MCU 22 is configured to control the first LED drive unit 23 and/or the second LED drive unit 24 according to the adjustment instruction when receiving the adjustment instruction, and control the first LED drive unit 23 and/or the second LED drive unit 24 according to the adjustment instruction. /or the second LED driving unit 24 controls the brightness of the LED load;
  • the first LED driving unit 23 is used to control the brightness of the LED load
  • the second LED driving unit 24 is used to control the brightness of the LED load.
  • FIG. 3 is a block diagram of an LED control device according to an optional embodiment of the present invention.
  • the system further includes a power supply 21 , wherein the power supply 21 is connected to the MCU 22 and the first LED driving unit 23 respectively. , the second LED driving unit 24 is connected, and the power supply 21 is used for supplying power to the MCU 22 and the LED load.
  • the MCU 22 is further configured to send a first control signal to the first LED driving unit 23 when receiving the adjustment instruction; and/or, when receiving the adjustment instruction, send a first control signal to the first LED driving unit 23
  • the second LED driving unit 24 sends a second control signal
  • the first LED driving unit 23 is further configured to control the brightness of the LED load according to the first control signal; and/or the second LED driving unit 24 is further configured to control the brightness of the LED load according to the second control signal Control the brightness of the LED load.
  • the MCU22 is further configured to, when receiving the adjustment instruction, adjust the first duty cycle of the first control signal according to the brightness parameter carried in the adjustment instruction, and send the first LED to the first LED.
  • the driving unit 23 sends a first control signal carrying the first duty cycle; and/or, when receiving the adjustment instruction, adjusts the first control signal of the second control signal according to the brightness parameter carried in the adjustment instruction.
  • Two duty cycles sending a second control signal carrying the second duty cycle to the second LED driving unit 24;
  • the first LED driving unit 23 is further configured to control the brightness of the LED load according to the first duty cycle carried in the first control signal; and/or, the second LED driving unit 24, It is also used for controlling the brightness of the LED load according to the second duty cycle carried in the second control signal.
  • the MCU 22 is further configured to, when receiving the adjustment instruction, if the brightness parameter is greater than 0 and less than a first preset value, send a message to the second LED driving unit 24 that carries the the second control signal with two duty cycles;
  • the second LED driving unit 24 sends the second control signal carrying the second duty cycle, wherein the first preset value is less than or equal to the second preset value;
  • the first control signal carrying the first duty cycle is sent to the first LED driving unit 23 .
  • the device further includes: a power supply and an upper sampling resistor, wherein one end of the upper sampling resistor is connected to the positive pole of the power supply 21 and the output end of the first LED driving unit 23 respectively, and the other end is connected to the LED load.
  • the DC bus current of the power supply 21 passes through the upper sampling resistor, passes through the LED load, and flows through the second LED driving unit 24 to ground.
  • the upper sampling resistor includes at least a first resistor and a second resistor connected in parallel.
  • the first LED driving unit 23 includes a constant current LED driving chip U2;
  • the second LED driving unit 24 at least includes an N-channel MOS transistor Q4 and a triode Q2.
  • the second LED driving unit 24 further includes a resistor R51, a resistor R52, a resistor R53, a resistor R54 and a diode, wherein,
  • the first end of the resistor R53 is connected to the MCU22, the second end of the resistor R53 is respectively connected to the first end of the resistor R54 and the C pole of the transistor Q2, and the second end of the resistor R54 is connected to the first end of the resistor R54 respectively.
  • the terminal is connected to the E pole of the transistor Q2, the resistor R52 is connected in parallel with the resistor R51 and then connected to the E pole and B pole of the transistor Q2 in parallel, and the resistor R51 is connected to the N-channel MOS transistor Q4, all The diodes are connected in series.
  • FIG. 4 is a block diagram of an LED lighting device according to an embodiment of the present invention. As shown in FIG. 4 , it includes the above-mentioned LED control device and an LED load, wherein , the LED loads are respectively connected to the first LED driving unit 23 and the second LED driving unit 24 .
  • the LED loads include cool-color LED loads and/or warm-color LED loads.
  • FIG. 5 is a schematic diagram of an LED lamp control circuit according to an embodiment of the present invention. As shown in FIG. 5 , it includes two independent LED driving units (ie, the above-mentioned first LED driving unit and second LED driving unit) and LED loads.
  • the first drive is a constant current LED driver chip U2;
  • the second drive is a linear LED drive composed of Q4 and Q2;
  • PWM_WW Pulse Width Modulation, pulse width modulation
  • PWM_NL is: a linear drive Control signal; among them, WW+ and WW- connect the light board, that is, the LED load;
  • PWM_WW controls the size of the constant current of U2, and PWM_NL controls the size of the linear drive current.
  • the U2 constant current drive controls the LED light from 100% brightness to 10% brightness, and the linear drive light adjustment range is from 12% brightness to the lowest brightness (one thousandth or even one thousandth of the brightness); if the U2 constant current is used alone The driver cannot achieve deep dimming. If the linear driver is used alone, it cannot meet the driving requirements of medium and high brightness.
  • the brightness is driven by U2 constant current driver, and from 12% to lower brightness, the linear driver composed of Q4 and Q2 is used for driving.
  • the constant current driver and the linear driver are driven at the same time.
  • Two independent LED drivers work together to achieve two-stage dimming, which can not only meet the needs of high brightness, but also achieve deep dimming at low brightness.
  • the U2 current sampling adopts the upper end sampling.
  • the DC bus current first flows through the sampling resistor, and then the two ends of the LED load or the sampling resistor are not directly connected to GND.
  • the sampling resistor in the embodiment of the present invention adopts upper sampling, that is, an upper sampling resistor.
  • the current on the sampling resistor is the sum of the currents flowing through the two drivers.
  • FIG. 6 is a schematic diagram of the corresponding relationship between current and PWM according to an embodiment of the present invention. As shown in FIG. 6 , the minimum output current of the constant current drive U2 is less than or equal to the maximum current of the linear drive, so that the two drives are effectively connected to avoid the dimming process. The LED flashes in the middle.
  • the linear drive When dimming from 100% to low brightness, the linear drive can be turned on at the same time at any time when the constant current drive current of U2 is greater than the maximum current of the linear drive; in this way, the brightness of the lamp will not change because one linear drive is turned on.
  • the upper-end sampling reflects the sum of the output currents of the two drivers, one output current increases, and the other output current decreases, so the total current flowing through the load always follows the current of the sampling resistor; but if it is the lower-end sampling, Because the lower-end sampling does not reflect the output current of the linear drive, when working at the same time, the total current flowing through the load will change, becoming the sum of the current through U2 and the current through the linear drive, and the brightness of the LED changes is not smooth enough. During the adjustment process Brightness jumps will appear.
  • the PWM control signal is sent by the MCU to control the size of the LED drive current. Specifically, the duty cycle of PWM_WW decreases continuously, and the brightness of the lamp gradually dims at this time, while the duty cycle of PWM_NL is always 100%. The duty cycle of PWM_WW is reduced. When the two drive currents are coincident, turn off PWM_WW directly, which is 0%; start to reduce the duty cycle of PWM_NL for linear drive until it reaches the lowest brightness; thus, the brightness from 100% to 1/10,000 brightness seamless connection.
  • the embodiment of the present invention can realize the seamless connection from the lowest brightness of linear driving to 100% brightness.
  • PWM_NL gradually increases, when the two driving currents overlap, the duty cycle corresponding to PWM_WW is started, and then the PWM_WW is gradually increased.
  • the duty cycle is up to 100% or when the duty cycle of PWM_NL is adjusted from the minimum to 100%, then the corresponding current PWM_WW corresponding to a large duty cycle is started.
  • the duty cycle of PWM_NL is 100%, the current of the single night light and the single use
  • the PWM_WW duty cycle is 12%, the current driven by that LED is the same.
  • the embodiment of the present invention may be one output, specifically DC-DC constant current drive circuit + linear drive circuit + LED load, and in an optional embodiment, may also be DC-DC constant current drive circuit + pull-up sampling resistor +Linear drive circuit+LED load.
  • the embodiment of the present invention may also include two or more outputs of cold and warm, specifically, DC-DC constant current drive circuit + cool color LED load, DC-DC constant current drive circuit + linear drive circuit + warm color LED load; linear
  • the drive circuit can be connected to a cool-colored load and/or a warm-colored LED load, usually a warm-colored LED load, because warm-colored LEDs are more suitable for use in the night mode of lamps at low brightness.
  • a pull-up sampling resistor is also added.
  • the RGB color light LED load can also be increased. Since the color light is generally used as an ambient light, the need for deep dimming is not strong.
  • an LED control device is also provided, and the device is used to realize the above-mentioned embodiments and preferred implementation manners, and what has been described will not be repeated.
  • the term "module” may be a combination of software and/or hardware that implements a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.
  • FIG. 7 is a second block diagram of an LED control device according to an embodiment of the present invention, as shown in FIG. 7 , including:
  • a receiving module 72 configured to receive an adjustment instruction
  • the control module 74 is configured to control the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and is controlled by the first LED driving unit and/or the second LED driving unit.
  • control module 74 includes:
  • a sending sub-module configured to send a first control signal to the first LED driving unit according to the adjustment instruction, where the first control signal is used to instruct the first LED driving unit to control the brightness of the LED load; and /or send a second control signal to the second LED driving unit, where the second control signal is used to instruct the second LED driving unit to control the brightness of the LED load.
  • the sending sub-module is further configured to adjust the first duty ratio of the first control signal according to the brightness parameter carried in the adjustment instruction, and send a message carrying the first control signal to the first LED driving unit.
  • the second control signal of two duty cycles.
  • the sending sub-module is further configured to, if the brightness parameter is greater than 0 and less than a first preset value, send the second LED driving unit carrying the second duty cycle to the second LED driving unit.
  • the first control signal carrying the first duty cycle to the first LED driving unit and send the first control signal to the first LED driving unit.
  • the second LED driving unit sends the second control signal carrying the second duty cycle, wherein the first preset value is less than or equal to the second preset value;
  • the first control signal carrying the first duty cycle is sent to the first LED driving unit.
  • the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.
  • Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored in the storage medium, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
  • the above-mentioned storage medium may be configured to store a computer program for executing the following steps:
  • the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM), a random access memory (Random Access Memory, referred to as RAM), Various media that can store computer programs, such as removable hard disks, magnetic disks, or optical disks.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • An embodiment of the present invention further provides an electronic device, comprising a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
  • the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
  • the above-mentioned processor may be configured to execute the following steps through a computer program:
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device, or distributed in a network composed of multiple computing devices Alternatively, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device and executed by the computing device, and in some cases, in a different order than here
  • the steps shown or described are performed either by fabricating them separately into individual integrated circuit modules, or by fabricating multiple modules or steps of them into a single integrated circuit module.
  • the present invention is not limited to any particular combination of hardware and software.

Abstract

Provided are an LED control method and apparatus, and an LED illumination apparatus. The method comprises: receiving an adjustment instruction (S102); and controlling a first LED driving unit and/or a second LED driving unit according to the adjustment instruction, and controlling the brightness of an LED load by means of the first LED driving unit and/or the second LED driving unit (S104), such that the problem in the related art of the dimming depth of an LED driver not being high can be solved. The brightness of the LED load is controlled and adjusted by means of the first LED driving unit and/or the second LED driving unit, thereby improving the dimming depth of the LED driver.

Description

LED控制方法、装置及LED照明装置LED control method, device and LED lighting device 技术领域technical field
本发明实施例涉及智能家居领域,具体而言,涉及一种LED控制方法、装置及LED照明装置。Embodiments of the present invention relate to the field of smart homes, and in particular, to an LED control method, a device, and an LED lighting device.
背景技术Background technique
在一些情况下,发光二极管(Light Emitting Diode,简称为LED)驱动调光深度不高,无法提供稳定的低亮度照明,不能满足消费者对照明日益提高的需求。In some cases, the light-emitting diode (Light Emitting Diode, LED for short) driving dimming depth is not high enough to provide stable low-brightness lighting, and cannot meet the increasing demand of consumers for lighting.
针对相关技术中LED驱动调光深度不高的问题,尚未提出解决方案。Aiming at the problem of low dimming depth of LED driving in the related art, no solution has been proposed yet.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种LED控制方法、装置及LED照明装置,以至少解决相关技术中LED驱动调光深度不高的问题。Embodiments of the present invention provide an LED control method, a device, and an LED lighting device, so as to at least solve the problem of low LED driving dimming depth in the related art.
根据本发明的一个实施例,提供了一种LED控制装置,包括:MCU(Microcontroller Unit,微控制单元)、第一LED驱动单元、第二LED驱动单元,其中,所述MCU分别与所述第一LED驱动单元、所述第二LED驱动单元连接,According to an embodiment of the present invention, an LED control device is provided, including: an MCU (Microcontroller Unit, micro control unit), a first LED driving unit, and a second LED driving unit, wherein the MCU is respectively connected with the first LED driving unit. an LED driving unit, the second LED driving unit is connected,
所述MCU,用于在接收到调节指令时,根据所述调节指令控制所述第一LED驱动单元和/或所述第二LED驱动单元,通过所述第一LED驱动单元和/或所述第二LED驱动单元控制LED负载的亮度;The MCU is configured to, when receiving an adjustment instruction, control the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and control the first LED driving unit and/or the second LED driving unit through the first LED driving unit and/or the The second LED driving unit controls the brightness of the LED load;
所述第一LED驱动单元,用于控制所述LED负载的亮度;the first LED driving unit for controlling the brightness of the LED load;
所述第二LED驱动单元,用于控制所述LED负载的亮度。The second LED driving unit is used to control the brightness of the LED load.
可选地,所述MCU,还用于在接收到所述调节指令时,根据所述调节指令向所述第一LED驱动单元发送第一控制信号;和/或,在接收到所述调节指令时,向所述第二LED驱动单元发送第二控制信号;Optionally, the MCU is further configured to send a first control signal to the first LED driving unit according to the adjustment instruction when receiving the adjustment instruction; and/or, after receiving the adjustment instruction , sending a second control signal to the second LED driving unit;
所述第一LED驱动单元,还用于根据所述第一控制信号控制所述LED负载的亮度;和/或,所述第二LED驱动单元,还用于根据所述第二控制信号控制所述LED负载的亮度。The first LED driving unit is further configured to control the brightness of the LED load according to the first control signal; and/or the second LED driving unit is further configured to control the LED load according to the second control signal. the brightness of the LED load.
可选地,所述MCU,还用于在接收到所述调节指令时,根据所述调节指令中携带的亮度参数调节所述第一控制信号的第一占空比,向所述第一LED驱动单元发送携带所述第一占空比的第一控制信号;和/或,在接收到所述调节指令时,根据所述调节指令中携带的亮度参数调节所述第二控制信号的第二占空比,向所述第二LED驱动单元发送携带有所述第二占空比的第二控制信号;Optionally, the MCU is further configured to, when receiving the adjustment instruction, adjust the first duty cycle of the first control signal according to the brightness parameter carried in the adjustment instruction, and send the first LED to the first LED. The driving unit sends a first control signal carrying the first duty cycle; and/or, when receiving the adjustment instruction, adjusts the second control signal of the second control signal according to the brightness parameter carried in the adjustment instruction a duty cycle, sending a second control signal carrying the second duty cycle to the second LED driving unit;
所述第一LED驱动单元,还用于根据所述第一控制信号中携带的所述第一占空比控制所述LED负载的亮度;和/或,所述第二LED驱动单元,还用于根据所述第二控制信号中携带的所述第二占空比控制所述LED负载的亮度。The first LED driving unit is further configured to control the brightness of the LED load according to the first duty cycle carried in the first control signal; and/or the second LED driving unit is further configured to use The brightness of the LED load is controlled according to the second duty cycle carried in the second control signal.
可选地,所述MCU,还用于在接收到所述调节指令时,若所述亮度参数大于0,且小于第一预设值,向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号;Optionally, the MCU is further configured to, when receiving the adjustment instruction, if the brightness parameter is greater than 0 and less than a first preset value, send a message carrying the second LED driving unit to the second LED driving unit. the second control signal of the duty cycle;
若所述亮度参数大于所述第一预设值,且小于第二预设值,向所述第一LED驱动单元发送携带所述第一占空比的所述第一控制信号以及向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号,其中,所述第一预设值小于或等于所述第二预设值;If the brightness parameter is greater than the first preset value and less than a second preset value, send the first control signal carrying the first duty cycle to the first LED driving unit and send the first control signal to the first LED driving unit. The second LED driving unit sends the second control signal carrying the second duty cycle, wherein the first preset value is less than or equal to the second preset value;
若所述亮度参数大于所述第二预设值,向所述第一LED驱动单元发送携带所述第一占空比的所述第一控制信号。If the brightness parameter is greater than the second preset value, the first control signal carrying the first duty cycle is sent to the first LED driving unit.
可选地,所述装置还包括:电源与上端采样电阻,其中,所述上端采样电阻的一端分别与电源的正极、所述第一LED驱动单元的输出端连接,所述上端采样电阻的另一端与所述LED负载连接,所述电源的直流母线电流通过所述上端采样电阻之后,通过所述LED负载,流经所述第二LED驱动单元接地。Optionally, the device further includes: a power supply and an upper-end sampling resistor, wherein one end of the upper-end sampling resistor is respectively connected to the positive pole of the power supply and the output end of the first LED driving unit, and the other end of the upper-end sampling resistor is connected. One end is connected to the LED load, and the DC bus current of the power supply passes through the upper sampling resistor, passes through the LED load, and flows through the second LED drive unit to ground.
可选地,所述上端采样电阻至少包括并联的第一电阻与第二电阻。Optionally, the upper sampling resistor includes at least a first resistor and a second resistor connected in parallel.
可选地,所述第一LED驱动单元包括恒流LED驱动芯片U2;Optionally, the first LED driving unit includes a constant current LED driving chip U2;
所述第二LED驱动单元至少包括N沟道MOS管Q4与三极管Q2。The second LED driving unit at least includes an N-channel MOS transistor Q4 and a triode Q2.
可选地,所述第二LED驱动单元还包括电阻R51、电阻R52、电阻R53、电阻R54以及二极管,其中,Optionally, the second LED driving unit further includes a resistor R51, a resistor R52, a resistor R53, a resistor R54 and a diode, wherein,
所述电阻R53的第一端与所述MCU连接,所述电阻R53的第二端分别与所述电阻R54连接的第一端、所述三极管Q2的C极连接,所述电阻R54的第二端与所述三极管Q2的E极连接,所述电阻R52与所述电阻R51并联之后与所述三极管Q2的E极、B极并联,所述电阻R51与所述N沟道MOS管Q4、所述二极管串联。The first end of the resistor R53 is connected to the MCU, the second end of the resistor R53 is respectively connected to the first end of the resistor R54 and the C pole of the transistor Q2, and the second end of the resistor R54 is connected to the first end of the resistor R54 respectively. The terminal is connected to the E pole of the transistor Q2, the resistor R52 is connected in parallel with the resistor R51 and then connected to the E pole and B pole of the transistor Q2 in parallel, and the resistor R51 is connected to the N-channel MOS transistor Q4, all The diodes are connected in series.
根据本发明的另一个实施例,还提供了一种LED照明装置,包括上述的LED控制装置以及LED负载,其中,所述LED负载分别与所述第一LED驱动单元、所述第二LED驱动单元连接。According to another embodiment of the present invention, an LED lighting device is further provided, including the above-mentioned LED control device and an LED load, wherein the LED load is connected to the first LED driving unit and the second LED driving unit respectively. unit connection.
根据本发明的另一个实施例,还提供了一种LED控制方法,包括:According to another embodiment of the present invention, an LED control method is also provided, comprising:
接收调节指令;receive adjustment instructions;
根据所述调节指令控制第一LED驱动单元和/或第二LED驱动单元,并通过所述第一LED驱动单元和/或所述第二LED驱动单元控制所述LED负载的亮度。The first LED driving unit and/or the second LED driving unit are controlled according to the adjustment instruction, and the brightness of the LED load is controlled by the first LED driving unit and/or the second LED driving unit.
根据本发明的又一个实施例,还提供了一种计算机可读的存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, where a computer program is stored in the storage medium, wherein the computer program is configured to execute any one of the above method embodiments when running steps in .
根据本发明的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present invention, there is also provided an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor is configured to run the computer program to execute any of the above Steps in Method Examples.
通过本发明实施例,接收调节指令;根据所述调节指令控制所述第一LED驱动单元和/或所述第二LED驱动单元,并通过所述第一LED驱动单元 和/或所述第二LED驱动单元控制,从而完成LED负载调亮或调暗,可以解决相关技术中LED驱动调光深度不高的问题,通过第一LED驱动单元和/或所述第二LED驱动单元控制调整LED负载的亮度,提高了LED驱动调光深度。Through the embodiment of the present invention, an adjustment instruction is received; the first LED driving unit and/or the second LED driving unit are controlled according to the adjustment instruction, and the first LED driving unit and/or the second LED driving unit are controlled by the first LED driving unit and/or the second LED driving unit Controlled by the LED drive unit, so as to complete the dimming or dimming of the LED load, which can solve the problem of low dimming depth of the LED drive in the related art. The first LED drive unit and/or the second LED drive unit controls and adjusts the LED load. The brightness increases the LED driver dimming depth.
附图说明Description of drawings
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described herein are used to provide further understanding of the embodiments of the present invention, and constitute a part of the present application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached image:
图1是根据本发明实施例的LED控制方法的流程图;1 is a flowchart of an LED control method according to an embodiment of the present invention;
图2是根据本发明实施例的LED控制装置的框图一;2 is a block diagram 1 of an LED control device according to an embodiment of the present invention;
图3是根据本发明可选实施例的LED控制装置的框图;3 is a block diagram of an LED control device according to an alternative embodiment of the present invention;
图4是根据本发明实施例的LED照明装置的框图;4 is a block diagram of an LED lighting device according to an embodiment of the present invention;
图5是根据本发明实施例的LED灯控制电路的示意图;5 is a schematic diagram of an LED lamp control circuit according to an embodiment of the present invention;
图6是根据本发明实施例的电流与PWM对应关系的示意图;6 is a schematic diagram of the corresponding relationship between current and PWM according to an embodiment of the present invention;
图7是根据本发明实施例的LED控制装置的框图二。FIG. 7 is a second block diagram of an LED control apparatus according to an embodiment of the present invention.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in conjunction with embodiments. It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict.
需要说明的是,本发明实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms “first” and “second” in the description and claims of the embodiments of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. order.
实施例1Example 1
在本实施例中提供了一种LED控制方法,图1是根据本发明实施例的LED控制方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, an LED control method is provided. FIG. 1 is a flowchart of an LED control method according to an embodiment of the present invention. As shown in FIG. 1 , the flowchart includes the following steps:
步骤S102,接收调节指令;Step S102, receiving an adjustment instruction;
步骤S104,根据所述调节指令控制第一LED驱动单元和/或第二LED驱动单元,并通过所述第一LED驱动单元和/或所述第二LED驱动单元控制所述LED负载的亮度。Step S104, controlling the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and controlling the brightness of the LED load through the first LED driving unit and/or the second LED driving unit.
通过上述步骤S102至S104,接收调节指令;根据所述调节指令控制所述第一LED驱动单元和/或所述第二LED驱动单元,并通过所述第一LED驱动单元和/或所述第二LED驱动单元控制LED负载的亮度,从而完成LED负载调亮或调暗,可以解决相关技术中LED驱动调光深度不高的问题,通过第一LED驱动单元驱动和/或第二LED驱动单元控制调整LED负载的亮度,提高了LED驱动调光深度。Through the above steps S102 to S104, receive an adjustment instruction; control the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and control the first LED driving unit and/or the second LED driving unit through the first LED driving unit and/or the second LED driving unit Two LED drive units control the brightness of the LED load, so as to complete the dimming or dimming of the LED load, which can solve the problem of the low dimming depth of the LED drive in the related art. The first LED drive unit drives and/or the second LED drive unit Controlling and adjusting the brightness of the LED load improves the dimming depth of the LED driver.
本发明实施例中,上述步骤S104具体可以包括:In this embodiment of the present invention, the foregoing step S104 may specifically include:
根据所述调节指令向所述第一LED驱动单元发送第一控制信号,所述第一控制信号用于指示所述第一LED驱动单元控制所述LED负载的亮度,进一步的,根据所述调节指令中携带的亮度参数调节所述第一控制信号的第一占空比;向所述第一LED驱动单元发送携带所述第一占空比的第一控制信号;Send a first control signal to the first LED driving unit according to the adjustment instruction, where the first control signal is used to instruct the first LED driving unit to control the brightness of the LED load, and further, according to the adjustment The brightness parameter carried in the instruction adjusts the first duty cycle of the first control signal; sends the first control signal carrying the first duty cycle to the first LED driving unit;
在所述第一亮度范围内根据所述第一控制信号控制所述LED负载的亮度,具体的,在所述第一亮度范围内根据所述第一控制信号中携带的所述第一占空比控制所述LED负载的亮度。The brightness of the LED load is controlled according to the first control signal within the first brightness range, specifically, according to the first duty carried in the first control signal within the first brightness range than controls the brightness of the LED load.
本发明实施例中,上述步骤S106具体可以包括:In this embodiment of the present invention, the foregoing step S106 may specifically include:
向所述第二LED驱动单元发送第二控制信号,所述第二控制信号用于指示所述第二LED驱动单元控制所述LED负载的亮度,进一步的,根据所述调节指令中携带的亮度参数调节所述第二控制信号的第二占空比;向所述第二LED驱动单元发送携带有所述第二占空比的第二控制信号;Send a second control signal to the second LED drive unit, where the second control signal is used to instruct the second LED drive unit to control the brightness of the LED load, and further, according to the brightness carried in the adjustment instruction adjusting the second duty cycle of the second control signal by parameters; sending a second control signal carrying the second duty cycle to the second LED driving unit;
在所述第二亮度范围内根据所述第二控制信号控制所述LED负载的亮度,具体的,在第二亮度范围内根据所述第二控制信号中携带的所述第二占空比控制所述LED负载的亮度。本实施例中的亮度参数可以用于表征第一亮度范围和第二亮度范围,可以是同一数值也可以是比例关系。The brightness of the LED load is controlled according to the second control signal within the second brightness range, and specifically, the brightness of the LED load is controlled according to the second duty cycle carried in the second control signal within the second brightness range The brightness of the LED load. The brightness parameter in this embodiment may be used to characterize the first brightness range and the second brightness range, and may be the same numerical value or proportional relationship.
在一可选的实施例中,向所述第一LED驱动单元发送第一控制信号,和/或向所述第二LED驱动单元发送第二控制信号进一步可以包括:若所述亮度参数大于0,且小于第一预设值,向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号;若所述亮度参数大于所述第一预设值,且小于第二预设值,向所述第一LED驱动单元发送携带所述第一占空比的所述第一控制信号以及向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号,其中,所述第一预设值小于或等于所述第二预设值;若所述亮度参数大于所述第二预设值,向所述第一LED驱动单元发送携带所述第一占空比的所述第一控制信号。In an optional embodiment, sending a first control signal to the first LED driving unit, and/or sending a second control signal to the second LED driving unit may further include: if the brightness parameter is greater than 0 , and is less than the first preset value, send the second control signal carrying the second duty cycle to the second LED driving unit; if the brightness parameter is greater than the first preset value and less than For the second preset value, sending the first control signal carrying the first duty cycle to the first LED driving unit and sending the second LED driving unit the first control signal carrying the second duty cycle The second control signal, wherein, the first preset value is less than or equal to the second preset value; if the brightness parameter is greater than the second preset value, send a carry to the first LED driving unit the first control signal of the first duty cycle.
所述第一亮度范围的最大值大于所述第二亮度范围的最大值,所述第一亮度范围的最小值大于所述第二亮度范围的最小值;可选地,所述第一亮度范围的最小值小于或等于所述第二亮度范围的最大值。The maximum value of the first brightness range is greater than the maximum value of the second brightness range, and the minimum value of the first brightness range is greater than the minimum value of the second brightness range; optionally, the first brightness range The minimum value of is less than or equal to the maximum value of the second luminance range.
实施例2Example 2
根据本发明的一个实施例,提供了一种LED控制装置,图2是根据本发明实施例的LED控制装置的框图一,如图2所示,包括:MCU22、第一LED驱动单元23、第二LED驱动单元24,其中,所述MCU22分别与所述第一LED驱动单元23、所述第二LED驱动单元24连接,According to an embodiment of the present invention, an LED control device is provided. FIG. 2 is a block diagram 1 of an LED control device according to an embodiment of the present invention. As shown in FIG. 2 , it includes: an MCU22, a first LED driving unit 23, a Two LED driving units 24, wherein the MCU 22 is connected to the first LED driving unit 23 and the second LED driving unit 24, respectively,
所述MCU22,用于在接收到调节指令时,通过根据所述调节指令控制所述第一LED驱动单元23和/或所述第二LED驱动单元24,通过所述第一LED驱动单元23和/或所述第二LED驱动单元24控制LED负载的亮度;The MCU 22 is configured to control the first LED drive unit 23 and/or the second LED drive unit 24 according to the adjustment instruction when receiving the adjustment instruction, and control the first LED drive unit 23 and/or the second LED drive unit 24 according to the adjustment instruction. /or the second LED driving unit 24 controls the brightness of the LED load;
所述第一LED驱动单元23,用于控制所述LED负载的亮度;The first LED driving unit 23 is used to control the brightness of the LED load;
所述第二LED驱动单元24,用于控制所述LED负载的亮度。The second LED driving unit 24 is used to control the brightness of the LED load.
图3是根据本发明可选实施例的LED控制装置的框图,如图3所示,该系统还包括电源21,其中,所述电源21分别与所述MCU22、所述第一LED驱动单元23、所述第二LED驱动单元24连接,所述电源21,用于为所述MCU22、所述LED负载供电。FIG. 3 is a block diagram of an LED control device according to an optional embodiment of the present invention. As shown in FIG. 3 , the system further includes a power supply 21 , wherein the power supply 21 is connected to the MCU 22 and the first LED driving unit 23 respectively. , the second LED driving unit 24 is connected, and the power supply 21 is used for supplying power to the MCU 22 and the LED load.
可选地,所述MCU22,还用于在接收到所述调节指令时,向所述第一LED驱动单元23发送第一控制信号;和/或,在接收到所述调节指令时,向所述第二LED驱动单元24发送第二控制信号;Optionally, the MCU 22 is further configured to send a first control signal to the first LED driving unit 23 when receiving the adjustment instruction; and/or, when receiving the adjustment instruction, send a first control signal to the first LED driving unit 23 The second LED driving unit 24 sends a second control signal;
所述第一LED驱动单元23,还用于根据所述第一控制信号控制所述LED负载的亮度;和/或,所述第二LED驱动单元24,还用于根据所述第二控制信号控制所述LED负载的亮度。The first LED driving unit 23 is further configured to control the brightness of the LED load according to the first control signal; and/or the second LED driving unit 24 is further configured to control the brightness of the LED load according to the second control signal Control the brightness of the LED load.
可选地,所述MCU22,还用于在接收到所述调节指令时,根据所述调节指令中携带的亮度参数调节所述第一控制信号的第一占空比,向所述第一LED驱动单元23发送携带所述第一占空比的第一控制信号;和/或,在接收到所述调节指令时,根据所述调节指令中携带的亮度参数调节所述第二控制信号的第二占空比,向所述第二LED驱动单元24发送携带有所述第二占空比的第二控制信号;Optionally, the MCU22 is further configured to, when receiving the adjustment instruction, adjust the first duty cycle of the first control signal according to the brightness parameter carried in the adjustment instruction, and send the first LED to the first LED. The driving unit 23 sends a first control signal carrying the first duty cycle; and/or, when receiving the adjustment instruction, adjusts the first control signal of the second control signal according to the brightness parameter carried in the adjustment instruction. Two duty cycles, sending a second control signal carrying the second duty cycle to the second LED driving unit 24;
所述第一LED驱动单元23,还用于根据所述第一控制信号中携带的所述第一占空比控制所述LED负载的亮度;和/或,所述第二LED驱动单元24,还用于根据所述第二控制信号中携带的所述第二占空比控制所述LED负载的亮度。The first LED driving unit 23 is further configured to control the brightness of the LED load according to the first duty cycle carried in the first control signal; and/or, the second LED driving unit 24, It is also used for controlling the brightness of the LED load according to the second duty cycle carried in the second control signal.
可选地,所述MCU22,还用于在接收到所述调节指令时,若所述亮度参数大于0,且小于第一预设值,向所述第二LED驱动单元24发送携带所述第二占空比的所述第二控制信号;Optionally, the MCU 22 is further configured to, when receiving the adjustment instruction, if the brightness parameter is greater than 0 and less than a first preset value, send a message to the second LED driving unit 24 that carries the the second control signal with two duty cycles;
若所述亮度参数大于所述第一预设值,且小于第二预设值,向所述第一LED驱动单元23发送携带所述第一占空比的所述第一控制信号以及向所述第二LED驱动单元24发送携带所述第二占空比的所述第二控制信号,其中,所述第一预设值小于或等于所述第二预设值;If the brightness parameter is greater than the first preset value and less than the second preset value, send the first control signal carrying the first duty cycle to the first LED driving unit 23 and send the first control signal to the first LED driving unit 23 . The second LED driving unit 24 sends the second control signal carrying the second duty cycle, wherein the first preset value is less than or equal to the second preset value;
若所述亮度参数大于所述第二预设值,向所述第一LED驱动单元23发送携带所述第一占空比的所述第一控制信号。If the brightness parameter is greater than the second preset value, the first control signal carrying the first duty cycle is sent to the first LED driving unit 23 .
可选地,所述装置还包括:电源、上端采样电阻,其中,所述上端采样电阻的一端分别与电源21的正极、所述第一LED驱动单元23的输出端 连接,另外一端与LED负载连接,所述电源21的直流母线电流通过所述上端采样电阻之后,通过所述LED负载,流经所述第二LED驱动单元24接地。Optionally, the device further includes: a power supply and an upper sampling resistor, wherein one end of the upper sampling resistor is connected to the positive pole of the power supply 21 and the output end of the first LED driving unit 23 respectively, and the other end is connected to the LED load. After connecting, the DC bus current of the power supply 21 passes through the upper sampling resistor, passes through the LED load, and flows through the second LED driving unit 24 to ground.
可选地,所述上端采样电阻至少包括并联的第一电阻与第二电阻。Optionally, the upper sampling resistor includes at least a first resistor and a second resistor connected in parallel.
可选地,所述第一LED驱动单元23包括恒流LED驱动芯片U2;Optionally, the first LED driving unit 23 includes a constant current LED driving chip U2;
所述第二LED驱动单元24至少包括N沟道MOS管Q4与三极管Q2。The second LED driving unit 24 at least includes an N-channel MOS transistor Q4 and a triode Q2.
可选地,所述第二LED驱动单元24还包括电阻R51、电阻R52、电阻R53、电阻R54以及二极管,其中,Optionally, the second LED driving unit 24 further includes a resistor R51, a resistor R52, a resistor R53, a resistor R54 and a diode, wherein,
所述电阻R53的第一端与所述MCU22连接,所述电阻R53的第二端分别与所述电阻R54连接的第一端、所述三极管Q2的C极连接,所述电阻R54的第二端与所述三极管Q2的E极连接,所述电阻R52与所述电阻R51并联之后与所述三极管Q2的E极、B极并联,所述电阻R51与所述N沟道MOS管Q4、所述二极管串联。The first end of the resistor R53 is connected to the MCU22, the second end of the resistor R53 is respectively connected to the first end of the resistor R54 and the C pole of the transistor Q2, and the second end of the resistor R54 is connected to the first end of the resistor R54 respectively. The terminal is connected to the E pole of the transistor Q2, the resistor R52 is connected in parallel with the resistor R51 and then connected to the E pole and B pole of the transistor Q2 in parallel, and the resistor R51 is connected to the N-channel MOS transistor Q4, all The diodes are connected in series.
实施例3Example 3
根据本发明的另一个实施例,还提供了一种LED照明装置,图4是根据本发明实施例的LED照明装置的框图,如图4所示,包括上述的LED控制装置以及LED负载,其中,所述LED负载分别与第一LED驱动单元23、第二LED驱动单元24连接。According to another embodiment of the present invention, an LED lighting device is also provided. FIG. 4 is a block diagram of an LED lighting device according to an embodiment of the present invention. As shown in FIG. 4 , it includes the above-mentioned LED control device and an LED load, wherein , the LED loads are respectively connected to the first LED driving unit 23 and the second LED driving unit 24 .
可选地,所述LED负载包括冷色LED负载和/或暖色LED负载。Optionally, the LED loads include cool-color LED loads and/or warm-color LED loads.
图5是根据本发明实施例的LED灯控制电路的示意图,如图5所示,包括两个独立的LED驱动单元(即上述的第一LED驱动单元与第二LED驱动单元)和LED负载。第一驱动是恒流LED驱动芯片U2;第二驱动是Q4和Q2组成的线性LED驱动;PWM_WW(Pulse Width Modulation,脉冲宽度调制)为:恒流驱动U2的控制信号;PWM_NL为:线性驱动的控制信号;其中,WW+和WW-连接灯板即LED负载;PWM_WW控制U2恒流的大小,PWM_NL 控制线性驱动电流的大小。其中,U2恒流驱动控制LED灯光从100%亮度到10%亮度,线性驱动的灯光调节范围从12%亮度到最低亮度(千分之一甚至万分之一亮度);若单独使用U2恒流驱动则无法实现深度调光,若单独使用线性驱动,无法满足中高亮度的驱动需求。FIG. 5 is a schematic diagram of an LED lamp control circuit according to an embodiment of the present invention. As shown in FIG. 5 , it includes two independent LED driving units (ie, the above-mentioned first LED driving unit and second LED driving unit) and LED loads. The first drive is a constant current LED driver chip U2; the second drive is a linear LED drive composed of Q4 and Q2; PWM_WW (Pulse Width Modulation, pulse width modulation) is: the control signal of the constant current drive U2; PWM_NL is: a linear drive Control signal; among them, WW+ and WW- connect the light board, that is, the LED load; PWM_WW controls the size of the constant current of U2, and PWM_NL controls the size of the linear drive current. Among them, the U2 constant current drive controls the LED light from 100% brightness to 10% brightness, and the linear drive light adjustment range is from 12% brightness to the lowest brightness (one thousandth or even one thousandth of the brightness); if the U2 constant current is used alone The driver cannot achieve deep dimming. If the linear driver is used alone, it cannot meet the driving requirements of medium and high brightness.
亮度从100%到10%采用U2恒流驱动进行驱动,亮度从12%到更低亮度使用Q4和Q2组成线性驱动进行驱动,在12%~10%亮度范围时,恒流驱动与线性驱动同时工作。通过两个独立的LED驱动协同工作,实现两段式调光,既可以满足高亮度时的需求,也可以实现低亮度的深度调光。From 100% to 10%, the brightness is driven by U2 constant current driver, and from 12% to lower brightness, the linear driver composed of Q4 and Q2 is used for driving. When the brightness is in the range of 12% to 10%, the constant current driver and the linear driver are driven at the same time. Work. Two independent LED drivers work together to achieve two-stage dimming, which can not only meet the needs of high brightness, but also achieve deep dimming at low brightness.
进一步的,为了保证从高亮度调节到10%亮度以下,两个驱动切换过程中灯光不闪烁,U2电流采样采用上端采样。如图5所示,直流母线电流先流经采样电阻,然后在流经LED负载或采样电阻的两端都不直接接GND。本发明实施例中的采样电阻要采用上端采样,即上端采样电阻,两个驱动同时工作时,采样电阻上的电流就是两个驱动流经的电流总和。Further, in order to ensure that the light does not flicker during the switching process of the two drivers from high brightness adjustment to less than 10% brightness, the U2 current sampling adopts the upper end sampling. As shown in Figure 5, the DC bus current first flows through the sampling resistor, and then the two ends of the LED load or the sampling resistor are not directly connected to GND. The sampling resistor in the embodiment of the present invention adopts upper sampling, that is, an upper sampling resistor. When two drivers work at the same time, the current on the sampling resistor is the sum of the currents flowing through the two drivers.
图6是根据本发明实施例的电流与PWM对应关系的示意图,如图6所示,恒流驱动U2的最低输出电流小于等于线性驱动的最大电流,使得两个驱动有效衔接,避免调光过程中LED出现闪烁。FIG. 6 is a schematic diagram of the corresponding relationship between current and PWM according to an embodiment of the present invention. As shown in FIG. 6 , the minimum output current of the constant current drive U2 is less than or equal to the maximum current of the linear drive, so that the two drives are effectively connected to avoid the dimming process. The LED flashes in the middle.
当从100%向低亮度调光时,在U2恒流驱动电流大于线性驱动的最大电流的任何时候都可以将线性驱动同时开启;这样灯的亮度就不会因为开启了一路线性驱动而发生变化,因为上端采样体现的是两个驱动的输出电流之和,一个输出电流增加,另一个输出电流就减小,因此流过负载的总电流总是跟随采样电阻的电流;但如果是下端采样,因为下端采样不体现线性驱动的输出电流,当同时工作时,流过负载的总电流会发生变化,变成通过U2的电流和通过线性驱动电流的总和,LED的亮度变化不够平滑,调节过程中会出现亮度跳变。When dimming from 100% to low brightness, the linear drive can be turned on at the same time at any time when the constant current drive current of U2 is greater than the maximum current of the linear drive; in this way, the brightness of the lamp will not change because one linear drive is turned on. , because the upper-end sampling reflects the sum of the output currents of the two drivers, one output current increases, and the other output current decreases, so the total current flowing through the load always follows the current of the sampling resistor; but if it is the lower-end sampling, Because the lower-end sampling does not reflect the output current of the linear drive, when working at the same time, the total current flowing through the load will change, becoming the sum of the current through U2 and the current through the linear drive, and the brightness of the LED changes is not smooth enough. During the adjustment process Brightness jumps will appear.
PWM的控制信号是MCU发出的,用来控制LED驱动电流的大小,具体的,PWM_WW占空比不断降低,此时灯的亮度就逐渐变暗,而PWM_NL的占空比始终为100%,当PWM_WW的占空比降低两个驱动电流重合时,将PWM_WW 直接关掉,即为0%;开始降低线性驱动的PWM_NL占空比,直到降低到最低亮度;这样就实现了从100%亮度降低到万分之一亮度无缝连接。The PWM control signal is sent by the MCU to control the size of the LED drive current. Specifically, the duty cycle of PWM_WW decreases continuously, and the brightness of the lamp gradually dims at this time, while the duty cycle of PWM_NL is always 100%. The duty cycle of PWM_WW is reduced. When the two drive currents are coincident, turn off PWM_WW directly, which is 0%; start to reduce the duty cycle of PWM_NL for linear drive until it reaches the lowest brightness; thus, the brightness from 100% to 1/10,000 brightness seamless connection.
本发明实施例可以实现从线性驱动的最低亮度连续调到100%亮度的无缝连接,当PWM_NL逐渐增加,当两个驱动电流重合时,启动PWM_WW对应的占空比,然后逐渐增大PWM_WW的占空比直到100%或则PWM_NL占空比从最小调到100%时,然后启动对应电流PWM_WW对应大的占空比,PWM_NL的占空比为100%时,单独小夜灯的电流和单独使用PWM_WW占空比在12%时那一路LED驱动的电流大小相等。The embodiment of the present invention can realize the seamless connection from the lowest brightness of linear driving to 100% brightness. When PWM_NL gradually increases, when the two driving currents overlap, the duty cycle corresponding to PWM_WW is started, and then the PWM_WW is gradually increased. The duty cycle is up to 100% or when the duty cycle of PWM_NL is adjusted from the minimum to 100%, then the corresponding current PWM_WW corresponding to a large duty cycle is started. When the duty cycle of PWM_NL is 100%, the current of the single night light and the single use When the PWM_WW duty cycle is 12%, the current driven by that LED is the same.
本发明实施例可以为一路输出,具体为DC-DC恒流驱动电路+线性驱动电路+LED负载,在一可选的实施例中,还可以是DC-DC恒流驱动电路+上拉采样电阻+线性驱动电路+LED负载。The embodiment of the present invention may be one output, specifically DC-DC constant current drive circuit + linear drive circuit + LED load, and in an optional embodiment, may also be DC-DC constant current drive circuit + pull-up sampling resistor +Linear drive circuit+LED load.
本发明实施例也可以包括冷、暖两路及两路以上输出,具体的,DC-DC恒流驱动电路+冷色LED负载,DC-DC恒流驱动电路+线性驱动电路+暖色LED负载;线性驱动电路可以接在冷色负载和/或暖色LED负载,通常接暖色LED负载,因为暖色LED在低亮度时更适合作为灯具的夜间模式使用。在一可选的实施例中,还增加上拉采样电阻。除了上述实施例外,同理,还可以增加RGB彩光LED负载,由于彩光一般作为氛围灯使用,需要深度调光的需求不强。The embodiment of the present invention may also include two or more outputs of cold and warm, specifically, DC-DC constant current drive circuit + cool color LED load, DC-DC constant current drive circuit + linear drive circuit + warm color LED load; linear The drive circuit can be connected to a cool-colored load and/or a warm-colored LED load, usually a warm-colored LED load, because warm-colored LEDs are more suitable for use in the night mode of lamps at low brightness. In an optional embodiment, a pull-up sampling resistor is also added. In addition to the above-mentioned embodiment, in the same way, the RGB color light LED load can also be increased. Since the color light is generally used as an ambient light, the need for deep dimming is not strong.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.
实施例4Example 4
在本实施例中还提供了一种LED控制装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, an LED control device is also provided, and the device is used to realize the above-mentioned embodiments and preferred implementation manners, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.
图7是根据本发明实施例的LED控制装置的框图二,如图7所示,包括:FIG. 7 is a second block diagram of an LED control device according to an embodiment of the present invention, as shown in FIG. 7 , including:
接收模块72,设置为接收调节指令;A receiving module 72, configured to receive an adjustment instruction;
控制模块74,设置为根据所述调节指令控制第一LED驱动单元和/或第二LED驱动单元,并通过所述第一LED驱动单元和/或所述第二LED驱动单元控制。The control module 74 is configured to control the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and is controlled by the first LED driving unit and/or the second LED driving unit.
可选地,所述控制模块74包括:Optionally, the control module 74 includes:
发送子模块,设置为根据所述调节指令向所述第一LED驱动单元发送第一控制信号,所述第一控制信号用于指示所述第一LED驱动单元控制所述LED负载的亮度;和/或向所述第二LED驱动单元发送第二控制信号,所述第二控制信号用于指示所述第二LED驱动单元控制所述LED负载的亮度。a sending sub-module configured to send a first control signal to the first LED driving unit according to the adjustment instruction, where the first control signal is used to instruct the first LED driving unit to control the brightness of the LED load; and /or send a second control signal to the second LED driving unit, where the second control signal is used to instruct the second LED driving unit to control the brightness of the LED load.
可选地,所述发送子模块,还设置为根据所述调节指令中携带的亮度参数调节所述第一控制信号的第一占空比,向所述第一LED驱动单元发送携带所述第一占空比的第一控制信号;和/或根据所述调节指令中携带的亮度参数调节所述第二控制信号的第二占空比,向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号。Optionally, the sending sub-module is further configured to adjust the first duty ratio of the first control signal according to the brightness parameter carried in the adjustment instruction, and send a message carrying the first control signal to the first LED driving unit. A first control signal with a duty cycle; and/or adjust the second duty cycle of the second control signal according to the brightness parameter carried in the adjustment instruction, and send a signal carrying the first control signal to the second LED driving unit. The second control signal of two duty cycles.
可选地,所述发送子模块,还设置为若所述亮度参数大于0,且小于第一预设值,向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号;Optionally, the sending sub-module is further configured to, if the brightness parameter is greater than 0 and less than a first preset value, send the second LED driving unit carrying the second duty cycle to the second LED driving unit. Two control signals;
若所述亮度参数大于所述第一预设值,且小于第二预设值,向所述第 一LED驱动单元发送携带所述第一占空比的所述第一控制信号以及向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号,其中,所述第一预设值小于或等于所述第二预设值;If the brightness parameter is greater than the first preset value and less than a second preset value, send the first control signal carrying the first duty cycle to the first LED driving unit and send the first control signal to the first LED driving unit. The second LED driving unit sends the second control signal carrying the second duty cycle, wherein the first preset value is less than or equal to the second preset value;
若所述亮度参数大于所述第二预设值,向所述第一LED驱动单元发送携带所述第一占空比的所述第一控制信号。If the brightness parameter is greater than the second preset value, the first control signal carrying the first duty cycle is sent to the first LED driving unit.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.
实施例5Example 5
本发明的实施例还提供了一种计算机可读的存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored in the storage medium, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for executing the following steps:
S1,接收调节指令;S1, receive adjustment instructions;
S2,根据所述调节指令控制所述第一LED驱动单元和/或所述第二LED驱动单元,并通过所述第一LED驱动单元和/或所述第二LED驱动单元控制。S2, controlling the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and controlling the first LED driving unit and/or the second LED driving unit.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM), a random access memory (Random Access Memory, referred to as RAM), Various media that can store computer programs, such as removable hard disks, magnetic disks, or optical disks.
实施例6Example 6
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存 储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present invention further provides an electronic device, comprising a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:
S1,接收调节指令;S1, receive adjustment instructions;
S2,根据所述调节指令控制第一LED驱动单元和/或第二LED驱动单元,并通过所述第一LED驱动单元和/或所述第二LED驱动单元控制。S2, controlling the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and controlling the first LED driving unit and/or the second LED driving unit.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not described herein again in this embodiment.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device, or distributed in a network composed of multiple computing devices Alternatively, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device and executed by the computing device, and in some cases, in a different order than here The steps shown or described are performed either by fabricating them separately into individual integrated circuit modules, or by fabricating multiple modules or steps of them into a single integrated circuit module. As such, the present invention is not limited to any particular combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included within the protection scope of the present invention.

Claims (17)

  1. 一种LED控制装置,包括:MCU、第一LED驱动单元、第二LED驱动单元,所述MCU分别与所述第一LED驱动单元、所述第二LED驱动单元连接,An LED control device, comprising: an MCU, a first LED driving unit, and a second LED driving unit, wherein the MCU is respectively connected with the first LED driving unit and the second LED driving unit,
    所述MCU,用于在接收到调节指令时,根据所述调节指令控制所述第一LED驱动单元和/或所述第二LED驱动单元,通过所述第一LED驱动单元和/或所述第二LED驱动单元控制LED负载的亮度;The MCU is configured to, when receiving an adjustment instruction, control the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and control the first LED driving unit and/or the second LED driving unit through the first LED driving unit and/or the The second LED driving unit controls the brightness of the LED load;
    所述第一LED驱动单元,用于控制所述LED负载的亮度;和/或所述第二LED驱动单元,用于控制所述LED负载的亮度。The first LED driving unit is used for controlling the brightness of the LED load; and/or the second LED driving unit is used for controlling the brightness of the LED load.
  2. 根据权利要求1所述的装置,其中,The apparatus of claim 1, wherein,
    所述MCU,还用于在接收到所述调节指令时,根据所述调节指令向所述第一LED驱动单元发送第一控制信号;和/或,向所述第二LED驱动单元发送第二控制信号;The MCU is further configured to, when receiving the adjustment instruction, send a first control signal to the first LED driving unit according to the adjustment instruction; and/or, send a second control signal to the second LED driving unit control signal;
    所述第一LED驱动单元,还用于根据所述第一控制信号驱动所述LED负载的亮度;和/或,所述第一LED驱动单元,还用于根据所述第二控制信号控制所述LED负载的亮度。The first LED driving unit is further configured to drive the brightness of the LED load according to the first control signal; and/or the first LED driving unit is further configured to control the LED load according to the second control signal. the brightness of the LED load.
  3. 根据权利要求2所述的装置,其中,The apparatus of claim 2, wherein,
    所述MCU,还用于在接收到所述调节指令时,根据所述调节指令中携带的亮度参数调节所述第一控制信号的第一占空比,向所述第一LED驱动单元发送携带所述第一占空比的所述第一控制信号;和/或,根据所述调节指令中携带的亮度参数调节所述第二控制信号的第二占空比,向所述第二LED驱动单元发送携带有所述第二占空比的所述第二控制信号;The MCU is further configured to, when receiving the adjustment instruction, adjust the first duty cycle of the first control signal according to the brightness parameter carried in the adjustment instruction, and send a carrying number to the first LED driving unit. the first control signal of the first duty cycle; and/or, adjusting the second duty cycle of the second control signal according to the brightness parameter carried in the adjustment instruction to drive the second LED The unit sends the second control signal carrying the second duty cycle;
    所述第一LED驱动单元,还用于根据所述第一控制信号中携带的 所述第一占空比控制所述LED负载的亮度;和/或,所述第二LED驱动单元,还用于根据所述第二控制信号中携带的所述第二占空比控制所述LED负载的亮度。The first LED driving unit is further configured to control the brightness of the LED load according to the first duty cycle carried in the first control signal; and/or the second LED driving unit is further configured to use The brightness of the LED load is controlled according to the second duty cycle carried in the second control signal.
  4. 根据权利要求3所述的装置,其中,The apparatus of claim 3, wherein,
    所述MCU,还用于在接收到所述调节指令时,若所述亮度参数大于0,且小于第一预设值,向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号;The MCU is further configured to, when receiving the adjustment instruction, if the brightness parameter is greater than 0 and less than a first preset value, send a message carrying the second duty cycle to the second LED driving unit. the second control signal;
    若所述亮度参数大于所述第一预设值,且小于第二预设值,向所述第一LED驱动单元发送携带所述第一占空比的所述第一控制信号以及向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号,其中,所述第一预设值小于或等于所述第二预设值;If the brightness parameter is greater than the first preset value and less than a second preset value, send the first control signal carrying the first duty cycle to the first LED driving unit and send the first control signal to the first LED driving unit. The second LED driving unit sends the second control signal carrying the second duty cycle, wherein the first preset value is less than or equal to the second preset value;
    若所述亮度参数大于所述第二预设值,向所述第一LED驱动单元发送携带所述第一占空比的所述第一控制信号。If the brightness parameter is greater than the second preset value, the first control signal carrying the first duty cycle is sent to the first LED driving unit.
  5. 根据权利要求2所述的装置,其中,所述装置还包括:电源与上端采样电阻,其中,所述上端采样电阻的一端分别与所述电源的正极、所述第一LED驱动单元的输出端连接,所述上端采样电阻的另一端与所述LED负载连接,所述电源的直流母线电流通过所述上端采样电阻之后,通过所述LED负载,流经所述第二LED驱动单元接地。The device according to claim 2, wherein the device further comprises: a power supply and an upper-end sampling resistor, wherein one end of the upper-end sampling resistor is respectively connected with the positive electrode of the power supply and the output end of the first LED driving unit connected, the other end of the upper sampling resistor is connected to the LED load, the DC bus current of the power supply passes through the upper sampling resistor, passes through the LED load, and flows through the second LED driving unit to ground.
  6. 根据权利要求5所述的装置,其中,所述上端采样电阻至少包括并联的第一电阻与第二电阻。The device according to claim 5, wherein the upper sampling resistor comprises at least a first resistor and a second resistor connected in parallel.
  7. 根据权利要求1至6中任一项所述的装置,其中,The apparatus of any one of claims 1 to 6, wherein,
    所述第一LED驱动单元包括恒流LED驱动芯片U2;The first LED driving unit includes a constant current LED driving chip U2;
    所述第二LED驱动单元至少包括N沟道MOS管Q4与三极管Q2。The second LED driving unit at least includes an N-channel MOS transistor Q4 and a triode Q2.
  8. 根据权利要求7所述的装置,其中,The apparatus of claim 7, wherein,
    所述第二LED驱动单元还包括电阻R51、电阻R52、电阻R53、电阻R54以及二极管,其中,The second LED driving unit further includes a resistor R51, a resistor R52, a resistor R53, a resistor R54 and a diode, wherein,
    所述电阻R53的第一端与所述MCU连接,所述电阻R53的第二端分别与所述电阻R54连接的第一端、所述三极管Q2的C极连接,所述电阻R54的第二端与所述三极管Q2的E极连接,所述电阻R52与所述电阻R51并联之后与所述三极管Q2的E极、B极并联,所述电阻R51与所述N沟道MOS管Q4、所述二极管串联。The first end of the resistor R53 is connected to the MCU, the second end of the resistor R53 is respectively connected to the first end of the resistor R54 and the C pole of the transistor Q2, and the second end of the resistor R54 is connected to the first end of the resistor R54 respectively. The terminal is connected with the E pole of the transistor Q2, the resistor R52 is connected in parallel with the resistor R51 and then connected in parallel with the E and B poles of the transistor Q2, and the resistor R51 is connected with the N-channel MOS transistor Q4, the The diodes are connected in series.
  9. 一种LED照明装置,包括权利要求1至7中任一项所述的LED控制装置以及LED负载,其中,所述LED负载分别与所述第一LED驱动单元、所述第二LED驱动单元。An LED lighting device, comprising the LED control device according to any one of claims 1 to 7 and an LED load, wherein the LED load is respectively associated with the first LED driving unit and the second LED driving unit.
  10. 根据权利要求9所述的装置,其中,所述LED负载包括冷色LED负载和/或暖色LED负载。9. The apparatus of claim 9, wherein the LED loads comprise cool color LED loads and/or warm color LED loads.
  11. 一种LED控制方法,包括:An LED control method, comprising:
    接收调节指令;receive adjustment instructions;
    根据所述调节指令控制第一LED驱动单元和/或第二LED驱动单元,并通过所述第一LED驱动单元和/或所述第二LED驱动单元控制所述LED负载的亮度。The first LED driving unit and/or the second LED driving unit are controlled according to the adjustment instruction, and the brightness of the LED load is controlled by the first LED driving unit and/or the second LED driving unit.
  12. 根据权利要求11所述的方法,其中,根据所述调节指令控制所述第一LED驱动单元和/或所述第二LED驱动单元,并通过所述第一LED驱动单元和/或所述第二LED驱动单元控制LED负载的亮度包括:The method according to claim 11, wherein the first LED driving unit and/or the second LED driving unit are controlled according to the adjustment instruction, and the first LED driving unit and/or the second LED driving unit are Two LED drive units to control the brightness of the LED load include:
    根据所述调节指令向所述第一LED驱动单元发送第一控制信号, 所述第一控制信号用于指示所述第一LED驱动单元控制所述LED负载的亮度;和/或向所述第二LED驱动单元发送第二控制信号,所述第二控制信号用于指示所述第二LED驱动单元控制所述LED负载的亮度。Send a first control signal to the first LED driving unit according to the adjustment instruction, where the first control signal is used to instruct the first LED driving unit to control the brightness of the LED load; and/or to the first LED driving unit The two LED driving units send a second control signal, where the second control signal is used to instruct the second LED driving unit to control the brightness of the LED load.
  13. 根据权利要求12所述的方法,其中,根据所述调节指令向所述第一LED驱动单元发送第一控制信号,和/或向所述第二LED驱动单元发送第二控制信号包括:The method according to claim 12, wherein sending a first control signal to the first LED driving unit according to the adjustment instruction, and/or sending a second control signal to the second LED driving unit comprises:
    根据所述调节指令中携带的亮度参数调节所述第一控制信号的第一占空比,向所述第一LED驱动单元发送携带所述第一占空比的所述第一控制信号;和/或根据所述调节指令中携带的亮度参数调节所述第二控制信号的第二占空比,向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号。Adjust the first duty cycle of the first control signal according to the brightness parameter carried in the adjustment instruction, and send the first control signal carrying the first duty cycle to the first LED driving unit; and /or adjust the second duty cycle of the second control signal according to the brightness parameter carried in the adjustment instruction, and send the second control signal carrying the second duty cycle to the second LED driving unit .
  14. 根据权利要求13所述的方法,其中,根据所述调节指令向所述第一LED驱动单元发送第一控制信号,和/或向所述第二LED驱动单元发送第二控制信号包括:The method according to claim 13, wherein sending a first control signal to the first LED driving unit according to the adjustment instruction, and/or sending a second control signal to the second LED driving unit comprises:
    若所述亮度参数大于0,且小于第一预设值,向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号;If the brightness parameter is greater than 0 and less than a first preset value, sending the second control signal carrying the second duty cycle to the second LED driving unit;
    若所述亮度参数大于所述第一预设值,且小于第二预设值,向所述第一LED驱动单元发送携带所述第一占空比的所述第一控制信号以及向所述第二LED驱动单元发送携带所述第二占空比的所述第二控制信号,其中,所述第一预设值小于或等于所述第二预设值;If the brightness parameter is greater than the first preset value and less than a second preset value, send the first control signal carrying the first duty cycle to the first LED driving unit and send the first control signal to the first LED driving unit. The second LED driving unit sends the second control signal carrying the second duty cycle, wherein the first preset value is less than or equal to the second preset value;
    若所述亮度参数大于所述第二预设值,向所述第一LED驱动单元发送携带所述第一占空比的所述第一控制信号。If the brightness parameter is greater than the second preset value, the first control signal carrying the first duty cycle is sent to the first LED driving unit.
  15. 一种LED控制装置,包括:An LED control device, comprising:
    接收模块,设置为接收调节指令;A receiving module, set to receive adjustment instructions;
    控制模块,设置为根据所述调节指令控制第一LED驱动单元和/或第二LED驱动单元,并通过所述第一LED驱动单元和/或所述第二LED驱动单元控制LED负载的亮度。The control module is configured to control the first LED driving unit and/or the second LED driving unit according to the adjustment instruction, and control the brightness of the LED load through the first LED driving unit and/or the second LED driving unit.
  16. 一种计算机可读的存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求11至14任一项中所述的方法。A computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the method of any one of claims 11 to 14 when run.
  17. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求11至14任一项中所述的方法。An electronic device comprising a memory and a processor having a computer program stored in the memory, the processor being arranged to run the computer program to perform the method of any one of claims 11 to 14.
PCT/CN2021/130612 2020-11-13 2021-11-15 Led control method and apparatus, and led illumination apparatus WO2022100730A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011273322.5 2020-11-13
CN202011273322.5A CN112188668A (en) 2020-11-13 2020-11-13 LED control method and device and LED lighting device

Publications (1)

Publication Number Publication Date
WO2022100730A1 true WO2022100730A1 (en) 2022-05-19

Family

ID=73918493

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/130612 WO2022100730A1 (en) 2020-11-13 2021-11-15 Led control method and apparatus, and led illumination apparatus

Country Status (2)

Country Link
CN (1) CN112188668A (en)
WO (1) WO2022100730A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188668A (en) * 2020-11-13 2021-01-05 青岛易来智能科技股份有限公司 LED control method and device and LED lighting device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090079358A1 (en) * 2007-09-21 2009-03-26 Exclara Inc. Regulation of Wavelength Shift and Perceived Color of Solid State Lighting with Temperature Variation
CN103889106A (en) * 2012-12-20 2014-06-25 美蓓亚株式会社 Led Driving Device And Lighting Device
CN104125684A (en) * 2013-04-23 2014-10-29 Nxp股份有限公司 A dimmable LED lighting circuit, a controller therefor and a method of controlling a dimmable LED lighting circuit
CN204634089U (en) * 2015-03-27 2015-09-09 飞利浦(中国)投资有限公司 Converter circuit and LED
CN107567131A (en) * 2017-08-28 2018-01-09 盐城莱廷绍工业技术有限公司 A kind of LED colour temperatures adjust drive device
CN108419331A (en) * 2018-02-06 2018-08-17 欧普照明股份有限公司 LED light adjusting circuits and light-dimming method
CN111542148A (en) * 2020-04-27 2020-08-14 深圳深爱半导体股份有限公司 LED driving module
CN112188668A (en) * 2020-11-13 2021-01-05 青岛易来智能科技股份有限公司 LED control method and device and LED lighting device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090079358A1 (en) * 2007-09-21 2009-03-26 Exclara Inc. Regulation of Wavelength Shift and Perceived Color of Solid State Lighting with Temperature Variation
CN103889106A (en) * 2012-12-20 2014-06-25 美蓓亚株式会社 Led Driving Device And Lighting Device
CN104125684A (en) * 2013-04-23 2014-10-29 Nxp股份有限公司 A dimmable LED lighting circuit, a controller therefor and a method of controlling a dimmable LED lighting circuit
CN204634089U (en) * 2015-03-27 2015-09-09 飞利浦(中国)投资有限公司 Converter circuit and LED
CN107567131A (en) * 2017-08-28 2018-01-09 盐城莱廷绍工业技术有限公司 A kind of LED colour temperatures adjust drive device
CN108419331A (en) * 2018-02-06 2018-08-17 欧普照明股份有限公司 LED light adjusting circuits and light-dimming method
CN111542148A (en) * 2020-04-27 2020-08-14 深圳深爱半导体股份有限公司 LED driving module
CN112188668A (en) * 2020-11-13 2021-01-05 青岛易来智能科技股份有限公司 LED control method and device and LED lighting device

Also Published As

Publication number Publication date
CN112188668A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US9560704B2 (en) LED driving device and LED lighting apparatus
TWI436682B (en) A switched light element array and method of operation
US9307604B2 (en) Dimmable LED lamp and dimming method
US8299726B2 (en) OMNI voltage direct current power supply
US8710750B2 (en) Light source lighting device including a constant-current supply that is connected to a light source and supplies a constant current of a substantially constant magnitude to the light source, and luminaire
RU2621883C1 (en) Led-backlight system and display device
CN102917486A (en) LED lamp adjustable in luminance and color temperature
JP4156072B2 (en) LED collective lamp for AC power supply
CN104661400B (en) Drive the system and method for multiple outputs
CN103096565B (en) LED light device and lamp light control method thereof
JP7190451B2 (en) Method and apparatus for driving LEDs
WO2022100730A1 (en) Led control method and apparatus, and led illumination apparatus
CN103796376A (en) Power supply device and luminaire
CN104780643B (en) Light emitting diode circuit system with power factor correction and optimization
CN106652923B (en) A kind of high stable, wide scope LED backlight brightness adjusting method and driving circuit
CN217363361U (en) LED lamp constant current drive circuit with digital dimming function
US11291092B2 (en) PWM dimming circuit with low stand-by power
CN114501699B (en) Dimming circuit, dimmer and LED lighting equipment
CN100489949C (en) Driving device for light-emitting diode serial
JP2014007078A (en) Led drive circuit, led drive method, led illuminating device, led display device, and television receiver
CN212211443U (en) double-PWM dimming circuit
CN213403577U (en) LED control equipment and LED lighting equipment
CN110582140A (en) Method for controlling multiple LEDs by single constant current
CN219981091U (en) Low-cost PWM dimming line lamp circuit
CN215898059U (en) LED lighting lamp constant current drive circuit based on DMX512 protocol

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: 21891250

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21891250

Country of ref document: EP

Kind code of ref document: A1