Power control circuit and method, drive system and method, chip
By designing a power control circuit in LED lighting equipment, detecting the power supply signal waveform output by the phase-cut dimming equipment and outputting a control signal, the stroboscopic problem caused by the phase-cut dimming equipment is solved and the on and off times are evenly achieved. properties, improving the stability of lighting equipment.
Patent Information
- Application Number
- CN201810748837.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-05-01
- Filing Date
- 2018-07-10
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2038-07-10
AI Technical Summary
Existing phase-cut dimming equipment is prone to stroboscopic problems in LED lighting equipment. The main reason is that the characteristics of the components cause the on or off phase angle to fluctuate, causing the LED lights to flicker during operation.
Design a power control circuit that uses the alternating current processed by the phase-cut dimming device to drive the load through the timing unit, adjustment unit and control unit, detects the first and second waveforms of the power supply signal, and outputs a control signal to control the load current, shielding phase angle fluctuations during on and off switching, ensuring uniform time in the on state per unit duration.
It effectively solves the stroboscopic problem in LED lighting equipment. By uniformizing the on and off times, it reduces the discomfort of the human eye to the lamp and improves the stability of the lighting equipment.
Smart Images

Figure CN108770130B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of drive circuits, and in particular to a power control circuit and method, a drive system and method, and a chip. Background Art
[0002] Phase-cut dimming equipment is a device that adjusts the effective power of AC power by adjusting the phase angle interval of the AC power. In dimmable LED lighting equipment, the dimming function of LED lamps can be achieved by using phase-cut dimming equipment. At present, there are two types of phase-cut dimming equipment on the market, front-cut dimming equipment and rear-cut dimming equipment. Among them, the front-cut dimming equipment uses a thyristor circuit, starting from the AC phase 0, the input voltage is chopped, and the voltage is input only when the thyristor is turned on. The principle is to adjust the conduction angle of each half-wave of the AC power to change the sine waveform, thereby changing the effective value of the AC current, so as to achieve the purpose of dimming. The rear-cut dimming equipment uses a MOS circuit to start the MOS conduction from the AC phase 0° until it is disconnected at a certain phase until it is turned on again at 180°.
[0003] In actual phase-cut dimming equipment, affected by the characteristics of the components themselves, the phase angle corresponding to the on (or off) moment of each power frequency cycle will fluctuate, and the on (or off) phase angles of the first and second half of each power frequency cycle do not maintain a phase difference of 180°, which makes the LED lamp prone to flickering during operation. Summary of the invention
[0004] In view of the above-mentioned shortcomings of the prior art, the purpose of the present application is to provide a power control circuit and method, a drive system and method, and a chip to solve the problem of flicker in LED lighting devices using phase-cut dimming devices in the prior art.
[0005] To achieve the above-mentioned purpose and other related purposes, the first aspect of the present application provides a power control circuit, which is used for a circuit system that uses alternating current that has been phase-cut by a phase-cut dimming device to drive a load, wherein the power control circuit is connected to a power supply line on the output side of a rectifier circuit in the circuit system, wherein the rectifier circuit converts the alternating current output by the phase-cut dimming device into a power supply signal that includes a first waveform and a second waveform within a unit time length of half a power frequency cycle, and the power control circuit includes: a timing unit, which is used to time the power supply signal within the current unit time length, and output the current accumulated timing time length, and output a first control signal when the start time of the first waveform is detected; an adjustment unit, which is connected to the timing unit and includes a temporary storage module; wherein a reference time interval is stored in the temporary storage module, and when the current accumulated timing time length reaches the reference time interval, the adjustment unit outputs a second control signal; a control unit, which is connected to the detection unit and the adjustment unit, and is used to control the current in the load based on the first control signal and the second control signal.
[0006] In certain embodiments of the first aspect, the timing unit includes: a zero-crossing detection module, used to perform zero-crossing detection on the power supply signal collected from the power supply line, and output a detection signal reflecting the first waveform and the second waveform within a unit time length; a timing module, connected to the zero-crossing detection module, used to use the transition edge of the detection signal to time the detection signal of the current unit time length; a first logic module, connected to the zero-crossing detection module, used to output a first control signal corresponding to the starting time of the first waveform based on the transition edge of the detection signal.
[0007] In certain embodiments of the first aspect, the timing module starts from a transition edge in the detection signal corresponding to a start time of the first waveform and times the detection signal of a current unit time length.
[0008] In certain embodiments of the first aspect, the timing module includes: a counter, which is connected to the zero-crossing detection module and receives a clock signal, and counts the number of pulses of the clock signal received within a current unit time length based on a preset transition edge of the detection signal; or a timer including a capacitor, which is connected to the zero-crossing detection module, charges the capacitor based on a preset transition edge of the detection signal, and determines the accumulated time length based on a peak voltage of the charged capacitor.
[0009] In certain embodiments of the first aspect, the first logic module is further connected to a reset terminal of a timing module, and the timing module resets a current timing operation based on a first control signal.
[0010] In certain embodiments of the first aspect, the control unit controls a switch circuit in the power supply line to be turned on or off based on the first control signal and the second control signal.
[0011] In certain embodiments of the first aspect, the timing unit includes: a second logic module, used to output an update control signal at the end time of the first waveform; the power control circuit also includes an update unit, connected to the timing unit and the temporary storage module, used to detect the error between the first time interval sustained by the first waveform and the temporarily stored reference time interval based on the control logic composed of the update control signal, and when the error exceeds a preset error threshold, update the reference time interval in the temporary storage module.
[0012] In certain embodiments of the first aspect, the temporary storage module includes: a first temporary storage module and a second temporary storage module, which are respectively used to temporarily store the reference time interval in the odd-numbered unit time length and the reference time interval in the even-numbered unit time length determined by detection; the adjustment unit also includes a selection module, which is connected to both the first temporary storage module and the second temporary storage module, and is used to select one of the reference time intervals from the first temporary storage module and the second temporary storage module to adjust the output timing of the second control signal.
[0013] In certain embodiments of the first aspect, the adjustment unit further includes: a comparison module, connected to the timing unit, configured to compare a current timing duration with the reference time interval, and output a second control signal according to the comparison result.
[0014] In certain embodiments of the first aspect, the temporary storage module further stores a fluctuation time interval, and the adjustment unit further includes: an adjustment module, configured to accumulate the fluctuation time interval into the reference time interval, and output the accumulated reference time interval to the comparison module.
[0015] In certain embodiments of the first aspect, the timing unit includes: a second logic module, configured to output an update control signal at the end time of the first waveform; and a third logic module, configured to output an odd-numbered control signal or an even-numbered control signal when the first waveform is detected; the power control circuit further includes an update unit, the update unit including a first update module and a second update module; wherein the first update module is connected to the first temporary storage module, the second logic module and the third logic module, and is configured to detect an error between a first time interval of the first waveform and a reference time interval stored in the first temporary storage module based on a control logic composed of the update control signal and the odd-numbered control signal, and update the reference time interval in the first temporary storage module when the error exceeds a preset error threshold; the second update module is connected to the second temporary storage module, the second logic module and the third logic module, and is configured to detect an error between a first time interval of the first waveform and a reference time interval stored in the second temporary storage module based on a control logic composed of the update control signal and the even-numbered control signal, and update the reference time interval in the second temporary storage module when the error exceeds a preset error threshold.
[0016] In certain embodiments of the first aspect, the phase-cut dimming device is a front phase-cut dimming device, and the first waveform detected by the timing unit is a waveform during a period in which the phase-cut dimming device is disconnected in a unit time length.
[0017] In certain embodiments of the first aspect, the phase-cut dimming device is a trailing phase-cut dimming device, and the first waveform detected by the detection unit is a waveform during a conduction period of the phase-cut dimming device in a unit time length.
[0018] In certain embodiments of the first aspect, the load is an LED lamp.
[0019] A second aspect of the present application provides a chip, characterized by comprising: a power control circuit as described in any one of the first aspects.
[0020] The third aspect of the present application provides a driving system, comprising: a rectifier circuit for rectifying external alternating current and outputting it to a power supply line where a load is located; a switch circuit, arranged on the power supply line, for controlling the power supply line to be turned on or off; a linear compensation circuit, for outputting a linear compensation signal to a switch circuit arranged on the power supply line based on an acquired electrical signal reflecting the power supply line voltage, so that the switch circuit uses the linear compensation signal to drive the load during conduction; a power control circuit as described in any one of the first aspects.
[0021] The fourth aspect of the present application provides a power control method for a circuit system that uses alternating current that has been phase-cut by a phase-cut dimming device to drive a load, comprising: timing a power supply signal within a current unit time length, and detecting a first waveform in the power supply signal, and outputting a first control signal when the start moment of the first waveform is detected; outputting a second control signal when the current accumulated timing duration reaches a preset reference time interval; and controlling the load current based on the first control signal and the second control signal.
[0022] In certain embodiments of the fourth aspect, the steps of timing the power supply signal within the current unit time length, detecting the first waveform in the power supply signal, and outputting the first control signal when the starting moment of the first waveform is detected include: performing zero-crossing detection on the power supply signal collected from the power supply line, and generating a detection signal reflecting the first waveform and the second waveform within the unit time length; timing the current unit time length using the transition edge of the detection signal, and outputting a first control signal corresponding to the starting moment of the first waveform based on the transition edge of the detection signal.
[0023] In certain embodiments of the fourth aspect, the step of timing the current unit duration using the transition edge of the detection signal includes: starting from the transition edge of the detection signal corresponding to the starting moment of the first waveform, timing the current unit duration.
[0024] In certain embodiments of the fourth aspect, it also includes: outputting an update control signal when the end moment of the first waveform is detected; based on the control logic composed of the update control signal, detecting the error between the first time interval during which the first waveform lasts and the temporarily stored reference time interval, and when the error exceeds a preset error threshold, updating the reference time interval.
[0025] In certain embodiments of the fourth aspect, a reference time interval corresponding to an odd-numbered unit time length and a reference time interval corresponding to an even-numbered unit time length are predetermined, and the step of outputting a second control signal when the current accumulated timing duration reaches the preset reference time interval includes: selecting one of the reference time intervals from the first register and the second register to adjust the output time of the second control signal.
[0026] In certain embodiments of the fourth aspect, the step of outputting a second control signal when the current accumulated timing duration reaches a preset reference time interval includes: comparing the current timing duration with the reference time interval, and outputting the second control signal based on the comparison result.
[0027] In certain embodiments of the fourth aspect, the step of outputting a second control signal when the current accumulated timing duration reaches a preset reference time interval also includes: accumulating the preset fluctuation time interval to the reference time interval, comparing the current timing duration with the accumulated reference time interval, and outputting a second control signal based on the comparison result.
[0028] In certain embodiments of the fourth aspect, it also includes: outputting an update control signal when the end of the first waveform is detected, and outputting an odd-numbered control signal or an even-numbered control signal when the start of the first waveform is detected; based on a control logic composed of the update control signal and the odd-numbered control signal, detecting an error between a first time interval in which the first waveform lasts and the reference time interval, and when the error exceeds a preset error threshold, updating the reference time interval; based on a control logic composed of the update control signal and the even-numbered control signal, detecting an error between a first time interval in which the first waveform lasts and the reference time interval, and when the error exceeds a preset error threshold, updating the reference time interval.
[0029] In certain implementations of the fourth aspect, the phase-cut dimming device is a front-phase dimming device, and the detected first waveform is a non-powered waveform in a unit time length.
[0030] In certain embodiments of the fourth aspect, the phase-cut dimming device is a trailing phase-cut dimming device, and the detected first waveform is a power supply waveform in a unit time length.
[0031] In certain embodiments of the fourth aspect, the load is an LED lamp.
[0032] A fifth aspect of the present application provides a driving method, comprising: rectifying and outputting external alternating current to a power supply line where a load is located;
[0033] Based on the acquired electrical signal reflecting the voltage of the power supply line, a linear compensation signal is output to a switching circuit arranged in the power supply line, so that the switching circuit uses the linear compensation signal to drive the load during the conduction period; and any power control method described in the fourth aspect.
[0034] As described above, the power control circuit and method, driving system and method, and chip of the present application have the following beneficial effects: detecting the first waveform in the waveform of the power supply signal within the current unit time, and solving the problem of flicker in LED lighting equipment by shielding the time interval of the transition between the first waveform and the second waveform (i.e., the time interval causing phase angle fluctuations during the on and off switching of the phase-cut dimming device). BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 and Figure 2 The display shows the AC waveform output after the AC is processed by the leading phase dimming device and the trailing phase dimming device respectively.
[0036] Figure 3 Waveforms showing the supply line and load currents in a lighting device using a leading-edge phase dimming device.
[0037] Figure 4 Shown is a structural block diagram of a circuit system in one embodiment.
[0038] Figure 5 Shown is a structural block diagram of the power control circuit in one embodiment.
[0039] Figure 6 Shown is a circuit structure diagram of a timing unit in the power control circuit in one embodiment.
[0040] Figure 7 It shows the waveform of the power supply signal on the power supply line after being processed by the front-cut phase dimming device and the rectifier circuit and the detection signal output by the zero-crossing detection module.
[0041] Figure 8 It shows the waveform of the power supply signal on the power supply line after being processed by the post-phase dimming device and the rectifier circuit and the detection signal output by the zero-crossing detection module.
[0042] Fig. 9 The circuit structure diagram of the timing unit in the power control circuit of the corresponding leading-edge phase dimming device is shown.
[0043] Fig.10 The circuit structure diagram of the timing unit in the power control circuit of the corresponding trailing phase dimming device is shown.
[0044] Fig.11 Shown is a circuit structure diagram of a power control circuit in one implementation.
[0045] Fig.12 Shown is a circuit structure diagram of a power control circuit in one implementation.
[0046] Fig.13 and Fig.14 , which are shown as Fig.11 and Fig.12 Schematic diagram of waveforms of a power supply signal VBUS reflecting the power supply line, a detection signal CMPO, a control signal DRV_EN output by a control unit, and an LED load current corresponding to the power control circuit shown.
[0047] Fig.15 Shown is a schematic diagram of a chip package including the above-mentioned power control circuit.
[0048] Fig.16 Shown is a structural block diagram of a driving system of the present application in one embodiment.
[0049] Fig.17 Shown is a circuit diagram of the driving system in one embodiment.
[0050] Fig.18 Shown is a flow chart of a power control method in one embodiment of the present application.
[0051] Fig.19 Shown is a flowchart of a driving method of the present application. DETAILED DESCRIPTION
[0052] The following is an explanation of the implementation of the present application by means of specific embodiments. People familiar with the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification.
[0053] Although the terms first, second, etc. are used to describe various elements in this article in some instances, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, the first preset threshold can be referred to as the second preset threshold, and similarly, the second preset threshold can be referred to as the first preset threshold, without departing from the scope of the various described embodiments. The first preset threshold and the preset threshold are both describing a threshold, but unless the context clearly indicates otherwise, they are not the same preset threshold. Similar situations also include the first volume and the second volume.
[0054] Furthermore, as used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms "comprising", "including", and "including" indicate the presence of the stated features, steps, operations, elements, components, items, kinds, and / or groups, but do not preclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and" and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, "A, B, or C" or "A, B, and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B, and C". An exception to this definition occurs only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some way.
[0055] See also Figure 1 and Figure 2, which shows the AC waveforms outputted after being processed by the leading phase dimming device and the trailing phase dimming device. It can be seen from the figure that the AC phase angle of the leading phase dimming device at the on time t1 and the AC phase angle of the trailing phase dimming device at the off time t2 fluctuate within the interval t″. At the same time, during a power frequency cycle T, the phase angle adjusted by the leading phase dimming device in the first half cycle T1 and the phase angle adjusted in the second half cycle T2 are not 180 degrees apart. Please refer to Figure 3 , which shows the waveform of the power supply line and load current in the lighting device using the front-cut phase dimming device. Due to the existence of the above two situations, the power supply signal waveform transmitted to the power supply line connected to the load after rectification by the circuit system in the lighting device is as follows Figure 3 As shown in VBUS, the current signal waveform in the load line after linear compensation based on the power supply signal waveform is as follows Figure 3 If the LED lamp runs for a long time according to the uneven power supply duration t and t' shown in the IDRAIN waveform, the human eye will feel the discomfort of flicker.
[0056] To this end, the present application provides a power control circuit, which is used for a circuit system that uses AC power that has been phase-cut by a phase-cut dimming device to drive a load. The circuit system may include all circuits that need to be connected to drive an LED lamp using AC power, including but not limited to: a rectifier circuit, a linear compensation circuit, a switch circuit, and the power control circuit, and may also include a leakage protection circuit, a phase-cut dimming device detection circuit, etc.
[0057] See also Figure 4 , which is a structural block diagram of a circuit system in one embodiment. The power control circuit 13 is connected to the power supply line on the output side of the rectifier circuit 12 in the circuit system, wherein the rectifier circuit 12 converts the AC power output by the phase-cut dimming device 11 into a power supply signal including a first waveform and a second waveform, and the power supply signal presents a first waveform and a second waveform within a unit time length of half a power frequency cycle. The first waveform is one of the waveform output during the disconnected state and the waveform output during the on state of the phase-cut dimming device, and the second waveform is the other of the waveform output during the disconnected state and the waveform output during the on state of the phase-cut dimming device.
[0058] In order to eliminate the problem of flicker caused by the phase-cut dimming device performing phase-cut processing on the alternating current, the present application provides a power control circuit, which can extend the waveform output during the disconnection state of the phase-cut dimming device, or cut part of the waveform output during the on-state of the phase-cut dimming device, so as to eliminate the problem of flicker in a small interval near the chopping phase angle of the phase-cut dimming device in each unit time length (such as Figure 3The jitter generated in the interval t″) shown in the figure, on the other hand, makes the time interval of the waveform output during the on-state in each unit time uniform.
[0059] See also Figure 5 , which is a structural block diagram of the power control circuit in one embodiment. The power control circuit includes a timing unit 21, an adjustment unit 22 and a control unit 23.
[0060] The timing unit is used to time the power supply signal within the current unit time, output the current accumulated timing time, and output the first control signal when the start time of the first waveform is detected. The timing unit can be directly connected to the power supply line connected to the output end of the rectifier circuit to obtain the power supply signal VBUS, or obtain the power supply signal VBUS of the power supply line through a sampling resistor voltage divider.
[0061] Here, the timing unit takes the unit time as a timing cycle, times the duration of the power supply signal obtained within the current unit time, and outputs the timed duration; during the timing period, the timing unit also detects the starting time of the first waveform in the current unit time, and outputs the first control signal when the starting time is detected. To this end, the timing unit may include two circuit modules, timing and detection, wherein the circuit module for timing determines the timing cycle of a unit time by detecting the voltage of the power supply signal, and outputs the current accumulated timing duration during the timing period. The circuit module for detection also determines the starting time of the first waveform by detecting the voltage of the power supply signal.
[0062] To simplify the circuit structure, please refer to Figure 6 , which is a circuit structure diagram of a timing unit in one embodiment. The timing unit includes a zero-crossing detection module 211, a first logic module 212 and a timing module 213.
[0063] The zero-crossing detection module 211 performs zero-crossing detection on the power supply signal collected from the power supply line, and outputs a detection signal for reflecting the first waveform and the second waveform within a unit time length. In a specific example, the zero-crossing detection module includes a comparator, wherein one input end of the comparator receives the power supply signal (VBUS) and the other input end receives a reference voltage (Vt), and the comparator outputs a corresponding detection signal by comparing the power supply signal and the reference voltage. The detection signal is composed of high and low levels. Figure 6 As shown in the figure, the positive input terminal of the comparator receives the VBUS signal, and the negative input terminal receives the Vt signal. When the VBUS voltage is higher than the Vt voltage, the comparator outputs a high level, otherwise, the comparator outputs a low level. Figure 6The detection signal output by the zero-crossing detection module is shown as a high level to represent the waveform during the on-time of the phase-cut dimming device, and as a low level to represent the waveform during the off-time of the phase-cut dimming device.
[0064] It should be noted that those skilled in the art should understand that according to the actual circuit design, the zero-crossing detection module 211 can also use Figure 6 The opposite high and low levels shown correspond to the waveforms during the off period and the on period of the phase-cut dimming device, which will not be described in detail here.
[0065] The timing module 213 is connected to the zero-crossing detection module 211, and is used to use the transition edge of the detection signal to time the detection signal of the current unit duration. The timing module 213 has a reset terminal, and is reset based on the rising edge or falling edge of the detection signal. After each reset, the timing module 213 restarts the timing, thereby timing the duration of the corresponding power supply signal within each unit duration.
[0066] In some embodiments, the timing module 213 can perform timing operations by counting the number of pulses of the clock signal. In a specific example, the timing module 213 includes a counter, which is connected to the zero-crossing detection module 211 and receives a clock signal, and counts the number of pulses of the clock signal received within the current unit time length based on the detected preset jump edge of the detection signal. For example, when the reset end of the counter receives the rising edge of the pulse signal generated based on the jump edge of the detection signal, the counter resets the count and starts to count the number of pulses of the received clock signal from the falling edge of the pulse signal.
[0067] In some other embodiments, the timing module 213 includes a timer designed using an analog circuit. The timer includes a capacitor and a charging and discharging circuit thereof, and the timer is connected to the zero-crossing detection module 211. Based on the detected preset transition edge of the detection signal, the capacitor is charged, and the accumulated duration is determined based on the peak voltage of the capacitor charge. For example, when the reset end of the counter receives the rising edge of the pulse signal generated based on the transition edge of the detection signal, the capacitor in the counter is discharged, and when the falling edge of the pulse signal is received, the capacitor starts to be charged, and the capacitor voltage is outputted via an analog-to-digital converter with n being binary (D<n:0> ), n>0, using the preset linear relationship between the capacitor capacity and the charging time, the output voltage value is used to represent the current accumulated timing time.
[0068] Since the accumulated duration of the first waveform in adjacent unit durations of the phase-cut dimmer is different, in order to ensure that the time interval reset by the timing module 213 is the unit duration, the technician can design the jump edge of the detection signal corresponding to the reset signal of the timing module 213 according to the type of the phase-cut dimmer device. Figure 7 , which shows the waveform of the power supply signal on the power supply line after being processed by the leading phase dimming device and the rectifier circuit and the detection signal output by the zero-crossing detection module 211. As shown in the figure, for the leading phase dimming device, the falling edge of the detection signal corresponds to the end of the conduction of the leading phase dimming device and there is no phase fluctuation. Therefore, the reset end of the timing module 213 can be effective based on the falling edge of the detection signal. Please refer to Figure 8 , which is a waveform diagram of the power supply signal on the power supply line after being processed by the post-phase dimming device and the rectifier circuit and the detection signal output by the zero-crossing detection module 211. As shown in the figure, for the post-phase dimming device, the rising edge of the detection signal corresponds to the start of the post-phase dimming device being turned on and there is no phase fluctuation. Therefore, the reset end of the timing module 213 can be effective based on the rising edge of the detection signal.
[0069] It should be noted that, since the power supply signal waveforms obtained by the front-cut phase dimming device and the rear-cut phase dimming device are different, the first waveform and the second waveform in the scheme described in this application can be distinguished according to the starting time that can accurately time the unit time length, wherein the waveform from the starting time in the power supply waveform of a unit time length is called the first waveform, and the first waveform is changed to the second waveform based on the phase-cut processing of the phase-cut dimming device. Figure 7 In the power supply signal shown in , the waveform output during the disconnection period of the leading phase dimming device is called the first waveform, and the waveform output during the on-time period is called the second waveform. Figure 8 In the power supply signal shown, the waveform output during the on-time of the trailing phase dimming device is called the first waveform, and the waveform output during the off-time is called the second waveform. Correspondingly, the timing module 213 starts from the transition edge corresponding to the start time of the first waveform in the detection signal and times the detection signal of the current unit time length.
[0070] The first logic module 212 is connected to the zero-crossing detection module 211, and is used to output a first control signal corresponding to the starting time of the first waveform based on the transition edge of the detection signal. According to the type of the phase-cut dimming device, the detected first waveform is related to the control logic represented by the first control signal. For example, if the detected first waveform is a waveform of the disconnected state of the leading phase-cut dimming device, the first control signal is used to instruct the control unit to disconnect the switch circuit in the circuit system, thereby the current in the load decreases from the peak value. For another example, if the detected first waveform is a waveform of the on state of the trailing phase-cut dimming device, the first control signal is used to instruct the control unit to turn on the switch circuit in the circuit system, thereby the current in the load increases from the valley value.
[0071] Here, according to the first waveform and the second waveform represented by the high and low levels output by the zero-crossing detection module 211, the first logic module 212 is designed so that the first logic module 212 detects the transition edge corresponding to the starting moment of the first waveform and outputs the first control signal. Figure 7 As shown, the low level output by the zero-crossing detection module 211 represents the first waveform, and the high level represents the second waveform. The first logic module 212 outputs the first control signal (Rst) based on the falling edge of the detection signal. Correspondingly, the first logic module 212 may include a pulse signal generator based on falling edge triggering; or, the first logic module 212 includes an inverter and a pulse signal generator based on rising edge triggering. The first control signal output by the first logic module 212 is a pulse signal. For example, Figure 8 As shown, the high level output by the zero-crossing detection module 211 represents the first waveform, the low level represents the second waveform, and the first logic module 212 outputs the first control signal based on the rising edge of the detection signal. Correspondingly, the first logic module 212 may include a pulse signal generator based on the rising edge trigger; or, the first logic module 212 includes an inverter and a pulse signal generator based on the falling edge trigger. The first control signal output by the first logic module 212 is a pulse signal.
[0072] It should be noted that the structure of the first logic module 212 is only an example and not a limitation of the present application. In fact, the first logic module 212 is designed based on the first waveform and the second waveform corresponding to the high and low levels of the received detection signal.
[0073] In the scheme in which the timing module 213 times the detection signal of the current unit time length based on the transition edge at the start time of the first waveform, the reset end of the timing module 213 can also be connected to the output end of the first logic module 212, and the timing module 213 resets the current timing operation based on the received first control signal. The manner in which the timing module 213 resets and re-times based on the received first control signal is the same or similar to the above, and will not be repeated here.
[0074] The adjustment unit is connected to the timing unit and includes a temporary storage module storing a reference time interval. The reference time interval is a preset time value based on the duration of the on state or off state of the phase-cut dimming device. According to the first waveform detected by the timing unit, the reference time interval is stored in the temporary storage module based on the duration of the first waveform within a unit time. In order to shield the phase angle interval of the phase-cut dimming device fluctuating near the on / off phase angle, in some embodiments, the reference time interval is set based on the duration of the first waveform and the phase angle interval as an error range. For example, for a front phase dimming device, and the first waveform corresponds to the waveform of the front phase dimming device in the off state, the reference time interval can be set to the sum of the duration of the first waveform and the preset duration of the phase angle interval. For another example, for a rear phase dimming device, and the first waveform corresponds to the waveform of the rear phase dimming device in the on state, the reference time interval can be set to the difference between the duration of the first waveform and the preset duration of the phase angle interval.
[0075] In some other embodiments, in order to respond to the dimming operation of the phase-cut dimming device, the temporary storage module can store multiple reference time intervals corresponding to the adjustable gears, and select the corresponding reference time interval by the gear signal (such as PWM or digital signal) provided by the phase-cut dimming device.
[0076] In other embodiments, in order to respond to the dimming operation of the phase-cut dimming device, the reference time interval can be updated in time based on the dimming operation of the phase-cut dimming device. To this end, the timing unit further includes: a second logic module; and the power control circuit further includes an updating unit.
[0077] The second logic module is used to output an update control signal at the end of the first waveform. Here, the second logic module can detect the end of the first waveform based on the transition edge of the detection signal output by the zero-crossing detection module and output the update control signal. For example, see Fig. 9, which is a circuit structure diagram of a timing unit in a power control circuit of a corresponding leading phase dimming device, wherein the detection signal CMPO output by the zero-crossing detection module 211 represents the first waveform at a low level and the second waveform at a high level, and the second logic module 214 determines the end time of the first waveform based on the rising edge of the detection signal, wherein the second logic module 214 includes a pulse signal generator based on the rising edge. For another example, please refer to Fig.10 , which is shown as a circuit structure diagram of a timing unit in a power control circuit of a corresponding post-phase dimming device, wherein the detection signal output by the zero-crossing detection module 211′ represents a first waveform with a high level and a second waveform with a low level, and the second logic module 214′ determines the end time of the first waveform based on the falling edge of the detection signal, wherein the second logic module 214′ includes a pulse signal generator based on the falling edge.
[0078] Among them, combined Fig. 9 and Fig.10 The updating unit 24 is connected to the timing unit 21 (or 21′) and the temporary storage module 221, and is used to detect the error between the first time interval of the first waveform and the temporarily stored reference time interval based on the control logic composed of the update control signal (Latch), and when the error exceeds a preset error threshold, update the reference time interval in the temporary storage module.
[0079] Here, the update unit 24 is connected to the second logic module 214 (or 214') and the timing module 213 (or 213'), and when receiving the update control signal (such as a pulse signal), it reads the current accumulated timing duration of the timing module 213 (or 213'), and compares the obtained timing duration with the reference time interval. When the absolute value of the comparison result exceeds the preset error threshold, the obtained timing duration is used as the reference time interval for adjusting the current of the load in the subsequent unit time. To this end, the update unit 24 includes a multi-level logic module composed of a comparator and a logic device group, or a logic processing module including an MCU, etc.
[0080] In a circuit system including a dimmer detection circuit, the update module further selects the updated reference time interval based on the detection signal of the dimmer type and the update control signal provided by the dimmer detection circuit. For example, the update module detects whether the error between the reference time interval of the corresponding leading phase dimming device and the timing duration of the first waveform exceeds the error threshold of the corresponding leading phase dimming device based on the update control signal and the detection signal indicating the dimming type of the leading phase dimming device. If so, the corresponding reference time interval is updated; if not, it is not updated. For another example, the update module detects whether the error between the reference time interval of the corresponding trailing phase dimming device and the timing duration of the first waveform exceeds the error threshold of the corresponding trailing phase dimming device based on the update control signal and the detection signal indicating the dimming type of the trailing phase dimming device. If so, the corresponding reference time interval is updated; if not, it is not updated. Since the phase-cut dimming device makes the duration of the conduction state in the first half and the second half of an industrial frequency cycle unequal, the error threshold set in the update unit can redundantly account for the difference in the first waveform in adjacent unit durations to reduce the update frequency, thereby reducing the discomfort of the human eye to the flickering of the light.
[0081] In view of the situation that the phase-cut dimming device makes the duration of the conduction state in the first half and the second half of an industrial frequency cycle unequal, in other real-time methods, the temporary storage module includes a first temporary storage and a second temporary storage, which are respectively used to temporarily store the reference time interval T1 in the odd unit time length and the reference time interval T2 in the even unit time length determined by detection; correspondingly, the adjustment unit also includes a selection module, which is connected to both the first temporary storage and the second temporary storage, and is used to select one of the reference time intervals from the first temporary storage and the second temporary storage to adjust the output time of the second control signal.
[0082] The reference time intervals stored in the first register and the second register may be stored correspondingly in the manner mentioned above, which will not be repeated here.
[0083] The selection module can select the logic setting according to the on or off state of the phase-cut dimming device represented by the first waveform. For example, the first waveform represents the waveform when the front phase-cut dimming device is in the off state, and the selection module is a maximum selector to select the larger of the two reference time intervals. For another example, the first waveform represents the waveform when the rear phase-cut dimming device is in the on state, and the selection module is a minimum selector to select the smaller of the two reference time intervals. In this way, not only can the fluctuation of the phase angle interval be avoided, but also the on time interval of each unit time length can be unified.
[0084] In some other examples of updating the reference time intervals in the first register and the second register, the timing unit further includes a third logic module, and the third logic module is used to output an odd control signal or an even control signal when the first waveform is detected. The update unit updates the corresponding first register or second register based on the odd control signal or the even control signal. In some more specific examples, the update unit includes a first update module and a second update module; wherein the first update module is connected to the first temporary storage module, the second logic module and the third logic module, and is used to detect the error between the first time interval of the first waveform and the reference time interval stored in the first temporary storage module based on the control logic composed of the update control signal and the odd control signal, and when the error exceeds a preset error threshold, the reference time interval in the first temporary storage module is updated. The second update module is connected to the second temporary storage module, the second logic module and the third logic module, and is used to detect the error between the first time interval during which the first waveform lasts and the reference time interval stored in the second temporary storage module based on the control logic composed of the update control signal and the even-numbered control signal, and update the reference time interval in the second temporary storage module when the error exceeds a preset error threshold.
[0085] For example, the third logic module includes a 1-bit counter and receives a pulse signal from the first logic module, and the 1-bit counter can count based on the pulse signal. The first update module and the second update module each include a logic device group for performing logic processing based on the update control signal, the first control signal and the odd (even) number of control signals. When the count is an odd number, an odd number of control signals (such as a high level) are output, and when the count is an even number, an even number of control signals (such as a low level) are output. Taking the first update module as an example, when the update control signal and the odd number of control signals are both high levels, the logic device group in the first update module outputs a high level signal to detect the error between the first time interval of the first waveform and the reference time interval stored in the first temporary storage module, and when the error exceeds a preset error threshold, the reference time interval in the first temporary storage module is updated. The working process of the second update module is similar to that of the first update module, and will not be repeated here.
[0086] The adjusting unit outputs a second control signal when the current accumulated timing duration reaches the reference time interval. The reference time interval may be a reference time interval updated by the updating unit, thereby being able to respond to the user's dimming operation on the phase-cut dimming device in real time.
[0087] Here, according to the type of the phase-cut dimming device, the current accumulated timing duration reaching the reference time interval means that under the control of the first control signal, the load can avoid the on / off phase angle interval of the phase-cut dimming device. When the current accumulated timing duration of the timing unit reaches the reference time interval, the adjustment unit outputs a second control signal.
[0088] To this end, the adjustment unit also includes: a comparison module. The comparison module can compare the binary digits output by the timing unit for describing the current accumulated timing duration with the temporarily stored reference time interval bit by bit in real time, and output a second control signal when the comparison result indicates that the two numbers are equal. For example, the comparison module includes a plurality of comparators and a logic device group; each comparator compares the corresponding digits of the timing duration and the reference time interval, and the output ends of all comparators are connected to the logic device group, and when the levels output by all comparators meet the logic of outputting the second control signal in the logic device group, the second control signal is output. Here, the logic device group may include at least one logic device according to the actual logic design needs, and the corresponding logic configuration is realized by electrically connecting the logic devices. Among them, the logic devices include but are not limited to AND gates, OR gates, NAND gates, NOT gates, encoders, decoders, selectors, etc.
[0089] In some of the above-mentioned embodiments and examples, the saved reference time interval is obtained by detecting the duration of the first waveform. In order to avoid the duration corresponding to the phase angle interval of the fluctuation, the adjustment unit also includes an adjustment module for accumulating the fluctuation time interval pre-stored in the temporary storage module to the reference time interval, and outputting the accumulated reference time interval to the comparison module.
[0090] Here, taking the detected first waveform as the waveform of the disconnected state of the leading phase dimming device as an example, the adjustment module includes an adder for adding the fluctuation time interval and the reference time interval, and providing the added reference time interval to the comparison module, which realizes that the load circuit is kept in a state without power input during the phase angle interval of the fluctuation. Taking the detected first waveform as the waveform of the on state of the trailing phase dimming device as an example, the adjustment module includes a subtractor for subtracting the fluctuation time interval from the reference time interval, and providing the subtracted reference time interval to the comparison module, which also realizes that the load circuit is kept in a state without power input during the phase angle interval of the fluctuation.
[0091] The control unit is connected to the detection unit and the adjustment unit, and is used to control the current in the load based on the first control signal and the second control signal.
[0092] Here, the control unit outputs a control signal for controlling the circuit system according to the circuit structure of the circuit system for controlling the power supply of the load. For example, an enable signal for controlling the circuit system to turn on / off the circuit loop of the load is output. According to the type of the phase-cut dimming device, for the front-cut phase dimming device, when the control unit is based on the received first control signal, it outputs an enable signal for controlling the circuit system to disconnect the power supply, and when the control unit is based on the received second control signal, it outputs an enable signal for controlling the circuit system to turn on the power supply; for the rear-cut phase dimming device, when the control unit is based on the received first control signal, it outputs an enable signal for controlling the circuit system to turn on the power supply, and when the control unit is based on the received second control signal, it outputs an enable signal for controlling the circuit system to disconnect the power supply.
[0093] In a circuit system that uses a switch circuit to control the power supply of a load, the control unit controls the switch circuit to be turned on or off based on a first control signal and a second control signal. The output end of the control unit is connected to the control end of the switch circuit. The control end includes the control end of the switch unit in the switch circuit (such as the gate of the switch power tube), or the control end of the drive unit in the switch circuit (such as the enable end of the drive amplifier), etc. For example, the phase-cut dimming device is a front-cut phase-cut dimming device, the switch unit includes a gate-driven switch power tube, the control unit includes a trigger and a switch, the set end of the trigger receives the second control signal, the reset end receives the first control signal, and the output end is connected to the control end of the switch, when the reset end of the trigger receives the first control signal, the trigger outputs a low level, the low level controls the switch to be turned on, so that the switch power tube is forced to be turned off; when the set end of the trigger receives the second control signal, the trigger outputs a high level, the high level controls the switch to be turned off, so that the switch power tube is turned on, or the turning on and off of the switch power tube is controlled by other switch control circuits in the circuit system. For another example, the phase-cut dimming device is a post-phase-cut dimming device, the switching unit includes a gate-driven switching power tube, the control unit includes a trigger and a switch, the set end of the trigger receives a first control signal, the reset end receives a second control signal, and the output end is connected to the control end of the switch, when the set end of the trigger receives the first control signal, the trigger outputs a high level, the low level controls the switch to be disconnected, so that the switching power tube is turned on, or the turning on and off of the switching power tube is controlled by other switch control circuits in the circuit system; when the reset end of the trigger receives the second control signal, the trigger outputs a low level, the high level controls the switch to be turned on, so that the switching power tube is forced to be disconnected.
[0094] In another specific example, the output end of the control unit is connected to the input end of the switch circuit, wherein the input end of the switch circuit is connected to the input end of the driving unit (such as the input end of the driving amplifier). For example, the output end of the control unit is connected to the input end of the driving amplifier, and when the control unit grounds the input end of the driving amplifier based on the corresponding disconnected first control signal or the second control signal, the switch circuit is forced to disconnect, otherwise, it is turned on or controlled by other circuits.
[0095] Here, the other circuits include but are not limited to: a switch control circuit that uses resonance to provide stable power supply to the load, a line voltage compensation circuit, etc.
[0096] It should be noted that the connection and circuit structure of the control unit are only examples, and are not intended to limit the technical solution of the present application. In fact, the control unit can also be combined with the control logic of the control signal of other switch circuits to perform more complex logic processing and output corresponding on or off control signals. No further details will be given here.
[0097] See also Fig.11 , which is a circuit structure diagram of a power control circuit in one embodiment. The power control circuit is used to control the power of the electrical signal processed by the leading phase dimming device. The power control circuit includes: a timing unit, an updating unit, an adjusting unit and a control unit. Among them, the timing unit includes: a zero-crossing detection module 31, a timing module 34, a first logic module 32, a second logic module 33 and a third logic module 35.
[0098] Among them, the positive input end of the zero-crossing detection module 31 receives the power supply signal (VBUS) output by the rectifier circuit, the negative input end receives the reference voltage Vt for zero-crossing detection, and the output end outputs the detection signal, wherein the high level of the detection signal indicates the on-state of the leading phase dimming device, and the low level of the detection signal indicates the off-state of the leading phase dimming device. The first logic module 32 outputs the first control signal based on the falling edge of the detection signal, the timing module 34 starts to reset the timing of the power supply signal within the current unit time based on the first control signal, and the third logic module 35 performs odd-even counting based on the falling edge of the detection signal, and outputs an odd control signal (Odd) or an even control signal (Even). The second logic module 33 outputs an update control signal (Latch) based on the rising edge of the detection signal.
[0099] The updating unit includes a first updating module 37 and a second updating module 38, and correspondingly, the adjusting unit includes a first temporary register 36 and a second temporary register 39. The first updating module 37 is connected to the first temporary register 36, the timing module 34, the second logic module 33 and the third logic module 35, and the second updating module 38 is connected to the second temporary register 39, the timing module 34, the second logic module 33 and the third logic module 35. The first updating module 37 compares the error between the current accumulated timing duration output by the timing module 34 and the reference time interval stored in the first temporary register 36 according to the updating control signal and the odd-numbered control signal to see whether it is greater than a preset error threshold. If so, the timing duration is stored in the first temporary register to update the reference time interval. The second updating module 38 compares the error between the current accumulated timing duration output by the timing module 34 and the reference time interval stored in the second temporary register 39 according to the updating control signal and the even-numbered control signal to see whether it is greater than a preset error threshold. If so, the timing duration is stored in the second temporary register 39 to update the reference time interval.
[0100] The adjustment unit further includes: a selection module 40, an adjustment module 41 and a comparison module 42. The selection module 40 selects the largest reference time interval from the updated first register 36 and the second register 39, and sends it to the adjustment module 41. The adjustment module 41 adds the preset fluctuation time interval to the received reference time interval and outputs it to the comparison module 42. The comparison module 42 compares whether the timing duration of the power supply signal within the current unit duration is equal to the added reference time interval. If so, the second control signal is output.
[0101] The output end of the control unit 43 is connected to the control end of the switch circuit. When the control unit 43 receives the first control signal, it outputs a disconnection control signal to the control end of the switch circuit. When the control unit 43 receives the second control signal, it outputs a conduction control signal to the control end of the switch circuit. The switch circuit performs a conduction or disconnection operation according to the conduction / disconnection control signal.
[0102] See also Fig.12 , which is a circuit structure diagram of a power control circuit in one embodiment. The power control circuit is used to control the power of the electrical signal processed by the post-phase dimming device. The power control circuit includes: a timing unit, an updating unit, an adjusting unit and a control unit. Among them, the timing unit includes: a zero-crossing detection module 51, a timing module 53, a first logic module 52, a second logic module 54 and a third logic module 55.
[0103] Among them, the positive input end of the zero-crossing detection module 51 receives the power supply signal (VBUS) output by the rectifier circuit, the negative input end receives the reference voltage Vt for zero-crossing detection, and the output end outputs the detection signal, wherein the high level of the detection signal indicates the on-state of the post-cut phase dimming device, and the low level of the detection signal indicates the off-state of the post-cut phase dimming device, the first logic module 52 outputs the first control signal (Rst) based on the rising edge of the detection signal, the timing module 53 starts to reset the timing of the power supply signal within the current unit time based on the first control signal, and the third logic module 55 performs odd and even counting based on the rising edge of the detection signal, and outputs an odd control signal (Odd) or an even control signal (Even). The second logic module 54 outputs an update control signal (Latch) based on the falling edge of the detection signal.
[0104] The updating unit includes a first updating module 57 and a second updating module 58, and correspondingly, the adjusting unit includes a first temporary register 56 and a second temporary register 59. The first updating module 57 is connected to the first temporary register 56, the timing module 53, the second logic module 54 and the third logic module 55, and the second updating module 58 is connected to the second temporary register 59, the timing module 53, the second logic module 54 and the third logic module 55. The first updating module 57 compares the error between the current accumulated timing duration output by the timing module and the reference time interval stored in the first temporary register 56 according to the updating control signal and the odd-numbered control signal to see whether it is greater than a preset error threshold. If so, the timing duration is stored in the first temporary register to update the reference time interval. The second updating module 58 compares the error between the current accumulated timing duration output by the timing module 53 and the reference time interval stored in the second temporary register 59 according to the updating control signal and the even-numbered control signal to see whether it is greater than a preset error threshold. If so, the timing duration is stored in the second temporary register 59 to update the reference time interval.
[0105] The adjustment unit further includes: a selection module 60, an adjustment module 61 and a comparison module 62. The selection module 60 selects the smallest reference time interval from the updated first register 56 and the second register 59, and sends it to the adjustment module 61. The adjustment module 61 subtracts the preset fluctuation time interval from the received reference time interval, and outputs it to the comparison module 62. The comparison module 62 compares whether the timing duration of the power supply signal within the current unit duration is equal to the added reference time interval, and if so, outputs the second control signal.
[0106] The output end of the control unit 63 is connected to the control end of the switch circuit. When the control unit 63 receives the first control signal, it outputs a conduction control signal to the control end of the switch circuit. When the control unit 63 receives the second control signal, it outputs a disconnection control signal to the control end of the switch circuit. The switch circuit performs a conduction or disconnection operation according to the conduction / disconnection control signal.
[0107] See also Fig.13 and Fig.14 , which are shown as Fig.11 and Fig.12 The power control circuit shown is a waveform diagram of the power supply signal VBUS reflecting the power supply line, the detection signal CMPO, the control signal DRV_EN output by the control unit, and the LED load current. Figure 3 and Fig.13 (or Fig.14 ) It can be seen that the load current controlled by the power control circuit changes uniformly and lasts for the same duration within each unit time, thereby solving the problem of lamp flicker.
[0108] The present application also provides a chip, which is used to provide a power control circuit for a circuit system that drives a load through a switch circuit. The power control circuit is Figure 1-Figure 14 The above is shown in the corresponding description and will not be repeated here.
[0109] See also Fig.15 , which is a schematic diagram of a chip package including the above-mentioned power control circuit. The chip includes a plurality of pins, wherein the pins include: a first pin (VBUS) for collecting a voltage signal reflecting the voltage on the power supply bus where the load is located, a second pin (GND) for grounding, a third pin (DRV_EN) for outputting a control signal, etc. When the constant voltage power supply in the above-mentioned power control circuit is an external power supply, the chip further includes a fourth pin (Vt) for connecting the constant voltage power supply, etc. Among them, the first pin can be based on Figure 1-Figure 14 The power control circuit is connected to the power supply bus in the circuit system to be driven and controlled and the corresponding access terminal in the switch circuit as shown in the corresponding description. The power control circuit is connected to the control terminal or input terminal in the switch circuit through the third pin (DRV_EN). For example, the power control circuit is connected to the control terminal (such as the gate) of the switch unit in the switch circuit through the third pin, or is connected to the control terminal (such as the enable terminal) of the drive unit in the switch circuit.
[0110] In some embodiments, the power control circuit may be integrated with the linear compensation circuit in a chip. The linear compensation circuit is used to output a linear compensation signal to the switch circuit based on the voltage signal obtained to reflect the power supply bus, so that the switch circuit uses the linear compensation signal to drive the load during the conduction period. Here, the linear compensation circuit may include a sampling unit and a line voltage generation unit, wherein the sampling unit is connected to the power supply bus, converts the voltage signal of the power supply bus into a detection signal that can reflect the voltage signal, and inputs it to the line voltage generation unit, and the line voltage generation unit outputs a line voltage compensation signal that is opposite to the change of the detection signal based on a reference voltage, and outputs it to the switch circuit. The switch circuit is used to control the power supply bus to be turned on or off. In some embodiments, the linear compensation circuit can also be a circuit example provided in the publication number CN107623968A, which will not be described in detail here and will be cited as a specific example in its entirety. Correspondingly, the chip integrated with the power control circuit and the line voltage compensation circuit includes at least the first, second and third pins mentioned above: a fifth pin (CS) for collecting the voltage signal of the power supply bus, a sixth pin for connecting the input end of the switch circuit to output the linear compensation signal (Vref′), etc. In order to improve the integration of the power control circuit and the linear compensation circuit, the power control circuit and the linear compensation circuit can share the pins on the chip, for example, the linear compensation circuit uses the first pin (VBUS) to collect the voltage signal of the power supply bus; for another example, the power control circuit and the linear compensation circuit share the second pin (GND), the fourth pin (Vt), etc.
[0111] In some other embodiments, the power control circuit, the linear compensation circuit and at least part of the switch circuit are integrated into a chip. In a specific example, the drive unit in the switch circuit is integrated into the chip, and according to one of the multiple connection examples of the power control circuit and the drive unit, the output end of the power control circuit is connected to the control end of the drive unit, and the pins of the chip include: the first pin, the second pin, the fifth pin, and the seventh pin for connecting the output end of the drive unit to the switch unit. In another specific example, the drive unit and the switch unit in the switch circuit are both integrated into the chip, and according to one of the multiple connection examples of the power control circuit and the drive unit and the switch unit, the output end of the power control circuit is connected to the control end of the switch unit, and the pins of the chip include: the first pin, the second pin, the fifth pin, and the eighth pin and the ninth pin for connecting the input and output ends of the switch unit to the power supply bus.
[0112] Taking LED lighting equipment as an example, the LED lighting equipment includes an LED lamp (i.e., a load), a rectifier circuit, a switching circuit, a linear compensation circuit, and a power control circuit, etc., wherein the switching circuit, the linear compensation circuit, and the power control circuit are integrated in a chip, and the chip, the rectifier circuit, and the LED lamp are all connected to a power supply bus, wherein the linear compensation circuit and the power control circuit in the chip are connected to the power supply bus through a pin (VBUS) to obtain a voltage signal, and are grounded through another pin (GND); and the input and output ends of the switching circuit are connected to the power supply bus through corresponding pins so that the conduction and disconnection of the power supply bus are controlled by the switching circuit, etc.
[0113] See also Fig.16 , which is a structural block diagram of a driving system of the present application in one embodiment. The driving system includes a rectifier circuit 61, a switch circuit 62, a linear compensation circuit 64 and a power control circuit 65.
[0114] The rectifier circuit is used to rectify the external AC power and output it to the power supply bus where the load 63 is located. For example, the rectifier circuit includes a rectifier bridge composed of four diodes, which converts the AC power waveform into a power supply waveform with a half power frequency cycle as a period.
[0115] The switch circuit is arranged on the power supply bus and is used to control the power supply bus to be turned on or off. The switch circuit includes a drive unit and a switch unit. The drive unit includes, for example, a drive amplifier, the input end of the drive amplifier receives a drive control signal, and the output end is connected to the switch unit. The switch unit includes, for example, a switch power tube, the gate of the switch power tube is connected to the output end of the drive amplifier, and the drain and source are connected to the power supply bus.
[0116] The linear compensation circuit, whose output end is connected to the input end of the driving unit in the switch circuit, is used to output a linear compensation signal to the switch circuit arranged on the power supply bus based on the acquired electrical signal for reflecting the voltage of the power supply bus, so that the switch circuit drives the load using the linear compensation signal during the conduction period. Wherein, the linear compensation circuit is used to output a linear compensation signal to the switch circuit based on the acquired voltage signal for reflecting the power supply bus, so that the switch circuit drives the load using the linear compensation signal during the conduction period. Here, the linear compensation circuit may include a sampling unit and a line voltage generation unit, wherein the sampling unit is connected to the power supply bus, converts the voltage signal of the power supply bus into a detection signal that can reflect the voltage signal, and inputs it to the line voltage generation unit, and the line voltage generation unit outputs a line voltage compensation signal that is opposite to the change of the detection signal based on a reference voltage, and outputs it to the switch circuit. Wherein, the switch circuit is used to control the power supply bus to be turned on or off. In some embodiments, the linear compensation circuit can also be a circuit example provided in the publication number CN107623968A, which will not be described in detail here and will be cited as a specific example in its entirety.
[0117] The power control circuit has an output terminal for connecting to the switch circuit, and is used to control the switch circuit to be turned on or off, so as to shield the phase angle fluctuation during the on and off period of the phase-cut dimming device. Figure 1-Figure 14 For example, the power control circuit collects the voltage signal from the power supply bus and converts it into a detection signal, and then adjusts the timing of disconnection or conduction of the switch circuit based on the detection signal that can reflect the first waveform and the second waveform of the power supply signal within a unit time length, so that when the load works with the power supply signal provided by the phase-cut dimming device, the load flickering and other problems are reduced.
[0118] Take LED lighting equipment as an example, please refer to Fig.17, which is a circuit diagram of the drive system in one embodiment. The LED lighting device is connected to the AC signal processed and output by the front-cut phase dimming device. The LED lighting device includes an LED lamp 75 (i.e., a load), a rectifier circuit 72, a switch circuit 74, a linear compensation circuit 73, and a power control circuit 76. The rectifier circuit 72 rectifies the received AC power and outputs it to the power supply bus. The switch circuit 74 includes a drive unit and a switch unit, wherein the drive unit includes a drive amplifier A, and the switch unit includes a switch power tube Mpwr. The output end of the drive amplifier A is connected to the gate of the switch power tube Mpwr, and the drain and source of the switch power tube Mpwr are connected to the circuit loop where the power supply bus is located. The sampling end of the linear compensation circuit 73 is connected to the power supply bus via a voltage divider unit, and the output end is connected to one input end of the drive amplifier A, and the other input end of the drive amplifier A is connected to the source of the switch power tube Mpwr. The input end of the power control circuit is connected to the drain of the switch power tube Mpwr, and the output end is connected to the gate of the switch power tube Mpwr.
[0119] The power control circuit 76 includes: a timing unit, an updating unit, an adjusting unit and a control unit. The timing unit includes: a zero-crossing detection module 31 , a timing module 34 , a first logic module 32 , a second logic module 33 and a third logic module 35 .
[0120] Among them, the positive input end of the zero-crossing detection module 31 receives the power supply signal (VBUS) output by the rectifier circuit, the negative input end receives the reference voltage Vt for zero-crossing detection, and the output end outputs the detection signal, wherein the high level of the detection signal indicates the on-state of the leading phase dimming device, and the low level of the detection signal indicates the off-state of the leading phase dimming device. The first logic module 32 outputs the first control signal based on the falling edge of the detection signal, the timing module 34 starts to reset the timing of the power supply signal within the current unit time based on the first control signal, and the third logic module 35 performs odd-even counting based on the falling edge of the detection signal, and outputs an odd control signal (Odd) or an even control signal (Even). The second logic module 33 outputs an update control signal (Latch) based on the rising edge of the detection signal.
[0121] The updating unit includes a first updating module 37 and a second updating module 38, and correspondingly, the adjusting unit includes a first temporary register 36 and a second temporary register 39. The first updating module 37 is connected to the first temporary register 36, the timing module 34, the second logic module 33 and the third logic module 35, and the second updating module 38 is connected to the second temporary register 39, the timing module 34, the second logic module 33 and the third logic module 35. The first updating module 37 compares the error between the current accumulated timing duration output by the timing module 34 and the reference time interval stored in the first temporary register 36 according to the updating control signal and the odd-numbered control signal to see whether it is greater than a preset error threshold. If so, the timing duration is stored in the first temporary register to update the reference time interval. The second updating module 38 compares the error between the current accumulated timing duration output by the timing module 34 and the reference time interval stored in the second temporary register 39 according to the updating control signal and the even-numbered control signal to see whether it is greater than a preset error threshold. If so, the timing duration is stored in the second temporary register 39 to update the reference time interval.
[0122] The adjustment unit further includes: a selection module 40, an adjustment module 41 and a comparison module 42. The selection module 40 selects the largest reference time interval from the updated first register 36 and the second register 39, and sends it to the adjustment module 41. The adjustment module 41 adds the preset fluctuation time interval to the received reference time interval and outputs it to the comparison module 42. The comparison module 42 compares whether the timing duration of the power supply signal within the current unit duration is equal to the added reference time interval. If so, the second control signal is output.
[0123] The output end of the control unit 43 is connected to the control end of the switch circuit. When the control unit 43 receives the first control signal, it outputs a disconnection control signal to the control end of the switch circuit. When the control unit 43 receives the second control signal, it outputs a conduction control signal to the control end of the switch circuit. The switch circuit performs a conduction or disconnection operation according to the conduction / disconnection control signal.
[0124] See also Fig.18 , which is a flow chart of a power control method in one embodiment of the present application. The power control method is mainly executed by the aforementioned power control circuit or a power control circuit capable of executing the power control method.
[0125] In step S110, the power supply signal within the current unit time is timed, and a first waveform in the power supply signal is detected, and a first control signal is output when the start time of the first waveform is detected.
[0126] Here, this step can be performed by a timing unit in the power control circuit. The timing unit times the power supply signal within the current unit time, outputs the current accumulated timing time, and outputs the first control signal when the start time of the first waveform is detected. The timing unit can directly connect to the power supply line connected to the output end of the rectifier circuit to obtain the power supply signal VBUS, or obtain the power supply signal VBUS of the power supply line through a sampling resistor voltage divider.
[0127] Here, the timing unit takes the unit time as a timing cycle, times the duration of the power supply signal obtained within the current unit time, and outputs the timed duration; during the timing period, the timing unit also detects the starting time of the first waveform in the current unit time, and outputs the first control signal when the starting time is detected. To this end, the timing unit may include two circuit modules, timing and detection, wherein the circuit module for timing determines the timing cycle of a unit time by detecting the voltage of the power supply signal, and outputs the current accumulated timing duration during the timing period. The circuit module for detection also determines the starting time of the first waveform by detecting the voltage of the power supply signal.
[0128] To simplify the circuit structure, the step S110 may include steps S111, S112 and S113. Figure 6 , which is a circuit structure diagram of a timing unit in one embodiment. The timing unit includes a zero-crossing detection module 211, a first logic module 212 and a timing module 213.
[0129] In step S111, a zero-crossing detection is performed on the power supply signal collected from the power supply line, and a detection signal reflecting the first waveform and the second waveform within a unit time length is generated.
[0130] The zero-crossing detection module performs zero-crossing detection on the power supply signal collected from the power supply line, and outputs a detection signal for reflecting the first waveform and the second waveform within a unit time length. In a specific example, the zero-crossing detection module includes a comparator, wherein one input end of the comparator receives the power supply signal (VBUS) and the other input end receives a reference voltage (Vt), and the comparator outputs a corresponding detection signal by comparing the power supply signal and the reference voltage. The detection signal is composed of high and low levels. Figure 6 As shown in the figure, the positive input terminal of the comparator receives the VBUS signal, and the negative input terminal receives the Vt signal. When the VBUS voltage is higher than the Vt voltage, the comparator outputs a high level, otherwise, the comparator outputs a low level. Figure 6 The detection signal output by the zero-crossing detection module is shown as a high level to represent the waveform during the on-time of the phase-cut dimming device, and as a low level to represent the waveform during the off-time of the phase-cut dimming device.
[0131] It should be noted that those skilled in the art should understand that according to the actual circuit design, the zero-crossing detection module can also be used with Figure 6 The opposite high and low levels shown correspond to the waveforms during the off period and the on period of the phase-cut dimming device, which will not be described in detail here.
[0132] In step S112, the current unit time length is timed using the transition edge of the detection signal, and a first control signal corresponding to the start time of the first waveform is output based on the transition edge of the detection signal.
[0133] The timing module is connected to the zero-crossing detection module, and uses the transition edge of the detection signal to time the detection signal of the current unit duration. The timing module has a reset terminal, and reset is triggered based on the rising edge or falling edge of the detection signal. After each reset, the timing module restarts the timing, thereby timing the duration of the corresponding power supply signal within each unit duration.
[0134] In some embodiments, the timing module can perform timing operations by counting the number of pulses of the clock signal. In a specific example, the timing module includes a counter, which is connected to the zero-crossing detection module and receives a clock signal, and counts the number of pulses of the clock signal received within the current unit time length based on the preset jump edge of the detection signal. For example, when the reset end of the counter receives the rising edge of the pulse signal generated based on the jump edge of the detection signal, the counter resets the count and starts to count the number of pulses of the received clock signal again from the falling edge of the pulse signal.
[0135] In some other embodiments, the timing module includes a timer designed using an analog circuit. The timer includes a capacitor and a charging and discharging circuit thereof, and the timer is connected to the zero-crossing detection module. Based on the preset jump edge of the detection signal, the capacitor is charged, and the accumulated time is determined according to the peak voltage of the capacitor charge. For example, when the reset end of the counter receives the rising edge of the pulse signal generated based on the jump edge of the detection signal, the capacitor in the counter is discharged, and when the falling edge of the pulse signal is received, the capacitor starts to be charged, and the capacitor voltage is output via an analog-to-digital converter with n being binary (D<n:0> ), n>0, using the preset linear relationship between the capacitor capacity and the charging time, the output voltage value is used to represent the current accumulated timing time.
[0136] Since the timing duration of the first waveform in adjacent unit durations of the phase-cut dimmer is different, in order to ensure that the reset time interval is the unit duration, the technicians can design the jump edge of the detection signal corresponding to the reset signal of the timing module according to the type of phase-cut dimmer equipment. Figure 7, which shows the waveform of the power supply signal on the power supply line and the detection signal output by the zero-crossing detection module after being processed by the leading phase dimming device and the rectifier circuit. As shown in the figure, for the leading phase dimming device, the falling edge of the detection signal corresponds to the end of the conduction of the leading phase dimming device and there is no phase fluctuation. Therefore, the reset end of the timing module can be effective based on the falling edge of the detection signal. Please refer to Figure 8 , which is a waveform diagram of the power supply signal on the power supply line and the detection signal output by the zero-crossing detection module after being processed by the post-phase dimming device and the rectifier circuit. As shown in the figure, for the post-phase dimming device, the rising edge of the detection signal corresponds to the start of the post-phase dimming device being turned on and there is no phase fluctuation. Therefore, the reset end of the timing module can be effective based on the rising edge of the detection signal.
[0137] It should be noted that, since the power supply signal waveforms obtained by the front-cut phase dimming device and the rear-cut phase dimming device are different, the first waveform and the second waveform in the scheme described in this application can be distinguished according to the starting time that can accurately time the unit time length, wherein the waveform from the starting time in the power supply waveform of a unit time length is called the first waveform, and the first waveform is changed to the second waveform based on the phase-cut processing of the phase-cut dimming device. Figure 7 In the power supply signal shown in , the waveform output during the disconnection period of the leading phase dimming device is called the first waveform, and the waveform output during the on-time period is called the second waveform. Figure 8 In the power supply signal shown, the waveform output during the on-time of the trailing phase dimming device is called the first waveform, and the waveform output during the off-time is called the second waveform. Correspondingly, the timing module starts from the transition edge corresponding to the start time of the first waveform in the detection signal and times the detection signal of the current unit time length.
[0138] In step S113, a first control signal corresponding to the starting time of the first waveform is output based on the transition edge of the detection signal.
[0139] The first logic module is connected to the zero-crossing detection module, and outputs a first control signal corresponding to the starting time of the first waveform based on the transition edge of the detection signal. According to the type of the phase-cut dimming device, the detected first waveform is related to the control logic represented by the first control signal. For example, if the detected first waveform is a waveform of the disconnected state of the leading phase-cut dimming device, the first control signal is used to instruct the control unit to disconnect the switch circuit in the circuit system, thereby the current in the load decreases from the peak value. For another example, if the detected first waveform is a waveform of the on-state of the trailing phase-cut dimming device, the first control signal is used to instruct the control unit to turn on the switch circuit in the circuit system, thereby the current in the load increases from the valley value.
[0140] Here, according to the first waveform and the second waveform represented by the high and low levels output by the zero-crossing detection module, the first logic module is designed so that the first logic module detects the transition edge corresponding to the starting moment of the first waveform and outputs the first control signal. Figure 7 As shown, the low level output by the zero-crossing detection module represents the first waveform, and the high level represents the second waveform. The first logic module outputs the first control signal (Rst) based on the falling edge of the detection signal. Correspondingly, the first logic module may include a pulse signal generator based on falling edge triggering; or, the first logic module includes an inverter and a pulse signal generator based on rising edge triggering. The first control signal output by the first logic module is a pulse signal. For another example, Figure 8 As shown, the high level output by the zero-crossing detection module represents the first waveform, the low level represents the second waveform, and the first logic module outputs the first control signal based on the rising edge of the detection signal. Correspondingly, the first logic module may include a pulse signal generator based on the rising edge trigger; or, the first logic module includes an inverter and a pulse signal generator based on the falling edge trigger. The first control signal output by the first logic module is a pulse signal.
[0141] It should be noted that the structure of the first logic module is only an example and not a limitation of the present application. In fact, the first logic module is designed based on the first waveform and the second waveform corresponding to the high and low levels of the received detection signal.
[0142] In the solution in which the timing module times the detection signal of the current unit time length based on the transition edge at the start time of the first waveform, the reset end of the timing module can also be connected to the output end of the first logic module, and the timing module resets the current timing operation based on the received first control signal. The manner in which the timing module resets and re-times based on the received first control signal is the same or similar to the above, and will not be repeated here.
[0143] The adjustment unit is connected to the timing unit and includes a temporary storage module storing a reference time interval. The reference time interval is a preset time value based on the duration of the on state or off state of the phase-cut dimming device. According to the first waveform detected by the timing unit, the reference time interval is stored in the temporary storage module based on the duration of the first waveform within a unit time. In order to shield the phase angle interval of the phase-cut dimming device fluctuating near the on / off phase angle, in some embodiments, the reference time interval is set based on the duration of the first waveform and the phase angle interval as an error range. For example, for a front phase dimming device, and the first waveform corresponds to the waveform of the front phase dimming device in the off state, the reference time interval can be set to the sum of the duration of the first waveform and the preset duration of the phase angle interval. For another example, for a rear phase dimming device, and the first waveform corresponds to the waveform of the rear phase dimming device in the on state, the reference time interval can be set to the difference between the duration of the first waveform and the preset duration of the phase angle interval.
[0144] In some other embodiments, in order to respond to the dimming operation of the phase-cut dimming device, the temporary storage module can store multiple reference time intervals corresponding to the adjustable gears, and select the corresponding reference time interval by the gear signal (such as PWM or digital signal) provided by the phase-cut dimming device.
[0145] In other embodiments, in order to respond to the dimming operation of the phase-cut dimming device, the reference time interval can be updated in time based on the dimming operation of the phase-cut dimming device. To this end, the power control method also includes the step of outputting an update control signal when the end moment of the first waveform is detected; and based on the control logic composed of the update control signal, detecting the error between the first time interval of the first waveform and the temporarily stored reference time interval, and when the error exceeds the preset error threshold, updating the reference time interval. Correspondingly, the timing unit also includes: a second logic module; and the power control circuit also includes an update unit.
[0146] The second logic module is used to output an update control signal at the end of the first waveform. Here, the second logic module can detect the end of the first waveform based on the transition edge of the detection signal output by the zero-crossing detection module and output the update control signal. For example, see Fig. 9, which is a circuit structure diagram of a timing unit in a power control circuit of a corresponding leading phase dimming device, wherein the detection signal CMPO output by the zero-crossing detection module 211 represents the first waveform with a low level and the second waveform with a high level, and the second logic module 214 determines the end time of the first waveform based on the rising edge of the detection signal, wherein the second logic module 214 includes a pulse signal generator based on the rising edge. For another example, please refer to Fig.10 , which is shown as a circuit structure diagram of a timing unit in a power control circuit of a corresponding post-phase dimming device, wherein the detection signal output by the zero-crossing detection module 211′ represents a first waveform with a high level and a second waveform with a low level, and the second logic module 214′ determines the end time of the first waveform based on the falling edge of the detection signal, wherein the second logic module 214′ includes a pulse signal generator based on the falling edge.
[0147] Among them, combined Fig. 9 and Fig.10 The updating unit 24 is connected to the timing unit 21 (or 21′) and the temporary storage module 221, and is used to detect the error between the first time interval of the first waveform and the temporarily stored reference time interval based on the control logic composed of the update control signal (Latch), and when the error exceeds a preset error threshold, update the reference time interval in the temporary storage module.
[0148] Here, the update unit 24 is connected to the second logic module 214 (or 214') and the timing module 213 (or 213'), and when receiving the update control signal (such as a pulse signal), it reads the current accumulated timing duration of the timing module 213 (or 213'), and compares the obtained timing duration with the reference time interval. When the absolute value of the comparison result exceeds the preset error threshold, the obtained timing duration is used as the reference time interval for adjusting the current of the load in the subsequent unit time. To this end, the update unit 24 includes a multi-level logic module composed of a comparator and a logic device group, or a logic processing module including an MCU, etc.
[0149] In a circuit system including a dimmer detection circuit, the update module further selects the updated reference time interval based on the detection signal of the dimmer type and the update control signal provided by the dimmer detection circuit. For example, the update module detects whether the error between the reference time interval of the corresponding leading phase dimming device and the timing duration of the first waveform exceeds the error threshold of the corresponding leading phase dimming device based on the update control signal and the detection signal indicating the dimming type of the leading phase dimming device. If so, the corresponding reference time interval is updated; if not, it is not updated. For another example, the update module detects whether the error between the reference time interval of the corresponding trailing phase dimming device and the timing duration of the first waveform exceeds the error threshold of the corresponding trailing phase dimming device based on the update control signal and the detection signal indicating the dimming type of the trailing phase dimming device. If so, the corresponding reference time interval is updated; if not, it is not updated. Since the phase-cut dimming device makes the duration of the conduction state in the first half and the second half of an industrial frequency cycle unequal, the error threshold set in the update unit can redundantly account for the difference in the first waveform in adjacent unit durations to reduce the update frequency, thereby reducing the discomfort of the human eye to the flickering of the light.
[0150] In view of the situation that the phase-cut dimming device makes the duration of the conduction state in the first half and the second half of an industrial frequency cycle unequal, in other real-time methods, the temporary storage module includes a first temporary storage and a second temporary storage, which are respectively used to temporarily store the reference time interval T1 in the odd unit time length and the reference time interval T2 in the even unit time length determined by detection; correspondingly, the adjustment unit also includes a selection module, which is connected to both the first temporary storage and the second temporary storage, and is used to select one of the reference time intervals from the first temporary storage and the second temporary storage to adjust the output time of the second control signal.
[0151] The reference time intervals stored in the first register and the second register may be stored correspondingly in the manner mentioned above, which will not be repeated here.
[0152] The selection module can select the logic setting according to the on or off state of the phase-cut dimming device represented by the first waveform. For example, the first waveform represents the waveform when the front phase-cut dimming device is in the off state, and the selection module is a maximum selector to select the larger of the two reference time intervals. For another example, the first waveform represents the waveform when the rear phase-cut dimming device is in the on state, and the selection module is a minimum selector to select the smaller of the two reference time intervals. In this way, not only can the fluctuation of the phase angle interval be avoided, but also the on time interval of each unit time length can be unified.
[0153] In some other examples of updating the reference time intervals in the first register and the second register, the timing unit further includes a third logic module, and the third logic module is used to output an odd control signal or an even control signal when the first waveform is detected. The update unit updates the corresponding first register or second register based on the odd control signal or the even control signal. In some more specific examples, the update unit includes a first update module and a second update module; wherein the first update module is connected to the first temporary storage module, the second logic module and the third logic module, and is used to detect the error between the first time interval of the first waveform and the reference time interval stored in the first temporary storage module based on the control logic composed of the update control signal and the odd control signal, and when the error exceeds a preset error threshold, the reference time interval in the first temporary storage module is updated. The second update module is connected to the second temporary storage module, the second logic module and the third logic module, and is used to detect the error between the first time interval during which the first waveform lasts and the reference time interval stored in the second temporary storage module based on the control logic composed of the update control signal and the even-numbered control signal, and update the reference time interval in the second temporary storage module when the error exceeds a preset error threshold.
[0154] For example, the third logic module includes a 1-bit counter and receives a pulse signal from the first logic module, and the 1-bit counter can count based on the pulse signal. The first update module and the second update module each include a logic device group for performing logic processing based on the update control signal, the first control signal and the odd (even) number of control signals. When the count is an odd number, an odd number of control signals (such as a high level) are output, and when the count is an even number, an even number of control signals (such as a low level) are output. Taking the first update module as an example, when the update control signal and the odd number of control signals are both high levels, the logic device group in the first update module outputs a high level signal to detect the error between the first time interval of the first waveform and the reference time interval stored in the first temporary storage module, and when the error exceeds a preset error threshold, the reference time interval in the first temporary storage module is updated. The working process of the second update module is similar to that of the first update module, and will not be repeated here.
[0155] In step S120, when the current accumulated timing duration reaches a preset reference time interval, a second control signal is output.
[0156] Here, this step can be performed by the adjustment unit. The adjustment unit outputs a second control signal when the current accumulated timing duration reaches the reference time interval. The reference time interval can be a reference time interval updated by the update operation of the update unit, thereby being able to respond to the user's dimming operation of the phase-cut dimming device in real time.
[0157] Here, according to the type of the phase-cut dimming device, the current accumulated timing duration reaching the reference time interval means that under the control of the first control signal, the load can avoid the on / off phase angle interval of the phase-cut dimming device. When the current accumulated timing duration of the timing unit reaches the reference time interval, the adjustment unit outputs a second control signal.
[0158] To this end, the adjustment unit also includes: a comparison module. The comparison module can compare the binary digits output by the timing unit for describing the current accumulated timing duration with the temporarily stored reference time interval bit by bit in real time, and output a second control signal when the comparison result indicates that the two numbers are equal. For example, the comparison module includes a plurality of comparators and a logic device group; each comparator compares the corresponding digits of the timing duration and the reference time interval, and the output ends of all comparators are connected to the logic device group, and when the levels output by all comparators meet the logic of outputting the second control signal in the logic device group, the second control signal is output. Here, the logic device group may include at least one logic device according to the actual logic design needs, and the corresponding logic configuration is realized by electrically connecting the logic devices. Among them, the logic devices include but are not limited to AND gates, OR gates, NAND gates, NOT gates, encoders, decoders, selectors, etc.
[0159] In some of the above-mentioned embodiments and examples, the saved reference time interval is obtained by detecting the duration of the first waveform. In order to avoid the duration corresponding to the phase angle interval of the fluctuation, the adjustment unit also includes an adjustment module for accumulating the fluctuation time interval pre-stored in the temporary storage module to the reference time interval, and outputting the accumulated reference time interval to the comparison module.
[0160] Here, taking the detected first waveform as the waveform of the disconnected state of the leading phase dimming device as an example, the adjustment module includes an adder for adding the fluctuation time interval and the reference time interval, and providing the added reference time interval to the comparison module, which realizes that the load circuit is kept in a state without power input during the phase angle interval of the fluctuation. Taking the detected first waveform as the waveform of the on state of the trailing phase dimming device as an example, the adjustment module includes a subtractor for subtracting the fluctuation time interval from the reference time interval, and providing the subtracted reference time interval to the comparison module, which also realizes that the load circuit is kept in a state without power input during the phase angle interval of the fluctuation.
[0161] In step S130 , the load current is controlled based on the first control signal and the second control signal.
[0162] Here, this step may be performed by a control unit. The control unit is connected to the detection unit and the adjustment unit, and controls the current in the load based on the first control signal and the second control signal.
[0163] Here, the control unit outputs a control signal for controlling the circuit system according to the circuit structure of the circuit system for controlling the power supply of the load. For example, an enable signal for controlling the circuit system to turn on / off the circuit loop of the load is output. According to the type of the phase-cut dimming device, for the front-cut phase dimming device, when the control unit is based on the received first control signal, it outputs an enable signal for controlling the circuit system to disconnect the power supply, and when the control unit is based on the received second control signal, it outputs an enable signal for controlling the circuit system to turn on the power supply; for the rear-cut phase dimming device, when the control unit is based on the received first control signal, it outputs an enable signal for controlling the circuit system to turn on the power supply, and when the control unit is based on the received second control signal, it outputs an enable signal for controlling the circuit system to disconnect the power supply.
[0164] In a circuit system that uses a switch circuit to control the power supply of a load, the control unit controls the switch circuit to be turned on or off based on a first control signal and a second control signal. The output end of the control unit is connected to the control end of the switch circuit. The control end includes the control end of the switch unit in the switch circuit (such as the gate of the switch power tube), or the control end of the drive unit in the switch circuit (such as the enable end of the drive amplifier), etc. For example, the phase-cut dimming device is a front-cut phase-cut dimming device, the switch unit includes a gate-driven switch power tube, the control unit includes a trigger and a switch, the set end of the trigger receives the second control signal, the reset end receives the first control signal, and the output end is connected to the control end of the switch, when the reset end of the trigger receives the first control signal, the trigger outputs a low level, the low level controls the switch to be turned on, so that the switch power tube is forced to be turned off; when the set end of the trigger receives the second control signal, the trigger outputs a high level, the high level controls the switch to be turned off, so that the switch power tube is turned on, or the turning on and off of the switch power tube is controlled by other switch control circuits in the circuit system. For another example, the phase-cut dimming device is a post-phase-cut dimming device, the switching unit includes a gate-driven switching power tube, the control unit includes a trigger and a switch, the set end of the trigger receives a first control signal, the reset end receives a second control signal, and the output end is connected to the control end of the switch, when the set end of the trigger receives the first control signal, the trigger outputs a high level, the low level controls the switch to be disconnected, so that the switching power tube is turned on, or the turning on and off of the switching power tube is controlled by other switch control circuits in the circuit system; when the reset end of the trigger receives the second control signal, the trigger outputs a low level, the high level controls the switch to be turned on, so that the switching power tube is forced to be disconnected.
[0165] In another specific example, the output end of the control unit is connected to the input end of the switch circuit, wherein the input end of the switch circuit is connected to the input end of the driving unit (such as the input end of the driving amplifier). For example, the output end of the control unit is connected to the input end of the driving amplifier, and when the control unit grounds the input end of the driving amplifier based on the corresponding disconnected first control signal or the second control signal, the switch circuit is forced to disconnect, otherwise, it is turned on or controlled by other circuits.
[0166] Here, the other circuits include but are not limited to: a switch control circuit that uses resonance to provide stable power supply to the load, a line voltage compensation circuit, etc.
[0167] It should be noted that the connection and circuit structure of the control unit are only examples, and are not intended to limit the technical solution of the present application. In fact, the control unit can also be combined with the control logic of the control signal of other switch circuits to perform more complex logic processing and output corresponding on or off control signals. No further details will be given here.
[0168] See also Fig.19 , which is a flowchart of a driving method of the present application. The driving method can be executed by the aforementioned driving system or a driving system capable of executing the method.
[0169] In step S210, the external AC power is rectified and output to the power supply line where the load is located.
[0170] Here, this step can be performed by a rectifier circuit. The rectifier circuit rectifies the external AC power and outputs it to the power supply bus where the load is located. For example, the rectifier circuit includes a rectifier bridge composed of four diodes, which converts the AC power waveform into a power supply waveform with a half power frequency cycle as a period.
[0171] In step S220, a linear compensation signal is output to a switch circuit provided in the power supply line based on the acquired electrical signal reflecting the voltage of the power supply line, so that the switch circuit drives the load using the linear compensation signal during the conduction period.
[0172] Here, this step can be performed by a linear compensation circuit. The output end of the linear compensation circuit is connected to the input end of the driving unit in the switch circuit, and is used to output a linear compensation signal to the switch circuit provided in the power supply bus based on the acquired electrical signal reflecting the power supply bus voltage, so that the switch circuit drives the load using the linear compensation signal during the conduction period.
[0173] Wherein, the switch circuit is arranged on the power supply bus and is used to control the power supply bus to be turned on or off. Wherein, the switch circuit includes a drive unit and a switch unit. Wherein, the drive unit includes, for example, a drive amplifier, the input end of the drive amplifier receives a drive control signal, and the output end is connected to the switch unit. The switch unit includes, for example, a switch power tube, the gate of the switch power tube is connected to the output end of the drive amplifier, and the drain and source are connected to the power supply bus.
[0174] Wherein, the linear compensation circuit outputs a linear compensation signal to the switch circuit based on the voltage signal obtained to reflect the power supply bus, so that the switch circuit uses the linear compensation signal to drive the load during the conduction period. Here, the linear compensation circuit may include a sampling unit and a line voltage generation unit, wherein the sampling unit is connected to the power supply bus, converts the voltage signal of the power supply bus into a detection signal that can reflect the voltage signal, and inputs it to the line voltage generation unit, and the line voltage generation unit outputs a line voltage compensation signal that is opposite to the change of the detection signal based on a reference voltage, and outputs it to the switch circuit. Wherein, the switch circuit is used to control the power supply bus to be turned on or off. In some embodiments, the linear compensation circuit can also be a circuit example provided in Publication No. CN 107623968A, which will not be described in detail here and will be cited as a specific example in its entirety.
[0175] In step S230, the power supply signal within the current unit time is timed, and a first waveform in the power supply signal is detected, and a first control signal is output when the start time of the first waveform is detected.
[0176] In step S240, when the current accumulated timing duration reaches a preset reference time interval, a second control signal is output.
[0177] In step S250 , the load current is controlled based on the first control signal and the second control signal.
[0178] Here, the steps S230-S250 may correspond to Fig.18 Steps S110-S130 shown. In addition, Fig.18 All the embodiments described in the specification are incorporated herein by reference. No further description is given here.
[0179] In a specific example, the power control circuit has an output terminal for connecting to the switch circuit, and controls the on or off of the switch circuit to shield the phase angle fluctuation during the on and off period of the phase-cut dimming device. For example, the power control circuit collects a voltage signal from the power supply bus and converts it into a detection signal, and then adjusts the timing of the switch circuit being turned off or on based on the detection signal that can reflect the first waveform and the second waveform of the power supply signal within a unit time length, so that when the load works with the power supply signal provided by the phase-cut dimming device, the load flicker and other problems are reduced.
[0180] To summarize, the power control scheme provided in the present application detects the first waveform in the waveform of the power supply signal within the current unit time length, and solves the problem of flicker in LED lighting equipment by shielding the time interval of transition between the first waveform and the second waveform (i.e., the time interval causing phase angle fluctuation during the on and off switching of the phase-cut dimming device).
[0181] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A power control circuit for a circuit system that uses AC power that has been phase-cut by a phase-cut dimming device to drive a load, wherein the power control circuit is connected to a power supply line on the output side of a rectifier circuit in the circuit system, wherein: The rectifier circuit converts the AC power output by the phase-cut dimming device into a power supply signal including a first waveform and a second waveform within a unit time length of half a power frequency cycle, and is characterized in that the power control circuit includes: A timing unit, used to time the power supply signal within the current unit time, output the current accumulated timing time, and output a first control signal when the start time of the first waveform is detected; the timing unit includes: a second logic module, used to output an update control signal at the end time of the first waveform; an adjusting unit connected to the timing unit and comprising a temporary storage module; wherein the temporary storage module stores a reference time interval, and when the current accumulated timing duration reaches the reference time interval, the adjusting unit outputs a second control signal; a control unit connected to the timing unit and the regulating unit, and configured to control the current in the load based on the first control signal and the second control signal, wherein the control unit controls the switch circuit in the power supply line to be turned on or off based on the first control signal and the second control signal; An updating unit is connected to the timing unit and the temporary storage module, and is used to detect an error between a first time interval during which the first waveform lasts and a temporarily stored reference time interval based on a control logic composed of the update control signal, and to update the reference time interval in the temporary storage module when the error exceeds a preset error threshold.
2. The power control circuit according to claim 1, characterized in that: The timing unit comprises: A zero-crossing detection module, used to perform zero-crossing detection on the power supply signal collected from the power supply line, and output a detection signal reflecting the first waveform and the second waveform within a unit time length; A timing module, connected to the zero-crossing detection module, for timing the detection signal of the current unit time length using the transition edge of the detection signal; The first logic module is connected to the zero-crossing detection module and is used for outputting a first control signal corresponding to the starting time of the first waveform based on the transition edge of the detection signal.
3. The power control circuit according to claim 2, characterized in that: The timing module starts from the transition edge corresponding to the start time of the first waveform in the detection signal and times the detection signal of the current unit time length.
4. The power control circuit according to claim 2, characterized in that: The timing module comprises: A counter connected to the zero-crossing detection module and receiving a clock signal, and counting the number of pulses of the clock signal received within a current unit time length based on a preset transition edge of the detection signal; or A timer including a capacitor is connected to the zero-crossing detection module, and charges the capacitor based on a preset transition edge of the detection signal, and determines the accumulated time length according to a peak voltage of the capacitor charge.
5. The power control circuit according to claim 2, characterized in that: The first logic module is also connected to a reset terminal of the timing module, and the timing module resets the current timing operation based on the first control signal.
6. The power control circuit according to claim 1, characterized in that: The temporary storage module includes: a first temporary storage and a second temporary storage, respectively used to temporarily store the reference time interval in the odd-numbered unit time length and the reference time interval in the even-numbered unit time length determined by detection; The adjustment unit further includes a selection module connected to both the first register and the second register, and configured to select one of the reference time intervals from the first register and the second register to adjust the output time of the second control signal.
7. The power control circuit according to claim 1 or 6, characterized in that: The regulating unit further comprises: a comparing module connected to the timing unit, configured to compare the current timing duration with the reference time interval, and output a second control signal according to the comparison result.
8. The power control circuit according to claim 7, characterized in that: The temporary storage module also stores a fluctuation time interval, and the adjustment unit further includes: an adjustment module, which is used to accumulate the fluctuation time interval into the reference time interval and output the accumulated reference time interval to the comparison module.
9. The power control circuit according to claim 6, characterized in that: The timing unit includes: a second logic module, configured to output an update control signal at the end of the first waveform; and a third logic module, configured to output an odd-numbered control signal or an even-numbered control signal when the first waveform is detected; The power control circuit further comprises an update unit, wherein the update unit comprises a first update module and a second update module; The first updating module is connected to the first register, the second logic module and the third logic module, and is used to detect an error between a first time interval of the first waveform and a reference time interval stored in the first register based on a control logic composed of the update control signal and an odd-numbered control signal, and update the reference time interval in the first register when the error exceeds a preset error threshold; The second update module is connected to the second register, the second logic module and the third logic module, and is used to detect an error between a first time interval during which the first waveform lasts and a reference time interval stored in the second register based on a control logic composed of the update control signal and an even-numbered control signal, and update the reference time interval in the second register when the error exceeds a preset error threshold.
10. The power control circuit according to claim 1, characterized in that: The phase-cut dimming device is a front phase-cut dimming device, and the first waveform detected by the timing unit is a waveform during a period in which the phase-cut dimming device is turned off in a unit time length.
11. The power control circuit according to claim 1, characterized in that: The phase-cut dimming device is a trailing phase-cut dimming device, and the first waveform detected by the timing unit is a waveform during a conduction period of the phase-cut dimming device in a unit time length.
12. The power control circuit according to claim 1, characterized in that: The load is an LED lamp.
13. A chip, characterized in that: include: A power control circuit as claimed in any one of claims 1 to 12.
14. A drive system, characterized in that: include: A rectifier circuit is used to rectify the external AC power and output it to the power supply line where the load is located; A switch circuit is provided on the power supply line and is used to control the power supply line to be turned on or off; A linear compensation circuit, configured to output a linear compensation signal to a switch circuit provided in the power supply line based on the acquired electrical signal reflecting the voltage of the power supply line, so that the switch circuit drives the load by using the linear compensation signal during the conduction period; A power control circuit as claimed in any one of claims 1 to 12.
15. A power control method for a circuit system that uses AC power that has been phase-cut by a phase-cut dimming device to drive a load, characterized in that: include: Timing the power supply signal within the current unit time length, detecting a first waveform in the power supply signal, and outputting a first control signal at the start time of detecting the first waveform; When the current accumulated timing duration reaches a preset reference time interval, a second control signal is output; controlling the load current based on the first control signal and the second control signal; When the end time of the first waveform is detected, an update control signal is also output; Based on the control logic including the update control signal, the error between the first time interval of the first waveform and the temporarily stored reference time interval is detected, and when the error exceeds a preset error threshold, the reference time interval is updated.
16. The power control method according to claim 15, characterized in that: The step of timing the power supply signal within the current unit time, detecting the first waveform in the power supply signal, and outputting the first control signal at the start time of detecting the first waveform comprises: Performing zero-crossing detection on the power supply signal collected from the power supply line, and generating a detection signal for reflecting the first waveform and the second waveform within a unit time length; The current unit duration is timed by using the transition edge of the detection signal, and a first control signal corresponding to the start time of the first waveform is output based on the transition edge of the detection signal.
17. The power control method according to claim 16, characterized in that: The step of timing the current unit time length by using the transition edge of the detection signal includes: starting from the transition edge of the detection signal corresponding to the starting moment of the first waveform, timing the current unit time length.
18. The power control method according to claim 15, characterized in that: Predetermine a reference time interval corresponding to the odd-numbered unit time length and a reference time interval corresponding to the even-numbered unit time length, and the step of outputting the second control signal when the current accumulated timing duration reaches the preset reference time interval includes: selecting one of the reference time intervals from the first register and the second register to adjust the output time of the second control signal.
19. The power control method according to claim 15 or 18, characterized in that: The step of outputting the second control signal when the current accumulated timing duration reaches a preset reference time interval includes: comparing the current timing duration with the reference time interval, and outputting the second control signal according to the comparison result.
20. The power control method according to claim 19, characterized in that: The step of outputting a second control signal when the current accumulated timing duration reaches a preset reference time interval also includes: accumulating the preset fluctuation time interval to the reference time interval, then comparing the current timing duration with the accumulated reference time interval, and outputting a second control signal based on the comparison result.
21. The power control method according to claim 18, characterized in that: Also includes: outputting an update control signal when the end of the first waveform is detected, and outputting an odd-numbered control signal or an even-numbered control signal when the start of the first waveform is detected; Based on the control logic composed of the update control signal and the odd-numbered control signal, detect the error between the first time interval of the first waveform and the reference time interval T1, and when the error exceeds a preset error threshold, update the reference time interval T1; Based on the control logic composed of the update control signal and the even-numbered control signal, the error between the first time interval of the first waveform and the reference time interval T2 is detected, and when the error exceeds a preset error threshold, the reference time interval T2 is updated.
22. The power control method according to claim 15, characterized in that: The phase-cut dimming device is a front phase-cut dimming device, and the detected first waveform is a non-powered waveform in a unit time length.
23. The power control method according to claim 15, characterized in that: The phase-cut dimming device is a trailing phase-cut dimming device, and the detected first waveform is a power supply waveform in a unit time length.
24. The power control method according to claim 15, characterized in that: The load is an LED lamp.
25. A driving method, characterized in that: include: Rectify and output the external AC power to the power supply line where the load is located; Outputting a linear compensation signal to a switch circuit disposed on the power supply line based on the acquired electrical signal reflecting the voltage of the power supply line, so that the switch circuit drives the load using the linear compensation signal during the conduction period; And a power control method as described in any one of claims 15-24.
Citation Information
Patent Citations
Line voltage compensation circuit, LED driving system and driving method
CN107623968A
Pressure detecting method and device
CN106557201A
Control device and method of capacitance lamp
CN107124787A
Power control circuit , actuating system and chip
CN208675579U
