Level-determining device and method of pulse width modulation signal

Information

  • Patent Application
  • 20080054978
  • Publication Number
    20080054978
  • Date Filed
    August 08, 2007
    17 years ago
  • Date Published
    March 06, 2008
    16 years ago
Abstract
A level-determining device of pulse width modulation (PWM) signal includes a PWM signal generating circuit, a reference voltage generating circuit and a determining circuit. The PWM signal generating circuit generates a first PWM signal. The reference voltage generating circuit generates a reference voltage signal. The determining circuit is respectively electrically connected to the PWM signal generating circuit and the reference voltage generating circuit for determining high level or low level of the first PWM signal in accordance with the reference voltage signal for generating a second PWM signal.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will become more fully understood from the detailed description given hereinbelow illustration only, and thus is not limitative of the present invention, and wherein:



FIG. 1 is a schematic diagram showing a conventional PWM signal;



FIG. 2 is a schematic diagram showing a conventional level-determining device of the PWM signal;



FIG. 3 is a schematic diagram showing a preferred embodiment of a level-determining device of PWM signal according to the present invention;



FIGS. 4A and 4B are schematic diagrams showing the various reference voltage generating circuits of the level-determining device according to a preferred embodiment of the present invention; and



FIG. 5 is a flow chart showing a level-determining method.of PWM signal according to a preferred embodiment of the present invention.





DETAILED DESCRIPTION OF THE INVENTION

The present invention will be apparent from the following detailed description, which proceeds with reference to the accompanying drawings, wherein the same references relate to the same elements.


Please referring to FIG. 3, a preferred embodiment of a level-determining device 2 of PWM signal according to the present invention includes a PWM signal generating circuit 21, a reference voltage generating circuit 22 and a determining circuit 23.


The PWM signal generating circuit 21 generates a first PWM signal Sp11. The frequency, duty cycle and level of the PWM signal Sp11 can be adjusted in accordance with the requirement of different systems. The first PWM signal Sp11 can be generated by an analog circuit or a digital circuit.


The reference voltage generating circuit 22 generates a reference voltage signal Sv1 in accordance with a power signal P1. Please referring to FIG. 4A, the reference voltage generating circuit 22 includes a voltage divider when the power signal P1, which generated by a voltage source, is a voltage VDD. In this embodiment, the voltage divider has a first resistor R1 and a second resistor R2, and the power signal P1 is transformed into the reference voltage signal Sv1 by the first resistor R1 and the second resistor R2. The reference voltage signal Sv1 can be obtained as following equation:







Sv





1

=


R





2
×
VDD



R





1

+

R





2







Please referring to FIG. 4B, the reference voltage generating circuit 22 includes a resistor Rs when the power signal P1, which generated by a current source, is a current Is. The reference voltage signal Sv1 is obtained as a voltage drop generated after the current Is flowing through the resistor Rs.


Please referring to FIG. 3, the determining circuit 23 is electrically connected to the PWM signal generating circuit 21 and the reference voltage generating circuit 22, respectively. The determining circuit 23 determines high level or low level value of the first PWM signal Sp11 in accordance with the reference voltage signal Sv1 for generating a second PWM signal Sp12. The determining circuit 23 includes a comparator 231 or an operating amplifier. The determining circuit 23 includes the comparator 231 is exemplary in this embodiment.


In this embodiment, the comparator 231 has a positive input terminal #in1, a negative input terminal #in2 and an output terminal #out. The positive input terminal #in1 is electrically connected to the PWM signal generating circuit 21, and the first PWM signal Sp11 is input into the comparator 231 through the positive input terminal #in1. The negative input terminal #in2 is electrically connected to the reference voltage generating circuit 22, and the reference voltage signal Sv1 is input into the comparator 231 through the negative input terminal #in2.


