# US 7,411,525 B2 · Sampling rate converting method and circuit

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

- Number: US 7,411,525 B2
- Document ID: US7411525B2
- Status: Granted
- Kind: B2
- Application number: 11/500,971
- Filed: 2006-08-09
- Published: 2007-03-01
- Granted: 2008-08-12
- Earliest claimed: 2005-08-30
- Assignees: Oki Electric Industry Co., Ltd.
- Inventors: Takaaki Hirano
- Web page: https://patentgrep.com/patent/US7411525B2

## CPC

- H03H 17/0621: {with input-sampling frequency and output-delivery frequency which differ, e.g. extrapolation; Anti-aliasing}
- H03H 17/0628: {the input and output signals being derived from two separate clocks, i.e. asynchronous sample rate conversion}
- H03H 2218/06: Multiple-input, multiple-output [MIMO]; Multiple-input, single-output [MISO]
- H03H 2218/08: Resource sharing
- H03H: IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS (waveguides, resonators, lines or other devices of the waveguide type H01P)

## Abstract

A sampling rate converting circuit receives plural pieces of input data having different sampling frequencies. A plurality of FIR circuits is shared to reduce a circuit area, and, in a case where a magnification ratio of an input frequency and an output frequency is not an integer, signal deterioration due to resampling is solved. An oversampling component performs oversampling on input data Fs1 and outputs output data Fs′. An input timing timer calculates an input/input time based on an input timing signal CK1. An output timing timer and an accumulator calculate an input/output time based on an output timing signal CK′ and the input timing signal CK1 and multiplies the input/output time by an oversampling multiple W to obtain a multiplied result. A divider divides the multiplied result by the input/input time to obtain a sampling position. A coefficient generator generates a filter coefficient based on the sampling position and supplies the filter coefficient to a multiplier.

## Claims

### Claim 1

A sampling rate converting method comprising:
an oversampling step of storing input data among the input data and an input timing signal synchronized with the input data in a memory, multiplying the data stored in the memory by a filter coefficient to obtain a first multiplied result, accumulating the first multiplied result to obtain the accumulated result, storing the accumulated result in the memory again, and externally outputting the accumulated result, in which the frequency of the input data is oversampled, as output data;
an input/input time calculating step of calculating an input/input time, which is an interval of the input timing signal, based on the input timing signal;
a multiplied result calculating step of calculating an input/output time from an input of the input timing signal to an output of the output timing signal based on the output timing signal and the input timing signal of the output data and multiplying the input/output time by an oversampling multiple to obtain a second multiplied result;
a dividing step of dividing the second multiplied result by the input/input time to obtain a sampling position; and
a coefficient generating step of generating the filter coefficient based on the sampling position and supplying the filter coefficient to the oversampling step.

### Claim 2 (depends on 1)

The sampling rate converting method according to claim 1, wherein, in the input/input time calculating step, the input timing signal is timed by an input timing timer to obtain the input/input time which is the interval of the input timing signal, and, in the multiplied result calculating step, the input/output time is timed by an output timing timer to obtain the second multiplied result by a multiplier.

### Claim 3 (depends on 1)

The sampling rate converting method according to claim 1, wherein, in the input/input time calculating step, the input timing signal is timed by an input timing timer to obtain the input/input time which is the interval of the input timing signal, in the multiplied result calculating step, using an accumulator reset by the input timing signal, an adder for adding the accumulated result of the accumulator and the oversampling multiple to obtain the second multiplied result, and a first selector, a first subtracted result is selected by the first selector to be accumulated to the accumulator when the second multiplied result is larger than the input/input time, and the second multiplied result is selected by the first selector to be accumulated to the accumulator when the second multiplied result is smaller than the input/input time, and, in the dividing step, the input/input time is subtracted from the second multiplied result by a first subtractor to obtain the first subtracted result, the subtraction number of the first subtractor is counted by a counter reset by the output timing signal to obtain a count value when the second multiplied result is larger than the input/input time, and the count value is held based on the output timing signal to output the sampling position.

### Claim 4 (depends on 3)

The sampling rate converting method according to claim 3, further comprising a step of subtracting the input/input time from the first subtracted result by a second subtractor to obtain a second subtracted result and counting the subtraction number by the counter, and a process of selecting the second subtracted result by the second selector and accumulating the second subtracted result to the accumulator when the first subtracted result is larger than the input/input time and selecting output data of the first selector by the second selector and accumulating the output data to the accumulator when the first subtracted result is smaller than the input/input time.

