Embodiment
The present invention relates to oscillator.More particularly, the invention provides the oscillator that the periodic signal of low frequency can be provided with high accuracy.Only as example, the present invention has been applied to the burst mode brightness adjustment control at cold-cathode fluorescence lamp (CCFL) backlight driving system.Yet, will be appreciated that the present invention has wideer range of application.For example, the present invention can be applied to the integrated circuit (IC) system except that the CCFL backlight driving system.In another example, the present invention can be applied to the equipment except that integrated circuit.
Conventional art has significant disadvantages usually, and these shortcomings will influence the batch process of the precision and the CCFL drive system of clock signal unfriendly.For example, time capacitor C as shown in Figure 1ExtCapacitor COMay change up to 20%.Big like this variation may cause the great changes of switching frequency to a great extent, and therefore influences the batch process of CCFL drive system.For example, in the LCDTV CCFL backlight driving system the required tolerance limit of burst light modulating frequency fall into usually ± 5% scope in.In order to realize such frequency accuracy, common or needs improve time capacitor CExtThe electric capacity precision, perhaps need in the production process more fine setting.Improve improvement and/or extra fine setting and cause higher cost usually.Therefore, need high-precision, cost-efficient low-frequency oscillator.
Fig. 3 is the simplification diagrammatic sketch that illustrates according to the oscilator system of the embodiment of the invention.This diagrammatic sketch only is an example, should exceedingly not limit the scope of claim.Those skilled in the art will expect many variants, substitutions andmodifications.Oscilator system 300 comprises that voltage is tocurrent converter 310 and 320, current-mode N bit digital-to-analog converter (DAC) 330 and current comparator 340.For example, N is a positive integer.
As shown in Figure 3, voltage receivesreference voltage signal 312 andvoltage signal 312 is converted tocurrent signal 314 to current converter 310.For example, use VRef1Representreference voltage signal 312, and use IhRepresent current signal 314.In addition, voltage receivesreference voltage signal 322 andvoltage signal 322 is converted tocurrent signal 324 to current converter 320.For example, use VRef2Representreference voltage signal 322, and use IRefRepresent current signal 324.Current signal 324 is received by current-modeN bit DAC 330, and this current-modeN bit DAC 330 is receivedsignal 332 also.For example,signal 332 is that frequency is fHCLKClock signal HCLK.
According to an embodiment, electric current IRefBe used to generate the unitary current of current-mode N bit DAC 330.Based on this unitary current, current-modeN bit DAC 330 generatescurrent signal 334 in response to clock signal HCLK.For example,current signal 334 is slope current signal IRamp, its magnitude began to increase from minimal level in a period of time.
Current signal 334 is received bycurrent comparator 340, and thiscurrent comparator 340 is gone back received current signal 314.Current comparator 340 is handled the information that is associated withcurrent signal 314 and 334, and generates signal 342.For example,signal 342 is that frequency is fLCLKClock signal LCLK.As shown in Figure 3,signal 342 is output signals of oscilator system 300.In addition,signal 342 is also received as reset signal (Reset) by current-modeN bit DAC 330.
In one embodiment, be equal to or greater thancurrent signal 314 ifcurrent signal 334 becomes, clock signal LCLK jumps to logic low voltage level from logic high voltage level so.Such saltus step resets current-modeN bit DAC 330, thereby makes slope current signal IRampFall back to the minimum current rank.
In another embodiment, clock signal LCLK and clock signal HCLK are synchronous.For example, the ratio between the frequency of the frequency of clock signal HCLK and clock signal LCLK is integer.In another example, the phase difference between clock signal HCLK and the clock signal LCLK is constant.In another embodiment, the precisely controlled clock signal LCLK ofoscilator system 300 generated frequencies.
Fig. 4 be illustrate according to the oscilator system of the embodiment of the invention, as the simplification diagrammatic sketch of some signal of the function of time.This diagrammatic sketch only is an example, should exceedingly not limit the scope of claim.Those skilled in the art will expect many variants, substitutions and modifications.For example, oscilator system is anoscilator system 300 as shown in Figure 3.
As shown in Figure 4,waveform 410 expressions are as the electric current I of the function of timeh, waveform 420 expressions are as the electric current I of the function of timeRamp, waveform 430 expressions are as the voltage of the clock signal LCLK of the function of time.For example, if current-mode N bit digital-to-analog converter (DAC) 330 is activated, slope current signal I soRampMagnitude from minimal level IMinBeginning progressively increases, and each step all equals I on magnitudeUnit
In one embodiment, if slope current signal IRampBecome and be equal to or greater than electric current Ih, clock signal LCLK is from logic high voltage level V soHJump to logic low voltage level VLSuch saltus step resets current-modeN bit DAC 330, thereby makes slope current signal IRampFall back to the minimum current Grade IMinSubsequently, slope current signal IRampIn following one-period, tilt to rise once more (ramp up).Therefore, generated clock signal LCLK.For example, the frequency of signal LCLK is lower than the frequency of signal HCLK.
Fig. 5 illustrates the simplification diagrammatic sketch of oscilator system according to another embodiment of the present invention.This diagrammatic sketch only is an example, should exceedingly not limit the scope of claim.Those skilled in the art will expect many variants, substitutions andmodifications.Oscilator system 500 comprisesoperational amplifier 510 and 512, transistor 520,522,524,530,532 and 534,resistor 540 and 542,current comparator 550, and current-mode N bit digital-to-analog converter (DAC) 560.For example, N is a positive integer.In another example,oscilator system 500 is identical withoscilator system 300.
As shown in Figure 5,operational amplifier 510 receives reference voltage signal VRef1Operational amplifier 510 is coupled toresistor 540 and transistor 520.For example,resistor 540 is that resistance is RBfThe off chip resistor device.Reference voltage signal VRef1Be converted to current signal byoperational amplifier 510,resistor 540 andtransistor 520 and 522.If the current ratio of mirroredtransistor 522 and 524 is 1, flow through the electric current I oftransistor 524 sohBe:
(equation 4)
Therefore, according to an embodiment, voltage comprisesoperational amplifier 510 tocurrent converter 310, transistor 520,522 and 524, and resistor 540.In addition,operational amplifier 512 receives reference voltage signal VRef2Operational amplifier 512 is coupled toresistor 542 and transistor 530.For example,resistor 542 is that resistance is RIThe off chip resistor device.Reference voltage signal VRef2Be converted to current signal byoperational amplifier 512,resistor 542 andtransistor 530 and 532.If the current ratio of mirroredtransistor 532 and 534 is 1, flow through the electric current I oftransistor 534 soRefBe:
(equation 5)
Therefore, according to an embodiment, voltage comprisesoperational amplifier 512 tocurrent converter 320, transistor 530,532 and 534, andresistor 542.
As shown in Figure 5, electric current IRefReceived by current-mode N bit digital-to-analog converter (DAC) 560, this current-modeN bit DAC 560 generates unitary current I according to following formulaUnit:
(equation 6)
Wherein N is the bit number of current-mode DAC 560.For example, N is a positive integer.In another example, current-mode DAC 560 is identical with current-mode DAC 330.
According to an embodiment, if current-mode DAC 560 is activated, slope current signal I soRampMagnitude from minimal level IMinBeginning progressively increases, and each step all equals I on magnitudeUnitFor example, slope current signal IRampFrom minimal level IMinIncrease to electric current IhRank need spend K step.For example, if minimal level IMinEqual zero, so:
(equation 7)
Refer now to Fig. 5,current comparator 550 generates clock signal LCLK.For example,current comparator 550 is identical with current comparator 340.In one embodiment, if electric current IhGreater than slope current IRamp, clock signal LCLK is in logic high voltage level V soHIf, and electric current IhBe equal to or less than slope current IRamp, clock signal LCLK is in logic low voltage level V soL
In addition, clock signal LCLK is sent to current-mode N bit DAC 560.For example, if clock signal LCLK from logic high voltage level VHJump to logic low voltage level VL, so such saltus step resetsDAC 560, thereby makes slope current signal IRampFall back to the minimum current Grade IMinSubsequently, slope current signal IRampIn following one-period, tilt to rise once more.
For example,(equation 8)
F whereinLCLKBe the frequency of clock signal LCLK, and fHCLKIt is the frequency of clock signal HCLK.Merge equation 7 and 8, can obtain following expression formula:
(equation 9)
Fig. 6 illustrates the simplification diagrammatic sketch of conduct according to the current-mode N bit digital-to-analog converter (DAC) of the part of the oscilator system of the embodiment of the invention.This diagrammatic sketch only is an example, should exceedingly not limit the scope of claim.Those skilled in the art will expect many variants, substitutions and modifications.Current-mode N bit digital-to-analog converter (DAC) 600 comprisesN bit counter 610 and current mirror 620.For example, current-mode N bit digital-to-analog converter (DAC) 600 is identical with current-mode N bit DAC 330.In another example, current-modeN bit DAC 600 is identical with current-modeN bit DAC 560.
N bit counter 610 receive clock signal HCLK and LCLK.Signal HCLK is used to triggerN bit counter 610, and the signal LCLKN bit counter 610 that is used to reset.The output ofN bit counter 610 is N bit logic signal KN(t), this signal KN(t) received bycurrent mirror 620 and be used for conducting or stopcock S1, S2..., Sn..., SN-1And SNCurrent mirror 620 is gone back received current IRefFor example, N is a positive integer, and the t express time.
According to an embodiment, N bit logic signal KN(t) n bit conducting or stopcock SnN is greater than 0 integer and less than N+1.According to another embodiment, by conducting or stopcock S1, S2..., Sn..., SN-1And SN, N bit logic signal KN(t) can change slope current IRampMagnitude.For example, in case activated current patternN bit DAC 600, N bit logic signal KN(t) just increase 1 at all after dates of each of clock signal HCLK.N bit logic signal KN(t) can be by clock signal LCLK reset-to-zero, perhaps at N bit logic signal KN(t) arrive 2NAfter be reset to zero.
Fig. 7 is the simplification diagrammatic sketch that illustrates according to the Converter Controlled by Current mode PWM device of the embodiment of the invention.This diagrammatic sketch only is an example, should exceedingly not limit the scope of claim.Those skilled in the art will expect many variants, substitutions and modifications.
Converter Controlled by Currentmode PWM device 700 receives voltage signal DIM.For example, voltage signal DIM is from external source.Voltage signal DIM is handled and is converted into the current signal Idim that flows through transistor M8 by voltage-current converter.In one embodiment, voltage-current converter comprises operational amplifier A 3, transistor M7, M8 and M9, and resistor R 1.If the current ratio of mirrored transistor M8 and M9 is 1, so
(equation 10)
Wherein Vdim is the magnitude of voltage signal DIM.In addition, Converter Controlled by Currentmode PWM device 700 receives reference voltage signal Vrefa.For example, reference voltage signal Vrefa represents the voltage level by the inside sources generation.Reference voltage signal Vrefa is handled and is converted into the current signal that flows through transistor M11 by another voltage-current converter.In one embodiment, voltage-current converter comprisesoperational amplifier A 4, transistor M10, M11 and M12, and resistor R 2.If the current ratio of mirrored transistor M11 and M12 is 1, so
(equation 11)
Irefa is received by current-mode DAC 710.In addition, Converter Controlled by Currentmode PWM device 700 comprises latch F1.As shown in Figure 7, latch F1 receive clock signal LCLK and N bit logic signal KNAnd output N bit logic signal K (t),N(Tm).TmM the cycle of expression clock signal LCLK.For example, clock signal LCLK is generated byoscilator system 300 and/or oscilator system 500.In another example, N bit logic signal KN(t) generate by current-modeN bit DAC 600.
N bit logic signal KN(Tm) received by current-mode DAC 710.N bit logic signal KN(Tm) be used for Irefa is divided into KN(Tm) individual current unit, each current unit equals Iunita.
(equation 12)
As shown in Figure 7, clock signal HCLK and LCLK are received by N bit counter 712, and this N bit counter 712 generates output signal p.For example, clock signal HCLK is received byoscilator system 300, and clock signal LCLK is generated byoscilator system 300, and the clock signal LCLK that is received byN bit counter 712 is identical with the clock signal LCLK that is received by latch F1.In another example, clock signal HCLK is received byoscilator system 500, and clock signal LCLK is generated byoscilator system 500, and the clock signal LCLK that is received byN bit counter 712 is identical with the clock signal LCLK that is received by latch F1.
Current-mode DAC 710 generates slope current Idac, and this slope current Idac begins progressively to increase from minimal level at each all after date of clock signal HCLK.Each step equals Iunita.At each all after date of clock signal LCLK, slope current Idac falls back to minimal level, and output signal p is reset to zero.
For example, if minimal level equals zero,
(equation 13)
Current comparator s1 compares the magnitude of Idac and the magnitude of Idim, and this current comparator s1 generates the LPWM signal.For example, the LPWM signal is used to the burst mode brightness adjustment control.
According to an embodiment, if electric current I dim greater than slope current Idac, the LPWM signal is in logic high voltage level so, and if electric current I dim be equal to or less than slope current Idac, the LPWM signal is in logic low voltage level so.
If Idac=I is dim (equation 14)
(equation 15)
Suppose R1=R2 (equation 16)
So(equation 17)
According to an embodiment,(equation 18)
And fLPWM=fLCLK(equation 19)
F whereinHCLK, fLCLKAnd fLPWMBe respectively the frequency of clock signal HCLK, the frequency of clock signal LCLK and the frequency of LPWM signal.For example, clock signal LCLK and LPWM signal are synchronous.
Fig. 8 be illustrate according to the Converter Controlled by Current mode PWM device of the embodiment of the invention, some simplification diagrammatic sketch as the signal of the function of time.This diagrammatic sketch only is an example, should exceedingly not limit the scope of claim.Those skilled in the art will expect many variants, substitutions and modifications.For example, the Converter Controlled by Current mode PWM device is a Converter Controlled by Currentmode PWM device 700 as shown in Figure 7.
As shown in Figure 8,waveform 810 expressions are as the electric current I dim of the function of time,waveform 820 expressions are as the electric current I dac of the function of time, andwaveform 830 expressions are as the voltage of the clock signal LCLK of the function of time, andwaveform 840 expressions are as the LPWM voltage of signals of the function of time.
Fig. 9 illustrates the simplification diagrammatic sketch of conduct according to the latch of the part of the Converter Controlled by Current mode PWM device of the embodiment of the invention.This diagrammatic sketch only is an example, should exceedingly not limit the scope of claim.Those skilled in the art will expect many variants, substitutions and modifications.For example,latch 900 is identical with as shown in Figure 7 latch F1.
As shown in the figure, latch 900 receive clock signal LCLK and N bit logic signal KNAnd output N bit logic signal K (t),N(Tm).TmM the cycle of expression clock signal LCLK.For example, clock signal LCLK is generated byoscilator system 300 and/or oscilator system 500.In another example, N bit logic signal KN(t) generate by current-mode N bit DAC600.According to an embodiment, once each cycle of oversampling clock signal LCLK, latch 900 just latchs N bit logic signal KN(t).Output signal KN(Tm) during the one-period of clock signal LCLK, remain unchanged.
The invention provides many advantages.Some embodiment of the present invention provides the periodic signal with expected frequency in integrated circuit.For example, this periodic signal is relevant with the burst mode brightness adjustment control in the CCFL backlight driving system.In another example, this periodic signal need can be used to any application of low-frequency oscillator.Some embodiment of the present invention provides high-precision low-frequency oscillator, and does not need the sheet external capacitive body.
According to some embodiment of the present invention because clock signal HCLK and reference voltage signal (for example, Vref1 and Vref2) are fine-tuning, so the tolerance limit of off chip resistor device generally be ± 1%.Therefore, for low-frequency periodic signal, satisfied tolerance limit demand less than ± 5% becomes in integrated circuit and is easy to realize.In addition, high-precision low-frequency clock signal can improve the burst mode brightness adjustment control in the LCD TV CCFL backlight driving system, and the CCFL backlight driving system is more suitable in batch process.
According to another embodiment of the present invention, a kind of oscilator system comprises: first voltage is to current converter, and it is configured to receive first voltage and generates first electric current based on the information that is associated with first voltage at least; And second voltage to current converter, it is configured to receive second voltage and generates second electric current based on the information that is associated with second voltage at least.In addition, this oscilator system also comprises current-mode N bit digital-to-analog converter, it is configured to receive at least second electric current and first clock signal, and is configured to generate the 3rd electric current based on the information that is associated with second electric current and first clock signal at least.N is first integer.First clock signal is associated with pairing first clock frequency of first clock cycle.In addition, this oscilator system also comprises current comparator, it is coupled to first voltage to current converter and current-mode N bit digital-to-analog converter, and is configured to generate the second clock signal based on the information that is associated with first electric current and the 3rd electric current at least.Pairing second clock frequency dependence connection of second clock signal and second clock cycle.Current comparator also is configured to: judge whether the 3rd electric current is equal to or greater than first electric current on magnitude; And if the 3rd electric current is judged as is equal to or greater than first electric current on magnitude, so the second clock signal is changed to second voltage level from first voltage level on magnitude.Current-mode N bit digital-to-analog converter also is configured to receive the second clock signal.If the second clock signal does not change to second voltage level from first voltage level, the 3rd electric current begins to increase in magnitude from the predetermined current rank so.If the second clock signal changes to second voltage level from first voltage level, the 3rd electric current is reduced to the predetermined current rank on magnitude so.For example, realize this oscilator system according to Fig. 3, Fig. 4, Fig. 5 and/or Fig. 6.
In another example, the ratio between first clock frequency and the second clock frequency equals second integer.In another example, first clock signal and second clock signal are synchronous.In another example, first voltage is different with second voltage.In another example, first voltage level is a logic high, and second voltage level is a logic low.In another example, current-mode N bit digital-to-analog converter also is configured to the information that is associated with second electric current is handled, and generates first magnitude based on the information that is associated with second electric current at least.In another example, if the second clock signal does not change to second voltage level from first voltage level, the 3rd electric current begins to increase step by step on magnitude as the function of time from the predetermined current rank so.The single step increase of second magnitude equals first magnitude, and the duration of single step equals the second clock cycle.In another example, current-mode N bit digital-to-analog converter also is configured to generate the N bit logic signal based on the information with first clock signal and second clock signal correction connection at least.In another example, current-mode N bit digital-to-analog converter comprises: the N bit counter, it is configured to receive first clock signal and second clock signal, and generates the N bit logic signal based on the information with first clock signal and second clock signal correction connection at least; And current mirror, it is configured to receive the N bit logic signal and second electric current, and generates the 3rd electric current based on the information that is associated with the N bit logic signal and second electric current at least.
According to another embodiment of the present invention, a kind of oscilator system comprises: first voltage is to current converter, and it is configured to receive first voltage and generates first electric current based on the information that is associated with first voltage at least; And second voltage to current converter, it is configured to receive second voltage and generates second electric current based on the information that is associated with second voltage at least.In addition, this oscilator system also comprises current-mode N bit digital-to-analog converter, it is configured to receive at least second electric current and first clock signal, and is configured to generate the 3rd electric current based on the information that is associated with second electric current and first clock signal at least.N is first integer.First clock signal is associated with pairing first clock frequency of first clock cycle.In addition, this oscilator system also comprises current comparator, it is coupled to first voltage to current converter and current-mode N bit digital-to-analog converter, and is configured to generate the second clock signal based on the information that is associated with first electric current and the 3rd electric current at least.Pairing second clock frequency dependence connection of second clock signal and second clock cycle.Current comparator also is configured to: judge whether the 3rd electric current is equal to or greater than first electric current on magnitude; And if the 3rd electric current is judged as is equal to or greater than first electric current on magnitude, so the second clock signal is changed to second voltage level from first voltage level on magnitude.First voltage comprises first resistor that is associated with first resistance at least to current converter.First electric current is directly proportional with first ratio between first voltage and first resistance.In addition, second voltage comprises second resistor that is associated with second resistance at least to current converter.Second electric current is directly proportional with second ratio between second voltage and second resistance.For example, realize this oscilator system according to Fig. 3, Fig. 4, Fig. 5 and/or Fig. 6.
In another example, current-mode N bit digital-to-analog converter also is configured to receive the second clock signal.If the second clock signal does not change to second voltage level from first voltage level, the 3rd electric current begins to increase in magnitude from the predetermined current rank so; And if the second clock signal changes to second voltage level from first voltage level, the 3rd electric current is reduced to the predetermined current rank on magnitude so.In another example, the 3rd ratio between first clock frequency and the second clock frequency equals second integer.In another example, first clock signal and second clock signal are synchronous.In another example, current-mode N bit digital-to-analog converter also is configured to the information that is associated with second electric current is handled, and generates first magnitude based on the information that is associated with second electric current at least.In another example, if the second clock signal does not change to second voltage level from first voltage level, the 3rd electric current begins to increase step by step on magnitude as the function of time from the predetermined current rank so.Second magnitude that single step increases equals first magnitude; And the duration of single step equals the second clock cycle.In another example, current-mode N bit digital-to-analog converter also is configured to generate the N bit logic signal based on the information with first clock signal and second clock signal correction connection at least.
According to another embodiment of the present invention, a kind of method that is used to generate clock signal may further comprise the steps: receive first voltage by first voltage to current converter; At least generate first electric current based on the information that is associated with first voltage; Receive second voltage by second voltage to current converter; At least generate second electric current based on the information that is associated with second voltage.In addition, this method also comprises by current-mode N bit digital-to-analog converter and receives second electric current and first clock signal at least.N is first integer.First clock signal is associated with pairing first clock frequency of first clock cycle.In addition, this method also comprises: generate the 3rd electric current based on the information that is associated with second electric current and first clock signal at least; Come the information that is associated with first electric current and the 3rd electric current is handled by current comparator; And generate the second clock signal based on the information that is associated with first electric current and the 3rd electric current at least.Pairing second clock frequency dependence connection of second clock signal and second clock cycle.The step that the information that is associated with first electric current and the 3rd electric current is handled comprises judges whether the 3rd electric current is equal to or greater than first electric current on magnitude; And the step that generates the second clock signal comprises if the 3rd electric current is judged as be equal to or greater than first electric current on magnitude, so the second clock signal is changed to second voltage level from first voltage level on magnitude.In addition, the step that receives second electric current and first clock signal at least comprises and receives the second clock signal.In addition, the step that generates the 3rd electric current comprises: if the second clock signal does not change to second voltage level from first voltage level, begin to increase the 3rd electric current in magnitude from the predetermined current rank so; And if the second clock signal changes to second voltage level from first voltage level, so the 3rd electric current is reduced to the predetermined current rank on magnitude.For example, realize being used to generate the method for clock signal according to Fig. 3, Fig. 4, Fig. 5 and/or Fig. 6.
In another example, the ratio between first clock frequency and the second clock frequency equals second integer.In another example, first clock signal and second clock signal are synchronous.In another example, first voltage level is a logic high; And second voltage level is a logic low.In another example, the step that generates the 3rd electric current comprises at least and generates first magnitude based on the information that is associated with second electric current.In another example, the step that generates the 3rd electric current also comprises: if the second clock signal does not change to second voltage level from first voltage level, begin to increase the 3rd electric current in magnitude step by step as the function of time from the predetermined current rank so.Second magnitude that single step increases equals first magnitude; And the duration of single step equals the second clock cycle.In another example, the method that is used to generate clock signal also comprises by current-mode N bit digital-to-analog converter to generate the N bit logic signal based on the information with first clock signal and second clock signal correction connection at least.
Though described specific embodiments of the invention, those skilled in the art should understand other embodiment that exist with described embodiment equivalence.Therefore, should understand the embodiment that the present invention is not limited to specifically illustrate, and only be subject to the scope of claim.