1. Filed of Invention
The present invention relates to a frequency converter, and more particularly, to the frequency multiplier and method for frequency multiplying.
2. Description of Related Art
A frequency multiplier is commonly used to multiply the base frequency for generating a high frequency clock signal, it can be used to many electronic devices, such as the BLDC motor controllers and the synchronized switching of DC/DC buck/boost converters, etc. The conventional frequency multiplier is complex.
An object of the present invention is to provide a simple and low cost circuit for the frequency multiplier and a method used therein.
A frequency multiplier according to a preferred embodiment of the present invention includes a period-to-voltage converter generating a control signal in response to the period of an input signal. An oscillator generates an output signal in accordance with the control signal. The level of the control signal is corrected to the frequency of the input signal. The control signal determines the frequency of the output signal.
According to another preferred embodiment of the present invention, the frequency multiplier further includes a level-shift circuit. The level-shift circuit generates a differential signal in according with the control signal. The differential signal is coupled to the oscillator for generating the output signal.
A method for frequency multiplying according to a preferred embodiment of the present invention includes generating a control signal in response to the period of the input signal, and generating the output signal in accordance with the control signal. The level of the control signal is corrected to the frequency of the input signal. The control signal is coupled to determine the frequency of the output signal. The method for frequency multiplying further includes generating a differential signal in according with the control signal. The differential signal is utilized to generate the output signal.
The accompanying drawings are included to provide a further understanding of the present invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the present invention and, together with the description, serve to explain the principles of the present invention. In the drawings,
Another preferred embodiment of the present invention, the frequency multiplier 10 further includes a level-shift circuit 35. The level-shift circuit 35 is coupled between the period-to-voltage converter 20 and the oscillator 50 for generating a differential signal VB in according with the control signal VT and a bias signal VA. The differential signal VB is coupled to the oscillator 50 for generating the output signal fO.
A current source 120 is connected between a supply voltage VCC and a transistor 125. The transistor 125 is connected between the current source 120 and a ground. A first terminal of a capacitor 130 is connected to the current source 120 and the transistor 125. A second terminal of the capacitor 130 is connected to the ground. The transistor 125 is controlled by the pulse signal S2. The capacitor 130 is charged by the current source 120 when the pulse signal S2 is disabled and the voltage of the capacitor 130 will gradually increase. The capacitor 130 is discharged when the pulse signal S2 is enabled and the transistor 125 is turned on.
Therefore, a ramp signal VRMP across the capacitor 130 will begin to rise with a slope that is determined by the amplitude of the current of the current source 120 and the capacitance of the capacitor 130 when the pulse signal S2 is disabled. In other word, the current source 120 and the capacitor 130 are utilized to generate the ramp signal VRMP in response to the pulse signal S2. It means that the current source 120 and the capacitor 130 are utilized to generate the ramp signal VRMP in response to the input signal fIN due to the pulse signal S2 is generated by the pulse generators 100, 110 and the inverter 105 in response to the input signal fIN.
Switches 135, 165, a buffer amplifier 150 and capacitors 160, 170 develop a sample-and-hold circuit. The switch 135 is connected between the capacitor 130 and a positive input of the buffer amplifier 150. The switch 165 is connected between the capacitor 160 and the capacitor 170. A positive input of the buffer amplifier 150 is connected to the output of the capacitor 130 for receiving the ramp signal VRMP through the switch 135. A negative input of the buffer amplifier 150 is connected to an output of the buffer amplifier 150. The output of the buffer amplifier 150 is further connected to the capacitor 160. The capacitor 160 is connected to the capacitor 170 through the switch 165. The capacitors 160 and 170 are utilized to generate the control signal VT in response to the ramp signal VRMP. The capacitor 160 is used to hold the ramp signal VRMP at the capacitor 130 through the switch 135 when the pulse signal S1 is enabled.
The capacitor 170 is used to hold an output at the capacitor 160 through the switch 165 when the pulse signal S2 is enabled. The switch 135 is controlled by the pulse signal S1. The switch 165 is controlled by the pulse signal S2. Therefore, the sample-and-hold circuit receives the ramp signal VRMP when the pulse signal S1 is enabled. Therefore, the sample-and-hold circuit samples a predetermine peak value of the ramp signal VRMP to generate the control signal VT when the pulse signal S2 is enabled. In other word, the sample-and-hold circuit generates the control signal VT by sampling the ramp signal VRMP in response to the input signal fIN, and the level of the control signal VT is corrected to the period of the input signal fIN.
Another embodiment of the period-to-voltage converter 20 according to the present invention, the most of the circuits of the period-to-voltage converter 20 of this embodiment are the same as the first embodiment (as shown in
The input signal IN is further coupled to the input of an AND gate 189. Another, input of the AND gate 189 is coupled to the capacitor 185 through an inverter 187 for generating an output signal OUT (the pulse signal S0, the pulse signal S1 or the pulse signal S2). Therefore, the output of the pulse generator will generate a pulse output signal OUT in response to the rising edge of the input signal IN.
According to above, the period-to-voltage converter 20 generates the pulse signals S0, S1 and S2 in response to the input signal fIN (as shown in
The bias signal VA is supplied to a positive input of the operational amplifier 200. The resistor 210 is connected between a negative input of the operational amplifier 200 and the ground. A gate of the transistor 230 is connected to an output of the operational amplifier 200. A source of the transistor 230 is connected to the resistor 210. The voltage-to-current converter converts the bias signal VA into a current signal I231 via the resistor 210. The transistor 231 and the transistor 232 develop a current mirror. Two sources of the transistor 231 and the transistor 232 are coupled to the supply voltage VCC. A drain of the transistor 231 is connected to a drain of the transistor 230 and two gates of the transistor 231 and transistor 232. The current signal I231 is generated by the drain of the transistor 231. The current mirror receives the current signal I231 to generate the output current I232. The output current I232 is generated by a drain of the transistor 232.
The output current I232 is coupled to generate a level-shift voltage at the resistor 270. The differential signal VB can be designed as,
V
B
=V
A
+V
T (1)
The switch 315 is connected between the current source 310 and the capacitor 330. The current source 310 is coupled to the supply voltage VCC for charging the capacitor 330. The switch 325 is connected between the capacitor 330 and the current source 320. The current source 320 is coupled to the ground for discharging the capacitor 330. A negative terminal of the capacitor 330 is connected to the ground. An oscillation signal VOSC is generated at a positive terminal of the capacitor 330.
The differential signal VB and the bias signal VA is coupled to the comparators 345 and 346 to operate as the trip-point voltage. The differential signal VB is coupled to a positive input of the comparator 345. The bias signal VA is coupled to a negative input of the comparator 346. A negative input of the comparator 345 and a positive input of the comparator 346 are coupled to the capacitor 330 to receive the oscillation signal VOSC. The differential signal VB is produced by the control signal VT and the bias signal VA (as shown in
The output of the latch generate a discharge signal SD coupled to control the switch 325 for discharging the capacitor 330 when the voltage of the oscillation signal VOSC is higher than the trip-point voltage (the differential signal VB). The discharge signal SD is further connected to an inverter 370 for generating a charge signal SC coupled to control the switch 315. The switch 315 is enabled to charge the capacitor 330 once the voltage of the oscillation signal VOSC is lower than the trip-point voltage (the bias signal VA). The charge signal SC is connected to the input of the buffer 371 for generating the output signal fO. Therefore, the output signal fO is correlated to the oscillation signal VOSC.
Furthermore, the pulse signal S0 is coupled to the clock input ck of the flip-flop 350 to trigger the flip-flop 350. The input D of the flip-flop 350 is coupled to receive the supply voltage VCC. The output Q of the flip-flop 350 generates an output signal ST. The output signal ST of the flip-flop 350 is coupled to enable the discharge signal SD through the inverter 340 and the NAND gate 347. The output of the comparator 346 is coupled to the reset input R of the flip-flop 350 to reset the flip-flop 350. The output signal fO of the frequency multiplier 10 is thus synchronized with the input signal fIN of the frequency multiplier 10.
The current of the current source 310 is correlated to the current of the current source 120 (as shown in
where I120 is the current of the current source 120; I310 is the current of the current source 310; C130 is the capacitance of the capacitor 130 (as shown in
The equation (5) shows the time constant of generating the output signal fO and the time constant of generating the control signal VT to determine a multiplier of the frequency multiplying.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims or their equivalents.
Number | Date | Country | |
---|---|---|---|
61201183 | Dec 2008 | US |