Converter, conversion method, program, and recording medium

Information

  • Patent Grant
  • 7994952
  • Patent Number
    7,994,952
  • Date Filed
    Thursday, July 17, 2008
    16 years ago
  • Date Issued
    Tuesday, August 9, 2011
    13 years ago
Abstract
Provided is a highly accurate converter and the like that makes up for the instability of circuit elements, by focusing on a relationship between the Markov chain and β conversion. A converter 1 that determines the decoded value of a sample value x based on L-bit number bi (i=1, . . . , L) includes a decoding section 3 to determine the decoded value xD for γ=1/β (where 1<β<2) using equation (eq 1). Further, the converter 1 also includes a matrix estimation section 5 to determine the Markov transition matrix based on bi. Unlike a conventional method that pays attention to the lower limit of an interval, the decoding section 3 using equation (eq 1) pays attention to the center of the interval, and this point is a significant difference.
Description
TECHNICAL FIELD

The present invention relates to a converter, a conversion method, a program, and a recording medium and, more particularly, to a converter and the like for performing conversion between a digital signal and an analog signal.


BACKGROUND ART

With spread of digital signal process in recent years, A/D (D/A) converting process is performed in various fields of sound process, image process, communication and the like. Since the precision of the converting process exerts an influence on a result of the sound process and the like, higher level is being continuously demanded. For example, one of methods having high precision is PCM (pulse-code modulation). The PCM, however, has a drawback such that the stability of circuit elements in an A/D converter is insufficient. One of methods realizing stability of operation is ΣΔ (sigma-delta) modulation (refer to Non-Patent Documents 1 to 7). There is also a technique called β conversion based on the sigma-delta modulation (refer to Patent Documents 8 and 9).


The β conversion will be described. When γ=1/β (where 1<β<2), xε(0, 1) is expressed by equation (1) using biε{0, 1}. Here, u1=βy, b1=Qν(u1), and ui+1=β(ui−bi), bi+1=Qν(ui+1). Qν(z) denotes a quantizer and, for a threshold ν satisfying νε[1, (β−1)−1], is 0 when z<ν and is 1 when z≧ν.









Equation





1











x
=




i
=
1






b
i




γ
i

.







(
1
)








FIG. 8 is a diagram for explaining the structure of a β converter. When z0=yε[0, 1) and i>0, zi=0, and u0=b0=0. In the β converter, when ν=1, the greedy” scheme has been proposed. When ν=(β−1)−1, the “lazy” scheme has been proposed.


When α=ν−1 in the above, it can be said that in the β conversion, the (β, α) expansions proposed by Dajani et al. are performed (refer to Non-Patent Document 10). In a map Nβ,α of the (β, α) expansions with βε(1, 2), when xε[0, (α+1)/β), βx is derived. When xε[(α+1)/β, 1/(β−1)), βx−1 is derived.



FIG. 9(
a) is a graph showing the map of the (β, α) expansion, FIG. 9(b) is a graph showing a “greedy” map when ν=1, and FIG. 9(c) is a graph showing a “lazy” map when ν=(β−1)−1.


Non-Patent Document 1

  • Inose, H., and Yasuda, Y., “A unity bit coding method by negative feedback,” Proceedings of the IEEE, vol. 51, no. 11, pp 1524-1535, November 1963


Non-Patent Document 2

  • J. Candy, “A Use of Limit Cycle Oscillation to Obtain Robust Analog-to-Digital Converters,” Communications, IEEE Transactions on [legacy, pre-1988], vol. 22, no. 3, pp 298-305, March 1974


Non-Patent Document 3

  • Stephen H. Lewis, and Paul R. gray, “A pipelined 5-Msample/s 9-bit analog-to-digital converter,” Solid-State Circuits, IEEE Journal of, vol. 22, no. 6, pp 954-961, December 1987


Non-Patent Document 4

  • Robert M. Gray, “Oversampled Sigma-Delta Modulation,” Communications, IEEE transactions on [legacy, pre-1988], vol. 35, no. 5, pp 481-489, May 1987


Non-Patent Document 5

  • Robert M. Gray, “Spectral Analysis of Quantization Noise in a Single-Loop Sigma-Delta Modulator with dc Input,” IEEE Transactions on communications, vol. 37, no. 6, pp 588-599, June 1989


Non-Patent Document 6

  • C. Gunturk, “On the robustness of single-loop sigma-delta modulation,” IEEE Transactions on Information Theory, Vol. 47, no. 5, pp 1734-1744, 2001


