Abstract A pulse width modulation apparatus having a storage circuit for temporarily storing pulse width data inputted over a data bus and then inverting it, the pulse width data determining a pulse width, a counting circuit for counting a clock signal in response to an external pulse width modulation enable signal and an external reset signal, a comparison circuit for comparing the number of logical 0 bits of the inverted pulse width data from the storage circuit with the number of logical 1 bits of count data from the counting circuit and outputting a high signal when the number of the logical 0 bits of the inverted pulse width data is greater than or equal to the number of the logical 1 bits of the count data and a low signal when the number of the logical 0 bits of the inverted pulse width data is smaller than the number of the logical 1 bits of the count data, and an output circuit for latching an output signal from the comparison circuit to output a pulse width modulation signal. Therefore, since the comparison of the pulse width data and the count data are performed only with PMOS and NMOS transistors of different current gains in the comparison circuit, the processing time can be reduced and the integration can be enhanced in manufacturing a single chip.
A pulse width modulation apparatus comprising: storage means for temporarily storing pulse width data inputted over a data bus and then inverting it, the pulse width data determining a pulse width; counting means for counting a clock signal in response to an external pulse width modulation enable signal and an external reset signal; comparison means for comparing the number of logical 0 bits of the inverted pulse width data from said storage means with the number of logical 1 bits of count data from said counting means and outputting a high signal when the number of the logical 0 bits of the inverted pulse width data is greater than or equal to the number of the logical 1 bits of the count data and a low signal when the number of the logical 0 bits of the inverted pulse width data is smaller than the number of the logical 1 bits of the count data; and output means for latching an output signal from said comparison means to output a pulse width modulation signal.
Claim 2
Dependent Claim
174 words
A pulse width modulation apparatus comprising: storage means for temporarily storing pulse width data inputted over a data bus and then inverting it, the pulse width data determining a pulse width; counting means for counting a clock signal in response to an external pulse width modulation enable signal and an external reset signal; comparison means for comparing the number of logical 0 bits of the inverted pulse width data from said storage means with the number of logical 1 bits of count data from said counting means and outputting a high signal when the number of the logical 0 bits of the inverted pulse width data is greater than or equal to the number of the logical 1 bits of the count data and a low signal when the number of the logical 0 bits of the inverted pulse width data is smaller than the number of the logical 1 bits of the count data; and output means for latching an output signal from said comparison means to output a pulse width modulation signal.
Claim 3
Dependent Claim
43 words
A pulse width modulation apparatus as set forth in claim 1, wherein said storage means includes: a register for temporarily storing the pulse width data inputted over the data bus; and an inverting circuit for inverting the pulse width data from said register.
Claim 4
Dependent Claim
105 words
A pulse width modulation apparatus as set forth in claim 1, wherein said comparison means includes: a plurality of PMOS transistors, each being turned on in response to a corresponding one of the logical 0 bits of the inverted pulse width data from said storage means; a plurality of NMOS transistors having sources connected to drains of said PMOS transistors, said NMOS transistors being turned on in response to the corresponding logical 1 bits of the data from said counting means to transfer source currents of said PMOS transistors to the drains thereof; and a buffering circuit for wave-shaping output signals from said PMOS transistors.
Claim 5
Dependent Claim
67 words
A pulse width modulation apparatus as set forth in claim 1, wherein said output means includes: an inverter for inverting the output signal from said comparison means; and a flip-flop for performing a latching operation for the output signal from said comparison means in response to the output signal from said comparison means and an output signal from said inverter to output the pulse width modulation signal.