### Claim 5 (depends on 1)

The sampling rate converting method according to any one of claim 1, wherein a sampling rate converting step is performed in a time division fashion when plural pieces of input data and a plurality of input timing signals synchronized with the input data.

### Claim 6 (depends on 2)

The sampling rate converting method according to any one of claim 2, wherein a sampling rate converting step is performed in a time division fashion when plural pieces of input data and a plurality of input timing signals synchronized with the input data.

### Claim 7 (depends on 3)

The sampling rate converting method according to any one of claim 3, wherein a sampling rate converting step is performed in a time division fashion when plural pieces of input data and a plurality of input timing signals synchronized with the input data.

### Claim 8 (depends on 4)

The sampling rate converting method according to any one of claim 4, wherein a sampling rate converting step is performed in a time division fashion when plural pieces of input data and a plurality of input timing signals synchronized with the input data.

### Claim 9

A sampling rate converting circuit comprising:
an oversampling component which stores input data among the input data and an input timing signal synchronized with the input data in a memory, multiplies the data stored in the memory by a filter coefficient to obtain a first multiplied result, accumulates the first multiplied result to obtain the accumulated result, stores the accumulated result in the memory again, and externally outputs the accumulated result, in which the frequency of the input data is oversampled, as output data;
an input/input time calculating component which calculates an input/input time, which is an interval of the input timing signal, based on the input timing signal;
a multiplied result calculating component which calculates an input/output time from an input of the input timing signal to an output of the output timing signal based on the output timing signal and the input timing signal of the output data and multiplies the input/output time by an oversampling multiple to obtain a second multiplied result;
a dividing component which divides the second multiplied result by the input/input time to obtain a sampling position; and
a coefficient generating component which generates the filter coefficient based on the sampling position and supplies the filter coefficient to the oversampling component.

### Claim 10 (depends on 9)

The sampling rate converting circuit according to claim 9, wherein the input/input time calculating component includes an input timing timer which times the input timing signal to obtain the input/input time which is the interval of the input timing signal, and the multiplied result calculating component includes an output timing timer which times the input/output time and a multiplier which obtains the second multiplied result.

### Claim 11 (depends on 9)

The sampling rate converting circuit according to claim 9, wherein the input/input time calculating component includes an input timing timer which times the input timing signal to obtain the input/input time which is the interval of the input timing signal and a first register which holds the input/input time based on the input timing signal, the multiplied result calculating component includes an accumulator reset by the input timing signal, an adder for adding the accumulated result of the accumulator and the oversampling multiple to obtain the second multiplied result, and a first selector for selecting a first subtracted result to accumulate the first subtracted result to the accumulator when the second multiplied result is larger than the input/input time and selecting the second multiplied result to accumulate the second multiplied result to the accumulator when the second multiplied result is smaller than the input/input time, and the dividing component includes a first subtractor for subtracting the input/input time from the second multiplied result to obtain the first subtracted result, a counter reset by the output timing signal and counting the subtraction number of the first subtractor to obtain a count value when the second multiplied result is larger than the input/input time, and a second register for holding the count value based on the output timing signal to output the sampling position.

### Claim 12 (depends on 11)

The sampling rate converting circuit according to claim 11, further comprising a second subtractor which subtracts the input/input time from the first subtracted result to obtain a second subtracted result and allows the counter to count the subtraction number, and a second selector which selects the second subtracted result and accumulates the second subtracted result to the accumulator when the first subtracted result is larger than the input/input time and selects output data of the first selector and accumulates the output data to the accumulator when the first subtracted result is smaller than the input/input time.

### Claim 13 (depends on 9)

The sampling rate converting circuit according to claim 9, wherein a sampling rate conversion is performed in a time division fashion when plural pieces of input data and a plurality of input timing signals synchronized with the input data.

### Claim 14 (depends on 10)

The sampling rate converting circuit according to claim 10, wherein a sampling rate conversion is performed in a time division fashion when plural pieces of input data and a plurality of input timing signals synchronized with the input data.

### Claim 15 (depends on 11)

The sampling rate converting circuit according to claim 11, wherein a sampling rate conversion is performed in a time division fashion when plural pieces of input data and a plurality of input timing signals synchronized with the input data.

### Claim 16 (depends on 12)

The sampling rate converting circuit according to claim 12, wherein a sampling rate conversion is performed in a time division fashion when plural pieces of input data and a plurality of input timing signals synchronized with the input data.