Non-Patent Document 7

  • C. Gunturk, “One-Bit Sigma-Delta Quantization with Exponential Accuracy,” Commun. Pure Applied Math., vol. 56, no. 11, pp 1608-1630, 2003


Non-Patent Document 8

  • I. Daubechies, R. Devore, C. Gunturk, and V. Vaishampayan, “A/D Conversion With Imperfect Quantizers,” IEEE Transactions on Information Theory, vol. 52, no. 3, pp. 874-885, March 2006


Non-Patent Document 9

  • I. Daubechies, and O. Yilmaz, “Robust and Practical Analog-to-Digital Conversion With Exponential Precision,” IEEE Transactions on information Theory, vol. 52, no. 8, pp. 3533-3545, August 2006


Non-Patent Document 10

  • K. Dajani, C. Kraaikamp, “From greedy to lazy expansions and their driving dynamics,” Expo. Math, 2002


DISCLOSURE OF THE INVENTION
Problems to be Solved by the Invention

Although the β conversion has been studied mathematically as described above, study to apply it to A/D (D/A) converting process has been insufficient. In particular, there is still room for development for high precision required for converters and for making up the instability of circuit elements.


Therefore, an object of the present invention is to provide a high-precision converter and the like that makes up instability of circuit elements, by paying attention to the relation between the Markov chain and β conversion.


Means for Solving the Problems

A first aspect in accordance with the present invention provides a converter for determining a decoded value of a sample value x based on L-bit number bi (i=1, . . . , L), including decoding means for determining a decoded value xD for γ=1/β (where 1<β<2) by equation (eq 1).


A second aspect in accordance with the present invention provides the converter according to the first aspect, wherein when bit sequences obtained by β-converting xε(0, 1) and y=1−xε(0,1) are L-bit numbers bi and ci (i=1, . . . , L), respectively, a decoded value xD of bi is expressed by equation (eq 1), and a decoded value yD of ci is expressed by an equation derived by replacing bi in equation (eq 1) with ci, γ is the root of an equation P(γ)=0 given by equation (eq 2).


A third aspect in accordance with the present invention provides the converter according to the first or the second aspect, including matrix estimating means, if β/(β2−1)≦ν<β2/(β2−1), for approximating a Markov transition matrix to equation (eq 3), if ν<β/(β2−1), approximating a Markov transition matrix to equation (eq 4), and if β2/(β2−1)≦ν, approximating a Markov transition matrix to equation (eq 5).


A fourth aspect in accordance with the present invention provides the converter according to any of the first to the third aspects, including matrix estimating means for estimating a 2×2 Markov transition matrix of the β conversion by equation (eq 7) for n00, n01, n10, and n11 given by equation (eq 6).


A fifth aspect in accordance with the present invention provides a conversion method for performing conversion between a digital signal and an analog signal for determining a decoded value of a sample value x based on L-bit number bi (i=1, . . . , L), including the step of making decoding means determine a decoded value xD for γ=1/β (where 1<β<2) by equation (eq 1).


A fifth aspect in accordance with the present invention provides a program for making a computer function as the converter according to any of the first to the fourth aspects.


A seventh aspect in accordance with the present invention provides a recording medium for recording the program according to the sixth aspect.









Equation





2













x
D

=





i
=
1

L




b
i



γ
i



+


γ

L
+
1



2


(

1
-
γ

)





,




(

eq





1

)








P


(
γ
)


=


1
-




i
=
1

N




(


b
i

+

c
i


)



y
i



-


γ

N
+
1



(

1
-
γ

)



=
0


,




(

eq





2

)







(




1
-

S

β





T






S

β





T







T

β





S





1
-

T

β





S






)

,




(

eq





3

)







(




1
-

S

β





T






S

β





T






1


0



)

,




(

eq





4

)







(



0


1





T

β





S





1
-

T

β





S






)

,




(

eq





5

)











n
00

:=




i
=
1


N
-
1





(

1
-

b
i


)



(

1
-

b

i
+
1



)




,






n
01

:=




i
=
1


N
-
1





(

1
-

b
i


)



b

i
+
1





,








n
10

:=




i
=
1


N
-
1





b
i



(

1
-

b

i
+
1



)




,






n
11

:=




i
=
1


N
-
1





b
i



b

i
+
1





,







(

eq





6

)







(





n
00



n
00

+

n
01







n
01



n
00

+

n
01









n
10



n
10

+

n
11







n
11



n
10

+

n
11






)

,




(

eq





7

)







Effects of the Invention

