Illuminating circuit and its controller of applicationTechnical field
The utility model is related to the controller in a kind of light modulation field, more particularly to a kind of illuminating circuit and its application.
Background technology
The light modulation of existing LED illuminating circuits mainly has switch dimming and PWM light modulations, due to switch dimming and PWM light modulationsThere can be conflict, so two kinds of dimming modes can not be compatible, be respectively necessary for different chips and support, it is impossible to flexible basisApplication scenario and select corresponding dimming mode.
Utility model content
The shortcoming of prior art in view of the above, the purpose of this utility model is to provide a kind of illuminating circuit and its shouldController, the problem of switch dimming and PWM can not being dimmed integrated in the prior art for solution.
In order to achieve the above objects and other related objects, the utility model provides a kind of controller for illuminating circuit,For being dimmed to light emitting module, the light emitting module includes at least one luminescence unit, and the controller includes:Dim mouldFormula selecting module, to according to an external input signal, selection exports dim signal, and the controller is according to the dim signalThe luminescence unit of the light emitting module is driven.
In the specific embodiment of the utility model one, the controller also includes the first light-adjusting module, first light modulationModule can generate switching signal conduct corresponding with the multiple luminescence unit difference according to the switching mode control signal of receptionThe dim signal is to export to light-modulating mode selecting module.
In the specific embodiment of the utility model one, the switching mode control signal is a switching mode control module rootGenerated according to the control instruction of reception;And the switching mode control module refers to according to the multiple controls received successivelyOrder, and the switching mode control signal that circulation output is matched with current control instruction in a predetermined sequence respectively.
In the specific embodiment of the utility model one, pre-set in the switching mode control module one acquiescence openClose mode control signal, and ought currently receive time of the control instruction and surpass with the last time phase difference for receiving control instructionWhen crossing a preset time threshold, the switching mode control module exports the switching mode control signal of the acquiescence.
In the specific embodiment of the utility model one, the controller also includes the second light-adjusting module, second light modulationThe pwm control signal that module can be received according to it, generates PWM dim signals conduct corresponding with the multiple luminescence unit differenceThe dim signal is to export.
In the specific embodiment of the utility model one, the controller also includes providing benchmark for the electric power driving moduleThe reference voltage generation module of voltage.
In the specific embodiment of the utility model one, the controller also includes electric current drive module, the electric current drivingThe dim signal that module is received according to it generates the corresponding driving current of luminescence unit difference with the light emitting moduleThe luminescence unit is driven respectively.
, can be by changing when the dim signal is PWM dim signals in the specific embodiment of the utility model oneThe duty cycle adjustment of the pwm control signal driving current corresponding with luminescence unit difference.
In the specific embodiment of the utility model one, the external external input signal generative circuit of controller is describedExternal input signal generative circuit is used for input signal of the generation with different light-modulating modes, the light-modulating mode selecting moduleAccording to the dim signal of the input signal of different light-modulating modes selection corresponding thereto.
In the specific embodiment of the utility model one, the external input signal generative circuit includes resistance or electric capacity.
In the specific embodiment of the utility model one, the light-modulating mode selecting module includes first switch unit, secondSwitch element and the comparator electrically connected with the first switch unit and the second switch unit.
In the specific embodiment of the utility model one, the first end of the first switch unit receives the first light modulation mouldThe dim signal of block output, the first end of the second switch unit receives the tune of the second light-adjusting module outputOptical signal, and the first switch unit and the second switch unit the second end with the light-modulating mode selecting moduleOutput end electrical connection, the first switch unit and the second switch unit include multiple switch, and the multipleThe number of switch is corresponding with the number of the luminescence unit.
In the specific embodiment of the utility model one, electrode input end and the external input signal of the comparator generate electricityRoad is electrically connected, and the negative input of the comparator connects a reference voltage, when the voltage of the electrode input end of the comparatorMore than the negative input of the comparator voltage when, the comparator is output as just, when the negative pole of the comparator is defeatedDuring the voltage for the electrode input end that the voltage for entering end is more than the comparator, the comparator is output as bearing, and when the ratioTiming is output as compared with device, the switch of the first switch unit is closure state, and the switch of the second switch unit is equalFor off-state, when the comparator is output as negative, the switch of the first switch unit is off-state, and described theThe switch of two switch elements is closure state.
It is described when external input signal generative circuit is an adjustable resistance in the specific embodiment of the utility model oneThe electrode input end of comparator is grounded by the adjustable resistance, the positive pole of the constant-current source built in the controller and the ratioElectrode input end compared with device is electrically connected, the negative pole ground connection of the constant-current source.
In the specific embodiment of the utility model one, the electric current drive module of described controller includes multiple drivingsCurrent generating unit, the number of the multiple driving current generation unit is corresponding with the number of the luminescence unit, described to driveStreaming current generation unit includes a comparator, a metal-oxide-semiconductor, an adjustable resistance, one end connection reference voltage of the comparator, instituteOne end ground connection of adjustable resistance is stated, the other end of the adjustable resistance electrically connects the other end of the comparator and the source of metal-oxide-semiconductorEnd, the drain terminal of the metal-oxide-semiconductor electrically connects the luminescence unit, and the comparator output determines the conducting or shut-off of metal-oxide-semiconductor, instituteStating adjustable resistance can be arranged on outside controller.
In order to achieve the above objects and other related objects, the utility model also provides a kind of illuminating circuit, including luminous mouldBlock, and the as above controller described in any one, the light emitting module include multiple luminescence units.
As described above, the utility model proposes a kind of illuminating circuit and its controller of application, wherein controller is used for pairLight emitting module is dimmed, and the light emitting module includes at least one luminescence unit, and the controller includes:Light-modulating mode is selectedModule, to according to an external input signal, selection exports dim signal, and the controller is according to the dim signal to describedThe luminescence unit of light emitting module is driven.The utility model is integrated by two kinds of dimming modes progress, and can be flexibly according to choosingSelect the input of signal and select in two kinds of dimming modes it is a kind of the luminous of light emitting module is adjusted, simple operation intelligence spiritIt is active high.
Brief description of the drawings
Fig. 1 is shown as the controller composition schematic diagram in a specific embodiment.
Fig. 2 is shown as the controller composition schematic diagram in a specific embodiment.
Fig. 3 is shown as the dutycycle schematic diagram in a specific embodiment.
Fig. 4 is shown as the controller composition schematic diagram in the specific embodiment of the utility model one.
Fig. 5 is shown as the circuit theory schematic diagram of the light-modulating mode selecting module in the specific embodiment of the utility model one.
Fig. 6 is shown as the circuit theory schematic diagram of the electric current drive module in the specific embodiment of the utility model one.
Fig. 7 is shown as the principle schematic of the illuminating circuit in the specific embodiment of the utility model one.
Embodiment
Illustrate embodiment of the present utility model below by way of specific instantiation, those skilled in the art can be by this theoryContent disclosed by bright book understands other advantages of the present utility model and effect easily.The utility model can also be by additionDifferent embodiments are embodied or practiced, and the various details in this specification can also be based on different viewpoints with answeringWith, without departing from it is of the present utility model spirit under carry out various modifications or alterations.It should be noted that, in situation about not conflictingUnder, the feature in following examples and embodiment can be mutually combined.
It should be noted that the diagram provided in following examples only illustrates of the present utility model basic in a schematic wayConception, only display is with relevant component in the utility model rather than according to component count during actual implement, shape in illustrating thenAnd size is drawn, it is actual when implementing, and kenel, quantity and the ratio of each component can be a kind of random change, and its assembly layoutKenel may also be increasingly complex.
There is the controller 1 of application switch dimming mode as shown in Figure 1 in the prior art, the controller 1 includes carryingReference voltage generation module R1 for reference voltage, the mode detection module R2 detected to light-emitting mode and to luminousModule carries out the electric current drive module R3 of electric current driving, in the prior art, after mode detection module R2 detection light-emitting modesDouble switch signal is generated, and electric current drive module R3 is also respectively according to double switch signal respectively to external light emitting moduleTwo luminescence units are driven, in concrete application, two-way luminescence unit can be respectively send white light luminescence unit andThe luminescence unit of gold-tinted is sent, in actual applications, user can select one in two luminescence units by model selectionLight reach it is desired light effect, can also select while light the two-way luminescence unit, when lighting two-way hair simultaneouslyDuring light unit, the illumination effect of two-way luminescence unit is overlapped.
Mode detection module R2 detects outside connected switch, and DET high level is opened for the first time, and chip opens first via output, G1High level, G2 low levels.It is again turned on after closing, DET low levels high level again, G1 low levels, G2 high level closes the first viaOutput, opens the second tunnel.It is again turned on after closing, DET low levels high level again, G1 high level, G2 high level, two-way is beaten simultaneouslyOpen.It is again turned on after closing, DET low levels high level, G1 high level, G2 low levels again are recycled to first time open state.R2Module has the memory function of finite time, and the time, more than 10S or so, can lose the memory of after shutdown, and start again can time-outReturn to the first state.
Electric current drive module R3 output current has an IO1 and IO2, and electric current drive module R3 have respectively with the electric currentIO1 and electric current IO2 corresponding resistance R3 and resistance R4, wherein:
IO1=VREF/R4/2 (when G1 high level);
IO1=0 (when G1 low levels);
IO2=VREF/R3/2;
IO2=0 (when G2 low levels).
Also there is the controller 2 of application PWM dimming modes as shown in Figure 2 in the prior art, the controller 2 includes carryingReference voltage generation module Y1 for the reference voltage and electric current drive module Y2 to light emitting module progress electric current driving, two-wayTwo luminescence units of light emitting module are driven by the dim signal input current drive module Y2 of PWM forms respectively, and respectivelyThe dutycycle of PWM dim signal of the illuminating state of luminescence unit with inputting is relevant, and dutycycle is bigger, and luminescence unit is luminous moreIt is bright.When flowing through the average current increase of luminescence unit, luminescence unit brightens, when the average current increase for flowing through luminescence unitWhen, luminescence unit brightens, and luminescence unit is preferably LED element composition.
Electric current drive module Y2 output current has IO1 and IO2, wherein, and electric current drive module Y2 have respectively with instituteState electric current IO1 and electric current IO2 corresponding resistance R3 and resistance R4:
IO1=VREF/R4/2 (when P1 high level);
IO1=0 (when P1 low levels);
IO2=VREF/R3/2 (when P2 high level);
IO2=0 (when P2 low levels).
Then by P1, P2 pins input the low and high level square wave of certain frequency different duty to chip, then can control defeatedGo out the size of electric current, so as to adjust brightness.
With reference to Fig. 3, define high level in the low and high level of pin and account for master switch cycle time TON+TOFF ratio to account forSky ratio.
Dutycycle D=TON/ (TON+TOFF);
The dutycycle for defining P1 input signals is d1, and the dutycycle of P2 input signals is d2.
IO1=d1*VREF/R4/2;
IO2=d2*VREF/R3/2.
P1 is overregulated, P2 signal dutyfactor then can continuously adjust IO1, and the electric current of two passages of IO2 is limitlessGround regulation LED brightness (such as from 1%~100% limitless electric current adjusted with 1% even more small precision).
The principle of two kinds of light-emitting modes of Fig. 1 and Fig. 2 is differed, and existing controller can not be integrated by both, so userCorresponding dimming mode can not be flexibly selected to be dimmed according to current application demand.
The utility model proposes a kind of controller 3 as shown in Figure 4, controller 3 is used to dim light emitting module, instituteLight emitting module (not shown) is stated including at least one luminescence unit, in this specific embodiment, using the luminescence unit asTwo-way is illustrated, and the controller 3 includes:Light-modulating mode selecting module U4, according to an external input signal, to select defeatedGo out dim signal, the controller is driven according to the dim signal to the luminescence unit of the light emitting module.Yu BenshiApply in example, the controller 3 also includes the first light-adjusting module U1, the second light-adjusting module U2 and electric power driving module U3, whereinThe electric power driving module U3 is electrically connected with the light emitting module;Light-modulating mode selecting module U4 passes through pin G1 described in controllerThe switching signal of the first light-adjusting module U1 outputs is received with G2, the light-modulating mode selecting module U4 passes through pin P1 and P2The PWM dim signals of the second light-adjusting module U2 outputs are received, the light-modulating mode selecting module U4 passes through pin C1 and C2The switching signal of the first light-adjusting module U1 generations is exported to the electric power driving module U3 or exports the second light modulation mouldThe PWM dim signals of block U2 generations, and by receiving selection signal RSEL input, the first light-adjusting module U1 is given birth in selectionInto switching signal or the second light-adjusting module U2 generation PWM dim signals export to the electric power driving module U3, instituteElectric power driving module U3 is stated to be driven the luminescence unit of the light emitting module according to the dim signal received.It will switchSignal G1 and G2 or PWM dim signal P1 and P2 are exported as dim signal C1 and C2.It is preferred that, the controller 3 is alsoIncluding reference voltage generation module U5, electrically connected with the electric power driving module U3, base is provided for the electric power driving module U3Quasi- voltage Vref.
In the specific embodiment of the utility model one, the first light-adjusting module U1 can be controlled according to the switching mode of receptionSignal, generation distinguishes corresponding switching signal as the dim signal to export with the multiple luminescence unit.
In the specific embodiment of the utility model one, the switching mode control signal is a switching mode control module rootGenerated according to the control instruction of reception;And the switching mode control module refers to according to the multiple controls received successivelyOrder, and the switching mode control signal that circulation output is matched with current control instruction in a predetermined sequence respectively.For example when describedLuminescence unit is two-way, and luminescence unit emits white light all the way, all the way luminescence unit Yellow light-emitting low temperature, is referred to according to the control received successivelyOrder, and the corresponding luminescence unit of white light, the corresponding luminescence unit of gold-tinted are lighted respectively and while to light white light corresponding luminousUnit and the corresponding luminescence unit of gold-tinted.
Further, the switching mode control signal of an acquiescence is pre-set in the switching mode control module, andWhen the time for currently receiving the control instruction and the last time phase difference for receiving control instruction are more than a preset time thresholdWhen, the switching mode control module exports the switching mode control signal of the acquiescence.
In the specific embodiment of the utility model one, the second light-adjusting module U2 can according to the pwm control signal of reception,Generation distinguishes corresponding PWM dim signals as the dim signal to export with the multiple luminescence unit.When the light modulation, can be right respectively by changing the duty cycle adjustment and the luminescence unit of pwm control signal when signal is PWM dim signalsThe driving current answered.Non-pole light regulating can be achieved.
Further, the external external input signal generative circuit of the controller 3, the external input signal generation electricityRoad is used for input signal of the generation with different light-modulating modes, and the light-modulating mode selecting module U4 is according to the different light modulationsThe dim signal of the input signal selection of pattern corresponding thereto.It is preferred that, the external input signal generative circuit includes electricityResistance or electric capacity.
Further, with reference to Fig. 5, the light-modulating mode selecting module U4 includes first switch unit U41, second switch listThe first U42 and comparator U43 electrically connected with the first switch unit U41 and the second switch unit U42.
The first end of the first switch unit U41 receives the switching signal G1 of the first light-adjusting module U1 outputsAnd G2, the second switch unit U42 first end receive the PWM dim signals P1 of the second light-adjusting module U2 outputsAnd P2, and the first switch unit U41 and the second switch unit U42 the second end with the light-modulating mode selectModule U4 output end electrical connection, the first switch unit U41 and the second switch unit U42 include multiple openClose, and the number of the multiple switch is corresponding with the number of the luminescence unit.In this specific embodiment, the luminous listThe number of member is two, and the number of the switch is two.
In the specific embodiment of the utility model one, electrode input end and the external input signal of the comparator U43 are given birth toInto circuit electrical connection, the negative input of the comparator U43 connects a reference voltage, when the positive pole of the comparator U43 is defeatedDuring the voltage for the negative input that the voltage for entering end is more than the comparator U43, the comparator U43 is output as just, working as instituteDuring the voltage for the electrode input end that the voltage for stating comparator U43 negative input is more than the comparator U43, the comparatorU43 is output as bearing, and when the comparator U43 is output as timing, the switch of the first switch unit U41 is closureState, the switch of the second switch unit U42 is off-state, when the comparator U43 is output as negative, and described theOne switch element U41 switch is off-state, and the switch of the second switch unit U42 is closure state.
In this specific embodiment, the external input signal generative circuit is adjustable resistance a RS, the comparator U43Electrode input end be grounded by the adjustable resistance RS, and the electric current built in the controller 3 be 20uA constant-current source DCPositive pole electrically connected with the electrode input end of the comparator U43, the negative pole of constant-current source DC ground connection.
Further, in this specific embodiment, the negative input of the comparator U43 connects 2V voltage signal, itsIn, by the voltage for the electrode input end for adjusting the resistance of the adjustable resistance RS and changing the comparator U43, when the ratioWhen the voltage of electrode input end compared with device U43 is more than the voltage of the negative input of the comparator U43, the comparator U43It is output as just, i.e. COUT=1, when the positive pole that the voltage of the negative input of the comparator U43 is more than the comparator is defeatedWhen entering the voltage at end, the comparator U43 is output as bearing, i.e. COUT=0, and when the comparator U43 is output as timing,The switch of the first switch unit U41 is closure state, and the switch of the second switch unit U42 is off-state,So that switching signal G1 and G2 to be exported as dim signal, when the comparator U43 is output as negative, the first switch listFirst U41 switch is off-state, and the switch of the second switch unit U42 is closure state, by PWM dim signalsP1 and P2 are exported as dim signal.It can be achieved by adjusting adjustable resistance RS resistance, and generate corresponding selection signalRSEL, to select to be exported switching signal G1 and G2, or PWM dim signals P1 and P2.Specifically, RS resistance is less thanDuring 100Khom, COUT=0, when RS resistance is more than 100Khom, COUT=1.
, can also be using electric capacity or the circuit of other components formation come real in the utility model another specific embodimentExisting selection signal RSEL generation.
Further regard to shown in Fig. 6, be shown as the electricity of electric current drive module of the present utility model in one embodimentRoad principle schematic.The electric current drive module U3 includes multiple driving current generation units, the multiple driving current generationThe number of unit is corresponding with the number of the luminescence unit, and the driving current generation unit includes a comparator, a MOSPipe, an adjustable resistance, one end connection reference voltage of the comparator, one end ground connection of the adjustable resistance, the adjustable electricThe other end of resistance electrically connects the other end of the comparator and the source of metal-oxide-semiconductor, and the drain terminal electrical connection of the metal-oxide-semiconductor is described luminousUnit, the comparator output determines the conducting or shut-off of metal-oxide-semiconductor, and the adjustable resistance can be arranged on outside controller.
Specifically, in the embodiment described in Fig. 6, the electric current drive module U3 include comparator UC1, comparator UC2,Fet N2, fet N3, resistance R3 and resistance R4, the electrode input end of the comparator UC1 withREF connections, the negative pole of the comparator UC1 is electrically connected with the source electrode of the fet N2, and the comparator UC1's is defeatedGo out end to electrically connect with the grid of the fet N2, the source electrode of the fet N2 is connect by the resistance R3Ground, the Enable Pin of the comparator UC1 receives the input of the dim signal C1, and the drain electrode of the fet N2 passes throughInductance L1 is electrically connected with the input of first via luminescence unit, and constant current input is provided for first via luminescence unit.The comparatorUC2 electrode input end is connected with REF, and the source electrode of the negative pole of the comparator UC2 and the fet N3 is electrically connectedConnect, the output end of the comparator UC2 is electrically connected with the grid of the fet N3, the fet N3'sSource electrode is grounded by the resistance R4, and the Enable Pin of the comparator UC2 receives the input of the dim signal C2, the field effectAnswer triode N3 drain electrode to be electrically connected by inductance L2 with the input of the second road luminescence unit, provided for the second road luminescence unitConstant current is inputted.And, IL1 is inductance L1 current waveform, and A1 is fet N2 switch controlling signal, and CS1 is resistanceThe voltage waveform at R3 ungrounded end, ILED is the current waveform of LED in the luminescence unit connected by inductance L1, and specificIn, IL1, A1, CS1 and ILED waveform, as shown in fig. 6, REF_O DC reference voltage input comparators UC1, UC2Resistance R3 connects feedback resistance under comparator anode, CS1, and when CS1 voltages are less than REF, comparator output high level opens N1, rightCS1 is charged, IO1 low levels, close to 0V, and inductance L1 is electrically charged, after CS1 voltages reach REF, and comparator UC1 upsets are closedN1, D1 high level are closed, IO1 carries out clamper by DD1 and is discharged in voltage HV, inductance L1.IO1 jumps low after inductive discharge terminatesLevel, N1 is reopened, inductive current peak voltage REF/CS1, is zero after discharge off, and inductance average current is 0.5*(REF_O/CS1), inductive current all flows through LED string, and the average current of LED string can be just controlled with this, inductance L1 andElectric capacity C1 constitutes filter circuit and further filters the electric current for flowing through LED.
ILED=0.5* (REF/CS1);
Above is the luminous type of drive of first via luminescence unit, and pass through comparator UC2, resistance R4 and field-effectWhat the driving principle and first via luminescence unit of the drive circuit of the second road luminescence unit of triode N3, inductance L2 composition lightedDriving principle and type of drive are similar, not repeated description herein.
Fig. 7 is further regarded to, the principle schematic of illuminating circuit in the specific embodiment of the utility model one is shown as.It is describedIlluminating circuit 4 is including controller 3 as shown in Figure 4 and receives the light emitting module 41 that the controller 3 is dimmed and driven, inIn the present embodiment, the light emitting module 41 includes two luminescence units, i.e. luminescence unit 411 and luminescence unit 412, also including perseveranceStream source DC, luminescence unit 411 includes diode DD1, electric capacity C1 and multiple series connection LED, diode DD1 anode and stringThe LED of connection negative electrode electrical connection, diode DD1 negative electrode and the LED that connects anode electrical connection, and electric capacity C1 be connected in parallel on it is multipleThe two ends for the LED being connected in series, multiple LED being connected in series negative electrode receives the electric current drive module U3 by inductance L1 and sent outThe current drive signal sent, and diode DD1 negative electrode electrically connects with constant-current source DC positive pole, constant-current source DC negative pole ground connection,The circuit structure of luminescence unit 412 is similar with luminescence unit 411, shown by the description and accompanying drawing 7 with reference to luminescence unit 411Structure can draw, be not added with repeating herein.
In summary, the utility model proposes a kind of illuminating circuit and its controller of application, wherein controller be used for pairLight emitting module is dimmed, and the light emitting module includes at least one luminescence unit, and the controller includes:Light-modulating mode is selectedModule, to according to an external input signal, selection exports dim signal, and the controller is according to the dim signal to describedThe luminescence unit of light emitting module is driven.The utility model is integrated by two kinds of dimming modes progress, and can be flexibly according to choosingSelect the input of signal and select in two kinds of dimming modes it is a kind of the luminous of light emitting module is adjusted, simple operation intelligence spiritIt is active high.So, the utility model effectively overcomes various shortcoming of the prior art and has high industrial utilization.
Above-described embodiment only illustrative principle of the present utility model and its effect are new not for this practicality is limitedType.Any person skilled in the art can all be carried out without prejudice under spirit and scope of the present utility model to above-described embodimentModifications and changes.Therefore, such as those of ordinary skill in the art without departing from the essence disclosed in the utility modelGod and all equivalent modifications completed under technological thought or change, should be covered by claim of the present utility model.