# US 2015/0145585 A1 · Sample Rate Converter and Rate Estimator Thereof and Rate Estimation Method Thereof

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

- Number: US 2015/0145585 A1
- Document ID: US20150145585A1
- Status: Published application
- Kind: A1
- Application number: 14/498,604
- Filed: 2014-09-26
- Published: 2015-05-28
- Earliest claimed: 2013-11-26
- Assignees: Richtek Technology Corporation
- Inventors: Kuo-Shih Tsai; Tsung-Nan Wu
- Web page: https://patentgrep.com/patent/US20150145585A1

## CPC

- H03H 17/0628: {the input and output signals being derived from two separate clocks, i.e. asynchronous sample rate conversion}
- H03H 17/028: {Polynomial filters}
- H03H 17/0422: {the input and output signals being derived from two separate clocks, i.e. asynchronous sample rate conversion}
- H03H: IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS (waveguides, resonators, lines or other devices of the waveguide type H01P)

## Abstract

A sample rate converter receives an input signal with an input sample rate, and generates an output signal with an output sample rate. The sample rate converter includes: a rate estimator, a polynomial interpolation calculation circuit, an up sampling filter, and a down sampling filter. The rate estimator includes: a subtractor, which generates an error signal according to an input clock signal and a second order rate signal; a first order integrator, which generates a first order rate signal according to the error signal; and a second order integrator, which generates the second order rate signal according to the first order rate signal.

## Claims

### Claim 1

A sample rate converter for receiving an input signal with an input sample rate and generating an output signal with an output sample rate, the sample rate converter comprising:
a rate estimator, for receiving an input clock signal and an output clock signal, and generating a rate signal, wherein the input clock signal corresponds the input sample rate and the output clock signal corresponds to the output sample rate, and wherein the rate signal is related to the input sample rate and the output sample rate;
a polynomial interpolation calculation circuit, which is coupled to the rate estimator, for generating a polynomial interpolation signal according to a conversion data signal and the rate signal;
an up sampling filter, which is coupled to the polynomial interpolation calculation circuit, for generating the conversion data signal according to the input signal; and
a down sampling filter, which is coupled to the polynomial interpolation calculation circuit, for generating the output signal according to the polynomial interpolation signal;
wherein the rate estimator includes:
a subtractor, for generating an error signal according to the input clock signal and a second order rate signal;
a first order integrator, which is coupled to the subtractor, for generating a first order rate signal according to the error signal; and
a second order integrator, which is coupled to the first order integrator, for generating the second order rate signal according to the first order rate signal.

### Claim 2 (depends on 1)

The sample rate converter of claim 1, wherein the rate estimator further includes an input integrator, which is coupled to the subtractor, for receiving the input clock signal to generate a normalization signal which is inputted to the subtractor.

### Claim 3 (depends on 1)

The sample rate converter of claim 1, wherein the rate estimator further includes an interception circuit, which is coupled to the subtractor, for receiving the second order rate signal to generate the rate signal.

### Claim 4 (depends on 2)

The sample rate converter of claim 2, wherein the first order integrator converts the error signal to the first order rate signal according to an equation listed below:
Ti
=
[
K
P
+
K
I
1
-
z
-
1
]

(
1
-
Σ


T
)
wherein Ti is the first order rate signal, Kp is a ratio gain, KI is an integration gain, z is a z-transformation constant, 1−ΣT is the error signal, and ΣT is the second order rate signal.

### Claim 5 (depends on 2)

The sample rate converter of claim 2, wherein the second order integrator converts the first order rate signal to the second order rate signal according to an equation listed below:
Σ


T
=
Ti
×
1
1
-
z
-
1
wherein Ti is the first order rate signal, z is a z-transformation constant, and ΣT is the second order rate signal.

### Claim 6 (depends on 1)

The sample rate converter of claim 1, wherein the first order integrator includes:
a first multiplier, which is coupled to the subtractor, for multiplying the error signal with a ratio gain to generate a ratio rate signal;
a second multiplier, which is coupled to the subtractor, for multiplying the error signal with an integration gain to generate an integration rate signal;
an adder, which is coupled to the first multiplier, for generating the first order rate signal according to the ratio rate signal and the integration rate signal; and
a switch, which is coupled to the second order integrator, for determining whether or not to deliver the first order rate signal to the first order integrator according a switch control signal.

### Claim 7