With the present invention, a high-precision D/A converter or the like that makes up for the instability of circuit elements by interval analysis of β expansions can be proposed.


In the present invention, as a result of analyzing the β conversion as a Markov chain, it was found that a second eigenvalue is negative and that eigenvalues of greedy and lazy schemes are larger than that of any other map and are the same.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of a converter 1 according to an embodiment of the present invention.



FIG. 2 is a flowchart for explaining the operation of the converter of FIG. 1.



FIGS. 3(
a) and 3(b) are diagrams showing the invariant subspace of β conversion.



FIG. 4 is a diagram showing a distribution of eigenvalues when a Markov transition matrix is approximated.



FIG. 5 is a diagram showing the worst precision of conversion when changing x and ν for N=32 and β=1.77777.



FIG. 6 is a diagram showing a case where the precision of restoring the value of β from an output bit sequence is determined by the relation of γ=1/β and equations (11) and (12), and the proposed method and the method of Daubechies are compared.



FIG. 7 is a diagram showing an estimation result of a second eigenvalue.



FIG. 8 is a diagram for explaining the structure of a β converter.



FIG. 9(
a) is a graph showing a map of a (β, α) expansion, FIG. 9(b) is a graph showing a “greedy” map when ν=1, and FIG. 9(c) is a graph showing a “lazy” map when ν=(β−1)−1.





DESCRIPTION OF REFERENCE NUMERALS




  • 1 converter


  • 3 decoding section


  • 5 matrix estimation section



BEST MODE FOR CARRYING OUT THE INVENTION


FIG. 1 is a block diagram of a converter 1 according to an embodiment of the present invention. FIG. 2 is a flowchart for explaining the operation of the converter 1 of FIG. 1. The converter 1 obtains a decoded value xD of a sample value x based on L-bit number bi (i=1, . . . , L) (see steps ST1 and ST3 in FIG. 2). The converter 1 includes a decoding section 3 which obtains a decoded value xD for γ=1/β (where 1<β<2) using equation 2 (see step ST2 in FIG. 2). In the case of using equation 1 described in the prior art, attention is paid to the lower limit of an interval. In contrast, in the case of using equation 2, it is largely different with respect to the point that attention is paid to the center of an interval. The converter 1 also includes a matrix estimation section 5 for obtaining the Markov transition matrix based on bi.


A conversion error of the converter 1 is expressed as equation 3 as described below.


First, an interval Ii is defined as equation 4 (where b0=0).


Subsequently, it is shown that xεIi for all i. From xε(0, 1), xεI0=(0, (β−1)−1).


It is now supposed that xεIi. When ui+1<ν as shown in equation 5, that is, when bi+1=0, equation (6) is satisfied and xεIi+1. On the other hand, when ui+1≧ν, that is, when bi+1=1, equation (7) is satisfied and xεIi+1. Therefore, xεIi is satisfied for all i.


Since it can be expressed that xεIL and (β−1)−1i=1γi, a conversion error is expressed by equation (8)









Equation





3













x
D

=





i
=
1

L




b
i



γ
i



+


γ

L
+
1



2


(

1
-
y

)





,




(
2
)







0




x
-

x
D









(

β
-
1

)


-
1




γ
L


2


,




(
3
)








I
i

=

(





j
=
0

i




b
j



γ
j



,





j
=
0

i




b
j



γ
j



+




j
=

i
+
1






γ
j




)


,




(
4
)








u

i
+
1


=


x
-




j
=
1

i




b
j



γ
j





γ

i
+
1




,




(
5
)







x
<





j
=
1

i




b
j



γ
j



+

v






γ

i
+
1










j
=
0


i
+
1





b
j



γ
j



+




j
=

i
+
2






γ
j




,




(
6
)







x






j
=
1

i




b
j



γ
j



+

v






γ

i
+
1









j
=
0


i
+
1





b
j



γ
j




,




(
7
)







0




x
-

x
D







1
2






i
=

L
+
1






γ
i




=





(

β
-
1

)


-
1




γ
L


2

.





(
8
)







According to the A/D conversion of Daubechies, et al., in the case where β>1.5, an error which occurs in L-bit β conversion is expressed by equation (9).









Equation





4











0


x
-




i
=
1

L




b
i



γ
i






v







γ
L

.






(
9
)







Subsequently, a characteristic equation of β will be described.


With reference to Daubechies et al, if bit sequences obtained by β-converting xε(0, 1) and y=1−xε(0,1) are bi and ci (i=1, . . . , N), respectively, each of the decoded values xD and yD are expressed by equation (10).


