Utility model content
Based on this, it is necessary to provide a kind of PWM isolation light adjusting circuits and LED dimming drive powers, can realize that isolation is adjusted
Light, reduction account for plate suqare and reduce cost, moreover it is possible to avoid the linear distortion problem of transformer.
Isolate light adjusting circuit the utility model discloses a kind of PWM, it includes:
Voltage conversion circuit, for connecting external dimmer device, the first dimmer voltage that the external dimmer device is inputted turns
It is changed to the second dimmer voltage;
Dutycycle initialization circuit, for output duty cycle setting signal;
Microprocessor, connects the voltage conversion circuit and the dutycycle initialization circuit, for the institute that samples respectively respectively
The second dimmer voltage and the dutycycle setting signal are stated, and according to second dimmer voltage and the dutycycle setting signal
Export the pwm signal of corresponding dutycycle;
Photoelectrical coupler, connects the microprocessor, for the pwm signal to be carried out into isolation and amplifier.
As a kind of embodiment, the PWM isolation light adjusting circuit also includes:
Temperature sensing circuit, connects the microprocessor, for the change according to environment temperature, exports the temperature of respective change
Degree detection signal;
The microprocessor, is additionally operable to the temperature detection signal of sampling, and according to the temperature detection signal, adjusts defeated
The dutycycle of the pwm signal gone out.
As a kind of embodiment, the temperature sensing circuit, including resistance R1, resistance R2 and thermistor R3, wherein:
Described resistance R1 one end is used to input driving voltage, and the other end is grounded by the thermistor R3;
The resistance R2 is in parallel with the resistance R1;
The resistance R1 and resistance R2, both and the thermistor R3 connecting node and the microprocessor
Temperature sampling pin is connected.
As a kind of embodiment, the dutycycle initialization circuit, including driving voltage input, resistance R4, resistance R5,
Resistance R6, voltage-regulator diode D1 and Sampling Interface, wherein:
Described Sampling Interface one end is used to connect external dimmer resistance, and the Sampling Interface other end passes sequentially through series connection
The resistance R6 and the resistance R4 connections driving voltage input;
Described resistance R5 one end connects the connecting node of the resistance R6 and resistance R4, and the resistance R5 other ends lead to
The voltage-regulator diode D1 ground connection is crossed, the resistance R5 other ends are also connected with the dutycycle sampling pin of the microprocessor.
As a kind of embodiment, the dutycycle initialization circuit also includes in parallel resistance R7 and resistance R8, described to adopt
The sample interface other end is also grounded by the resistance R7 in parallel and resistance R8.
As a kind of embodiment, the PWM isolation light adjusting circuit also includes:
Linear voltage regulator, the input of the linear voltage regulator is used to connect external drive power supply, the linear voltage regulator
Output end connect the dutycycle initialization circuit, the microprocessor and the photoelectrical coupler respectively, for by outside drive
The supply voltage of dynamic power input is converted to the drive of the dutycycle initialization circuit, the microprocessor and the photoelectrical coupler
Dynamic voltage.
As a kind of embodiment, the linear voltage regulator include voltage stabilizing chip U2, electric capacity C2 and parallel connection electric capacity C3 and
Electric capacity C4, wherein:
The two ends of the electric capacity C2 connect the first pin and second pin of the voltage stabilizing chip U2 respectively;
The electric capacity C3 and electric capacity C4 in parallel, the second pin and the 3rd that two ends connect the voltage stabilizing chip U2 respectively are drawn
Pin;
The 3rd pin of the voltage stabilizing chip U2 is the input of linear voltage regulator, the second pin of the voltage stabilizing chip U2
For grounding pin, for being grounded, the first pin of the voltage stabilizing chip U2 is the output end of linear voltage regulator.
As a kind of embodiment, the voltage conversion circuit, including resistance R9, resistance R10, resistance R11, the pole of voltage stabilizing two
Pipe D2 and electric capacity C5, wherein:
One end of the resistance R10 is used to connect the external dimmer device, is additionally operable to outside by the resistance R9 connections
Driving power supply, the other end of the resistance R10 is grounded by the resistance R11;
The voltage-regulator diode D2 and the electric capacity C5 are in parallel with the resistance R11 respectively.
As a kind of embodiment, the PWM isolation light adjusting circuit also includes resistance R12 and resistance R13, the resistance
R12 one end is used to connect external drive power supply, and the resistance R12 other ends connect the positive input terminal of the photoelectrical coupler;
Described resistance R13 one end is used for the operating voltage VCCdim for inputting the photoelectrical coupler, and other end connection is described
The positive output end of photoelectrical coupler.
The invention also discloses a kind of LED dimming drive powers, it is included described in light modulator and as described above any one
PWM isolation light adjusting circuits, wherein the output end of the light modulator connects the voltage conversion circuit, for turning to the voltage
Change circuit and input first dimmer voltage.
Above-mentioned PWM isolation light adjusting circuit and LED dimming drive powers, applied to the LED drive power of tunable optical or other
Need to convert analog signals into pwm signal while in the product and equipment that needs are isolated, making power supply or the dimming interface of equipment
Electrical isolation is realized with input, outlet chamber, to realize matching isolated form or non-isolated 0-10V light modulators is realized isolation light modulation.
It is entirely isolated due to dimming interface, therefore can realizes that multiple LED lamps share a light modulator.Above-mentioned PWM isolation is adjusted
The characteristics of optical circuit has reliable and stable, compatible strong and high performance-price ratio, can match a variety of 0-10V light modulators on the market.Due to
Transformer is not used, the linear distortion problem of transformer can be avoided, moreover it is possible to which reduction accounts for plate suqare and reduces cost.
Embodiment
To enable above-mentioned purpose of the present utility model, feature and advantage more obvious understandable, below in conjunction with the accompanying drawings to this
The embodiment of utility model is described in detail.Elaborate many details in order to abundant in the following description
Understand the utility model.But the utility model can be implemented with being much different from other manner described here, this area
Technical staff can do similar improvement in the case of without prejudice to the utility model intension, therefore the utility model is not by following public affairs
The limitation for the specific embodiment opened.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that indicating or implying relative importance
Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or
Implicitly include at least one this feature.In description of the present utility model, " multiple " are meant that at least two, such as two
It is individual, three etc., unless otherwise specifically defined.
Referring to Fig. 1, it isolates the structural representation of light adjusting circuit 100 for the PWM that the embodiment of the utility model one is provided.
As shown in figure 1, the PWM isolation light adjusting circuit includes voltage conversion circuit 110, dutycycle initialization circuit 120, microprocessor
130 and photoelectrical coupler 140, wherein voltage conversion circuit 110, dutycycle initialization circuit 120 and photoelectrical coupler 140 respectively with
Microprocessor 130 is connected.
Voltage conversion circuit 110 is additionally operable to connect external dimmer device, the first light modulation electricity that the external dimmer device is inputted
Pressure is converted to the second dimmer voltage.
For example, external dimmer device is 0-10V light modulators, the first dimmer voltage VinDimmer voltage is simulated for 0-10V.Microprocessor
Device is less than 10V due to operating voltage, it is impossible to direct detection 0-10V input signal, by voltage conversion circuit by the of 0-10V
One dimmer voltage is converted to detectable second dimmer voltage of microprocessor.
Dutycycle initialization circuit 120, for output duty cycle setting signal.
For example, the one end of dutycycle initialization circuit 120 connects external regulator filter, other end connection microprocessor, as user behaviour
When making external regulator filter, dutycycle initialization circuit exports corresponding dutycycle setting signal according to user's operation.And for example, it is outside to adjust
Section device is adjustable resistance.And for example, external regulator filter is potentiometer.
Microprocessor 130, connects the voltage conversion circuit and the dutycycle initialization circuit, for sampling respectively respectively
Second dimmer voltage and the dutycycle setting signal, and believed according to second dimmer voltage and dutycycle setting
The pwm signal of number corresponding dutycycle of output.
For example, microprocessor 130 is sampled the second dimmer voltage and dutycycle setting signal respectively by different pins.Again
Such as, microprocessor 130 has been internally integrated at least two-way analog-digital converter (Analog-Digital Converter, ADC), respectively
For carrying out analog-to-digital conversion to the second dimmer voltage and dutycycle setting signal.And for example, it is also integrated with filter inside microprocessor 130
Ripple module and computing module, after filtration module is filtered to digitized second dimmer voltage and dutycycle setting signal,
Dutycycle is calculated according to the second dimmer voltage and dutycycle setting signal by computing module, and phase is exported by PWM output pins
Answer the pwm signal of dutycycle.
As a kind of embodiment, microprocessor internal is integrated with reset control circuit, such as house dog (Watch Dog)
Circuit.Once operation troubles occurs under strong jamming in microprocessor, reset control circuit, which is enforced, to be resetted, so as to improve above-mentioned
PWM isolates the reliability of light adjusting circuit.
Photoelectrical coupler 140, for the pwm signal to be carried out into isolation and amplifier.
In the present embodiment, the input of photoelectrical coupler 140 connects the PWM output pins of microprocessor 130, photoelectric coupling
The output end of device 140 is used to connect LED/light source.For example, the output end of photoelectrical coupler 140 is used to connect one or more simultaneously
LED/light source.Wherein, each LED/light source includes at least one LED lamp bead.For example, LED/light source is a LED lamp bead, and for example,
LED/light source is the LED light group of multiple LED lamp bead series/parallels formation, and and for example, LED/light source is to include one or more LED light groups
Light fixture.
In the present embodiment, photoelectrical coupler 140 isolates above-mentioned PWM isolation light adjusting circuits with controlled LED/light source, even if
Above-mentioned PWM isolation light adjusting circuit connects multiple LED/light sources simultaneously, mutually crosstalk between different light sources is also avoided that, so as to improve
Security and antijamming capability.
Above-mentioned PWM isolates light adjusting circuit, applied to the LED drive power of tunable optical or other need to turn analog signal
Pwm signal is changed into while needing in the product and equipment of isolation, power supply or the dimming interface of equipment and input, outlet chamber is realized
Electrical isolation, to realize matching isolated form or make non-isolated 0-10V light modulators realize isolation light modulation.Because dimming interface is complete
Isolation, therefore can realize that multiple LED lamps share a light modulator.Above-mentioned PWM isolation light adjusting circuit have it is reliable and stable,
The characteristics of compatible strong and high performance-price ratio, a variety of 0-10V light modulators on the market can be matched.Due to not using transformer, it can keep away
Exempt from the linear distortion problem of transformer, moreover it is possible to which reduction accounts for plate suqare and reduces cost.
In one embodiment, as shown in Fig. 2 dutycycle initialization circuit 120, including driving voltage input, resistance R4,
Resistance R5, resistance R6, voltage-regulator diode D1 and Sampling Interface, wherein driving voltage input are used to connect external drive power supply,
Driving voltage VCC is obtained from external drive power supply, Sampling Interface one end is used to connect external dimmer resistance Rset, Sampling Interface is another
One end passes sequentially through resistance R6 and resistance R4 the connection driving voltage input of series connection, and wherein driving voltage input is used to access
Driving voltage VCC;Resistance R5 one end connects resistance R6 and resistance R4 connecting node, and the resistance R5 other ends pass through voltage-regulator diode
D1 is grounded, and the resistance R5 other ends are also connected with the dutycycle sampling pin of microprocessor.
For example, external dimmer resistance is adjustable resistance;And for example, external dimmer resistance is potentiometer.When external dimmer resistance
When being conditioned, resistance R6 and resistance R4 branch pressure voltage are changed so that the dutycycle sampling pin of microprocessor is sampled
Dutycycle setting signal change.Wherein, resistance R5 and voltage-regulator diode D1 is used to protect the dutycycle of microprocessor to sample
Pin.
Microprocessor calculates dutycycle according to the change of dutycycle setting signal, and adjusts the duty of the pwm signal of output
Than.And for example, microprocessor calculates the first adjustment factor according to according to the change of dutycycle setting signal, and initial by pwm signal accounts for
Sky after being multiplied by first adjustment factor than being exported.And for example, above-mentioned first adjustment factor is Kr=(R6+Rset)/(R4+R6+
Rset).And for example, so that the first dimmer voltage is 0-10V voltages as an example, as shown in figure 8, before being adjusted according to the first adjustment factor,
It is linear between the initial duty cycle of above-mentioned pwm signal and the first dimmer voltage.When the first dimmer voltage is zero, initially
Dutycycle is zero, and when the first dimmer voltage is maximum 10V, initial duty cycle is 100%.
In one embodiment, above-mentioned first adjustment factor KrWith the resistance R of external dimmer resistancesetBetween relation it is as follows
Shown in table.
Rset(Ω) |
Kr |
10 |
0.501 |
22 |
0.502 |
47 |
0.505 |
68 |
0.508 |
100 |
0.511 |
220 |
0.524 |
470 |
0.548 |
680 |
0.567 |
1000 |
0.593 |
2200 |
0.667 |
4700 |
0.758 |
6800 |
0.804 |
10000 |
0.847 |
22000 |
0.917 |
47000 |
0.957 |
68000 |
0.970 |
100000 |
0.979 |
220000 |
0.990 |
470000 |
0.995 |
680000 |
0.997 |
1000000 |
0.998 |
Infinitely great or open circuit |
1 |
And for example, according to upper table, the first adjustment factor K as shown in Figure 9 is obtainedrWith the resistance R of external dimmer resistancesetIt
Between graph of a relation picture.It can be seen that, above-mentioned first adjustment factor KrWith the resistance R of external dimmer resistancesetBetween there is monotonic increase pass
System, and above-mentioned 0.5≤Kr≤1.With the resistance R of outside dimming resistorsetExemplified by=1k Ω, 0-10V the first dimmer voltage pair
PWM duty cycle should be exported for 0%-59.3%.
In one embodiment, as shown in figure 3, dutycycle initialization circuit 120 also includes resistance R7 and resistance R8 in parallel,
The wherein above-mentioned Sampling Interface other end is also grounded by the resistance R7 in parallel and resistance R8.
As a kind of embodiment, resistance R7 and resistance R8 are reserved on PCB, pass through the resistance R7 and resistance being welded and fixed
R8, directly sets the maximum duty cycle of pwm signal.
In one embodiment, as shown in figure 4, voltage conversion circuit 110 include resistance R9, it is resistance R10, resistance R11, steady
Diode D2 and electric capacity C5 is pressed, wherein resistance R10 one end is used to connect external dimmer device, and resistance R10 one end is additionally operable to lead to
Resistance R9 connection external drive power supplys are crossed, the resistance R10 other end is grounded by resistance R11;Voltage-regulator diode D2 and electric capacity C5
It is in parallel with resistance R11 respectively.
When the external dimmer device that voltage conversion circuit 110 is connected is passive light modulator, pull-up resistor R9 gives passive light modulation
Device provides electric current, is allowed to produce 0-10V signals.Resistance R10 and resistance R11 is allowed to be changed into microprocessor to 0-10V signal partial pressures
The second dimmer voltage that device can be detected.In order to avoid electrostatic interference, voltage stabilizing is carried out using voltage-regulator diode D2, protection microprocessor
Sampling Interface.Electric capacity C5 is used to filter out high-frequency signal, improves antijamming capability.The first dimmer voltage inputted when external dimmer device
During for pwm signal, C5 and R10 constitutes low pass filter, is analog signal by the first dimmer voltage Integral Transformation.
In one embodiment, as shown in figure 5, above-mentioned PWM isolation light adjusting circuits also include temperature sensing circuit 150.Temperature
Detection circuit 150 connects the microprocessor 130, for the change according to environment temperature, exports the temperature detection of respective change
Signal;The microprocessor 130, is additionally operable to the temperature detection signal of sampling, and according to the temperature detection signal, adjusts defeated
The dutycycle of the pwm signal gone out.
For example, as shown in fig. 6, temperature sensing circuit 150, including resistance R1, resistance R2 and thermistor R3, wherein resistance
R1 one end is used to input driving VCC, and the other end is grounded by thermistor R3;Resistance R2 is in parallel with resistance R1;Resistance R1, resistance
The temperature sampling pin connection of R2 and thermistor R3 connecting node and microprocessor.And for example, thermistor R3 is negative temperature
Coefficient resistance, the DC voltage that driving VCC is+5V.Resistance R1, resistance R2 and thermistor R3 connecting node, i.e. institute
The resistance R1 and resistance R2 is stated, both connecting nodes with the thermistor R3;Also the resistance R1 and institute be can be regarded as
Resistance R2 parallel circuit is stated, the connecting node with thermistor R3.
Wherein, driving VCC by resistance R1, resistance R2 and thermistor R3 partial pressures, microprocessor by temperature sampling pin,
The voltage signal of resistance R1, resistance R2 and thermistor R3 connecting node is sampled, when temperature is raised, thermistor
R3 resistance reduction so that the voltage reduction of above-mentioned connecting node, the change of microprocessor samples to the magnitude of voltage is adjusted accordingly
The dutycycle of the pwm signal of whole output.For example, change of the microprocessor samples to the magnitude of voltage, temperature is calculated to accounting for accordingly
Second adjustment factor of empty ratio, and adjust according to the second adjustment factor the dutycycle of the pwm signal of output.
For example, calculating K=(ADCt–ADCt125)/(ADCt85-ADCt125), as K > 1, the second adjustment factor Kt=1, when
During 0≤K≤1, the second adjustment factor Kt=K, as K < 0, the second adjustment factor Kt=0.Wherein, ADCtWhen representing temperature for t,
The magnitude of voltage of temperature sampling pin sampling;ADCt125When expression temperature is 125 DEG C, the magnitude of voltage of temperature sampling pin sampling;
ADCt85When expression temperature is 85 DEG C, the magnitude of voltage of temperature sampling pin sampling.
For example, by taking resistance R1 and resistance R2 resistance R1//R2=22K Ω in parallel as an example, according to above-mentioned calculation formula, obtaining
To the second adjustment factor KtWith temperature t relation, it is as shown in the table:
And for example, according to upper table, the second adjustment factor K as shown in Figure 10 is obtainedtWith temperature t graph of a relation picture.It can be seen that, on
State the second adjustment factor KtThere is monotone decreasing relation, and above-mentioned 0≤K between temperature tt≤1.With temperature, t=100 DEG C is
Example, as R1//R2=22K Ω, 0-10V the first dimmer voltage correspondence output PWM duty cycle is 0%-59.3%.
In the present embodiment, change resistance R1 and resistance R2 resistance in parallel, starting protection temperature threshold, change can be changed
The bigger characteristic of the higher PWM output attenuatoins of temperature is still met afterwards.For example, resistance R1 and resistance R2 resistance R1//R2 in parallel with
Relation between starting protection temperature threshold, it is as shown in the table:
For example, as shown in fig. 7, above-mentioned PWM isolation light adjusting circuit also include linear voltage regulator 160, linear voltage regulator it is defeated
Entering end is used to connect external drive power supply, and the output end of the linear voltage regulator connects the dutycycle initialization circuit, institute respectively
Microprocessor and the photoelectrical coupler are stated, for the supply voltage VCCin of external drive power input to be converted into described account for
The empty driving voltage VCC than initialization circuit, the microprocessor and the photoelectrical coupler.And for example, as shown in figure 8, linear steady
Depressor 160 includes electric capacity C2, electric capacity C3 and the electric capacity C4 of voltage stabilizing chip U2 and voltage stabilizing chip U2 peripheries, wherein voltage stabilizing chip U2's
3rd pin is the input of linear voltage regulator;Voltage stabilizing chip U2 second pin is grounding pin, for being grounded;Voltage stabilizing chip
U2 the first pin is the output end of linear voltage regulator.Two ends connect voltage stabilizing chip U2's respectively after electric capacity C3 and electric capacity C4 is in parallel
Second pin and the 3rd pin, electric capacity C2 two ends connect voltage stabilizing chip U2 the first pin and second pin respectively.Electric capacity C2,
Electric capacity C3 and electric capacity C4 is used to filter.
And for example, as shown in fig. 7, in one embodiment, above-mentioned PWM isolation light adjusting circuit also includes resistance R12 and resistance
R13, resistance R12 one end are used to connect external drive power supply, and the resistance R12 other ends connect the positive input terminal of photoelectrical coupler;Electricity
Hindering R13 one end is used for the operating voltage VCCdim of input optocoupler, and the other end connects the positive output end of photoelectrical coupler.Its
The negative input end of middle photoelectrical coupler 140 connects the PWM output pins of microprocessor, and the negative output terminal of photoelectrical coupler 140 is used
In ground connection, pwm signal is exported by the positive output end of photoelectrical coupler 140, i.e. the positive output end of photoelectrical coupler 140 is additionally operable to connect
Connect LED/light source.
Wherein, photoelectrical coupler 140 is made up of light emitting diode and phototriode, the negative input of photoelectrical coupler 140
The negative pole for its interior light emitting diodes is held, the positive input terminal of photoelectrical coupler 140 is the positive pole of its interior light emitting diodes, light
The positive output end of electric coupler 140 is the colelctor electrode of its internal phototriode, and negative output terminal is its internal phototriode
Emitter stage.In specific implementation, driving voltage VCC is through resistance R12 partial pressures, input to the pole of internal illumination two of photoelectrical coupler 140
The positive pole of pipe, when the both positive and negative polarity pressure difference of the interior light emitting diodes reaches its conducting voltage, it turns on and lighted, internal light
Quick triode is turned on after light is sensed so that colelctor electrode (i.e. the positive output end of the photoelectrical coupler) output of phototriode
High level, wherein depending on supply voltage VCCin and divider resistance R13 resistance from the voltage magnitude of the colelctor electrode of phototriode
Value.Because the ON time of phototriode depends on the ON time of the interior light emitting diodes of photoelectrical coupler 140, that is, depend on
The dutycycle of the pwm signal exported in microprocessor, therefore signal and the microprocessor output of the output of photoelectrical coupler 140
Pwm signal phase is identical.Because the ON time of phototriode is unrelated with load, therefore the isolation and amplifier of signal can be realized.
In a preferred embodiment, decoupling capacitor is also associated between the emitter stage and ground of photoelectrical coupler 140, for filtering
Except the noise jamming of the output end of photoelectrical coupler 140.
The utility model embodiment further correspondingly provides a kind of LED dimming driving circuits, and the LED dimming driving circuits include
The output end connection PWM isolation of light modulator and the PWM isolation light adjusting circuits as described in above-mentioned any embodiment, wherein light modulator is adjusted
The input of voltage conversion circuit in optical circuit, for inputting first dimmer voltage to the voltage conversion circuit.For example,
Light modulator is converted to the voltage signal that external power source is inputted the first dimmer voltage that LED/light source can be driven luminous, for example this
One dimmer voltage is 0-10V dimmer voltages, and it is adjustable that first dimmer voltage is converted to dutycycle through PWM isolation light adjusting circuits
Pwm signal, the brightness for adjusting LED/light source.
Above-mentioned LED dimming driving circuits, can realize that multiple LED lamps share a light modulator, with reliable and stable, simultaneous
Capacitive is strong and the characteristics of high performance-price ratio, can match a variety of 0-10V light modulators on the market.Due to not using transformer, it can avoid
The linear distortion problem of transformer, moreover it is possible to which reduction accounts for plate suqare and reduces cost.
, can be with when an element is considered as " connection " another element it should be noted that in embodiment described above
It is directly to another element or may be simultaneously present intermediary element.On the contrary, when element for be referred to as " direct " with it is another
When element is connected, in the absence of intermediary element.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope of this specification record is all considered to be.
Embodiment described above only expresses several embodiments of the present utility model, and it describes more specific and detailed,
But therefore it can not be interpreted as the limitation to utility model patent scope.It should be pointed out that for the common skill of this area
For art personnel, without departing from the concept of the premise utility, various modifications and improvements can be made, these are belonged to
Protection domain of the present utility model.Therefore, the protection domain of the utility model patent should be determined by the appended claims.