[go: up one dir, main page]

CN112822817A - Drive control circuit structure for realizing dimming function - Google Patents

Drive control circuit structure for realizing dimming function Download PDF

Info

Publication number
CN112822817A
CN112822817A CN201911117865.5A CN201911117865A CN112822817A CN 112822817 A CN112822817 A CN 112822817A CN 201911117865 A CN201911117865 A CN 201911117865A CN 112822817 A CN112822817 A CN 112822817A
Authority
CN
China
Prior art keywords
current
circuit module
module
digital
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911117865.5A
Other languages
Chinese (zh)
Other versions
CN112822817B (en
Inventor
刘玉芳
丁增伟
曾洁琼
张天舜
罗先才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRM ICBG Wuxi Co Ltd
Original Assignee
CRM ICBG Wuxi Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRM ICBG Wuxi Co Ltd filed Critical CRM ICBG Wuxi Co Ltd
Priority to CN201911117865.5A priority Critical patent/CN112822817B/en
Publication of CN112822817A publication Critical patent/CN112822817A/en
Application granted granted Critical
Publication of CN112822817B publication Critical patent/CN112822817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Discharge-Lamp Control Circuits And Pulse- Feed Circuits (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention relates to a drive control circuit structure for realizing a dimming function, which comprises a duty ratio detection module, a pulse modulation module and a dimming control module, wherein the duty ratio detection module is used for sampling and calculating input pulse waves through a high-speed clock signal to obtain a group of digital output signals; the coding circuit module is used for generating a two-bit control signal through the digital output signal; the first digital-to-analog conversion circuit module is used for generating nonlinear change current and fixed current and further adjusting output current through a frequency modulation mode; a frequency modulation circuit module; the second digital-to-analog conversion circuit module is used for outputting voltage and further changing output current by changing peak voltage; a peak current detection circuit module; and a logic control circuit module. The driving control circuit structure for realizing the dimming function effectively improves the dimming precision and the dimming depth, can enable human eyes to feel light when being applied to the dimming and color-modulating occasions, can achieve softer change in both brightness and color tone, and can dim the brightness of a lamp at night.

Description

Drive control circuit structure for realizing dimming function
Technical Field
The invention relates to the field of smart homes, in particular to the field of LED dimming, and specifically relates to a driving control circuit structure for realizing a dimming function.
Background
The circuit structure of the prior art is shown in fig. 1, an ac input power is rectified by a rectifier bridge and then filtered by a capacitor C1 to generate a dc power supply, a resistor R4 and a capacitor C5 generate a low voltage signal VCC to start a driver chip, and an internal circuit of the driver chip clamps the VCC. After the circuit normally works, the power tube is conducted, and the primary side inductor N of the transformer T1PThe current rises gradually, the inductor stores energy, and the resistance R is sampledCSSampling the inductor current by a sampling resistor RCSWhen the voltage on the inductor reaches VREF, i.e. the inductor current ILPeak value to IPK=VREF/RCSThe constant current logic control circuit controls the power tube to be turned off, the voltage on the inductor is reversed, the inductor discharges through the LED and the D2 loop, the voltage at two ends of the inductor drops after the inductor discharges, when the zero-crossing detection circuit detects that the voltage of the ZCD pin drops, the power tube is output to the constant current logic control circuit to be turned on again, and the steps are repeated. When PWM is used for dimming, when PWM is high, a power loop of the circuit works, and when PWM is low, the power loop of the circuit stops working.
Linear dimming changes the LED driving current by changing the peak current of the inductor by changing the voltage or resistance, but has the disadvantages that decreasing the peak current increases the operating frequency of the driving circuit, increases the switching loss, and decreases the LED current while causing the white light to shift to the yellow spectrum.
The PWM dimming method is a method of changing an output current by controlling a duty ratio of a PWM wave, and a power circuit of a circuit operates when the PWM is high, and stops operating when the PWM is low. When the PWM dimming frequency is 200-20 kHz, the inductance and the output capacitance around the LED driver are easy to generate noise heard by human ears. In addition, when PWM dimming is performed, the closer the frequency of the adjustment signal and the frequency of the gate control signal by the LED driving chip are, the worse the linearity effect is.
As shown in fig. 2, the PWM1 signal duty cycle is smaller than the PWM2 signal duty cycle, but since the falling edge of PWM occurs at the demagnetization time, the output current will not change. Affecting the accuracy of the dimming.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a driving control circuit structure which has high precision, simple structure and wider application range and realizes the dimming function.
In order to achieve the above object, the driving control circuit structure for realizing the dimming function of the present invention is as follows:
this realize drive control circuit structure of function of adjusting luminance, its key feature is, circuit structure include:
the duty ratio detection module is used for sampling and calculating input pulse waves through a high-speed clock signal to obtain a group of digital output signals;
the coding circuit module is connected with the duty ratio detection module and is used for generating a two-bit control signal through the digital output signal;
the first digital-to-analog conversion circuit module is connected with the duty ratio detection module and the coding circuit module and is used for generating nonlinear change current and fixed current so as to regulate output current through a frequency modulation mode;
the frequency modulation circuit module is connected with the first digital-to-analog conversion circuit module and used for generating a delay signal to enable the circuit to enter an intermittent working mode, and changing the duty ratio of a switch by changing the working frequency of a power tube so as to change the output current;
the second digital-to-analog conversion circuit module is connected with the duty ratio detection module and the coding circuit module and is used for outputting voltage and further changing output current by changing peak voltage;
the peak current detection circuit module is connected with the second digital-to-analog conversion circuit module and used for changing CS peak sampling voltage and changing output current by changing the peak current of the inductor;
and the logic control circuit module is connected with the frequency modulation circuit module and the peak current detection circuit module and is used for controlling the output current to carry out light source dimming.
Preferably, the first digital-to-analog conversion circuit module includes:
the fixed current generation circuit submodule is connected with the duty ratio detection module and is used for generating fixed current;
and the variable current generation circuit submodule is connected with the duty ratio detection module and is used for generating variable current.
Preferably, the fixed current generating circuit sub-module comprises:
the first negative feedback circuit unit is connected with the duty ratio detection module and is used for generating current;
and the first P tube current mirror circuit unit is connected with the first negative feedback circuit unit and is used for generating fixed charging current.
Preferably, the variable current generating circuit sub-module comprises:
the second negative feedback circuit unit is connected with the duty ratio detection module and is used for generating current;
the second P tube current mirror circuit unit is connected with the first negative feedback circuit unit and is used for generating mirror current;
and the N-tube current mirror circuit unit is connected with the first negative feedback circuit unit and the second P-tube current mirror circuit unit and is used for generating variable discharge current.
Preferably, the duty ratio detection module enables the first digital-to-analog conversion circuit module and the second digital-to-analog conversion circuit module to output different segmented analog signals by changing the code of the digital output signal.
Preferably, the second digital-to-analog conversion circuit module is an R-2R type digital-to-analog conversion circuit.
Preferably, the second digital-to-analog conversion circuit module obtains an output voltage, specifically:
the output voltage is obtained according to the following formula:
Figure BDA0002274587110000031
where VCS _ REF is the output voltage, VREF0The full current corresponds to the sampling reference voltage.
Preferably, the frequency modulation circuit module generates a delay and obtains a delay time, specifically:
the delay time is obtained according to the following formula:
Figure BDA0002274587110000032
wherein, TDELAYFor time delay, i.e. discharge time, TSWFor the charging time, i.e. the switching period in critical conduction mode of the power transistor, IchargeFor charging current, IdischargeIs a discharge current.
Preferably, the frequency modulation circuit module obtains an output current, specifically:
obtaining the output current I of the frequency modulation circuit module according to the following formulaLED1
Figure BDA0002274587110000041
Wherein, ILED0For 100% output current, D1 is the proportion of output current that is varied by switching delay, TDELAYFor time delay, i.e. discharge time, TSWThe charging time is the switching period of the power tube in critical conduction mode.
Preferably, the peak current detection circuit module obtains an output current, specifically:
obtaining the output current I of the peak current detection circuit module according to the following formulaLED2
Figure BDA0002274587110000042
Wherein, ILED0Output current of 100%,VREF0At full current, corresponding to the sampled reference voltage, D2 is the output current ratio adjusted by changing the reference voltage, and VCS _ REF is the output voltage.
By adopting the drive control circuit structure for realizing the dimming function, the LED output current is regulated by regulating the frequency modulation mode and changing the peak voltage, so that the dimming function effect of the LED is realized. The intelligent household dimming circuit can effectively improve dimming precision and dimming depth, can achieve a better dimming effect compared with the prior art, meets the high-quality dimming quality requirement of intelligent household, can solve the noise problem in dimming due to the fact that the current passing through the circuit structure is small, and has a wide application range.
Drawings
Fig. 1 is a diagram of a prior art dimming circuit.
Fig. 2 is a waveform diagram of the prior art.
Fig. 3 is a schematic diagram of a driving control circuit structure for implementing a dimming function according to the present invention.
FIG. 4 shows D1, D2 and I of the present inventionLEDF and PWM are shown as the change relation of the duty ratio.
Fig. 5 is a schematic circuit diagram of a second digital-to-analog conversion circuit module according to the present invention.
FIG. 6 is a diagram illustrating the variation curve of VCS _ REF according to the present invention.
Fig. 7 is a schematic circuit structure diagram of a first digital-to-analog conversion circuit module according to the present invention.
Fig. 8 is a schematic diagram of a digital-to-analog converter of the variable current generating circuit module according to the present invention.
Fig. 9 is a schematic circuit diagram of the resistor of the variable current generating circuit module according to the present invention.
FIG. 10 is a graphical representation of Idischarge/Icharge of the present invention as a function of duty cycle.
Fig. 11 is a structural diagram of a frequency modulation circuit of the present invention.
FIG. 12 shows D1, D2 and ILEDF and PWM versus duty cycle.
Fig. 13 is a circuit structure diagram of a second digital-to-analog conversion circuit module according to another embodiment of the invention.
FIG. 14 is a diagram illustrating a variation curve of VCS _ REF according to another embodiment of the present invention.
Fig. 15 is a schematic diagram of a digital-to-analog converter of a variable current generating circuit module according to another embodiment of the invention.
Fig. 16 is a schematic circuit diagram of a resistor of a variable current generating circuit module according to another embodiment of the invention.
FIG. 17 is a graph of Idischarge/Icharge as a function of duty cycle for another embodiment of the present invention.
Detailed Description
In order to more clearly describe the technical contents of the present invention, the following further description is given in conjunction with specific embodiments.
The driving control circuit structure for realizing the dimming function of the invention comprises:
the duty ratio detection module is used for sampling and calculating input pulse waves through a high-speed clock signal to obtain a group of digital output signals;
the coding circuit module is connected with the duty ratio detection module and is used for generating a two-bit control signal through the digital output signal;
the first digital-to-analog conversion circuit module is connected with the duty ratio detection module and the coding circuit module and is used for generating nonlinear change current and fixed current so as to regulate output current through a frequency modulation mode;
the frequency modulation circuit module is connected with the first digital-to-analog conversion circuit module and used for generating a delay signal to enable the circuit to enter an intermittent working mode, and changing the duty ratio of a switch by changing the working frequency of a power tube so as to change the output current;
the second digital-to-analog conversion circuit module is connected with the duty ratio detection module and the coding circuit module and is used for outputting voltage and further changing output current by changing peak voltage;
the peak current detection circuit module is connected with the second digital-to-analog conversion circuit module and used for changing CS peak sampling voltage and changing output current by changing the peak current of the inductor;
and the logic control circuit module is connected with the frequency modulation circuit module and the peak current detection circuit module and is used for controlling the output current to carry out light source dimming.
As a preferred embodiment of the present invention, the first digital-to-analog conversion circuit module includes:
the fixed current generation circuit submodule is connected with the duty ratio detection module and is used for generating fixed current;
and the variable current generation circuit submodule is connected with the duty ratio detection module and is used for generating variable current.
As a preferred embodiment of the present invention, the fixed current generating circuit sub-module comprises:
the first negative feedback circuit unit is connected with the duty ratio detection module and is used for generating current;
and the first P tube current mirror circuit unit is connected with the first negative feedback circuit unit and is used for generating fixed charging current.
As a preferred embodiment of the present invention, the variable current generation circuit sub-module comprises:
the second negative feedback circuit unit is connected with the duty ratio detection module and is used for generating current;
the second P tube current mirror circuit unit is connected with the first negative feedback circuit unit and is used for generating mirror current;
and the N-tube current mirror circuit unit is connected with the first negative feedback circuit unit and the second P-tube current mirror circuit unit and is used for generating variable discharge current.
As a preferred embodiment of the present invention, the duty ratio detection module changes the code of the digital output signal, so that the first digital-to-analog conversion circuit module and the second digital-to-analog conversion circuit module output different segmented analog signals.
In a preferred embodiment of the present invention, the second digital-to-analog conversion circuit module is an R-2R type digital-to-analog conversion circuit.
As a preferred embodiment of the present invention, the second digital-to-analog conversion circuit module obtains an output voltage, specifically:
the output voltage is obtained according to the following formula:
Figure BDA0002274587110000071
where VCS _ REF is the output voltage, VREF0The full current corresponds to the sampling reference voltage.
As a preferred embodiment of the present invention, the frequency modulation circuit module generates a delay and obtains a delay time, specifically:
the delay time is obtained according to the following formula:
Figure BDA0002274587110000072
wherein, TDELAYFor time delay, i.e. discharge time, TSWFor the charging time, i.e. the switching period in critical conduction mode of the power transistor, IchargeFor charging current, IdischargeIs a discharge current.
As a preferred embodiment of the present invention, the frequency modulation circuit module obtains an output current, specifically:
obtaining the output current I of the frequency modulation circuit module according to the following formulaLED1
Figure BDA0002274587110000073
Wherein, ILED0For 100% output current, D1 is the proportion of output current that is varied by switching delay, TDELAYFor time delay, i.e. discharge time, TSWFor charging time, i.e. switching period in critical conduction mode of power tubeAnd (4) period.
As a preferred embodiment of the present invention, the peak current detection circuit module obtains an output current, specifically:
obtaining the output current I of the peak current detection circuit module according to the following formulaLED2
Figure BDA0002274587110000074
Wherein, ILED0Is 100% of output current, VREF0At full current, corresponding to the sampled reference voltage, D2 is the output current ratio adjusted by changing the reference voltage, and VCS _ REF is the output voltage.
In an embodiment of the present invention, a non-isolated driving dimming control circuit with excellent dimming effect is disclosed, as shown in fig. 3, the driving dimming control circuit includes a duty ratio detection module, an encoding circuit module, a first digital-to-analog conversion circuit module, a frequency modulation circuit module, a second digital-to-analog conversion circuit module, a peak current detection circuit module, and a logic control circuit module.
The duty ratio detection module is connected with the coding circuit module, the first digital-to-analog conversion circuit module and the second digital-to-analog conversion circuit module, the coding circuit module is connected with the first digital-to-analog conversion circuit module and the second digital-to-analog conversion circuit module, the frequency modulation circuit module is connected with the first digital-to-analog conversion circuit module, the peak current detection circuit module is connected with the second digital-to-analog conversion circuit module, and the logic control circuit module is connected with the frequency modulation circuit module and the peak current detection circuit module.
Wherein CS (Current sense) is an inductance peak Current detection port, GD (gate driver) is a gate drive output port, and ZCD (zero Current detect) is an inductance zero Current detection port.
The duty ratio detection module samples and calculates input pulse waves through a high-speed clock signal to obtain a group of digital output signals, and the first digital-to-analog conversion circuit is enabled to change the codes of the digital output signalsThe module and the second digital-to-analog conversion circuit module output different segmented analog signals. The coding circuit module generates a two-bit control signal through a digital output signal, wherein the digital output signal has n bits and is D<n-1:0>The two-bit control signal is A1A0
The circuit structure of the invention changes the output current of the LED in two different ways, and the technical scheme of the invention is further explained in detail by combining the attached drawings:
1. the first embodiment is as follows:
the first embodiment regulates the output current through a frequency modulation scheme. The digital output signal and the two-bit control signal control the first digital-to-analog conversion circuit module circuit to generate a nonlinear change current and a fixed current, and the current is output to the frequency modulation circuit to generate a delay signal. At the moment, the system enters an intermittent working mode, the duty ratio of a switch is changed by changing the working frequency of the power tube, and then the average current output by the LED is changed, so that the dimming function effect of the LED is realized.
Taking the example of generating two-bit control signals by the encoding circuit, the duty ratio of the PWM signal is D, and the calculation formula of the duty ratio D is as follows:
D=D1×D2;
where D1 is the output current ratio changed by switching delay, and D2 is the output current ratio adjusted by changing the reference voltage. D1, D2, ILEDThe relationship of the variation of f and the PWM duty ratio is shown in fig. 4.
1.1 coding circuit module:
the truth table of the encoding circuit module is as follows, taking n as 12 as an example:
PWM duty cycle D<11:0>(hexadecimal) A1A0
100%~50% FFF~800 00
50%~12.5% 7FF~200 01
12.5%~3.125% 1FF~080 10
3.125%~0% 07F~0 11
1.2 the first digital-to-analog conversion circuit module:
as shown in fig. 7, the first digital-to-analog conversion circuit module generates a non-linearly varying current and a fixed current, and then adjusts the output current through a frequency modulation mode. The first digital-to-analog conversion circuit module comprises a fixed current generation circuit submodule and a variable current generation circuit submodule which are connected with the duty ratio detection module.
The fixed current generation circuit submodule is used for generating a fixed current and comprises a first negative feedback circuit unit consisting of operational amplifiers AMP1 and MN6 and a first P tube current mirror circuit unit consisting of MP5 to MP 8. The input end of the first negative feedback circuit unit is connected with the duty ratio detection module, and the output end of the first negative feedback circuit unit is connected with the first P tube current mirror circuit unit and used for generating current; the first P-tube current mirror circuit unit is used for generating a fixed charging current.
The first negative feedback circuit unit enables the voltage of the inverting input end of the AMP1 to be equal to V1, the current flowing through R1 is V1/R1, and the charging current Icharge is generated through the first P tube current mirror circuit unit.
The variable current generation circuit submodule is used for generating variable current, and comprises a voltage digital-to-analog conversion circuit DAC1_1 and a resistor R2 which are R _ DAC, and further comprises a second negative feedback circuit unit consisting of an operational amplifier AMP2 and MN1, a second P tube current mirror circuit unit consisting of MP1 to MP4, and an N tube current mirror circuit unit consisting of MN2 to MN 5.
The second negative feedback circuit unit is connected with the duty ratio detection module and is used for generating current; the second P tube current mirror circuit unit is connected with the first negative feedback circuit unit and is used for generating mirror current; and the N-tube current mirror circuit unit is connected with the first negative feedback circuit unit and the second P-tube current mirror circuit unit and is used for generating variable discharge current.
The second negative feedback circuit unit enables the voltage of the inverting input end of the operational amplifier AMP2 to be equal to V2, the current flowing through R2 is V2/R2, and then the second P tube current mirror circuit unit and the N tube current mirror circuit unit generate the discharge current Idischarge.
The internal circuit structure of the voltage digital-to-analog conversion circuit DAC1_1 is shown in fig. 8, the voltage digital-to-analog conversion circuit structure is shown in fig. 5, the number of bits is one bit less, and the output signal of the data selector and the change of V2 are as follows:
when A1a0 is 00, y < 10: 0> -d 0< 10: 0> -11111111111, and V2-V1;
when A1A0 is 01, y<10:0>=d1<10:0>=D<10:0>V2 with D<10:0>The change in the shape of a line is linear,
Figure BDA0002274587110000101
when A1a0 is 10, y < 10: 0> -d 2< 10: 0> -01000000000, V2 ═ V1/4;
when A1A0 is 11, y<10:0>=d3<10:0>={D<8:0>00, V2 with D<10:0>The change in the shape of a line is linear,
Figure BDA0002274587110000102
the internal circuit configuration of the resistor R2, i.e., R _ DAC, is shown in fig. 9, the output signal of the data selector and the change of the resistor R2 are as follows, as shown in fig. 8:
when A1a0 is 00, y < 10: 0> -d 0< 10: 0> -11111111111, and R2-R/16;
when A1A0 is 01, y<10:0>=d1<10:0>=D<10:0>,
Figure BDA0002274587110000103
Figure BDA0002274587110000104
The range is R/16-96R, and the step is R/16;
when A1a0 is 10, y < 10: 0> -d 2< 10: 0> -01000000000, R2 ═ 96R;
when A1A0 is 11, y<10:0>=d3<10:0>={D<8:0>,00},
Figure BDA0002274587110000105
Figure BDA0002274587110000106
The range is 96R to 128R, and the step is R/4.
With reference to fig. 7 to 9, the fixed current is Icharge-V1/R1, the variable current is Idischarge-V2/R2, R1 is 128R, and the curve of Idischarge/Icharge as a function of the duty cycle is shown in fig. 10.
1.3 frequency modulation circuit module:
as shown in fig. 11, the frequency modulation circuit module generates a delay signal to make the circuit enter an intermittent operation mode, and changes the duty ratio of the switch by changing the operating frequency of the power transistor, thereby changing the output current.
The power tube is opened, the charging current Icharge charges the capacitor C1, and the C1 discharges through the discharging current Idischarge after demagnetization is finished. The charging time is the switching period in the critical conduction mode of the power tube and is recorded as TSWThe delay of the discharge time for increasing, denoted as TDELAY
The frequency modulation circuit module generates time delay, and obtains the time delay time according to the following formula:
Figure BDA0002274587110000111
wherein, TDELAYFor time delay, i.e. discharge time, TSWFor the charging time, i.e. the switching period in critical conduction mode of the power transistor, IchargeFor charging current, IdischargeIs a discharge current.
The frequency modulation circuit module obtains an output current I according to the following formulaLED1
Figure BDA0002274587110000112
Wherein, ILED0For 100% output current, D1 is the proportion of output current that is varied by switching delay, TDELAYFor time delay, i.e. discharge time, TSWThe charging time is the switching period of the power tube in critical conduction mode.
The first starting signal of the power tube output by the logic control circuit is a START signal, the starting signal of the power tube output by the logic control circuit after the first starting is DRV _ H, and the demagnetization finishing signal output by the zero-crossing detection circuit is ZCD _ IN.
When A1a0 is 00, D1 is 1,
Figure BDA0002274587110000113
when A1a0 is 01,
Figure BDA0002274587110000114
Figure BDA0002274587110000115
Figure BDA0002274587110000116
when A1a0 is 10,
Figure BDA0002274587110000117
when A1a0 is 11,
Figure BDA0002274587110000121
Figure BDA0002274587110000122
Figure BDA0002274587110000123
1.4 second digital-to-analog conversion circuit module:
as shown in fig. 5, the second digital-to-analog conversion circuit module is used for outputting voltage, and further changing output current by changing peak voltage. The second D/A converter circuit module is R-2R type D/A converter circuit with bi equal to 1 and switch connected to VREF0And bi is 0, and the switch is connected to GND.
The second digital-to-analog conversion circuit module obtains an output voltage according to the following formula:
Figure BDA0002274587110000124
where VCS _ REF is the output voltage, VREF0The full current corresponds to the sampling reference voltage.
The second digital-to-analog conversion circuit module comprises a 4-to-1 data selector, and the output of the data selector and the change of VCS _ REF value are as follows:
when A1a0 is 00, y<11:0>=d0<11:0>=D<11:0>VCS _ REF with D<11:0>From VREF0Linearly decreasing to VREF0/2,
Figure BDA0002274587110000125
When A1a0 is 01, y<11:0>=d1<11:0>=1000 0000 0000,VCS_REF=VREF0/2;
When A1a0 is 10, y<11:0>=d2<11:0>={D<9:0>00, VCS _ REF with D<11:0>From VREF0Linearly decreasing to VREF0/8,
Figure BDA0002274587110000126
When A1a0 is 11, y<11:0>=d3<11:0>=0010 0000 0000,VCS_REF=VREF0/8
The variation curve of VCS _ REF is shown in fig. 6.
In summary, the digital output signal of the first embodiment of the present invention is converted into the delay control signal through the first digital-to-analog conversion circuit module by the encoding circuit module, and is converted into the CS sampling peak voltage signal through the second digital-to-analog conversion circuit module, so as to control the output current variation of the LED in a segmented manner. According to the embodiment of the invention, the duty ratio of the switch is changed by changing the working frequency of the power tube, so that the average current output by the LED is changed, and the dimming function effect of the LED is realized.
The calculation formula of the output current after the time delay is increased is as follows:
Figure BDA0002274587110000131
the calculation formula of the power tube frequency is as follows:
Figure BDA0002274587110000132
wherein, ILED0Is 100% of output current, f0Switching frequency at 100%, D1 output current ratio changed by switching delay, TSWThe time from the turn-on of the power tube to the end of demagnetization, TDELAYFor increased switching delay.
2. Example two:
embodiments regulate the output current by peak voltage. The digital signal output controls a second digital-to-analog conversion circuit module circuit to change CS peak sampling voltage, and the LED output current is changed by changing the peak current of the inductor, so that the dimming function effect of the LED is realized. Wherein, D1, D2 and ILEDThe relationship of variation of f and the PWM duty ratio is shown in fig. 12.
2.1 coding circuit module:
the truth table of the encoding circuit module is as follows, taking n as 12 as an example:
PWM duty cycle D<11:0>(hexadecimal) A1A0
100%~50% FFF~800 00
50%~12.5% 7FF~200 01
12.5%~6.25% 1FF~100 10
6.25%~0% 0FF~0 11
2.2 the first digital-to-analog conversion circuit module:
fig. 15 is a schematic diagram of the voltage digital-to-analog conversion circuit DAC1_1 in the internal circuit of the first digital-to-analog conversion circuit module.
Compared with the first digital-to-analog conversion circuit block in the first embodiment, because the input signals of the data selectors are different, the output signals of the data selectors and the V2 are also different, and the output signals of the data selectors and the V2 are changed as follows:
when A1a0 is 00, y < 10: 0> -d 0< 10: 0> -11111111111, and V2-V1;
when A1a0 is 01, y < 10: 0> -d 1< 10: 0> -10000000000, V2 ═ V1/2;
when A1a0 is 10, y < 10: 0> -d 2< 10: 0> -01000000000, V2 ═ V1/4;
when A1A0 is 11, y<10:0>=d3<10:0>={D<8:0>00, V2 with D<10:0>The change in the shape of a line is linear,
Figure BDA0002274587110000141
fig. 16 shows an internal circuit of the resistor R2, i.e., the R _ DAC, and in contrast to the resistors in the first embodiment, the input signal of the data selector is different, the output signal of the data selector is also different from the resistor R2, and the output signal of the data selector and the resistor R2 are changed as follows:
when A1a0 is 00, y < 10: 0> -d 0< 10: 0> -11111111111, and R2-R/16;
when A1a0 is 01, y < 10: 0> -d 1< 10: 0> -10000000000, R2 ═ 64R;
when A1a0 is 10, y < 10: 0> -d 2< 10: 0> -01000000000, R2 ═ 96R;
when A1A0 is 11, y<10:0>=d3<10:0>={D<8:0>,00},
Figure BDA0002274587110000142
Figure BDA0002274587110000143
The range is 96R to 128R, and the step is R/4.
With reference to fig. 15 and 16, the fixed current is Icharge V1/R1, the variable current is Idischarge V2/R2, R1 is 128R, and the curve of Idischarge/Icharge as a function of the duty cycle is shown in fig. 17.
2.3 second digital-to-analog conversion circuit module:
as shown in fig. 13, the second digital-to-analog conversion circuit module includes a 1-out-of-4 data selector, and the input signal of the data selector in this embodiment is different from that in the first embodiment.
As shown in fig. 14, the output of the data selector and the change in VCS _ REF value are as follows:
when A1A0 is 00, y<11:0>=d0<11:0>=D<11:0>VCS _ REF with D<11:0>From VREF0Linearly decreasing to VREF0/2,
Figure BDA0002274587110000144
When A1A0 is 01, y<11:0>=d1<11:0>={D<10:0>0, VCS _ REF with D<10:0>From VREF0Linearly decreasing to VREF0/4,
Figure BDA0002274587110000145
When A1A0 is 10, y<11:0>=d2<11:0>={D<9:0>00, VCS _ REF with D<11:0>From VREF0Linearly decreasing to VREF0/4,
Figure BDA0002274587110000146
When A1A0 is 11, y<11:0>=d3<11:0>=0010 0000 0000,VCS_REF=VREF0/4。
2.4 peak current detection circuit module:
the peak current detection circuit module changes the CS peak sampling voltage and changes the output current by changing the peak current of the inductor.
The peak current detection circuit module obtains output according to the following formulaCurrent ILED2
Figure BDA0002274587110000151
Wherein, ILED0Is 100% of output current, VREF0At full current, corresponding to the sampled reference voltage, D2 is the output current ratio adjusted by changing the reference voltage, and VCS _ REF is the output voltage.
2.4 logic control circuit module:
the logic control circuit module is used for controlling the output current to carry out light source dimming.
In summary, in the embodiment of the present invention, the CS peak sampling voltage is changed, and the peak current of the inductor is changed to further change the LED output current, so as to achieve the dimming function of the LED.
The calculation formula of the output current is as follows:
Figure BDA0002274587110000152
the calculation formula of the power tube frequency is as follows:
Figure BDA0002274587110000153
wherein, VREF0At full current corresponding to the sampled reference voltage, D2 is the proportion of the output current regulated by varying the reference voltage, ILED0Is 100% of output current, f0At 100% the switching frequency, VCS _ REF is the output voltage.
By adopting the drive control circuit structure for realizing the dimming function, the LED output current is regulated by regulating the frequency modulation mode and changing the peak voltage, so that the dimming function effect of the LED is realized. The invention can effectively improve the dimming precision and the dimming depth, can achieve better dimming effect compared with the prior art, and meets the high-quality dimming quality requirement of the smart home. And because the current that passes in the circuit structure is less, the invention can solve the noise problem while dimming too, have extensive application range.
In this specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims (10)

1. A kind of drive control circuit structure which realizes the function of adjusting luminance, characterized by, the said circuit structure includes:
the duty ratio detection module is used for sampling and calculating input pulse waves through a high-speed clock signal to obtain a group of digital output signals;
the coding circuit module is connected with the duty ratio detection module and is used for generating a two-bit control signal through the digital output signal;
the first digital-to-analog conversion circuit module is connected with the duty ratio detection module and the coding circuit module and is used for generating nonlinear change current and fixed current so as to regulate output current through a frequency modulation mode;
the frequency modulation circuit module is connected with the first digital-to-analog conversion circuit module and used for generating a delay signal to enable the circuit to enter an intermittent working mode, and changing the duty ratio of a switch by changing the working frequency of a power tube so as to change the output current;
the second digital-to-analog conversion circuit module is connected with the duty ratio detection module and the coding circuit module and is used for outputting voltage and further changing output current by changing peak voltage;
the peak current detection circuit module is connected with the second digital-to-analog conversion circuit module and used for changing CS peak sampling voltage and changing output current by changing the peak current of the inductor;
and the logic control circuit module is connected with the frequency modulation circuit module and the peak current detection circuit module and is used for controlling the output current to carry out light source dimming.
2. The structure of claim 1, wherein the first digital-to-analog conversion circuit module comprises:
the fixed current generation circuit submodule is connected with the duty ratio detection module and is used for generating fixed current;
and the variable current generation circuit submodule is connected with the duty ratio detection module and is used for generating variable current.
3. The driving control circuit structure for implementing dimming function as claimed in claim 2, wherein the fixed current generating circuit sub-module comprises:
the first negative feedback circuit unit is connected with the duty ratio detection module and is used for generating current;
and the first P tube current mirror circuit unit is connected with the first negative feedback circuit unit and is used for generating fixed charging current.
4. The driving control circuit structure for implementing dimming function as claimed in claim 2, wherein the variable current generating circuit sub-module comprises:
the second negative feedback circuit unit is connected with the duty ratio detection module and is used for generating current;
the second P tube current mirror circuit unit is connected with the first negative feedback circuit unit and is used for generating mirror current;
and the N-tube current mirror circuit unit is connected with the first negative feedback circuit unit and the second P-tube current mirror circuit unit and is used for generating variable discharge current.
5. The structure of claim 1, wherein the duty ratio detection module changes the code of the digital output signal to enable the first digital-to-analog conversion circuit module and the second digital-to-analog conversion circuit module to output different segmented analog signals.
6. The structure of claim 1, wherein the second digital-to-analog conversion circuit module is an R-2R type digital-to-analog conversion circuit.
7. The driving control circuit structure for realizing a dimming function according to claim 1, wherein the second digital-to-analog conversion circuit module obtains an output voltage, specifically:
the output voltage is obtained according to the following formula:
Figure FDA0002274587100000021
where VCS _ REF is the output voltage, VREF0The full current corresponds to the sampling reference voltage.
8. The driving control circuit structure for realizing a dimming function according to claim 1, wherein the frequency modulation circuit module generates a delay time and obtains a delay time, specifically:
the delay time is obtained according to the following formula:
Figure FDA0002274587100000022
wherein, TDELAYFor time delay, i.e. discharge time, TSWFor the charging time, i.e. the switching period in critical conduction mode of the power transistor, IchargeFor charging current, IdischargeIs a discharge current.
9. The driving control circuit structure for realizing the dimming function according to claim 1, wherein the frequency modulation circuit module obtains an output current, specifically:
obtaining frequency modulation power according to the following formulaOutput current I of the circuit moduleLED1
Figure FDA0002274587100000031
Wherein, ILED0For 100% output current, D1 is the proportion of output current that is varied by switching delay, TDELAYFor time delay, i.e. discharge time, TSWThe charging time is the switching period of the power tube in critical conduction mode.
10. The driving control circuit structure for realizing a dimming function according to claim 1, wherein the peak current detection circuit module obtains an output current, specifically:
obtaining the output current I of the peak current detection circuit module according to the following formulaLED2
Figure FDA0002274587100000032
Wherein, ILED0Is 100% of output current, VREF0At full current, corresponding to the sampled reference voltage, D2 is the output current ratio adjusted by changing the reference voltage, and VCS _ REF is the output voltage.
CN201911117865.5A 2019-11-15 2019-11-15 Drive control circuit structure for realizing dimming function Active CN112822817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911117865.5A CN112822817B (en) 2019-11-15 2019-11-15 Drive control circuit structure for realizing dimming function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911117865.5A CN112822817B (en) 2019-11-15 2019-11-15 Drive control circuit structure for realizing dimming function

Publications (2)

Publication Number Publication Date
CN112822817A true CN112822817A (en) 2021-05-18
CN112822817B CN112822817B (en) 2022-10-18

Family

ID=75851741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911117865.5A Active CN112822817B (en) 2019-11-15 2019-11-15 Drive control circuit structure for realizing dimming function

Country Status (1)

Country Link
CN (1) CN112822817B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114126131A (en) * 2021-08-18 2022-03-01 上海中基国威电子股份有限公司 Dimming method using MCU coding
CN115720392A (en) * 2021-08-24 2023-02-28 华润微集成电路(无锡)有限公司 Realize dimmable LED drive circuit structure
CN116013208A (en) * 2022-11-22 2023-04-25 江西兴泰科技股份有限公司 An ink screen color control circuit structure
TWI801131B (en) * 2021-11-25 2023-05-01 大陸商昂寶電子(上海)有限公司 LED dimming control system and method
WO2024125579A1 (en) * 2022-12-16 2024-06-20 苏州欧普照明有限公司 Dimmable driving circuit

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101466187A (en) * 2009-01-05 2009-06-24 西安理工大学 LED drive circuit for PFM/PWM bimodal switch light modulation
EP2521423A2 (en) * 2011-05-04 2012-11-07 O2 Micro, Inc. Circuits and methods for driving light sources
US20130057173A1 (en) * 2011-02-01 2013-03-07 Hangzhou Silan Microelectronics Co., Ltd. Primary-side controlled switch-mode power supply controller for driving led with constant current and method thereof
CN103687249A (en) * 2014-01-03 2014-03-26 东南大学 A LED dimming control circuit and method thereof
CN104053283A (en) * 2014-06-20 2014-09-17 陕西亚成微电子股份有限公司 LED dimming control circuit
CN105636302A (en) * 2014-10-31 2016-06-01 无锡华润矽科微电子有限公司 LED light modulation device
CN107071967A (en) * 2017-03-23 2017-08-18 苏州智浦芯联电子科技股份有限公司 A kind of LED adjusting control circuits and dimming controlling method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101466187A (en) * 2009-01-05 2009-06-24 西安理工大学 LED drive circuit for PFM/PWM bimodal switch light modulation
US20130057173A1 (en) * 2011-02-01 2013-03-07 Hangzhou Silan Microelectronics Co., Ltd. Primary-side controlled switch-mode power supply controller for driving led with constant current and method thereof
EP2521423A2 (en) * 2011-05-04 2012-11-07 O2 Micro, Inc. Circuits and methods for driving light sources
CN103687249A (en) * 2014-01-03 2014-03-26 东南大学 A LED dimming control circuit and method thereof
CN104053283A (en) * 2014-06-20 2014-09-17 陕西亚成微电子股份有限公司 LED dimming control circuit
CN105636302A (en) * 2014-10-31 2016-06-01 无锡华润矽科微电子有限公司 LED light modulation device
CN107071967A (en) * 2017-03-23 2017-08-18 苏州智浦芯联电子科技股份有限公司 A kind of LED adjusting control circuits and dimming controlling method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114126131A (en) * 2021-08-18 2022-03-01 上海中基国威电子股份有限公司 Dimming method using MCU coding
CN114126131B (en) * 2021-08-18 2023-09-08 上海中基国威电子股份有限公司 Dimming method using MCU coding
CN115720392A (en) * 2021-08-24 2023-02-28 华润微集成电路(无锡)有限公司 Realize dimmable LED drive circuit structure
TWI801131B (en) * 2021-11-25 2023-05-01 大陸商昂寶電子(上海)有限公司 LED dimming control system and method
CN116013208A (en) * 2022-11-22 2023-04-25 江西兴泰科技股份有限公司 An ink screen color control circuit structure
WO2024125579A1 (en) * 2022-12-16 2024-06-20 苏州欧普照明有限公司 Dimmable driving circuit

Also Published As

Publication number Publication date
CN112822817B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
CN112822817B (en) Drive control circuit structure for realizing dimming function
CN110446308B (en) Control circuit, drive circuit, LED lamp system and control method for controlling power transistor
US8134302B2 (en) Offline LED driving circuits
US9572208B2 (en) LED lighting system with accurate current control
US8742684B2 (en) LED lighting system with accurate current control
US8508206B2 (en) Adaptive constant on time adjustment circuit and method for adaptively adjusting constant on time
CN107105546B (en) Light adjusting circuit and light-dimming method and driving circuit
US8269432B2 (en) Offline LED lighting circuit with dimming control
CN112654115B (en) Current source circuit and LED drive circuit
US9158321B2 (en) Linear current regulator
CN102395230A (en) Controller and method for controlling dimming of light sources, and light source driving circuit
US10638580B2 (en) Multi-mode dimming control method and dimming circuit
CN107592705A (en) The LED drive circuit and light-dimming method of tunable optical
CN110691445B (en) Multi-path high-power LED drive circuit
TW202118211A (en) Voltage conversion circuit and control method thereof
US10470261B2 (en) Method of generating stable direct current signal, silicon controlled switch dimming method and device
US20250185136A1 (en) Light emitting element driver with shunt dimming function and method thereof
CN104270875B (en) LED (Light Emitting Diode)-driven control device and method
US20250024571A1 (en) Constant-current switch-mode power converters for led lighting and methods thereof
CN114980418B (en) Circuit structure for realizing LED dimming
CN105636302A (en) LED light modulation device
CN207118019U (en) Light adjusting circuit and drive circuit
US10980090B1 (en) Light emitting device driving apparatus and dimming control circuit and dimming control method thereof
CN113133158B (en) LED dimming circuit, LED dimming system and dimming method
CN210518241U (en) PWM signal generation and its error correction circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Drive Control Circuit Structure for Realizing Dimming Function

Effective date of registration: 20231008

Granted publication date: 20221018

Pledgee: Bank of China Limited Wuxi Branch

Pledgor: China Resources micro integrated circuit (Wuxi) Co.,Ltd.

Registration number: Y2023980060027

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20221018

Pledgee: Bank of China Limited Wuxi Branch

Pledgor: China Resources micro integrated circuit (Wuxi) Co.,Ltd.

Registration number: Y2023980060027

PC01 Cancellation of the registration of the contract for pledge of patent right