×

Microprocessor having timer circuit generating complementary non-overlapped PWM signals

  • US 5,933,344 A
  • Filed: 03/13/1996
  • Issued: 08/03/1999
  • Est. Priority Date: 03/20/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. A circuit in a single chip microcomputer, comprising:

  • a first register storing a first value;

    a second register storing a second value larger than the first value;

    a third register storing a third value larger than the second value, wherein the difference between the second value and the third value corresponds to the first value;

    a first counter receiving clock signals, wherein the first counter generates a count value by counting up and down between the first value and the third value by counting the clock signals;

    a second counter receiving the clock signals, wherein the second counter generates a count value by counting up and down between a fourth value smaller than the first value and the second value by counting the clock signals, wherein the difference between the first value and the fourth value corresponds to the first value, wherein the difference between the count value of the first counter and the count value of the second counter corresponds to the first value, wherein the second counter counts up when the first counter counts up, and wherein the second counter counts down when the first counter counts down;

    a third counter receiving the clock signals, wherein the third counter generates a count value by counting up and down between the first value and the fourth value and between the third value and the second value by counting the clock signals, wherein the third counter begins to count down from the third value when the count value of the first counter matches the second value, wherein the third counter begins to count up from the second value when the count value of the second counter matches the second value, wherein the third counter begins to count up from the fourth value when the count value of the second counter matches the first value, and wherein the third counter begins to count down from the first value when the count value of the first counter matches the first value;

    a fourth register storing a fifth value between the fourth value and the third value;

    an up-down control circuit coupled to the first, second and third counters and controlling up and down counting of the first, second and third counters;

    a compare circuit, wherein the compare circuit compares the fifth value with the respective count values of the first and second counters when the fifth value is between the first value and the second value, wherein the compare circuit compares the fifth value with the respective count values of the first counter counting up and the third counter counting up or with the respective count values of the first counter counting down and the third counter counting down when the fifth value is larger than the second value, and wherein the compare circuit compares the fifth value with the respective count values of the second counter counting down and the third counter counting down or with the respective count values of the second counter counting up and the third counter counting up when the fifth value is smaller than the second value, wherein complementary non-overlapped PWM signals are generated.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×