# US 9,354,261 B2 · Duty cycle detecting circuit for pulse width modulation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,354,261 B2
- Document ID: US9354261B2
- Status: Granted
- Kind: B2
- Application number: 14/101,641
- Filed: 2013-12-10
- Published: 2014-04-10
- Granted: 2016-05-31
- Earliest claimed: 2007-12-04
- Assignees: Priceplay Taiwan Inc.
- Applicants: dadny Inc.
- Inventors: Lu-Yueh Hsu
- Web page: https://patentgrep.com/patent/US9354261B2

## CPC

- G01R 23/02: Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
- G01R 29/0273: {the pulse characteristic being duration, i.e. width (indicating that frequency of pulses is above or below a certain limit)}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A duty cycle detecting circuit for pulse width modulation (PWM). The circuit includes a clock generating circuit, a sampling circuit and a calculation circuit. The clock generating circuit is for generating a clock signal. The sampling circuit receives a PWM signal and the clock signal, samples the PWM signal based on the clock signal, and generates a sampling signal. The calculation circuit is for calculating the duty cycle of the PWM signal based on the sampling signal.

## Claims

### Claim 1

A duty cycle detecting circuit for pulse width modulation, applied for detecting a duty cycle of a PWM signal, comprising:
a clock generating circuit arranged for generating a clock signal;
a sampling circuit, in communication with the clock generating circuit without any intermediate component, arranged for receiving the PWM signal and the clock signal, sampling the PWM signal based on the clock signal, and generating a sampling signal; and
a calculation circuit, in communication with the sampling circuit and the clock generating circuit without any intermediate component, arranged for calculating a frequency and the duty cycle of the PWM signal based on the sampling signal in a predetermined time period and adjusting a frequency of the clock signal by controlling the clock generating circuit according to the PWM signal frequency;
wherein the frequency of the clock signal is selected based on the frequency of the PWM signal such that the frequency of the clock signal equals to at least ten times of the frequency of the PWM signal;
wherein the sampling signal comprises a high electric potential state and a low electric potential state;
wherein the calculation circuit accumulates signal samples in high electric potential states and total signal samples respectively;
wherein the calculation circuit divides a number of signal samples in high electric potential states by a total number of signal samples to obtain the duty cycle.

### Claim 2 (depends on 1)

The duty cycle detecting circuit for pulse width modulation of claim 1, wherein the clock generating circuit is an oscillator.

### Claim 3 (depends on 1)

The duty cycle detecting circuit for pulse width modulation of claim 1, wherein the calculation circuit comprises:
a microprocessor unit for processing an operation required to calculate the duty cycle; and
a memory unit for storing a computer code required to calculate the duty cycle.

### Claim 4 (depends on 1)

The duty cycle detecting circuit for pulse width modulation of claim 1, wherein the sampling circuit comprises a flip-flop.

### Claim 5 (depends on 4)

The duty cycle detecting circuit for pulse width modulation of claim 4, wherein the calculation circuit comprises a counter for receiving the sampling signal and accumulating signal samples in a high electric potential states and signal samples in a low electric potential state respectively.

### Claim 6 (depends on 5)

The duty cycle detecting circuit for pulse width modulation of claim 5, wherein the calculation circuit further comprises a reset circuit for resetting the counter after counting a predetermined number of signal samples, so that the counter restarts accumulating signal samples in high electric potential states and signal samples in low electric potential states again.

### Claim 7 (depends on 5)

The duty cycle detecting circuit for pulse width modulation of claim 5, wherein the calculation circuit further comprises a divider for dividing a number of signal samples in high electric potential states by a sum of a number of signal samples in high electric potential states and a number of signal samples in low electric potential states to obtain the duty cycle.

### Claim 8 (depends on 7)

The duty cycle detecting circuit for pulse width modulation of claim 7, wherein the calculation circuit further comprises a reset circuit for resetting the counter after counting a predetermined number of signal samples, so that the counter restarts accumulating signal samples in high electric potential states and signal samples in low electric potential states again.

### Claim 9 (depends on 4)

The duty cycle detecting circuit for pulse width modulation of claim 4, wherein the calculation circuit further includes a counter for receiving the sampling signal and accumulating signal samples in a high electric potential states and total signal samples respectively.

### Claim 10 (depends on 9)

The duty cycle detecting circuit for pulse width modulation of claim 9, wherein the calculation circuit further comprises a reset circuit for resetting the counter after counting a predetermined number of signal samples, so that the counter restarts accumulating signal samples in high electric potential states and total signal samples again.

### Claim 11 (depends on 9)

The duty cycle detecting circuit for pulse width modulation of claim 9, wherein the calculation circuit further comprises a divider for dividing a number of signal samples in high electric potential states by a total number of signal samples to obtain the duty cycle.

### Claim 12 (depends on 11)

The duty cycle detecting circuit for pulse width modulation of claim 11, wherein the calculation circuit further comprises a reset circuit for resetting the counter after counting a predetermined number of signal samples, so that the counter restarts accumulating signal samples in high electric potential states and total signal samples again.
