This application claims priority to Chinese Patent Application No. 201911140844.5, filed Nov. 20, 2019, incorporated by reference herein for all purposes.
Certain embodiments of the present invention are directed to circuits. More particularly, some embodiments of the invention provide systems and methods for dimming control related to Triode for Alternating Current (TRIAC) dimmers. Merely by way of example, some embodiments of the invention have been applied to light emitting diodes (LEDs). But it would be recognized that the invention has a much broader range of applicability.
With development in the light-emitting diode (LED) lighting market, many LED manufacturers have placed LED lighting products at an important position in market development. LED lighting products often need dimmer technology to provide consumers with a unique visual experience. Since Triode for Alternating Current (TRIAC) dimmers have been widely used in conventional lighting systems such as incandescent lighting systems, the TRIAC dimmers are also increasingly being used in LED lighting systems.
Conventionally, the TRIAC dimmers usually are designed primarily for incandescent lights with pure resistive loads and low luminous efficiency. Such characteristics of incandescent lights often help to meet the requirements of TRIAC dimmers in holding currents. Therefore, the TRIAC dimmers usually are suitable for light dimming when used with incandescent lights.
However, when the TRIAC dimmers are used with more efficient LEDs, it is often difficult to meet the requirements of TRIAC dimmers in holding currents due to the reduced input power needed to achieve illumination equivalent to that of incandescent lights. Therefore, a conventional LED lighting system often utilizes a bleeder unit to provide a bleeder current in order to support the TRIAC dimmer for linear operation and to avoid undesirable distortion of a rectified voltage (e.g., VIN) and also blinking of the LEDs. For example, under a conventional mechanism, the bleeder current is generated if the rectified voltage (e.g., VIN) is so low that the current flowing through the TRIAC dimmer is below the holding current, but the bleeder current is not generated if the rectified voltage (e.g., VIN) is so high that the current flowing through the TRIAC dimmer is higher than the holding current. As an example, under the conventional mechanism, when the rectified voltage (e.g., VIN) becomes low and the current flowing through the TRIAC dimmer becomes lower than the holding current, the bleeder current is generated without a predetermined delay.
After the system 100 is powered on, an AC input voltage (e.g., VAC) is received by the TRIAC dimmer 110 and rectified by the rectifier BD1 to generate a rectified voltage (e.g., VIN). The rectified voltage (e.g., VIN) is used to control an output current that flows through the one or more LEDs 120.
As shown in
Additionally, the voltage detection unit 130 outputs the sensing signal (e.g., LS) to the bleeder current control unit 150, which also receives a sensing signal 163 from the control unit U1 for LED output current. In response, the bleeder current control unit 150 adjusts, based at least in part on a change of the sensing signal (e.g., LS) and/or a change of the sensing signal 163, a bleeder current 171 that is generated by the bleeder unit U2. The bleeder current 171 is used to maintain normal operation of the TRIAC dimmer 110. As shown in
As shown by the waveforms 210 and 220, when the rectified voltage (e.g., VIN) becomes larger than the forward bias voltage (e.g., VO) of the one or more LEDs 120, the output current (e.g., Iled) flowing through the one or more LEDs 120 rises from zero to a magnitude that is larger than zero, but when the rectified voltage (e.g., VIN) becomes smaller than the forward bias voltage (e.g., VO) of the one or more LEDs 120, the output current (e.g., Iled) flowing through the one or more LEDs 120 drops from the magnitude that is larger than zero to zero. As shown by the waveforms 220 and 230, after the output current (e.g., Iled) flowing through the one or more LEDs 120 becomes smaller than the holding current of the TRIAC dimmer 110, without the predetermined delay, the bleeder unit U2 generates the bleeder current 171 so that the total current that flows through the TRIAC dimmer 110 is larger than the holding current of the TRIAC dimmer 110.
The control mechanism as shown in
To improve the energy efficiency, under another conventional mechanism, when the rectified voltage (e.g., VIN) becomes low and the current flowing through the TRIAC dimmer becomes lower than the holding current, the bleeder current is generated after a predetermined delay. As an example, the predetermined delay is larger than zero. For example, as shown in
Hence it is highly desirable to improve the techniques related to LED lighting systems.
Certain embodiments of the present invention are directed to circuits. More particularly, some embodiments of the invention provide systems and methods for dimming control related to Triode for Alternating Current (TRIAC) dimmers. Merely by way of example, some embodiments of the invention have been applied to light emitting diodes (LEDs). But it would be recognized that the invention has a much broader range of applicability.
According to some embodiments, a system for controlling one or more light emitting diodes includes: a voltage detector configured to receive a rectified voltage associated with a TRIAC dimmer and generated by a rectifying bridge and generate a first sensing signal representing the rectified voltage; a distortion detector configured to receive the first sensing signal, determine whether the rectified voltage is distorted or not based at least in part on the first sensing signal, and generate a distortion detection signal indicating whether the rectified voltage is distorted or not; a phase detector configured to receive the first sensing signal and generate a phase detection signal indicating a detected phase range within which the TRIAC dimmer is in a conduction state based at least in part on the first sensing signal; a voltage generator configured to receive the phase detection signal from the phase detector, receive the distortion detection signal from the distortion detector, and generate a reference voltage based at least in part on the phase detection signal and the distortion detection signal; a current regulator configured to receive the reference voltage from the voltage generator, receive a diode current flowing through the one or more light emitting diodes, and generate a second sensing signal representing the diode current; a bleeder controller configured to receive the second sensing signal from the current regulator and generate a bleeder control signal based at least in part on the second sensing signal, the bleeder control signal indicating whether a bleeder current is allowed or not allowed to be generated; and a bleeder configured to receive the bleeder control signal from the bleeder controller and generate a bleeder current based at least in part on the bleeder control signal; wherein the voltage generator is further configured to, if the distortion detection signal indicates that the rectified voltage is distorted: perform a phase compensation to the detected phase range within which the TRIAC dimmer is in the conduction state to generate a compensated phase range; and use the compensated phase range to generate the reference voltage.
According to certain embodiments, a system for controlling one or more light emitting diodes, the system comprising: a voltage detector configured to receive a rectified voltage associated with a TRIAC dimmer and generated by a rectifying bridge and generate a first sensing signal representing the rectified voltage; a distortion detector configured to receive the first sensing signal, determine whether the rectified voltage is distorted or not based at least in part on the first sensing signal, and generate a distortion detection signal indicating whether the rectified voltage is distorted or not; a phase detection and voltage generator configured to receive the first sensing signal, detect a phase range within which the TRIAC dimmer is in a conduction state based at least in part on the first sensing signal, and generate a reference voltage based at least in part on the detected phase range; a current regulator configured to receive the reference voltage from the phase detection and voltage generator, receive a diode current flowing through the one or more light emitting diodes, and generate a second sensing signal representing the diode current; a bleeder controller configured to receive the second sensing signal from the current regulator, receive the distortion detection signal from the distortion detector, and generate a first bleeder control signal and a second bleeder control signal based at least in part on the second sensing signal and the distortion detection signal, the first bleeder control signal indicating whether a bleeder current is allowed or not allowed to be generated; and a bleeder configured to receive the first bleeder control signal and the second bleeder control signal from the bleeder controller and generate the bleeder current based at least in part on the first bleeder control signal and the second bleeder control signal; wherein the bleeder controller is further configured to, if the distortion detection signal indicates that the rectified voltage is distorted and if the second sensing signal changes from being larger than a predetermined threshold to being smaller than the predetermined threshold: immediately change the first bleeder control signal from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated; immediately generate the second bleeder control signal at a first logic level; and after a predetermined delay of time, change the second bleeder control signal from the first logic level to a second logic level, the predetermined delay of time being larger than zero; wherein the bleeder is further configured to, if the first bleeder control signal changes from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated: generate the bleeder current at a first current magnitude if the second bleeder control signal is at the first logic level; and generate the bleeder current at a second current magnitude if the second bleeder control signal is at the second logic level; wherein the first current magnitude is smaller than the second current magnitude.
According to some embodiments, a method for controlling one or more light emitting diodes includes: receiving a rectified voltage associated with a TRIAC dimmer; generating a first sensing signal representing the rectified voltage; receiving the first sensing signal; determining whether the rectified voltage is distorted or not based at least in part on the first sensing signal; generating a distortion detection signal indicating whether the rectified voltage is distorted or not; generating a phase detection signal indicating a detected phase range within which the TRIAC dimmer is in a conduction state based at least in part on the first sensing signal; receiving the phase detection signal and the distortion detection signal; generating a reference voltage based at least in part on the phase detection signal and the distortion detection signal; receiving the reference voltage and a diode current flowing through the one or more light emitting diodes; generating a second sensing signal representing the diode current; receiving the second sensing signal; generating a bleeder control signal based at least in part on the second sensing signal, the bleeder control signal indicating whether a bleeder current is allowed or not allowed to be generated; receiving the bleeder control signal; and generating a bleeder current based at least in part on the bleeder control signal; wherein the generating a reference voltage based at least in part on the phase detection signal and the distortion detection signal includes, if the distortion detection signal indicates that the rectified voltage is distorted: performing a phase compensation to the detected phase range within which the TRIAC dimmer is in the conduction state to generate a compensated phase range; and using the compensated phase range to generate the reference voltage.
According to certain embodiments, a method for controlling one or more light emitting diodes includes: receiving a rectified voltage associated with a TRIAC dimmer; generating a first sensing signal representing the rectified voltage; receiving the first sensing signal; determining whether the rectified voltage is distorted or not based at least in part on the first sensing signal; generating a distortion detection signal indicating whether the rectified voltage is distorted or not; detecting a phase range within which the TRIAC dimmer is in a conduction state based at least in part on the first sensing signal; generating a reference voltage based at least in part on the detected phase range; receiving the reference voltage and a diode current flowing through the one or more light emitting diodes; generating a second sensing signal representing the diode current; receiving the second sensing signal and the distortion detection signal; generating a first bleeder control signal and a second bleeder control signal based at least in part on the second sensing signal and the distortion detection signal, the first bleeder control signal indicating whether a bleeder current is allowed or not allowed to be generated; receiving the first bleeder control signal and the second bleeder control signal; and generating the bleeder current based at least in part on the first bleeder control signal and the second bleeder control signal; wherein the generating a first bleeder control signal and a second bleeder control signal based at least in part on the second sensing signal and the distortion detection signal includes, if the distortion detection signal indicates that the rectified voltage is distorted and if the second sensing signal changes from being larger than a predetermined threshold to being smaller than the predetermined threshold: immediately changing the first bleeder control signal from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated; immediately generating the second bleeder control signal at a first logic level; and after a predetermined delay of time, changing the second bleeder control signal from the first logic level to a second logic level, the predetermined delay of time being larger than zero; wherein the generating the bleeder current based at least in part on the first bleeder control signal and the second bleeder control signal includes, if the first bleeder control signal changes from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated: generating the bleeder current at a first current magnitude if the second bleeder control signal is at the first logic level; and generating the bleeder current at a second current magnitude if the second bleeder control signal is at the second logic level; wherein the first current magnitude is smaller than the second current magnitude.
Depending upon embodiment, one or more benefits may be achieved. These benefits and various additional objects, features and advantages of the present invention can be fully appreciated with reference to the detailed description and accompanying drawings that follow.
Certain embodiments of the present invention are directed to circuits. More particularly, some embodiments of the invention provide systems and methods for dimming control related to Triode for Alternating Current (TRIAC) dimmers. Merely by way of example, some embodiments of the invention have been applied to light emitting diodes (LEDs). But it would be recognized that the invention has a much broader range of applicability.
In some examples, as shown by the waveforms 310 and 320, when the rectified voltage (e.g., VIN) becomes larger than the forward bias voltage (e.g., VO) of the one or more LEDs 120, the output current (e.g., Iled) flowing through the one or more LEDs 120 rises from zero to a magnitude that is larger than zero, but when the rectified voltage (e.g., VIN) becomes smaller than the forward bias voltage (e.g., VO) of the one or more LEDs 120, the output current (e.g., Iled) flowing through the one or more LEDs 120 drops to zero from the magnitude that is larger than zero. In certain examples, as shown by the waveforms 320 and 330, after the output current (e.g., Iled) flowing through the one or more LEDs 120 becomes smaller than the holding current of the TRIAC dimmer 110, with the predetermined delay (e.g., Tdelay), the bleeder unit U2 generates the bleeder current 171 so that the total current that flows through the TRIAC dimmer 110 becomes larger than the holding current of the TRIAC dimmer 110. For example, the predetermined delay is larger than zero.
Referring to
As shown by the waveform 310, during the predetermined delay (e.g., Tdelay), the bleeder current 171 remains equal to zero in magnitude, so the total current that flows through the TRIAC dimmer 110 is smaller than the holding current of the TRIAC dimmer 110 according to certain embodiments. For example, the predetermined delay is larger than zero. In some examples, during the predetermined delay (e.g., Tdelay), the TRIAC dimmer 110 cannot sustain the linear operation, causing undesirable distortion of the rectified voltage (e.g., VIN). For example, the waveform 310 includes a segment 312, but the segment 312 deviates from a segment 314 as shown in
In certain embodiments, after the system 400 is powered on, an AC input voltage (e.g., VAC) is received by the TRIAC dimmer 410 and rectified by the rectifier 412 (e.g., BD1) to generate a rectified voltage 413 (e.g., VIN). For example, the rectified voltage 413 (e.g., VIN) is used to control an output current 421 that flows through the one or more LEDs 420. In some embodiments, the rectified voltage 413 (e.g., VIN) is received by the voltage detection unit 430, which in response outputs a sensing signal 431 (e.g., LS) to the phase detection and compensation unit 440 and the voltage distortion detection unit 480. For example, the voltage detection unit 430 includes a resistor 432 (e.g., R3) and a resistor 434 (e.g., R4), and the resistors 432 and 434 form a voltage divider. As an example, the voltage detection unit 430 also includes a sampling circuit, which is configured to sample a processed voltage that is generated by the voltage divider and to generate the sensing signal 431 (e.g., LS) that represents a change of the rectified voltage 413 (e.g., VIN).
According to certain embodiments, the voltage distortion detection unit 480 receives the sensing signal 431 (e.g., LS), determines whether the rectified voltage 413 (e.g., VIN) is distorted or not based at least in part on the sensing signal 431 (e.g., LS), and generates a distortion detection signal 481 that indicates whether the rectified voltage 413 (e.g., VIN) is distorted or not. In some examples, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 uses the sensing signal 431 (e.g., LS) to determine the downward slope of the falling edge of the rectified voltage 413 (e.g., VIN) and determines whether the rectified voltage 413 (e.g., VIN) is distorted based at least in part on the determined downward slope. For example, whether the TRIAC dimmer 410 is a leading-edge TRIAC dimmer is detected by the LED lighting system 400 or is predetermined.
In certain examples, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 compares the determined downward slope with a predetermined slope threshold and determines whether the rectified voltage 413 (e.g., VIN) is distorted based at least in part on the comparison between the determined downward slope and the predetermined slope threshold. For example, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 determines that the rectified voltage 413 (e.g., VIN) is distorted if the determined downward slope is larger than the predetermined slope threshold in magnitude (e.g., if the absolute value of the determined downward slope is larger than the absolute value of the predetermined slope threshold). As an example, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 determines that the rectified voltage 413 (e.g., VIN) is not distorted if the determined downward slope is not larger than the predetermined slope threshold in magnitude (e.g., if the absolute value of the determined downward slope is not larger than the absolute value of the predetermined slope threshold).
According to some embodiments, the phase detection and compensation unit 440 includes a phase detection sub-unit 442 and a phase compensation sub-unit 444. In certain examples, the phase detection sub-unit 442 receives the sensing signal 431 (e.g., LS) and detects, based on at least information associated with the sensing signal 431 (e.g., LS), a phase range within which the TRIAC dimmer 410 is in a conduction state. For example, the phase detection sub-unit 442 also generates a phase range signal 443 that indicates the detected phase range within which the TRIAC dimmer 410 is in the conduction state.
In some examples, the phase compensation sub-unit 444 receives the phase range signal 443 and the distortion detection signal 481 and generates a reference voltage 445 (e.g., Vref1) based at least in part on the phase range signal 443 and the distortion detection signal 481. For example, if the distortion detection signal 481 indicates that the rectified voltage 413 (e.g., VIN) is distorted, the phase compensation sub-unit 444 performs a phase compensation to the detected phase range within which the TRIAC dimmer 410 is in the conduction state as indicated by the phase range signal 443, and uses the compensated phase range to generate the reference voltage 445 (e.g., Vref1). As an example, if the distortion detection signal 481 indicates that the rectified voltage 413 (e.g., VIN) is not distorted, the phase compensation sub-unit 444 does not performs a phase compensation to the detected phase range within which the TRIAC dimmer 410 is in the conduction state as indicated by the phase range signal 443, and uses the phase range without compensation to generate the reference voltage 445 (e.g., Vref1).
In certain embodiments, the control unit 460 (e.g., U1) for LED output current receives the reference voltage 445 (e.g., Vref1) and uses the reference voltage 445 (e.g., Vref1) to control the output current 421 that flows through the one or more LEDs 420. In some embodiments, the control unit 460 (e.g., U1) for LED output current includes a transistor 462, an amplifier 464, and a resistor 466. In certain examples, the amplifier 464 includes a positive input terminal (e.g., the “+” input terminal), a negative input terminal (e.g., the “−” input terminal), and an output terminal. For example, the positive input terminal (e.g., the “+” input terminal) of the amplifier 464 receives the reference voltage 445 (e.g., Vref1), the negative input terminal (e.g., the “−” input terminal) of the amplifier 464 is coupled to the source terminal of the transistor 462, and the output terminal of the amplifier 464 is coupled to the gate terminal of the transistor 462. As an example, the drain terminal of the transistor 462 is coupled to the one or more LEDs 420. In some examples, the negative input terminal (e.g., the “−” input terminal) of the amplifier 464 is also coupled to one terminal of the resistor 466 to generate a sensing signal 463, which is proportional to the output current 421 that flows through the one or more LEDs 420. For example, the resistor 466 includes another terminal biased to the ground voltage. As an example, the sensing signal 463 is outputted to the bleeder current control unit 450.
In some embodiments, the bleeder current control unit 450 receives the sensing signal 463 and in response generates a control signal 451. In certain examples, the bleeder unit 470 (e.g., U2) includes a transistor 474, an amplifier 472, a resistor 478, and a switch 476. In some examples, when the sensing signal 463 rises above a predetermined voltage threshold (e.g., at time ta when the detected output current 421 rises above the predetermined current threshold 722 as shown by the waveform 720 in
At the process 510, the rectified voltage (e.g., VIN) (e.g., the rectified voltage 413) is detected according to some embodiments. In certain examples, the rectified voltage 413 (e.g., VIN) is received by the voltage detection unit 430, which in response detects the rectified voltage 413 (e.g., VIN) and outputs the sensing signal 431 (e.g., LS) to the phase detection and compensation unit 440 and the voltage distortion detection unit 480. For example, the sensing signal 431 (e.g., LS) represents the magnitude of the rectified voltage 413 (e.g., VIN). In some examples, the voltage detection unit 430 includes the voltage divider and the sampling circuit. For example, the voltage divider includes the resistor 432 (e.g., R3) and the resistor 434 (e.g., R4), and is configured to receive the rectified voltage 413 (e.g., VIN) and generate the processed voltage. As an example, the sampling circuit samples the processed voltage that is generated by the voltage divider and generates the sensing signal 431 (e.g., LS) that represents the change of the rectified voltage 413 (e.g., VIN).
At the process 520, whether the rectified voltage (e.g., VIN) is distorted or not is determined according to certain embodiments. In some examples, the voltage distortion detection unit 480 receives the sensing signal 431 (e.g., LS), determines whether the rectified voltage 413 (e.g., VIN) is distorted or not based at least in part on the sensing signal 431 (e.g., LS), and generates a distortion detection signal 481 that indicates whether the rectified voltage 413 (e.g., VIN) is distorted or not. In certain examples, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 uses the sensing signal 431 (e.g., LS) to determine the downward slope of the falling edge of the rectified voltage 413 (e.g., VIN) and determines whether the rectified voltage 413 (e.g., VIN) is distorted based at least in part on the determined downward slope. For example, whether the TRIAC dimmer 410 is a leading-edge TRIAC dimmer is detected by the LED lighting system 400 or is predetermined.
In some examples, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 compares the determined downward slope with a predetermined slope threshold and determines whether the rectified voltage 413 (e.g., VIN) is distorted based at least in part on the comparison between the determined downward slope and the predetermined slope threshold. For example, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 determines that the rectified voltage 413 (e.g., VIN) is distorted if the determined downward slope is larger than the predetermined slope threshold in magnitude (e.g., if the absolute value of the determined downward slope is larger than the absolute value of the predetermined slope threshold). As an example, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 determines that the rectified voltage 413 (e.g., VIN) is not distorted if the determined downward slope is not larger than the predetermined slope threshold in magnitude (e.g., if the absolute value of the determined downward slope is not larger than the absolute value of the predetermined slope threshold). In certain examples, if the rectified voltage (e.g., VIN) is determined to be distorted, the processes 530 and 540 are performed, and if the rectified voltage (e.g., VIN) is determined to be not distorted, the processes 550 and 560 are performed.
At the process 530, a compensated phase range within which a TRIAC dimmer is in the conduction state is determined according to some embodiments. In certain examples, the phase detection and compensation unit 440 receives the sensing signal 431 (e.g., LS) and the distortion detection signal 481, and determine the compensated phase range within which the TRIAC dimmer 410 is in the conduction state. In some examples, the compensation to the phase range within which the TRIAC dimmer 410 is in the conduction state is larger than zero in magnitude, and is performed to compensate for the reduction of the phase range caused by the distortion of the rectified voltage 413 (e.g., VIN).
At the process 540, brightness of the LEDs are adjusted based at least in part on the compensated phase range within which the TRIAC dimmer is in the conduction state according to certain embodiments. In some examples, the phase detection and compensation unit 440 uses the compensated phase range to generate the reference voltage 445 (e.g., Vref1) and outputs the reference voltage 445 (e.g., Vref1) to the control unit 460 (e.g., U1) for LED output current. For example, the control unit 460 (e.g., U1) for LED output current receives the reference voltage 445 (e.g., Vref1), and uses the reference voltage 445 (e.g., Vref1) to adjust the output current 421 that flows through the one or more LEDs 420 and also adjust brightness of the one or more LEDs 420.
At the process 550, the uncompensated phase range within which the TRIAC dimmer is in the conduction state is determined according to some embodiments. In certain examples, the phase detection and compensation unit 440 receives the sensing signal 431 (e.g., LS) and the distortion detection signal 481, and determine the uncompensated phase range within which the TRIAC dimmer 410 is in the conduction state. In some examples, the phase detection and compensation unit 440 receives the sensing signal 431 (e.g., LS) and detects, based on at least information associated with the sensing signal 431 (e.g., LS), the phase range within which the TRIAC dimmer 410 is in a conduction state. For example, the phase detection and compensation unit 440 uses the detected phase range as the uncompensated phase range within which the TRIAC dimmer 410 is in the conduction state. As an example, the phase detection and compensation unit 440 performs a compensation that is equal to zero in magnitude to the detected phase range so that the compensated phase range is the same as the uncompensated phase range, and uses this compensated phase range as the uncompensated phase range within which the TRIAC dimmer 410 is in the conduction state.
At the process 560, brightness of the LEDs are adjusted based at least in part on the uncompensated phase range within which the TRIAC dimmer is in the conduction state according to certain embodiments. In some examples, the phase detection and compensation unit 440 uses the uncompensated phase range to generate the reference voltage 445 (e.g., Vref1) and outputs the reference voltage 445 (e.g., Vref1) to the control unit 460 (e.g., U1) for LED output current. For example, the control unit 460 (e.g., U1) for LED output current receives the reference voltage 445 (e.g., Vref1), and uses the reference voltage 445 (e.g., Vref1) to adjust the output current 421 that flows through the one or more LEDs 420 and also adjust brightness of the one or more LEDs 420.
As discussed above and further emphasized here,
At the process 610, the rectified voltage (e.g., VIN) (e.g., the rectified voltage 413) is detected according to some embodiments. In certain examples, the rectified voltage 413 (e.g., VIN) is received by the voltage detection unit 430, which in response detects the rectified voltage 413 (e.g., VIN) and outputs the sensing signal 431 (e.g., LS) to the phase detection and compensation unit 440 and the voltage distortion detection unit 480. For example, the sensing signal 431 (e.g., LS) represents the magnitude of the rectified voltage 413 (e.g., VIN). In some examples, the voltage detection unit 430 includes the voltage divider and the sampling circuit. For example, the voltage divider includes the resistor 432 (e.g., R3) and the resistor 434 (e.g., R4), and is configured to receive the rectified voltage 413 (e.g., VIN) and generate the processed voltage. As an example, the sampling circuit samples the processed voltage that is generated by the voltage divider and generates the sensing signal 431 (e.g., LS) that represents the change of the rectified voltage 413 (e.g., VIN).
At the process 620, whether the rectified voltage (e.g., VIN) is distorted or not is determined according to certain embodiments. In some examples, the voltage distortion detection unit 480 receives the sensing signal 431 (e.g., LS), determines whether the rectified voltage 413 (e.g., VIN) is distorted or not based at least in part on the sensing signal 431 (e.g., LS), and generates a distortion detection signal 481 that indicates whether the rectified voltage 413 (e.g., VIN) is distorted or not. In certain examples, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 uses the sensing signal 431 (e.g., LS) to determine the downward slope of the falling edge of the rectified voltage 413 (e.g., VIN) and determines whether the rectified voltage 413 (e.g., VIN) is distorted based at least in part on the determined downward slope. For example, whether the TRIAC dimmer 410 is a leading-edge TRIAC dimmer is detected by the LED lighting system 400 or is predetermined.
In some examples, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 compares the determined downward slope with a predetermined slope threshold and determines whether the rectified voltage 413 (e.g., VIN) is distorted based at least in part on the comparison between the determined downward slope and the predetermined slope threshold. For example, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 determines that the rectified voltage 413 (e.g., VIN) is distorted if the determined downward slope is larger than the predetermined slope threshold in magnitude (e.g., if the absolute value of the determined downward slope is larger than the absolute value of the predetermined slope threshold). As an example, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 determines that the rectified voltage 413 (e.g., VIN) is not distorted if the determined downward slope is not larger than the predetermined slope threshold in magnitude (e.g., if the absolute value of the determined downward slope is not larger than the absolute value of the predetermined slope threshold). In certain examples, if the rectified voltage (e.g., VIN) is determined to be distorted, the processes 631, 632 and 640 are performed, and if the rectified voltage (e.g., VIN) is determined to be not distorted, the processes 650 and 660 are performed.
At the process 631, the phase range within which the TRIAC dimmer is in the conduction state is detected according to some embodiments. In certain examples, the phase detection sub-unit 442 receives the sensing signal 431 (e.g., LS) and detects, based on at least information associated with the sensing signal 431 (e.g., LS), a phase range within which the TRIAC dimmer 410 is in the conduction state. For example, the phase detection sub-unit 442 also generates the phase range signal 443 that indicates the detected phase range within which the TRIAC dimmer 410 is in the conduction state.
At the process 632, the phase compensation is performed to determine the compensated phase range within which the TRIAC dimmer is in the conduction state according to certain embodiments. In some examples, the phase compensation sub-unit 444 receives the phase range signal 443 and the distortion detection signal 481. For example, the distortion detection signal 481 indicates that the rectified voltage 413 (e.g., VIN) is distorted, so the phase compensation sub-unit 444 performs the phase compensation to the detected phase range within which the TRIAC dimmer 410 is in the conduction state as indicated by the phase range signal 443. As an example, the compensation to the detected phase range within which the TRIAC dimmer 410 is in the conduction state is larger than zero in magnitude, and is performed to compensate for the reduction of the phase range caused by the distortion of the rectified voltage 413 (e.g., VIN).
At the process 640, brightness of the LEDs are adjusted based at least in part on the compensated phase range within which the TRIAC dimmer is in the conduction state according to some embodiments. In certain examples, the phase compensation sub-unit 444 uses the compensated phase range to generate the reference voltage 445 (e.g., Vref1) and outputs the reference voltage 445 (e.g., Vref1) to the control unit 460 (e.g., U1) for LED output current. For example, the control unit 460 (e.g., U1) for LED output current receives the reference voltage 445 (e.g., Vref1), and uses the reference voltage 445 (e.g., Vref1) to adjust the output current 421 that flows through the one or more LEDs 420 and also adjust brightness of the one or more LEDs 420.
At the process 650, the uncompensated phase range within which the TRIAC dimmer is in the conduction state is determined according to certain embodiments. In some examples, the phase detection sub-unit 442 receives the sensing signal 431 (e.g., LS) and detects, based on at least information associated with the sensing signal 431 (e.g., LS), a phase range within which the TRIAC dimmer 410 is in the conduction state. For example, the phase detection sub-unit 442 also generates the phase range signal 443 that indicates the detected phase range within which the TRIAC dimmer 410 is in the conduction state. As an example, the detected phase range is the uncompensated phase range.
In certain examples, the phase compensation sub-unit 444 receives the phase range signal 443 and the distortion detection signal 481. For example, the distortion detection signal 481 indicates that the rectified voltage 413 (e.g., VIN) is not distorted, so the phase compensation sub-unit 444 performs a phase compensation that is equal to zero in magnitude to the detected phase range so that the compensated phase range is the same as the uncompensated phase range, and uses this compensated phase range as the uncompensated phase range within which the TRIAC dimmer 410 is in the conduction state.
At the process 660, brightness of the LEDs are adjusted based at least in part on the uncompensated phase range within which the TRIAC dimmer is in the conduction state according to certain embodiments. In some examples, the phase compensation sub-unit 444 uses the uncompensated phase range to generate the reference voltage 445 (e.g., Vref1) and outputs the reference voltage 445 (e.g., Vref1) to the control unit 460 (e.g., U1) for LED output current. For example, the control unit 460 (e.g., U1) for LED output current receives the reference voltage 445 (e.g., Vref1), and uses the reference voltage 445 (e.g., Vref1) to adjust the output current 421 that flows through the one or more LEDs 420 and also adjust brightness of the one or more LEDs 420.
As discussed above and further emphasized here,
In some examples, as shown by the waveforms 710 and 720, when the rectified voltage 413 (e.g., VIN) becomes larger than a forward bias voltage 716 (e.g., VO) of the one or more LEDs 420, the output current 421 (e.g., Iled) flowing through the one or more LEDs 420 rises from zero to a magnitude 724 that is larger than zero, but when the rectified voltage (e.g., VIN) becomes smaller than the forward bias voltage 716 (e.g., VO) of the one or more LEDs 420, the output current 421 (e.g., Iled) flowing through the one or more LEDs 420 drops from the magnitude 724 to zero. In certain examples, as shown by the waveforms 720 and 730, after the output current 421 (e.g., Iled) flowing through the one or more LEDs 420 becomes smaller than the holding current of the TRIAC dimmer 410, with the predetermined delay (e.g., Tdelay), the bleeder unit 470 generates the bleeder current 471 so that the total current that flows through the TRIAC dimmer 410 becomes larger than the holding current of the TRIAC dimmer 410. For example, the predetermined delay is larger than zero.
Referring to
As shown by the waveform 710, during the predetermined delay (e.g., Tdelay), the bleeder current 471 remains equal to zero in magnitude, so the total current that flows through the TRIAC dimmer 410 is smaller than the holding current of the TRIAC dimmer 410 according to certain embodiments. In some examples, during the predetermined delay (e.g., Tdelay), the TRIAC dimmer 410 cannot sustain the linear operation, causing the distortion of the rectified voltage 413 (e.g., VIN). For example, the waveform 710 includes a segment 712, but the segment 712 deviates from a segment 714 as shown in
In some embodiments, the phase detection sub-unit 442 receives the sensing signal 431 (e.g., LS) and detects, based on at least information associated with the sensing signal 431 (e.g., LS), the phase range within which the TRIAC dimmer 410 is in a conduction state. For example, the phase range detected by the phase detection sub-unit 442 is equal to 01. As an example, the phase detection sub-unit 442 also generates a phase range signal 443 that indicates the detected phase range ϕ1 within which the TRIAC dimmer 410 is in the conduction state.
In certain embodiments, if the TRIAC dimmer 410 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 480 compares the determined downward slope of the segment 712 of the waveform 710 with the predetermined slope threshold, and determines whether the rectified voltage 413 (e.g., VIN) is distorted based at least in part on the comparison between the determined downward slope and the predetermined slope threshold. For example, the TRIAC dimmer 410 is a leading-edge TRIAC dimmer and the determined downward slope of the segment 712 of the waveform 710 is larger than the predetermined slope threshold in magnitude (e.g., the absolute value of the determined downward slope is larger than the absolute value of the predetermined slope threshold), so the voltage distortion detection unit 480 determines that the rectified voltage 413 (e.g., VIN) is distorted.
According to some embodiments, the phase compensation sub-unit 444 receives the phase range signal 443 and the distortion detection signal 481 and generates the reference voltage 445 (e.g., Vref1) based at least in part on the phase range signal 443 and the distortion detection signal 481. In some examples, the distortion detection signal 481 indicates that the rectified voltage 413 (e.g., VIN) is distorted, so the phase compensation sub-unit 444 performs a phase compensation to the detected phase range ϕ1 within which the TRIAC dimmer 410 is in the conduction state as indicated by the phase range signal 443.
According to certain embodiments, the phase compensation is performed by adding Δϕ that is larger than zero to the detected phase range ϕ1, so that the compensated phase range is equal to ϕ2 as shown in
ϕ1+Δϕ=ϕ2 (1)
In some examples, the phase compensation Δϕ is predetermined. For example, the phase compensation Δϕ is predetermined by measurement for a TRIAC dimmer that is of the same type as the TRIAC dimmer 410. In certain examples, the phase compensation Δϕ is larger than 0. As an example, the phase compensation Δϕ is equal to 30°.
In certain examples, the phase compensation sub-unit 444 uses the compensated phase range ϕ2 to generate the reference voltage 445 (e.g., Vref1). As an example, the control unit 460 (e.g., U1) for LED output current receives the reference voltage 445 (e.g., Vref1) and uses the reference voltage 445 (e.g., Vref1) to adjust the output current 421 that flows through the one or more LEDs 420 and also adjust brightness of the one or more LEDs 420.
Referring to
According to certain embodiments, as shown by Equation 1, with the distortion, the compensated phase range varies between the magnitude ϕA and the magnitude ϕB. For example, with the distortion, if the compensated phase range is equal to the magnitude ϕA, the one or more LEDs 420 is at 0% of the full brightness. As an example, with the distortion, if the compensated phase range is equal to the magnitude ϕB, the one or more LEDs 420 is at 100% of the full brightness.
In some embodiments, at time ta, the rectified voltage 413 (e.g., VIN) becomes larger than the forward bias voltage (e.g., VO) of the one or more LEDs 420 as shown by the waveform 710, the detected output current 421 (e.g., Iled) rises above the predetermined current threshold 722 as shown by the waveform 720, and the bleeder current 471 drops from the predetermined magnitude 734 to the predetermined magnitude 736 as shown by the waveform 730. For example, the predetermined magnitude 736 is equal to zero. As an example, from time ta to time tb, the bleeder current 471 is not generated.
In certain embodiments, at time tb, the rectified voltage 413 (e.g., VIN) becomes smaller than the forward bias voltage (e.g., VO) of the one or more LEDs 420 as shown by the waveform 710, the detected output current 421 (e.g., Iled) falls below the predetermined current threshold 722 as shown by the waveform 720, and the bleeder current 471 remains at the predetermined magnitude 736 as shown by the waveform 730. For example, the predetermined magnitude 736 is equal to zero. As an example, from time tb to time tc, the bleeder current 471 is still not generated, wherein the time duration from time tb to time tc is the predetermined delay Tdelay.
According to some embodiments, at time tc, the bleeder current 471 increases from the predetermined magnitude 736 to the predetermined magnitude 734. For example, the predetermined magnitude 736 is equal to zero, and the predetermined magnitude 734 is larger than zero. In certain examples, from time tc to time td, the bleeder current 471 remains at the predetermined magnitude 734. As an example, the bleeder current 471 generated at the predetermined magnitude 734 is used to ensure that the current flowing through the TRIAC dimmer 410 does not fall below the holding current of the TRIAC dimmer 410.
According to certain embodiments, at time td, the rectified voltage 413 (e.g., VIN) becomes larger than the forward bias voltage (e.g., VO) of the one or more LEDs 420 as shown by the waveform 710, the detected output current 421 (e.g., Iled) rises above the predetermined current threshold 722 as shown by the waveform 720, and the bleeder current 471 drops from the predetermined magnitude 734 to the predetermined magnitude 736 as shown by the waveform 730. For example, the predetermined magnitude 736 is equal to zero. As an example, at time td, the bleeder current 471 stops being generated.
As discussed above and further emphasized here,
In certain embodiments, after the system 800 is powered on, an AC input voltage (e.g., VAC) is received by the TRIAC dimmer 810 and rectified by the rectifier 812 (e.g., BD1) to generate a rectified voltage 813 (e.g., VIN). For example, the rectified voltage 813 (e.g., VIN) is used to control an output current 821 that flows through the one or more LEDs 820. In some embodiments, the rectified voltage 813 (e.g., VIN) is received by the voltage detection unit 830, which in response outputs a sensing signal 831 (e.g., LS) to the phase detection unit 840 and the voltage distortion detection unit 880. For example, the voltage detection unit 830 includes a resistor 832 (e.g., R3) and a resistor 834 (e.g., R4), and the resistors 832 and 834 form a voltage divider. As an example, the voltage detection unit 830 also includes a sampling circuit, which is configured to sample a processed voltage that is generated by the voltage divider and to generate the sensing signal 831 (e.g., LS) that represents a change of the rectified voltage 813 (e.g., VIN).
According to certain embodiments, the voltage distortion detection unit 880 receives the sensing signal 831 (e.g., LS), determines whether the rectified voltage 813 (e.g., VIN) is distorted or not based at least in part on the sensing signal 831 (e.g., LS), and generates a distortion detection signal 881 that indicates whether the rectified voltage 813 (e.g., VIN) is distorted or not. In some examples, if the TRIAC dimmer 810 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 880 uses the sensing signal 831 (e.g., LS) to determine the downward slope of the falling edge of the rectified voltage 813 (e.g., VIN) and determines whether the rectified voltage 813 (e.g., VIN) is distorted based at least in part on the determined downward slope. For example, whether the TRIAC dimmer 810 is a leading-edge TRIAC dimmer is detected by the LED lighting system 800 or is predetermined.
In certain examples, if the TRIAC dimmer 810 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 880 compares the determined downward slope with a predetermined slope threshold and determines whether the rectified voltage 813 (e.g., VIN) is distorted based at least in part on the comparison between the determined downward slope and the predetermined slope threshold. For example, if the TRIAC dimmer 810 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 880 determines that the rectified voltage 813 (e.g., VIN) is distorted if the determined downward slope is larger than the predetermined slope threshold in magnitude (e.g., if the absolute value of the determined downward slope is larger than the absolute value of the predetermined slope threshold). As an example, if the TRIAC dimmer 810 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 880 determines that the rectified voltage 813 (e.g., VIN) is not distorted if the determined downward slope is not larger than the predetermined slope threshold in magnitude (e.g., if the absolute value of the determined downward slope is not larger than the absolute value of the predetermined slope threshold).
According to some embodiments, the phase detection unit 840 receives the sensing signal 831 (e.g., LS) and detects, based on at least information associated with the sensing signal 831 (e.g., LS), a phase range within which the TRIAC dimmer 810 is in a conduction state. In certain examples, the phase detection unit 840 also generates a reference voltage 845 (e.g., Vref1) based at least in part on the detected phase range within which the TRIAC dimmer 810 is in the conduction state.
In certain embodiments, the control unit 860 (e.g., U1) for LED output current receives the reference voltage 845 (e.g., Vref1) and uses the reference voltage 845 (e.g., Vref1) to control the output current 821 that flows through the one or more LEDs 820. In some embodiments, the control unit 860 (e.g., U1) for LED output current includes a transistor 862, an amplifier 864, and a resistor 866. In certain examples, the amplifier 864 includes a positive input terminal (e.g., the “+” input terminal), a negative input terminal (e.g., the “−” input terminal), and an output terminal. For example, the positive input terminal (e.g., the “+” input terminal) of the amplifier 864 receives the reference voltage 845 (e.g., Vref1), the negative input terminal (e.g., the “−” input terminal) of the amplifier 864 is coupled to the source terminal of the transistor 862, and the output terminal of the amplifier 864 is coupled to the gate terminal of the transistor 862. As an example, the drain terminal of the transistor 862 is coupled to the one or more LEDs 820. In some examples, the negative input terminal (e.g., the “−” input terminal) of the amplifier 864 is also coupled to one terminal of the resistor 866 to generate a sensing signal 863, which is proportional to the output current 821 that flows through the one or more LEDs 820. For example, the resistor 866 includes another terminal biased to the ground voltage. As an example, the sensing signal 863 is outputted to the bleeder current control unit 850.
In some embodiments, the bleeder current control unit 850 receives the distortion detection signal 881 and the sensing signal 863, and in response generates control signals 851 and 853. In certain examples, the bleeder unit 870 (e.g., U2) includes a transistor 874, an amplifier 872, a resistor 878, and switches 878 and 882. In some examples, if the distortion detection signal 881 indicates that the rectified voltage 813 (e.g., VIN) is distorted, the process 931 is performed. For example, when the sensing signal 863 rises above a predetermined voltage threshold (e.g., at time t1 when the detected output current 821 rises above the predetermined current threshold 1022 as shown by the waveform 1020 in
In certain examples, if the distortion detection signal 881 indicates that the rectified voltage 813 (e.g., VIN) is not distorted, the process 931 is not performed. For example, when the sensing signal 863 rises above a predetermined voltage threshold (e.g., at time ti when the detected output current 821 rises above the predetermined current threshold 1022 as shown by the waveform 1020 in
According to certain embodiments, the phase detection unit 840 receives the sensing signal 831 (e.g., LS) and detects, based on at least information associated with the sensing signal 831 (e.g., LS), a phase range within which the TRIAC dimmer 810 is in a conduction state. For example, the phase detection unit 840 generates a reference voltage 845 (e.g., Vref1) based at least in part on the detected phase range within which the TRIAC dimmer 810 is in the conduction state. As an example, the reference voltage 845 (e.g., Vref1) is received by the control unit 860 (e.g., U1) for LED output current.
At the process 910, the rectified voltage (e.g., VIN) (e.g., the rectified voltage 813) is detected according to some embodiments. In certain examples, the rectified voltage 813 (e.g., VIN) is received by the voltage detection unit 830, which in response detects the rectified voltage 813 (e.g., VIN) and outputs the sensing signal 831 (e.g., LS) to the phase detection unit 840 and the voltage distortion detection unit 880. For example, the sensing signal 831 (e.g., LS) represents the magnitude of the rectified voltage 813 (e.g., VIN). In some examples, the voltage detection unit 830 includes the voltage divider and the sampling circuit. For example, the voltage divider includes the resistor 832 (e.g., R3) and the resistor 834 (e.g., R4), and is configured to receive the rectified voltage 813 (e.g., VIN) and generate the processed voltage. As an example, the sampling circuit samples the processed voltage that is generated by the voltage divider and generates the sensing signal 831 (e.g., LS) that represents the change of the rectified voltage 813 (e.g., VIN).
At the process 920, whether the rectified voltage (e.g., VIN) is distorted or not is determined according to certain embodiments. In some examples, the voltage distortion detection unit 880 receives the sensing signal 831 (e.g., LS), determines whether the rectified voltage 813 (e.g., VIN) is distorted or not based at least in part on the sensing signal 831 (e.g., LS), and generates a distortion detection signal 881 that indicates whether the rectified voltage 813 (e.g., VIN) is distorted or not. In certain examples, if the TRIAC dimmer 810 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 880 uses the sensing signal 831 (e.g., LS) to determine the downward slope of the falling edge of the rectified voltage 813 (e.g., VIN) and determines whether the rectified voltage 813 (e.g., VIN) is distorted based at least in part on the determined downward slope. For example, whether the TRIAC dimmer 810 is a leading-edge TRIAC dimmer is detected by the LED lighting system 800 or is predetermined.
In some examples, if the TRIAC dimmer 810 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 880 compares the determined downward slope with a predetermined slope threshold and determines whether the rectified voltage 813 (e.g., VIN) is distorted based at least in part on the comparison between the determined downward slope and the predetermined slope threshold. For example, if the TRIAC dimmer 810 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 880 determines that the rectified voltage 813 (e.g., VIN) is distorted if the determined downward slope is larger than the predetermined slope threshold in magnitude (e.g., if the absolute value of the determined downward slope is larger than the absolute value of the predetermined slope threshold). As an example, if the TRIAC dimmer 810 is a leading-edge TRIAC dimmer, the voltage distortion detection unit 880 determines that the rectified voltage 813 (e.g., VIN) is not distorted if the determined downward slope is not larger than the predetermined slope threshold in magnitude (e.g., if the absolute value of the determined downward slope is not larger than the absolute value of the predetermined slope threshold).
In some embodiments, if the rectified voltage (e.g., VIN) is determined to be distorted during one or more earlier cycles of the rectified voltage (e.g., VIN), the processes 931, 932 and 940 are performed for one or more later cycles of the rectified voltage (e.g., VIN). In certain embodiments, if the rectified voltage (e.g., VIN) is determined to be not distorted during one or more earlier cycles of the rectified voltage (e.g., VIN), the processes 950 and 960 are performed for one or more later cycles of the rectified voltage (e.g., VIN).
At the process 931, the output current that flows through the one or more LEDs is detected, and if the detected output current falls below the predetermined current threshold, the bleeder current is generated according to some embodiments. In certain examples, when the detected output current falls below the predetermined current threshold, the bleeder current is generated at a first predetermined magnitude without any predetermined delay, and then after a predetermined delay, the bleeder current changes from the first predetermined magnitude to the second predetermined magnitude. For example, the predetermined delay is larger than zero. In some examples, the first predetermined magnitude is smaller than the second predetermined magnitude. For example, the bleeder current (e.g., the bleeder current 871) at the first predetermined magnitude is used to prevent the distortion of the rectified voltage (e.g., the distortion of the rectified voltage 813). As an example, the bleeder current (e.g., the bleeder current 871) at the second predetermined magnitude is used to ensure that the current flowing through the TRIAC dimmer (e.g., the TRIAC dimmer 810) does not fall below the holding current of the TRIAC dimmer (e.g., the TRIAC dimmer 810). For example, after the process 931, the process 932 is performed.
At the process 932, the phase range within which the TRIAC dimmer is in the conduction state is detected according to certain embodiments. In some examples, the phase detection unit 840 receives the sensing signal 831 (e.g., LS) and detects, based on at least information associated with the sensing signal 831 (e.g., LS), a phase range within which the TRIAC dimmer 810 is in the conduction state. In certain examples, after the process 932, the process 940 is performed.
At the process 940, brightness of the LEDs are adjusted based at least in part on the detected phase range within which the TRIAC dimmer is in the conduction state according to some embodiments. In certain examples, the phase detection unit 840 uses the detected phase range to generate the reference voltage 845 (e.g., Vref1) and outputs the reference voltage 845 (e.g., Vref1) to the control unit 860 (e.g., U1) for LED output current. For example, the control unit 860 (e.g., U1) for LED output current receives the reference voltage 845 (e.g., Vref1), and uses the reference voltage 845 (e.g., Vref1) to adjust the output current 821 that flows through the one or more LEDs 820 and also adjust brightness of the one or more LEDs 820.
At the process 950, the phase range within which the TRIAC dimmer is in the conduction state is detected according to certain embodiments. In some examples, the phase detection unit 840 receives the sensing signal 831 (e.g., LS) and detects, based on at least information associated with the sensing signal 831 (e.g., LS), a phase range within which the TRIAC dimmer 810 is in the conduction state. In certain examples, after the process 950, the process 960 is performed.
At the process 960, brightness of the LEDs are adjusted based at least in part on the detected phase range within which the TRIAC dimmer is in the conduction state according to some embodiments. In certain examples, the phase detection unit 840 uses the detected phase range to generate the reference voltage 845 (e.g., Vref1) and outputs the reference voltage 845 (e.g., Vref1) to the control unit 860 (e.g., U1) for LED output current. For example, the control unit 860 (e.g., U1) for LED output current receives the reference voltage 845 (e.g., Vref1), and uses the reference voltage 845 (e.g., Vref1) to adjust the output current 821 that flows through the one or more LEDs 820 and also adjust brightness of the one or more LEDs 820.
As discussed above and further emphasized here,
In certain embodiments, after the rectified voltage 813 (e.g., VIN) is determined to be distorted during one or more earlier cycles of the rectified voltage 813 (e.g., VIN) at the process 920, the processes 931, 932 and 940 are then performed for one or more later cycles of the rectified voltage 813 (e.g., VIN).
In some embodiments, at time t1, the rectified voltage 813 (e.g., VIN) becomes larger than the forward bias voltage (e.g., VO) of the one or more LEDs 820 as shown by the waveform 1010, the detected output current 821 (e.g., Led) rises above the predetermined current threshold 1022 as shown by the waveform 1020, and the bleeder current 871 drops from the predetermined magnitude 1034 (e.g., Ibleed2) to the predetermined magnitude 1036 as shown by the waveform 1030. For example, the predetermined magnitude 1036 is equal to zero. As an example, from time t1 to time t2, the bleeder current 871 is not generated.
According to certain embodiments, at time t2, the rectified voltage 813 (e.g., VIN) becomes smaller than the forward bias voltage (e.g., VO) of the one or more LEDs 820 as shown by the waveform 1010, the detected output current 821 (e.g., Iled) falls below the predetermined current threshold 1022 as shown by the waveform 1020, and the bleeder current 871 is generated at the predetermined magnitude 1032 without any predetermined delay as shown by the waveform 1030. For example, the predetermined magnitude 1032 (e.g., Ibleed1) is larger than zero. As an example, from time t2 to time t3, the bleeder current 871 remains at the predetermined magnitude 1032 (e.g., Ibleed1), wherein the time duration from time t2 to time t3 is the predetermined delay Tdelay.
According to some embodiments, at time t3, the bleeder current 871 increases from the predetermined magnitude 1032 to the predetermined magnitude 1034 (e.g., Ibleed2). For example, the predetermined magnitude 1034 (e.g., Ibleed2) is larger than the predetermined magnitude 1032. As an example, from time t3 to time t4, the bleeder current 871 remains at the predetermined magnitude 1034 (e.g., Ibleed2).
In certain embodiments, at time t4, the rectified voltage 813 (e.g., VIN) becomes larger than the forward bias voltage (e.g., VO) of the one or more LEDs 820 as shown by the waveform 1010, the detected output current 821 (e.g., Iled) rises above the predetermined current threshold 1022 as shown by the waveform 1020, and the bleeder current 871 drops from the predetermined magnitude 1034 (e.g., Ibleed2) to the predetermined magnitude 1036 as shown by the waveform 1030. For example, the predetermined magnitude 1036 is equal to zero. As an example, at time t4, the bleeder current 871 stops being generated.
In some embodiments, the bleeder current 871 generated at the predetermined magnitude 1032 (e.g., Ibleed1) is used to prevent the distortion of the rectified voltage 813, and the bleeder current 871 generated at the predetermined magnitude 1034 (e.g., Ibleed2) is used to ensure that the current flowing through the TRIAC dimmer 810 does not fall below the holding current of the TRIAC dimmer 810. For example, the predetermined magnitude 1032 (e.g., Ibleed1) is smaller than the predetermined magnitude 1034 (e.g., Ibleed2), so that the distortion of the rectified voltage 813 is prevented and the energy efficiency of the LED lighting system 800 is not significantly reduce by the bleeder current 871 that is generated during the predetermined delay Tdelay. As an example, the predetermined delay Tdelay is larger than zero.
As discussed above and further emphasized here.
Certain embodiments of the present invention provide systems and methods for dimming control associated with LED lighting. For example, the systems and methods for dimming control can prevent distortion of a rectified voltage (e.g., VIN) caused by an insufficient bleeder current. As an example, the system and the method for dimming control can prevent reduction of a range of adjustment for brightness of one or more LEDs, so that users of the one or more LEDs can enjoy improved visual experiences.
According to some embodiments, a system for controlling one or more light emitting diodes includes: a voltage detector configured to receive a rectified voltage associated with a TRIAC dimmer and generated by a rectifying bridge and generate a first sensing signal representing the rectified voltage; a distortion detector configured to receive the first sensing signal, determine whether the rectified voltage is distorted or not based at least in part on the first sensing signal, and generate a distortion detection signal indicating whether the rectified voltage is distorted or not; a phase detector configured to receive the first sensing signal and generate a phase detection signal indicating a detected phase range within which the TRIAC dimmer is in a conduction state based at least in part on the first sensing signal; a voltage generator configured to receive the phase detection signal from the phase detector, receive the distortion detection signal from the distortion detector, and generate a reference voltage based at least in part on the phase detection signal and the distortion detection signal; a current regulator configured to receive the reference voltage from the voltage generator, receive a diode current flowing through the one or more light emitting diodes, and generate a second sensing signal representing the diode current; a bleeder controller configured to receive the second sensing signal from the current regulator and generate a bleeder control signal based at least in part on the second sensing signal, the bleeder control signal indicating whether a bleeder current is allowed or not allowed to be generated; and a bleeder configured to receive the bleeder control signal from the bleeder controller and generate a bleeder current based at least in part on the bleeder control signal; wherein the voltage generator is further configured to, if the distortion detection signal indicates that the rectified voltage is distorted: perform a phase compensation to the detected phase range within which the TRIAC dimmer is in the conduction state to generate a compensated phase range; and use the compensated phase range to generate the reference voltage. For example, the system for controlling one or more light emitting diodes is implemented according to
In some examples, the voltage generator is further configured to, if the distortion detection signal indicates that the rectified voltage is not distorted, use the detected phase range to generate the reference voltage. In certain examples, the voltage generator is further configured to, if the distortion detection signal indicates that the rectified voltage is distorted, generate the compensated phase range by adding a predetermined phase to the detected phase range; wherein: the compensated phase range is equal to a sum of the detected phase range and the predetermined phase; and the predetermined phase is larger than zero.
In some examples, the bleeder controller is further configured to, if the second sensing signal changes from being larger than a predetermined threshold to being smaller than the predetermined threshold, after a predetermined delay of time, change the bleeder control signal from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated; wherein the predetermined delay of time is larger than zero. In certain examples, the bleeder controller is further configured to, if the second sensing signal changes from being smaller than the predetermined threshold to being larger than the predetermined threshold, immediately, change the bleeder control signal from indicating the bleeder current is allowed to be generated to indicating the bleeder current is not allowed to be generated.
In some examples, the distortion detector is further configured to, if the TRIAC dimmer is a leading-edge TRIAC dimmer: determine a downward slope of a falling edge of the rectified voltage based at least in part on the first sensing signal; compare the downward slope and a predetermined slope; and if the downward slope is larger than the predetermined slope in magnitude, determine that the rectified voltage is distorted. In certain examples, the distortion detector is further configured to, if the TRIAC dimmer is the leading-edge TRIAC dimmer: if the downward slope is not larger than the predetermined slope in magnitude, determine that the rectified voltage is not distorted.
According to certain embodiments, a system for controlling one or more light emitting diodes, the system comprising: a voltage detector configured to receive a rectified voltage associated with a TRIAC dimmer and generated by a rectifying bridge and generate a first sensing signal representing the rectified voltage; a distortion detector configured to receive the first sensing signal, determine whether the rectified voltage is distorted or not based at least in part on the first sensing signal, and generate a distortion detection signal indicating whether the rectified voltage is distorted or not; a phase detection and voltage generator configured to receive the first sensing signal, detect a phase range within which the TRIAC dimmer is in a conduction state based at least in part on the first sensing signal, and generate a reference voltage based at least in part on the detected phase range; a current regulator configured to receive the reference voltage from the phase detection and voltage generator, receive a diode current flowing through the one or more light emitting diodes, and generate a second sensing signal representing the diode current; a bleeder controller configured to receive the second sensing signal from the current regulator, receive the distortion detection signal from the distortion detector, and generate a first bleeder control signal and a second bleeder control signal based at least in part on the second sensing signal and the distortion detection signal, the first bleeder control signal indicating whether a bleeder current is allowed or not allowed to be generated; and a bleeder configured to receive the first bleeder control signal and the second bleeder control signal from the bleeder controller and generate the bleeder current based at least in part on the first bleeder control signal and the second bleeder control signal; wherein the bleeder controller is further configured to, if the distortion detection signal indicates that the rectified voltage is distorted and if the second sensing signal changes from being larger than a predetermined threshold to being smaller than the predetermined threshold: immediately change the first bleeder control signal from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated; immediately generate the second bleeder control signal at a first logic level; and after a predetermined delay of time, change the second bleeder control signal from the first logic level to a second logic level, the predetermined delay of time being larger than zero; wherein the bleeder is further configured to, if the first bleeder control signal changes from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated: generate the bleeder current at a first current magnitude if the second bleeder control signal is at the first logic level; and generate the bleeder current at a second current magnitude if the second bleeder control signal is at the second logic level; wherein the first current magnitude is smaller than the second current magnitude. For example, the system for controlling one or more light emitting diodes is implemented according to
In certain examples, the bleeder controller is further configured to, if the distortion detection signal indicates that the rectified voltage is not distorted and if the second sensing signal changes from being larger than the predetermined threshold to being smaller than the predetermined threshold, after the predetermined delay of time, change the first bleeder control signal from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated and also generate the second bleeder control signal at the second logic level. In some examples, the bleeder controller is further configured to, if the second sensing signal changes from being smaller than the predetermined threshold to being larger than the predetermined threshold, immediately, change the first bleeder control signal from indicating the bleeder current is allowed to be generated to indicating the bleeder current is not allowed to be generated.
In certain examples, the distortion detector is further configured to, if the TRIAC dimmer is a leading-edge TRIAC dimmer: determine a downward slope of a falling edge of the rectified voltage based at least in part on the first sensing signal; compare the downward slope and a predetermined slope; and if the downward slope is larger than the predetermined slope in magnitude, determine that the rectified voltage is distorted. In some examples, the distortion detector is further configured to, if the TRIAC dimmer is the leading-edge TRIAC dimmer: if the downward slope is not larger than the predetermined slope in magnitude, determine that the rectified voltage is not distorted. In certain examples, the first logic level is a logic low level; and the second logic level is a logic high level.
According to some embodiments, a method for controlling one or more light emitting diodes includes: receiving a rectified voltage associated with a TRIAC dimmer; generating a first sensing signal representing the rectified voltage; receiving the first sensing signal; determining whether the rectified voltage is distorted or not based at least in part on the first sensing signal; generating a distortion detection signal indicating whether the rectified voltage is distorted or not; generating a phase detection signal indicating a detected phase range within which the TRIAC dimmer is in a conduction state based at least in part on the first sensing signal; receiving the phase detection signal and the distortion detection signal; generating a reference voltage based at least in part on the phase detection signal and the distortion detection signal; receiving the reference voltage and a diode current flowing through the one or more light emitting diodes; generating a second sensing signal representing the diode current; receiving the second sensing signal; generating a bleeder control signal based at least in part on the second sensing signal, the bleeder control signal indicating whether a bleeder current is allowed or not allowed to be generated; receiving the bleeder control signal; and generating a bleeder current based at least in part on the bleeder control signal; wherein the generating a reference voltage based at least in part on the phase detection signal and the distortion detection signal includes, if the distortion detection signal indicates that the rectified voltage is distorted: performing a phase compensation to the detected phase range within which the TRIAC dimmer is in the conduction state to generate a compensated phase range; and using the compensated phase range to generate the reference voltage. For example, the method for controlling one or more light emitting diodes is implemented according to
In some examples, the generating a reference voltage based at least in part on the phase detection signal and the distortion detection signal further includes, if the distortion detection signal indicates that the rectified voltage is not distorted, using the detected phase range to generate the reference voltage. In certain examples, the performing a phase compensation to the detected phase range within which the TRIAC dimmer is in the conduction state to generate a compensated phase range includes: generating the compensated phase range by adding a predetermined phase to the detected phase range; wherein: the compensated phase range is equal to a sum of the detected phase range and the predetermined phase; and the predetermined phase is larger than zero.
In some examples, the generating a bleeder control signal based at least in part on the second sensing signal includes: if the second sensing signal changes from being larger than a predetermined threshold to being smaller than the predetermined threshold, after a predetermined delay of time, changing the bleeder control signal from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated; wherein the predetermined delay of time is larger than zero. In certain examples, the generating a bleeder control signal based at least in part on the second sensing signal further includes: if the second sensing signal changes from being smaller than the predetermined threshold to being larger than the predetermined threshold, immediately, changing the bleeder control signal from indicating the bleeder current is allowed to be generated to indicating the bleeder current is not allowed to be generated.
In some examples, the determining whether the rectified voltage is distorted or not based at least in part on the first sensing signal includes, if the TRIAC dimmer is a leading-edge TRIAC dimmer: determining a downward slope of a falling edge of the rectified voltage based at least in part on the first sensing signal; comparing the downward slope and a predetermined slope; and if the downward slope is larger than the predetermined slope in magnitude, determining that the rectified voltage is distorted. In certain examples, the determining whether the rectified voltage is distorted or not based at least in part on the first sensing signal further includes, if the TRIAC dimmer is the leading-edge TRIAC dimmer: if the downward slope is not larger than the predetermined slope in magnitude, determining that the rectified voltage is not distorted.
According to certain embodiments, a method for controlling one or more light emitting diodes includes: receiving a rectified voltage associated with a TRIAC dimmer; generating a first sensing signal representing the rectified voltage; receiving the first sensing signal; determining whether the rectified voltage is distorted or not based at least in part on the first sensing signal; generating a distortion detection signal indicating whether the rectified voltage is distorted or not; detecting a phase range within which the TRIAC dimmer is in a conduction state based at least in part on the first sensing signal; generating a reference voltage based at least in part on the detected phase range; receiving the reference voltage and a diode current flowing through the one or more light emitting diodes; generating a second sensing signal representing the diode current; receiving the second sensing signal and the distortion detection signal; generating a first bleeder control signal and a second bleeder control signal based at least in part on the second sensing signal and the distortion detection signal, the first bleeder control signal indicating whether a bleeder current is allowed or not allowed to be generated; receiving the first bleeder control signal and the second bleeder control signal; and generating the bleeder current based at least in part on the first bleeder control signal and the second bleeder control signal; wherein the generating a first bleeder control signal and a second bleeder control signal based at least in part on the second sensing signal and the distortion detection signal includes, if the distortion detection signal indicates that the rectified voltage is distorted and if the second sensing signal changes from being larger than a predetermined threshold to being smaller than the predetermined threshold: immediately changing the first bleeder control signal from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated; immediately generating the second bleeder control signal at a first logic level; and after a predetermined delay of time, changing the second bleeder control signal from the first logic level to a second logic level, the predetermined delay of time being larger than zero; wherein the generating the bleeder current based at least in part on the first bleeder control signal and the second bleeder control signal includes, if the first bleeder control signal changes from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated: generating the bleeder current at a first current magnitude if the second bleeder control signal is at the first logic level; and generating the bleeder current at a second current magnitude if the second bleeder control signal is at the second logic level; wherein the first current magnitude is smaller than the second current magnitude. For example, the method for controlling one or more light emitting diodes is implemented according to
In certain examples, the generating a first bleeder control signal and a second bleeder control signal based at least in part on the second sensing signal and the distortion detection signal includes, if the distortion detection signal indicates that the rectified voltage is not distorted and if the second sensing signal changes from being larger than the predetermined threshold to being smaller than the predetermined threshold, after the predetermined delay of time, changing the first bleeder control signal from indicating the bleeder current is not allowed to be generated to indicating the bleeder current is allowed to be generated and also generating the second bleeder control signal at the second logic level. In some examples, the generating a first bleeder control signal and a second bleeder control signal based at least in part on the second sensing signal and the distortion detection signal further includes, if the second sensing signal changes from being smaller than the predetermined threshold to being larger than the predetermined threshold, immediately, changing the first bleeder control signal from indicating the bleeder current is allowed to be generated to indicating the bleeder current is not allowed to be generated.
In certain examples, the determining whether the rectified voltage is distorted or not based at least in part on the first sensing signal includes, if the TRIAC dimmer is a leading-edge TRIAC dimmer: determining a downward slope of a falling edge of the rectified voltage based at least in part on the first sensing signal; comparing the downward slope and a predetermined slope; and if the downward slope is larger than the predetermined slope in magnitude, determining that the rectified voltage is distorted. In some examples, the determining whether the rectified voltage is distorted or not based at least in part on the first sensing signal includes, if the TRIAC dimmer is the leading-edge TRIAC dimmer: if the downward slope is not larger than the predetermined slope in magnitude, determining that the rectified voltage is not distorted. In certain examples, the first logic level is a logic low level; and the second logic level is a logic high level.
For example, some or all components of various embodiments of the present invention each are, individually and/or in combination with at least another component, implemented using one or more software components, one or more hardware components, and/or one or more combinations of software and hardware components. As an example, some or all components of various embodiments of the present invention each are, individually and/or in combination with at least another component, implemented in one or more circuits, such as one or more analog circuits and/or one or more digital circuits. For example, various embodiments and/or examples of the present invention can be combined.
Although specific embodiments of the present invention have been described, it will be understood by those of skill in the art that there are other embodiments that are equivalent to the described embodiments. Accordingly, it is to be understood that the invention is not to be limited by the specific illustrated embodiments.
Number | Date | Country | Kind |
---|---|---|---|
201911140844.5 | Nov 2019 | CN | national |
Number | Date | Country | |
---|---|---|---|
Parent | 17545752 | Dec 2021 | US |
Child | 18220584 | US | |
Parent | 17074303 | Oct 2020 | US |
Child | 17545752 | US |