In general, the characteristics of the comparator outputs high level from the output terminal when the level of the positive input terminal is greater than the level of the negative input terminal, and output low level from the output terminal when the level of the positive input terminal is less than the negative input terminal. Therefore, the level-determining device 2 of PWM signal according to the present invention can adjust the reference voltage signal Sv1 in accordance with various systems so that the determining circuit 23 can accurately determine high level or low level of the first PWM signal Sp11 for generating the second PWM signal Sp12. Thus, the determining circuit 23 can prevent the level of the PWM signal from being incorrectly determined with noise.


In addition, please referring to FIG. 5, a preferred embodiment of a level-determining method of PWM signal according to the present invention includes the following steps. Step S01 is to generate a first PWM signal by a PWM signal generating circuit. Step S02 is to generate a reference voltage signal by a reference voltage generating circuit. Step S03 is to determine high level or low level of the first PWM signal in accordance with the reference voltage signal for generating a second PWM signal by a determining circuit. The level-determining method of PWM signal is illustrated in the above-mentioned embodiment, so the detailed descriptions are omitted for conciseness.


In summary, the level-determining device of PWM signal and its method that determine high level or low level of the PWM signal in accordance with the voltage signal, which generated by the reference voltage generating circuit, by the determining circuit. The voltage signal can be adjusted in accordance with the requirement of different systems so that the level of the PWM signal is accurately determined. Compared to the prior art, the level-determining device and the method thereof have the advantage of preventing the level of the PWM signal from being misjudged.


Although the present invention has been described with reference to specific embodiments, this description is not meant to be construed in a limiting sense. Various modifications of the disclosed embodiments, as well as alternative embodiments, will be apparent to persons skilled in the art. It is, therefore, contemplated that the appended claims will cover all modifications that fall within the true scope of the present invention.

Claims
  • 1. A level-determining device of pulse width modulation (PWM) signal, comprising: a PWM signal generating circuit generating a first PWM signal;a reference voltage generating circuit generating a reference voltage signal; anda determining circuit electrically connected to the PWM signal generating circuit and the reference voltage generating circuit, and determining a level of the first PWM signal in accordance with the reference voltage signal for generating a second PWM signal.
  • 2. The level-determining device according to claim 1, wherein the determining circuit comprises a comparator.
  • 3. The level-determining device according to claim 1, wherein the determining circuit comprises an operational amplifier.
  • 4. The level-determining device according to claim 1, wherein the reference voltage generating circuit generates the reference voltage signal in accordance with a power signal input from exterior.
  • 5. The level-determining device according to claim 4, wherein the power signal is a voltage or a current.
  • 6. The level-determining device according to claim 5, wherein the reference voltage generating circuit comprises a voltage divider generating the reference voltage signal.
  • 7. The level-determining device according to claim 5, wherein the voltage divider comprises a first resistor and a second resistor.
  • 8. The level-determining device according to claim 5, wherein the reference voltage generating circuit comprises a resistor generating the reference voltage signal in accordance with the current.
  • 9. The level-determining device according to claim 1, wherein the PWM signal generating circuit is an analog circuit or a digital circuit.
  • 10. A level-determining method of PWM signal comprising steps of: generating a first PWM signal by a PWM signal generating circuit;generating a reference voltage signal by a reference voltage generating circuit; anddetermining a level of the first PWM signal in accordance with the reference voltage signal for generating a second PWM signal by a determining circuit.
  • 11. The level-determining method according to claim 10, further comprising a step of inputting a power signal into the reference voltage generating circuit.
  • 12. The level-determining method according to claim 11, wherein the reference voltage signal is generated by the power signal through a voltage divider or a resistor.
  • 13. The level-determining method according to claim 10, wherein the reference voltage signal and the first PWM signal are inputted into a comparator of the determining circuit for generating the second PWM signal.
  • 14. The level-determining method according to claim 10, wherein the reference voltage signal and the first PWM signal are inputted into an operating amplifier of the determining circuit for generating the second PWM signal.
  • 15. The level-determining method according to claim 10, wherein the PWM signal generating circuit is an analog circuit or a digital circuit.
Priority Claims (1)
Number Date Country Kind
095131980 Aug 2006 TW national