The LED circuit of two-way light modulation toning
Technical field
The utility model is related to a kind of field of light modulation toning circuit, in particular to a kind of LED electricity of two-way light modulation toning
Road.
Background technology
LED tonings function in the prior art is typically to be mixed in a certain ratio using the LED of two kinds of different-colours, is obtained
Target colour temperature.Currently, common practice has the toning mode of two major classes type in industry.The first kind is that segmentation is mixed colours, i.e., by opening
Pass mode switches fixed several colour temperatures and achievees the purpose that toning, this way can only accomplish several default fixed colour temperatures, can not
Accomplish that the electrodeless switching of intermediate colour temperature, limitation are apparent.Second class is electrodeless toning, i.e., goes to control out respectively with two-way PWM
Device is closed, the duty ratio by adjusting PWM reaches corresponding colour temperature to mix the two-way light of corresponding proportion, although this way can
To adjust more intermediate color temperature value, but because the duty ratio of PWM still has exponent number, arbitrary proportion adjusting, Yi Jikai can not achieve
It closes break-over of device and needs minimum pwm signal threshold values, so this toning mode cannot still reach preferable toning effect, and
It is more difficult when having the function of dimming and mixing colours at the same time to accurately control adjusting to corresponding colour temperature and brightness, in low-light level
Often cause color temperature adjustment abnormal, adjusts less than desired colour temperature.
Utility model content
The purpose of the utility model is to overcome above-mentioned deficiency in the prior art, a kind of two-way light modulation toning is provided
LED circuit, realizes the stepless regulating of colour temperature and brightness well, also solves abnormal problem of mixing colours in low-light level.
In order to solve the above-mentioned technical problem, the utility model provides a kind of LED circuit of two-way light modulation toning, including control
The different LED line road of unit processed, two-way colour temperature;The LED line road is composed in series by least one LED light respectively;The control
Unit is separately connected the LED line road;Each paths of LEDs circuit is correspondingly arranged switch respectively, and two switches states on the contrary,
When the switch is closed, the switch it is corresponding that LED line road is in illuminating state all the way;
Described control unit includes dim signal sending module, toning signal transmitting module, dim signal detection module;When
When the dim signal sending module sends PWM dim signals to the LED line road of high level, the dim signal detects mould
Block sends enabling signal to signal transmitting module of mixing colours, and the toning signal transmitting module receives the toning signal and sends
PWM mixes colours signal to control ON/OFF ratio of two switches within the unit interval, so as to adjust two paths of LED in the unit interval
The light extraction ratio of lamp so that different-colour is presented after the light extraction combination of two paths of LED lamp.
In a preferred embodiment, the switch is first switch pipe, second switch pipe, and LED line road is the first LED line
Road and the second LED line road;Further include auxiliary switch, booster diode D3;The auxiliary switch is connected to toning signal hair
It send between module and first switch pipe;The toning signal transmitting module sends PWM toning signal control auxiliary switches and disconnects
Or conducting, disconnect another conducting to control one in the first switch pipe, second switch pipe.
In a preferred embodiment, the auxiliary switch is specially triode Q3;The first switch pipe is specially
First NMOS tube Q2, the second switch pipe are specially the second NMOS tube Q1;
The base stage of the triode Q3 connects the toning signal transmitting module, the emitter ground connection of the triode Q3;
The grid of the first NMOS tube Q2 connects the collector of the triode Q3 and the dim signal sending module, and described first
The source electrode of NMOS tube Q2 connects supply voltage VCC cathode, and first LED line road is connected to the drain electrode of the first NMOS tube Q2
Between supply voltage VCC anodes.
In a preferred embodiment, the grid of the second NMOS tube Q1 connects the dim signal sending module, institute
The source electrode connection supply voltage VCC cathode of the second NMOS tube Q1 are stated, second LED line road is connected to the second NMOS tube Q1
Drain electrode and supply voltage VCC anodes between.
In a preferred embodiment, the cathode of the booster diode D3 connects the drain electrode of the first NMOS tube Q2,
The anode of the booster diode D3 connects the grid of the second NMOS tube Q1.
In a preferred embodiment, when the PWM dim signals are high level, triode Q3 conducting, described the
The grid of one NMOS tube Q2 receives low level signal cut-off, and the LED light on first LED line road does not work;Second NMOS tube
The grid of Q1 receives high level signal conducting, and the LED light on second LED line road is bright.
In a preferred embodiment, when the PWM dim signals are low level, triode Q3 cut-off, described the
The grid of one NMOS tube Q2 receives high level signal conducting, and the LED light on first LED line road is bright;The second NMOS tube Q1
Grid receive low level signal cut-off, the LED light on second LED line road do not work.
In a preferred embodiment, described control unit further includes computing module;The computing module is according to current bright
Angle value and target color temperature value are calculated, and obtain the duty ratio of corresponding PWM tonings signal, and the toning signal is driven to send
Module sends the PWM toning signals of corresponding duty ratio.
In a preferred embodiment, when present intensity be maximum brightness X%, target colour temperature be the first LED line road or
When the Y% of the second LED line road colour temperature, the computing module is according to formula
Duty ratio=X%*Y% of PWM toning signals
Show that the toning signal transmitting module should send the duty ratio of PWM toning signals at this time.
Further include constant current chip in a preferred embodiment, the constant current chip includes dim signal input port, constant current
Electric current delivery outlet;The dim signal input port connects the dim signal sending module, the continuous current delivery outlet difference
Connect the LED line road.
Compared to the prior art, the technical solution of the utility model has following advantageous effect:
The switching devices complementations such as two NMOS tubes conducting is controlled by pwm signal all the way to mix colours, another way PWM controls
Light modulation IC is dimmed, and whether the PWM dim signals that send out of dim signal sending module are detected by dim signal detection module
For high level, if high level, dim signal detection module then sends enabling signal driving toning signal transmitting module and sends PWM
Mix colours signal, thus effectively avoids toning signal transmitting module when being mixed colours due to PWM dim signals is low levels
Caused toning is invalid, significantly improves the accuracy when accuracy of light modulation proportioning, especially low-light level are mixed colours so that lamp
Tool can adjust arbitrary colour temperature in arbitrary brightness.To solve the stepless regulating of colour temperature and brightness very well, also solve low
The abnormal problem of brightness toning, and overall plan is of low cost, is conducive to the commercialization of this programme.
Description of the drawings
Fig. 1 is integrated circuit schematic diagram in the preferred embodiment in the utility model.
Specific implementation mode
The utility model is described further below in conjunction with the drawings and specific embodiments.
A kind of LED circuit of two-way light modulation toning, with reference to figure 1, including LED line road that control unit, two-way colour temperature are different,
For adjusting colour temperature;The LED line road is composed in series by least one LED light respectively, the routing of LED line described in the present embodiment one
A LED light is constituted;Described control unit is separately connected the LED line road;Each paths of LEDs circuit is correspondingly arranged switch respectively, and
And two switch states on the contrary, the switch closure when, the switch it is corresponding that LED line road is in illuminating state all the way, this
Sample carries out color temperature adjustment by changing the conducting of switch with the time scale disconnected.
Described control unit includes dim signal sending module, toning signal transmitting module, dim signal detection module;When
When the dim signal sending module sends PWM dim signals to the LED line road of high level, the dim signal detects mould
Block sends enabling signal to signal transmitting module of mixing colours, and the toning signal transmitting module receives the toning signal and sends
PWM mixes colours signal to control ON/OFF ratio of two switches within the unit interval, so as to adjust two paths of LED in the unit interval
The light extraction ratio of lamp so that different-colour is presented after the light extraction combination of two paths of LED lamp.
In order to ensure that stablizing for PWM dim signals exports, this programme further includes constant current chip U1, the constant current chip U1 packets
Include dim signal input port, continuous current delivery outlet;The dim signal input port connects the dim signal sending module, institute
It states continuous current delivery outlet and is separately connected the LED line road.
Thus effectively avoids toning signal transmitting modules to be led when being mixed colours because PWM dim signals is low levels
The toning of cause is invalid, significantly improves the accuracy when accuracy of light modulation proportioning, especially low-light level are mixed colours so that lamps and lanterns
Arbitrary colour temperature can be adjusted in arbitrary brightness.
In the present embodiment, the switch is specially first switch pipe, second switch pipe, and LED line road is the first LED line road
D1 and the first LED line road D2;Further include auxiliary switch, booster diode D3;The auxiliary switch is connected to toning signal
Between sending module and first switch pipe;It is disconnected that the toning signal transmitting module sends PWM toning signal control auxiliary switches
It opens or is connected, another conducting is disconnected to control one in the first switch pipe, second switch pipe.The auxiliary switch
Specially triode Q3;The first switch pipe is specially the first NMOS tube Q2, and the second switch pipe is specially the 2nd NMOS
Pipe Q1;
In the present embodiment, specific connection relation is between each component:Described in the base stage connection of the triode Q3
Toning signal transmitting module, the emitter ground connection of the triode Q3;The grid of the first NMOS tube Q2 connects three pole
The source electrode of the collector of pipe Q3 and the dim signal sending module, the first NMOS tube Q2 connects supply voltage VCC cathode,
First LED line road D1 is connected between the drain electrode and supply voltage VCC anodes of the first NMOS tube Q2.Described second
The grid of NMOS tube Q1 connects the dim signal sending module, the source electrode connection supply voltage VCC of the second NMOS tube Q1
Cathode, first LED line road D2 are connected between the drain electrode and supply voltage VCC anodes of the second NMOS tube Q1.It is described
The cathode of D3 connects the drain electrode of the first NMOS tube Q2, and the anode of the booster diode D3 connects the second NMOS tube Q1
Grid.
In the present embodiment, ON/OFF of two switches within the unit interval is than Principles of Regulation:The PWM light modulations
When signal is high level, the grid of the triode Q3 conductings, the first NMOS tube Q2 receives low level signal cut-off, described
The LED light of first LED line road D1 does not work;The grid of the second NMOS tube Q1 receives high level signal conducting, the first LED
The LED light of circuit D2 is bright.
When the PWM dim signals are low level, the triode Q3 cut-offs, the grid of the first NMOS tube Q2 receives
High level signal is connected, and the LED light of first LED line road D1 is bright;The grid of the second NMOS tube Q1 receives low level letter
Number cut-off, the LED light of first LED line road D2 do not work.
In the present embodiment, described control unit further includes computing module;The computing module according to present intensity value and
Target color temperature value is calculated, and obtains the duty ratio of corresponding PWM tonings signal, and the toning signal transmitting module is driven to send out
Send the PWM toning signals of corresponding duty ratio.
As the X% that present intensity is maximum brightness, target colour temperature is the first LED line road D1 or the first LED line road D2 colour temperatures
Y% when, the computing module is according to formula
Duty ratio=X%*Y% of PWM toning signals
Show that the toning signal transmitting module should send the duty ratio of PWM toning signals at this time.Such as:When needing brightness
It adjusts to 50%, when color temperature adjustment is to 50%.PWM dim signals output at this time is that duty ratio X% is 50%, PWM toning signals
It needs to export the duty ratio that PWM dim signals are under high level state 50%, then PWM tonings signal dutyfactor Y% needs to export
Duty ratio formula X%*Y%, that is, 50%*50% is equal to 25% duty ratio.Target colour temperature is 50%, PWM toning signals herein
For 25% duty ratio.
This programme solves the stepless regulating of colour temperature and brightness very well, also solves the problems, such as to mix colours in low-light level abnormal,
And overall plan is of low cost, is conducive to the commercialization of this programme.
The preferable specific implementation mode of the above, only the utility model, but the design concept of the utility model is not
It is confined to this, any one skilled in the art within the technical scope disclosed by the utility model, utilizes this design
The change that unsubstantiality is carried out to the utility model belongs to the behavior for invading scope of protection of the utility model.