A rate estimator of a sample rate converter, wherein the sample rate converter is for receiving an input signal with an input sample rate and generating an output signal with an output sample rate, and the rate estimator is for receiving an input clock signal and an output clock signal, and generating a rate signal, wherein the input clock signal corresponds to the input sample rate and the output clock signal corresponds to the output sample rate, and the rate signal is related to the input sample rate and the output sample rate, the rate estimator comprising:
a substractor, for generating an error signal according to the input clock signal and a second order rate signal;
a first order integrator, which is coupled to the subtractor, for generating a first order rate signal according to the error signal; and
a second order integrator, which is coupled to the first order integrator, for generating the second order rate signal according to the first order rate signal.

### Claim 8 (depends on 7)

The rate estimator of claim 7, further comprising an input integrator, which is coupled to the subtractor, for receiving the input clock signal to generate a normalization signal which is inputted to the subtractor.

### Claim 9 (depends on 7)

The rate estimator of claim 7, wherein the rate estimator further includes an interception circuit, which is coupled to the subtractor, for receiving the second order rate signal to generate the rate signal.

### Claim 10 (depends on 8)

The rate estimator of claim 8, wherein the first order integrator converts the error signal to the first order rate signal according to an equation listed below:
Ti
=
[
K
P
+
K
I
1
-
z
-
1
]

(
1
-
Σ


T
)
wherein Ti is the first order rate signal, Kp is a ratio gain, KI is an integration gain, z is a z-transformation constant, 1−ΣT is the error signal, and ΣT is the second order rate signal.

### Claim 11 (depends on 8)

The rate estimator of claim 8, wherein the second order integrator converts the first order rate signal to the second order rate signal according to an equation listed below:
Σ


T
=
Ti
×
1
1
-
z
-
1
wherein Ti is the first order rate signal, z is a z-transformation constant, and ΣT is the second order rate signal.

### Claim 12 (depends on 7)

The rate estimator of claim 7, wherein the first order integrator includes:
a first multiplier, which is coupled to the subtractor, for multiplying the error signal with a ratio gain to generate a ratio rate signal;
a second multiplier, which is coupled to the subtractor, for multiplying the error signal with an integration gain to generate an integration rate signal;
an adder, which is coupled to the first multiplier, for generating the first order rate signal according to the ratio rate signal and the integration rate signal; and
a switch, which is coupled to the second order integrator, for determining whether or not to deliver the first order rate signal to the first order integrator according a switch control signal.

### Claim 13

A rate estimation method of a rate estimator of a sample rate converter, wherein the sample rate converter is for receiving an input signal with an input sample rate, and generating an output signal with an output sample rate, and the rate estimator is for receiving an input clock signal and an output clock signal, and generating a rate signal, wherein the input clock signal corresponds to the input sample rate and the output clock signal corresponds to the output sample rate, and the rate signal is related to the input sample rate and the output sample rate, the rate estimation method comprising:
generating an error signal according to the input clock signal and a second order rate signal;
generating a first order rate signal according to the error signal; and
generating the second order rate signal according to the first order rate signal.

### Claim 14 (depends on 13)

The rate estimation method of claim 13, wherein the step of generating the error signal according to the input clock signal and the second order rate signal further includes: generating a normalization signal according to the input clock signal.

### Claim 15 (depends on 13)

The rate estimation method of claim 13, further comprising: generating the rate signal according to the second order rate signal.

### Claim 16 (depends on 14)

The rate estimation method of claim 14, wherein the step of generating the first order rate signal according to the error signal converts the error signal to the first order rate signal according to an equation listed below:
Ti
=
[
K
P
+
K
I
1
-
z
-
1
]

(
1
-
Σ


T
)
wherein Ti is the first order rate signal, Kp is a ratio gain, KI is an integration gain, z is a z-transformation constant, 1−ΣT is the error signal, and ΣT is the second order rate signal.

### Claim 17 (depends on 14)

The rate estimation method of claim 14, wherein the step of generating the second order rate signal according to the first order rate signal converts the first order rate signal to the second order rate signal according to an equation listed below:
Σ


T
=
Ti
×
1
1
-
z
-
1
wherein Ti is the first order rate signal, z is a z-transformation constant, and ΣT is the second order rate signal.

### Claim 18 (depends on 13)

The rate estimation method of claim 13, wherein the step of generating the error signal according to the input clock signal and the second order rate signal includes:
multiplying the error signal with a ratio gain to generate a ratio rate signal;
multiplying the error signal with an integration gain to generate an integration rate signal;
generating the first order rate signal according to the ratio rate signal and the integration rate signal; and
determining whether or not to deliver the first order rate signal to the first order integrator according a switch control signal.
