Sample rate converter and method of converting sample rate
First Claim
1. A sample rate converter, comprising:
- a data delay unit configured to delay signals in response to an input clock signal;
a clock rate conversion unit comprising a memory, the clock rate conversion unit configured to convert a sample rate of the signals;
a Lagrange polynomial filter unit configured to perform, using a Lagrange polynomial, a filtering function on the signals whose rate has been converted;
a resample position calculation unit configured to output a value of a resample position of the signals based on a set resample ratio value, the value of the resample position comprising an integer value and a factional value; and
a resample position compensation unit configured to;
correct an error value of the signals generated due to non-integer multiple sample rate conversion by applying the value of the resample position to the signals; and
output a final signal;
wherein converting the sample rate of the signals includes (i) storing the signals in the memory, and (ii) sampling, using the integer value of the value of the resample position as a memory address of the memory, the signals stored in the memory, andwherein the resample position compensation unit includes a resample ratio error estimation unit configured to determine that an error is present in a received resample ratio when a first change point generated according to the integer value of the value of the resample position is not equal to a second change point generated according to the input clock and an output clock.
1 Assignment
0 Petitions
Accused Products
Abstract
A sample rate converter and a method of converting a sample rate are disclosed herein. The sample rate converter includes a data delay unit, a clock rate conversion unit, a Lagrange polynomial filter unit, a resample position calculation unit, and a resample position compensation unit. The data delay unit delays signals in response to an input clock signal. The clock rate conversion unit converts the sample rate of the signals. The Lagrange polynomial filter unit performs a filtering function on the signals whose rate has been converted. The resample position calculation unit outputs the value (Dint, dfrac) of the resample position of the signals based on a set resample ratio value. The resample position compensation unit corrects the error value of the signals by applying the value (Dint, dfrac) to the signals, and outputs a final signal.
6 Citations
13 Claims
-
1. A sample rate converter, comprising:
-
a data delay unit configured to delay signals in response to an input clock signal; a clock rate conversion unit comprising a memory, the clock rate conversion unit configured to convert a sample rate of the signals; a Lagrange polynomial filter unit configured to perform, using a Lagrange polynomial, a filtering function on the signals whose rate has been converted; a resample position calculation unit configured to output a value of a resample position of the signals based on a set resample ratio value, the value of the resample position comprising an integer value and a factional value; and a resample position compensation unit configured to; correct an error value of the signals generated due to non-integer multiple sample rate conversion by applying the value of the resample position to the signals; and output a final signal; wherein converting the sample rate of the signals includes (i) storing the signals in the memory, and (ii) sampling, using the integer value of the value of the resample position as a memory address of the memory, the signals stored in the memory, and wherein the resample position compensation unit includes a resample ratio error estimation unit configured to determine that an error is present in a received resample ratio when a first change point generated according to the integer value of the value of the resample position is not equal to a second change point generated according to the input clock and an output clock. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A sample rate converter comprising:
-
a data delay unit configured to delay signals in response to an input clock signal; a clock rate conversion unit configured to convert a sample rate of the signals; a Lagrange polynomial filter unit configured to perform, using a Lagrange polynomial, a filtering function on the signals whose rate has been converted; a resample position calculation unit configured to output a value of a resample position of the signals based on a set resample ratio value; and a resample position compensation unit configured to; correct an error value of the signals generated due to non-integer multiple sample rate conversion by applying the value of the resample position to the signals; and output a final signal; wherein the value of the resample position comprises an integer value and a factional value, wherein the resample position calculation unit outputs the value of the resample position used to estimate the resample position based on the value of the resample ratio indicative of a ratio of the input clock to an output clock, and wherein the resample position calculation unit comprises; a resample ratio error compensation unit configured to; estimate an error between a received resample ratio and an actual operation clock ratio; update the resample ratio value; and compensate for a cumulative error corresponding to the updated resample ratio value; and a resample rate calculation unit configured to; receive a value estimated by the resample ratio error compensation unit; and output the value of the resample position in accordance with an output sample rate. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A method of converting a sample rate, comprising:
-
sequentially storing input signals, sampled at an input clock rate, in a memory of a clock rate conversion unit; outputting, by a resample position calculation unit, a value of a resample position of the signals based on a set resample ratio value, the value of the resample position comprising an integer value and a fractional value; sampling, by the clock rate conversion unit, the signals stored in the memory, the sampling being performed at an output clock rate and using an integer value of the resample position as an address of the memory; and correcting, by a resample position compensation unit, an error value of the signals attributable to non-integer multiple sample rate conversion by applying the value of the resample position to the signals, wherein correcting, by the resample position compensation unit, the error value of the signal attributable to the non-integer multiple sample rate conversion by applying the value of the resample position to the signal comprises minimizing an influence of a phase offset generated between asynchronous clocks by predicting a location of the memory in which the signals to be sampled are stored and a resample position of the signal through calculation of a cumulative value of a received resample ratio. - View Dependent Claims (12, 13)
-
Specification