From xD+yD=1, the estimated value of γ is the root of a characteristic equation P(γ)=0 of γ given by equation (11).


The characteristic equation PDau(γ)=0 of Daubechies et al. is given by equation (12).









Equation





5













x
D

=





i
=
1

N




b
i



γ
i



+


γ

N
+
1



2


(

1
-
γ

)





,






y
D

=





i
=
1

N




c
i



γ
i



+


γ

N
+
1



2


(

1
-
γ

)





,




(
10
)








P


(
γ
)


=


1
-




i
=
1

N




(


b
i

+

c
i


)



γ
i



-


γ

N
+
1



(

1
-
γ

)



=
0


,




(
11
)








P
Dau



(
γ
)


=


1
-




i
=
1

N




(


b
i

+

c
i


)



γ
i




=
0.





(
12
)







The Markov chain of binary sequences generated by β conversion will now be described. Let bi (i=1, . . . , N) be a binary sequence generated by β conversion with β and a threshold ν.


It is shown here that an invariant subspace of the β conversion denoted by I=(β(ν−1), βν) exists. There are two integers k and k′ such that ui<ui+1< . . . <ui+k−1<β(ν−1)<ui+k and ui>ui+1> . . . >ui+k′−1<βν<ui+k′ are satisfied, which implies that uiε(β(ν−1), βν). FIGS. 3(a) and 3(b) are diagrams each showing the invariant subspace of the β conversion. FIG. 3(a) is a diagram showing the case where β(ν−1)≦νλ, and FIG. 3(b) is a diagram showing the case where ν<λβ(ν−1).


The invariant space of the β conversion exists. However, it is difficult to divide the subinterval into Markov partitions. Therefore, bi is approximated with a two-state Markov chain (1st-order Markov chain), and an eigenvalue of the Markov transition matrix is analyzed.


S and T are defined by equations (13) and (14), respectively. The matrix estimation section 5 in FIG. 1 approximates the transition matrix as follows.


If β/(β2−1)≦ν<β2/(β2−1), the transition matrix is approximated to become equation (15). Since S>0 and T>0, a second eigenvalue λ satisfies the relation λ<0 from equation (16). A frequency distribution is given by an eigenvector for the eigenvalue 1, that is, equation (17).


If ν<β/(β2−1), the transition matrix is approximated to become equation (18). The second eigenvalue λ is expressed as λ=−S/(βT)<0.


If β2/(β2−1)≦ν, the transition matrix is approximated to become equation (19). The second eigenvalue λ is expressed as λ=−T/(βS)<0.









Equation





6












S
:=



β





v

-
v

>
0


,




(
13
)









T
:=

v
-

β


(

v
-
1

)










=


β
-


(

β
-
1

)


v




β
-
1

>
0


,







(
14
)







(




1
-

S

β





T






S

β





T







T

β





S





1
-

T

β





S






)

,




(
15
)







λ
=


1
-


1
β



(


S
T

+

T
S


)





1
-

2
β


<
0


,




(
16
)







(




T
2



β
2




S
2

+


T
2



β
2




,


S
2



S
2

+


T
2



β
2





)

,




(
17
)







(




1
-

S

β





T






S

β





T






1


0



)

,




(
18
)







(



0


1





T

β





S





1
-

T

β





S






)

.




(
19
)








FIG. 4 is a diagram showing the distribution of eigenvalues when the Markov transition matrix is approximated. The second eigenvalue of the approximated transition matrix is negative.


The matrix estimation section 5 in FIG. 1 estimates a 2×2 Markov transmission matrix of the β conversion with bi (i=1, . . . , N). When n00, n01, n10, and n11 are defined by equations (20), an estimated Markov transition matrix is expressed by equation (21).









Equation





7
















n
00

:=




i
=
1


N
-
1





(

1
-

b
i


)



(

1
-

b

i
+
1



)




,






n
01

:=




i
=
1


N
-
1





(

1
-

b
i


)



b

i
+
1





,








n
10

:=




i
=
1


N
-
1





b
i



(

1
-

b

i
+
1



)




,






n
11

:=




i
=
1


N
-
1





b
i



b

i
+
1





,







(
20
)







(





n
00



n
00

+

n
01







n
01



n
00

+

n
01









n
10



n
10

+

n
11







n
11



n
10

+

n
11






)

.




(
21
)







