This application is a U.S. national phase application of PCT International Application PCT/JP02/12460.
Methods of the present invention use a carrier for which reflection is not substantially strong, the carrier being applied to a modulation and demodulation apparatus using quadrature magnitude modulation of a plurality of sub-carriers for transmission of digital data therebetween.
Typical methods for transmitting data use a number of sub-carriers which are modulated by quadrature magnitude modulation, and applied, for example, to QAM of digital cable TV, to DSL of a metal twist-pair, etc. These methods concentrate on the frequency of each carrier. These methods demodulate the signal by applying, for example, a digital filter or FFT and use an impulse response result as coefficients of a filter. For this reason it takes a comparatively long time to detect the amplitude of a carrier because the methods perform detection until there appears to be a same continuous wave form.
The present invention relates to a modulation and demodulation system. The system uses n sub-carrier frequencies and an oversampling positive integer and includes a modulation circuit and a demodulation circuit. The modulation circuit includes a modulation ROM that stores columns of elements independently in a modulation ROM matrix. The demodulation circuit includes 2n numbers of a ROM1 that stores elements of a combined matrix. The combined matrix is generated by combining a number of inverse matrices where the inverse matrices are generated from the modulation ROM.
To detect accurate results from a modulated signal, a demodulation circuit, such as a digital filter or an FFT, concentrates independently on the frequency of each sub-carrier and increases the number of waveforms, also causing difficulty with the transmission speed. In order to provide a high transmission speed, for example, the number of carriers is increased to reach a high frequency, so as to greatly decrease the transmission distance.
According to aspects of the present invention, the demodulation circuit does not concentrate independently on the frequency of each sub-carrier but, instead, analyzes the modulated data consisting of an amount of quadrature amplitude modulation of each sub-carrier. Construction of the modulated data is seen as simultaneous linear equations defining an unknown amplitude of each sub-carrier. The amplitude of each sub-carrier is determined by solving the simultaneous linear equations. Because simultaneous linear equations can be solved when the number of unknown variables is equal to the number of each equation, ideally, thus the number of data may be exchanged by an equal number of modulated data. According to the present invention, a circuit method uses simultaneous linear equations that are solved in modulation and demodulation circuits.
Determine of an amount of quadrature modulation of a plurality of sub-carriers is described below using matrix mathematics.
A square matrix is constructed of an equal number of rows and columns that is two times a number of sub-carrier frequencies and uses sine and cosine waves that are each a function of one frequency. The elements of the matrix, defined herein as a modulation matrix, are values of a trigonometric function. A row (i.e., a line) of the modulation matrix corresponds to a number of sampling for which the interval is equal to a DA converter frequency. A column of the modulation matrix corresponds to a sub-carrier which is sine or cosine of a carrier frequency. The product of this modulation matrix and a modulation data matrix (the modulation data matrix being one column and responding to each sub-carrier) is determined and is converted by a DA converter to an analog output, respectively. The rows of the modulation matrix are arranged according to a DA converting number and is the sine or cosine value of the carrier frequency. The product of this modulation matrix and the one column modulation data matrix provides a sum of the product of the sine or cosine value at every row and the modulation data specified to the sub-carrier, and becomes modulated data for the DA converter input of every interval. Thus, quadrature modulation is described as simultaneous linear equations.
From the view of the demodulation side about this equation, the modulated data is the received data detected by AD converter, where the modulation data is unknown. As there are unknown modulation data of two times the number of kinds of carrier frequency, a number of equations are formed corresponding to two times the number of carrier frequencies. Therefore the simultaneous linear equations can be solved. At the demodulation side, the sampling frequency of the AD converter is adjusted to the sampling frequency of the DA converter of the modulation side, and similar data as modulated data is obtained from AD converter. The demodulated data is obtained from the product of received data matrix from the AD converter and an inverse matrix of modulation matrix (defined herein as the demodulation matrix). In addition, over-sampling is implemented. A number of over-sampling modulation matrices are generated, and a number of demodulation matrices, which are the inverse matrix of modulation matrix, are formed as the number of over-sampling demodulation matrices. The over-sampling modulation matrix is composed by inserting each row in an over-sampling order position, and the over-sampling demodulation matrix is composed by a similar method of insertion. When modulation uses this over-sampling modulation matrix and demodulation uses this over-sampling demodulation matrix, then an over-sampling number times the demodulated data is obtained. When modulation uses this over-sampling modulation matrix and demodulation uses individual inverse matrices, then the same numbers of over-sampling demodulated data are obtained.
Next, the above theory is described using mathematical equations.
The modulation matrix includes:
and, the angle of sine and cosine in the element of row number i is:
Therefore, the element of modulation matrix Fj(i) is described as:
The size of the modulation matrix is 2αn rows and 2n columns.
The size of the modulation matrix is 2αn lines and 2n columns.
The size of the modulation data matrix is 2n lines and one column, where each element is described as xj because the line number of the modulation data matrix is related to the column number of the modulation matrix, to relate each modulation data to the sub-carrier of sine and cosine individually. The equation of quadrature modulation is described as the product of the modulation matrix and the modulation data matrix. The size of modulated data matrix, which is the product of the modulation matrix and the modulation data matrix, is 2αn lines and one column, and the element of modulated data matrix is described as di according to the line number of modulation matrix. As the element of modulated data matrix di is the amount of quadrature modulation of each sub-carrier at every sampling time, the equation of modulation is described by a matrix as:
(Fj(i))×(xj)=(di)
and this equation is described by elements as:
This equation of modulation is described by simultaneous linear equations as:
F1(1)x1+F2(1)x2+F3(1)x3+ . . . +F2n−1(1)x2n−1+F2n(1)x2n=d1
F1(2)x1+F2(2)x2+F3(2)x3+ . . . +F2n−1(1)x2n−1+F2n(2)x2n=d2
F1(3)x1+F2(3)x2+F3(3)x3+ . . . +F2n−1(3)x2n−1+F2n(3)x2n=d3
.
.
.
F1(2αn)x1+F2(2αn)x2+F3(2αn)x3+ . . . +F2n−1(2αn)x2n−1+F2n=d2αn
Depending on the simultaneous linear equations, the product of initially determined Fj(i) and modulation data xi related by j, are summed together through all j, resulting in di as the input data to the DA converter at sampling number i, which is converted to an analog output. The input data di can be obtained by multiplying and accumulating in every sampling interval.
The receiving side is next described. The matrix of which elements (Fr0,2p+s(q)) are obtained from the modulation matrix by implementing the over-sampling order number r=r0, is represented as:
The first line of this matrix is the first r0 line of modulation matrix, and the other line is obtained from the modulation matrix every α line from r0 to construct 2n lines.
The first line of the related modulated data matrix is the first r0 line of the modulated data matrix and the other line is obtained from the modulated data matrix every α line from r0 to construct 2n lines, and of which element dr0,q is described as:
dr0,q=d(αq+r0)
The modulation equation of the above matrix obtained by sampling order r0 is described in matrix form as:
(Fr0,2p+s(q))×(x2p+s)=(dr0,q)
This above equation is described by elements as:
The above equation is described by simultaneous linear equations as:
Fr0,1(0)x1+Fr0,2(0)x2+Fr0,3(0)x3+ . . . Fr0,2n−1(0)x2n−1+Fr0,2n(0)x2n=dr0,0
Fr0,1(1)x1+Fr0,2(1)x2+Fr0,3(1)x3+ . . . Fr0,2n−1(1)x2n−1+Fr0,2n(1)x2n=dr0,1
.
.
.
Fr0,1(2n−1)x1+Fr0,2(2n−1)x2+Fr0,3(2n−1)x3+ . . . Fr0,2n−1(2n−1)x2n−1+Fr0,2n(2n−1)x2n=dr0,2n−1
In these simultaneous linear equations, dr0,0˜dr0,2n−1 are similarly obtained as receiving data by an AD converter. For the demodulation side to detect the modulation data x1˜x2n, the inverse matrix of the modulation matrix of which element is (Fr0,2p+s(q)) is applied to solving these simultaneous linear equations. The elements of the inverse matrix of the modulation matrix is described as Gr0,j(q).
Mathematically, the size of the receiving data matrix is one column matrix. Regarding the construction of the inverse matrix, the line number relates to the column number of the modulation matrix, and the column number relates to the line number of the modulation matrix such that it appears to be a suffix exchange of the line and the column. Therefore:
This equation is described by simultaneous linear equations as:
Gr0,1(0)dr0,0+Gr0,1(1)dr0,1+Gr0,1(2)dr0,2+ . . . Gr0,1(2n−2)dr0,2n−2+Gr0,1(2n−1)dr0,2n−1=x1
Gr0,2(0)dr0,0+Gr0,2(1)dr0,2+Gr0,2(2)dr0,2+ . . . Gr0,2(2n−2)dr0,2n−2+Gr0,2(2n−1)dr0,2n−1=x2
Gr0,2n(0)dr0,0+Gr0,2n(1)dr0,1+Gr0,2n(2)dr0,2+Gr0,2n(2n−2)dr0,2n−2+Gr0,2n(2n−1)dr0,2n−1=x2n
According to these simultaneous linear equations, the inverse matrix of the matrix, which is obtained by the same over-sampling number line from the over-sampling modulation matrix, and the received data from the AD converter at every r0 sampling interval, are multiplied and summed together by two times the number of carrier frequency accumulators, continuously until the end of one frame of modulation. Then the demodulated data of all sub-carriers are obtained.
As the number of over-sampling is α, a number of α inverse matrices are generated from the modulation matrix and the number of α types of demodulated data are obtained by this operation. When demodulation starts from the first line of demodulation matrix synchronized to the received data of the first line of modulation matrix, α types of demodulated data are equal one after another because there is only one type of modulation data. When demodulation starts from several sampling later than the first line of the demodulation matrix but not over α sampling, the number of the same demodulation data decreases according to the number of the several sampling delay. When demodulation starts from over a sampling after the first line of demodulation matrix, no same demodulation data is obtained because the one frame time belonging to the one operation of the demodulation matrix is spread to a two frame time belonging to first modulated data matrix and the next modulated data matrix. Thus, the received data is constructed by the first modulation data and the next modulation data. This property is applied to synchronization of modulation and demodulation. The matrix is created where each column is picked up from one column of demodulation matrix and is constructed from another other column by shifting one over-sampling interval from each other to the end of the line number of demodulation matrix. The demodulation operation is applied to any received data from the AD converter by this shifted matrix, and a synchronization point is found by the column numbers of the same demodulated data.
The meaning of demodulation, which uses the matrix composed of lines from the over-sampling number of inverse matrices placed at a proper over-sampling timing under the condition of synchronizing with modulation, is that there are an over-sampling number of simultaneous linear equations, and an over-sampling number of same modulated data are solved. The products of the over-sampling demodulation matrix and the receiving data matrix from the AD converter are summed together, and an over-sampling number times of similar modulated data are obtained, contributing to a reduction of electrical circuits of multipliers and accumulators.
Next an adjusting method is described.
Distortion is generated by parameters of a communication line such as a twist-pair between terminals, and/or is generated by a sampling timing difference between the DA converter and the AD converter. The distortion should be adjusted to obtain the correct demodulated data. Before practical communication is performed, using decided parameters of the communication line or DA or AD converter, test communication is done to get adjust the parameters.
Modulation data of sub-carrier frequency number p are x2p+1 for cosine and x2p+2 for sine. The phase of these waves are shifted by θp in the receiving data by the parameter of communication line or a sampling timing difference of DA and AD converter.
The phase shifted form of the wave is described below as:
x2p+1 cos(ωpt+θp)=x2p+1 cos θp cos ωpt−x2p+1 sin θp sin ωpt
x2p+2 cos(ωpt+θp)=x2p+2 cos θp cos ωpt−x2p+2 sin θp sin ωpt
On the demodulation side, the amount of these waves is obtained as the received data. Practical demodulated data β2p+1 for cosine and β2p+2 for sine, which is demodulated by the operation of the received data and the demodulation matrix about cosine and sine independently, are obtained as coefficients of cos ωpt and sin ωpt. Practical demodulated data is described mathematically as:
β2P+1=x2p+1 cos θp+x2p+2 sin θp
β2P+2=x2p+1 sin θp+x2p+2 cos θp
The practical demodulated data of each sampling index r are described as βr,2p+1 and βr,2p+2, which is detected by the operation of the partial demodulation matrix and the partial receiving data matrix of each sampling index. This demodulated data are described by use of a raff equal symbol because of being distorted by noise and a phase shift. The equation for the demodulated data is described as:
βr,2p+1≈x2p+1 cos θp+x2p+2 sin θp
βr,2p+2≈x2p+1 sin θp+x2p+2 cos θp
A difference is determined regardless of the raff equal symbol. An amount of a square of the difference is described as δp2 and is differentiated by θp to apply minimum square method.
The modulation data of the test communication before practical communication is described as:
x2p+1=x2p+2=xtest≠0
To obtain θp, the minimum square method is applied as:
and θp is determined as:
where cos θp or sin θp is calculated by tan θp.
The modulation data is determined as the mean value of the over-sampling number of the practical demodulation data, such that:
The modulation data xtest is already known before the practical communication at the receiving side and is described below.
In column number 2p+1,
xtest≈ cos θp×
In column number 2p+2,
xtest≈ sin θp×
In these equations:
The demodulated data differs from the modulation data on the demodulation side, and is adjusted according to an equality of a ratio of the amplitude of the test communication and the practical communication. An adjustment equation is shown as:
Therefore demodulation data is adjusted from such influence as the communication line.
On the demodulation side, the analog signal is converted by the AD converter to a digital signal and is multiplied with the data of demodulation matrix ROM1, for which an address is specified by the address counter for demodulation, about cosine and sine of all individual sub-carrier frequencies in every sampling interval. The results of the multiplication are accumulated until the end of one modulation block, and adjusted every end of block about a phase shift to the adjusted demodulated data.
Regarding the synchronization between the address counter for modulation and the address counter for demodulation, ROM2 obtains the memory data belonging to one carrier frequency from the demodulation ROM1, and the data of the other block of memory are moved by some address each other to the end of memory address. The received data from the AD converter is multiplied and accumulated with the memory data of cosine and sine individually in numbers of shift, and, at the end of one modulation block, is adjusted about the phase shift and sent to the synchronization circuit.
In the synchronization circuit, the demodulated data is arranged according to the order of address shift, and the first data of a same data series nearly as α is determined. The address counter is reset for demodulation, adjusting the delay between the address counter and the number of shift.
2nW wide data is read out from demodulation ROM1 at every clock, and every 1W related to cosine or sine of sub-carrier frequency, individually, is multiplied with the received data at this moment, and is individually accumulated until the number of 2 α n, and is divided by α as the demodulated data
Using the mean value of demodulated data of cosine and sine of a same carrier of number p as
Regarding the basic circuit operation in
The mean value of demodulation data
The parameter of adjustment for multiplier.7 and multiplier.8 are:
xtest
data stored in DFF1
data stored in DFF2
data stored in DFF3
In practical communication after the initial test communication, the mean value of the demodulated data in every one frame
Stored data in some of the operation blocks are:
(
(
(
(
and
(
(
Modulation data in test communication xtest is determined by:
Finally, an amount of a squared mean value of the demodulated data is determined by:
Therefore, the demodulated data is adjusted.
Demodulation data is obtained at every 2 α n number of data from the AD converter which is the frame of one modulation. Phase adjustment of
The time sharing phase adjustment circuit is represented in
In practical communication, the parameters corresponding to the index of sub-carrier are selected by the selector 1B,2B,3B synchronized to the selector 0 regardless of operation DFF4 and DFF5. The calculation in the circuit is done ideally by a pipe-line operation. Therefore phase adjusted demodulation data are sent from the time sharing phase adjustment circuit continuously.
A demodulation circuit block diagram for synchronization is represented in
With respect to a method of sub-carrier frequency determination, the cosine and sine wave equation of sub-carrier number p are:
and the following equation for sub-carrier frequency reference is:
This equation is solved for many fp by which a matrix and an inverse matrix are formed. The difference of range in the inverse matrix elements are not so wide or so close to zero such that the proper fp are selected.
The transmission speed is next described.
For the sampling clock (CLK) of the DA converter, a highest frequency of sub-carrier is f0 and ρ is the sampling number in one wave of the highest frequency of the sub-carrier, such that:
CLK=ρ×α×f0=ραf0
The number of sampling of one frame in modulation is the same as the number of addresses of modulation ROM, that is 2 α n. The bits wide of the modulation data are specified as A, then the total bits wide of the modulation data are 2nA. Therefore the transmission speed is:
Another embodiment of the synchronization block diagram is represented in
The product of the data from the AD converter and the data of the synchronization ROM is accumulated for the one round address of demodulation circuit. The accumulator, which starts accumulation from every address for one round of addresses to continuously output a result, is provided in the synchronization circuit. These values of the accumulator, after multiplying, are not different from each other for the term of the same modulation data, but are different from each other for the term of different modulation data. In the synchronization circuit, this property contributes to form a synchronization signal which is output by the comparator indicating the equality or the difference between the two series of adjusted demodulated data. The multiplier and accumulator starting from every address is represented in
The data from the AD converter and the data of the synchronization ROM are multiplied by the circuit of the multiplier, and sent to the circuit of the accumulator. The output of the accumulator is sent to DFF6 by every clock, and is returned to the accumulator to be added with the next data, one after another. A carry-out signal, which is output at every one round of address counter, reset DFF6, and another DFF7 store the last accumulated value as the data of accumulation. This accumulating operation is same as in the demodulation circuit. From a previous accumulation operation until a next accumulation operation, the accumulator, which starts accumulation from every address for one round addresses, is operated as follows. The accumulated data until this time of a previous round in DFF8 is subtracted from the previously accumulated data in DFF7 and is added by newly accumulated data until this time in DFF6, and outputs this data at every address.
To achieve this operation, a dual-port RAM is used that has a highest write address bit connected through a toggle flip-flop (TFF) to a carry-out of address counter and the lower address connected to an address counter output. The dual-port RAM has a read address that is similar to a write address with an inverted highest address, and outputs the previous round data, which are accumulated and stored in DFF8, and the above subscription is obtained.
The demodulation data is adjusted in case of an over-ride by subscripting the product and in case of less number adding the product, by detecting whether a number of address counter for demodulation is continuous or not at synchronization.
A first example is provided below and discussed with respect to
Number of carrier frequencies n=4
Number of over-sampling α=4
Type of wave s s=1 indicate cosine wave s=2 indicate sine wave
With respect to the modulation matrix:
The frequency of sub-carriers is determined as shown below.
If the bit width of the modulation data is only one bit, the transmission speed is 2.399×4×1.0423×1/4=2.5 Mbps.
Elements data of modulation matrix and demodulation matrices 1˜4 should be changed to positive hex numbers and stored in the associated ROM. An example method about cos θ_is described below.
By the above equation, cos θ values of the modulation matrix and of demodulation matrices 1˜4 are changed to positive decimal numbers and are changed to hex numbers and stored in the associated ROM.
In this example, each address of the ROMS are i1 and q and the number of the port is j and 16 bits wide.
At first, in a test communication, the modulation is performed so that all modulation data are 15(F).
x1=x2=x3= . . . x8=15
The above data shown in
Next, modulation data are generated from input data of x1=x5=1, x2=x6=15, x3=x7=−1, and x4=x8=−15.
The above data shown in
2×Di−255
When the result of the calculation process is output, the data is obtained by an inverse exchange.
The effect of this invention applied to DSL of a metal twist pair is described below with respect to a further example. The parameters of the modulation and demodulation system are different from the previous example and are determined below.
defined as ρf0=12.5 MHz. Sampling frequency CLK of DA and AD converter is
CLK=ρ×α×f0=12.5×8=100 MHz
Transmission speed is
For the frequency of the sub-carriers in the frequency range of 6.0 MHz˜0.09 MHz:
The frequency is determined as:
Number | Date | Country | Kind |
---|---|---|---|
2001-367226 | Nov 2001 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP02/12460 | 11/28/2002 | WO | 00 | 5/20/2004 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO03/047133 | 6/5/2003 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6532256 | Miller | Mar 2003 | B2 |
6549565 | Buehrer et al. | Apr 2003 | B1 |
Number | Date | Country |
---|---|---|
7-46286 | Feb 1995 | JP |
7-87148 | Mar 1995 | JP |
7-143087 | Jun 1995 | JP |
8-149167 | Jun 1996 | JP |
11-308192 | Nov 1999 | JP |
2000-307531 | Nov 2000 | JP |
Number | Date | Country | |
---|---|---|---|
20040258169 A1 | Dec 2004 | US |