In the following, the conversion using the proposed algorithm will be compared with the method of Daubechies. The worst approximation error between x and the decoded value xD when moving x and a quantization threshold ν (cautious parameter) is criteria for evaluation. FIG. 5 is a diagram showing the worst precision of conversion when changing x and ν for N=32 and β=1.77777. It is understood from FIG. 5 that the precision of the proposed algorithm is superior to that of the algorithm of Daubechies when β=1.77777. It is also known that the cautious scheme has higher precision than the other scheme in the proposed algorithm.



FIG. 6 is a diagram showing a case where the precision of restoring the value of β from an output bit sequence is determined by the relation of γ=1/β, equations (11) and (12), and the proposed method and the method of Daubechies are compared. It is shown in the diagram that the β restoring precision of the proposed method is higher.


Estimation of a second eigenvalue of the two-state Markov transition matrix will now be described. By the β conversion with βε(1,2), νε[1, (β−1)−1], and xε(0, (β−1)−1), a binary bit sequence bi (i=1, . . . , N) is outputted, and it is assumed that bi is a two-state Markov chain. At this time, a second eigenvalue can be estimated from bi by equation (21). FIG. 7 is a diagram showing a result of estimating a second eigenvalue. λD is a second eigenvalue estimated from bi under condition that N=256 and x=ν−π/10. From the diagram, it is shown that most second eigenvalues are negative. It is understood from FIG. 7 that most λD values obtained by the greedy and lazy schemes are larger than values obtained by the cautious scheme and are similar values.


From the above, as a result of analyzing the β conversion as the Markov chain, the second eigenvalue is negative, and the eigenvalues obtained by the greedy and lazy schemes are larger than those of the other scheme. The eigenvalues of the greedy and lazy schemes are similar to each other.


Preferably, a recommended value of the threshold is set to an intermediate value in a range from 1 to 1/(β−1) which is a permissible range of the parameter ν. The reason is that, although it is conventionally said that the restoration precision of the greedy scheme is higher than that of the lazy scheme, when ν=(1+1/(β−1))/2 is set, the restoration precision of the lazy scheme and that of the greedy scheme are equivalent, and excellent results are obtained from the viewpoint of the result of the precision and the viewpoint of robustness.


Hardware of the present invention can be realized by a configuration similar to that of FIG. 8 in spite of the difference of using equation (2) and the like.

Claims
  • 1. A converter for determining a decoded value of a sample value x based on L-bit number bi (i=1, . . . , L), comprising decoding means for determining a decoded value xD for γ=1/β (where 1<β<2) by equation (eq 1)
  • 2. The converter according to claim 1, wherein when bit sequences obtained by β-converting xε(0, 1) and y=1−xε(0,1) are L-bit numbers bi and ci (i=1, . . . , L), respectively, and when xD, a decoded value of bi, is expressed by equation (eq 1), and yD, a decoded value of ci, is expressed by an equation derived by replacing bi in equation (eq 1) with ci, γ is the root of an equation P(γ)=0 given by equation (eq 2)
  • 3. The converter according to claim 1, comprising matrix estimating means, if β/(β2−1)≦ν<β2/(β2−1), for approximating a Markov transition matrix to equation (eq 3), if ν<β/(β2−1), approximating a Markov transition matrix to equation (eq 4), and if β2/(β2−1)≦ν, approximating a Markov transition matrix to equation (eq 5)
  • 4. The converter according to claim 1, comprising matrix estimating means for estimating a 2×2 Markov transition matrix of the β conversion by equation (eq 7) for n00, n01, n10, and n11 given by equation (eq 6)
  • 5. A program for making a computer function as the converter of claim 1.
  • 6. A recording medium for recording the program of claim 5.
  • 7. A conversion method for performing conversion between a digital signal and an analog signal for determining a decoded value of a sample value x based on L-bit number bi (i=1, . . . , L), comprising the step of making decoding means determine a decoded value xD for γ=1/β (where 1<β<2) by equation (eq 8)
Priority Claims (1)
Number Date Country Kind
2007-189899 Jul 2007 JP national
PCT Information
Filing Document Filing Date Country Kind 371c Date
PCT/JP2008/062897 7/17/2008 WO 00 1/20/2010
Publishing Document Publishing Date Country Kind
WO2009/014057 1/29/2009 WO A
US Referenced Citations (3)
Number Name Date Kind
5099450 Berkling Mar 1992 A
6546515 Vary et al. Apr 2003 B1
20080258949 Galton et al. Oct 2008 A1
Foreign Referenced Citations (1)
Number Date Country
2001-196932 Jul 2001 JP
Related Publications (1)
Number Date Country
20100207796 A1 Aug 2010 US