The present invention relates to a signal converter, a parameter deciding device, a parameter deciding method, a program, and a recording medium, and particularly relates to a signal converter or the like that outputs a bit sequence in response to an input signal.
Analog-to-Digital (A/D) conversion is a basic technology behind various technologies. Phases of the A/D conversion consist of sampling and quantization. A sampling theorem guarantees that a signal can be completely reconstructed with a sampled value. The quantization is a process of encoding the sampled value where quantization error inevitably arises.
a) is a block diagram illustrating an outline of PCM (Pulse Code Modulation) and
a) is a block diagram illustrating an outline of a β-encoder and
The inventors further proposed a β-encoder by refining the conventional β-encoder (see Patent Document 1 and Non-Patent Document 2).
However, the A/D converter is an analog circuit. A parameter of a circuit component (such as a quantizer or an amplifier) is possibly fluctuated. Therefore, it is necessary to disclose a mathematical structure in consideration of the fluctuation of the circuit component as a practical problem.
For example, the PCM has high accuracy although it is unstable.
The conventional β-encoder is an A/D converter in which the fluctuation of the circuit component is considered. However, a lower limit of an interval is set to a decoded value. Therefore, the quantization error is insufficiently reduced in the conventional β-encoder.
The β-encoder proposed by the inventors is an A/D converter in which the fluctuation of the circuit component is considered similarly to the conventional β-encoder. A middle point of the interval is set to the decoded value, whereby the quantization error is reduced, compared with the conventional β-encoder. However, the β-encoder proposed by the inventors presents only an optimum design guideline for the quantizer, and does not present an optimum design guideline for the amplifier.
In view of the foregoing, it is an object of the present invention to propose a signal converter, a parameter deciding device, a parameter deciding method, a program, and a recording medium that can realize more accurate and stable signal conversion between an analog signal and a digital signal.
A first aspect in accordance with the present invention provides a signal converter that outputs a bit sequence in response to an input signal, the signal converter comprising a feedback unit that generates a composite signal by adding a feedback signal to the input signal, the feedback signal being generated according to a value of the output bit sequence, an amplifier that multiplies the composite signal by β (β>1) to generate an amplified signal, and a quantizer that quantizes the amplified signal into a logic value 0 or a logic value 1 and thereby outputs a new bit, wherein the feedback unit includes a power source that generates a power source signal, a signal generation unit that generates the feedback signal at least by use of the amplified signal when the logic value 0 is output from the quantizer, and generates the feedback signal by use of the amplified signal and the power source signal when the logic value 1 is output from the quantizer, and an adder that adds the feedback signal to the input signal.
A second aspect in accordance with the present invention provides the signal converter according to the first aspect, wherein the signal generation unit generates the feedback signal by subtracting the amplified signal from the power source signal when the logic value 0 is output from the quantizer, and the signal generation unit generates the feedback signal by subtracting the amplified signal from a signal obtained by β-multiplying the power source signal when the logic value 1 is output from the quantizer.
A third aspect in accordance with the present invention provides the signal converter according to the first aspect, wherein the signal generation unit generates the feedback signal as being equal to the amplified signal when the logic value 0 is output from the quantizer, and the signal generation unit generates the feedback signal by subtracting a signal obtained by β-multiplying the power source signal from sum of the amplified signal and the power source signal when the logic value 1 is output from the quantizer.
A fourth aspect in accordance with the present invention provides the signal converter according to any one of the first aspect, the second aspect and the third aspect, wherein a parameter β of the amplifier is 2L/(L+1) with respect to a number of bits L of the bit sequence output by the signal converter, and/or a parameter s of the power source signal generated by the power source is σβ,s(L+1)/2 with respect to quantiser tolerance σβs.
A fifth aspect in accordance with the present invention provides a parameter deciding device that decides a parameter in the signal converter as in any one of the first aspect, the second aspect and the third aspect, the parameter deciding device comprising a set value storage unit that stores a number of bits L of the bit sequence output by the signal converter and a quantiser tolerance σβs of the signal converter, and a parameter deciding unit that decides a parameter β of the amplifier of the signal converter and a parameter s of the power source signal generated by the power source of the signal converter by β=2L/(L+1) and s=σβ,s(L+1)/2, respectively, and correcting β=2L/(L+1) and s=σβ,s(L+1)/2 to β=2−1/σβ,s and s=1 when the parameter s satisfies s≦1.
A sixth aspect in accordance with the present invention provides a parameter deciding method for a parameter deciding device that decides a parameter in the signal converter as in any one of the first aspect, the second aspect and the third aspect, wherein the parameter deciding device includes a set value storage unit that stores a number of bits L of the bit sequence output by the signal converter, and a parameter deciding unit of the parameter deciding device that decides that a parameter β of the amplifier of the signal converter is 2L/(L+1).
A seventh aspect in accordance with the present invention provides a parameter deciding method for a parameter deciding device that decides a parameter in the signal converter as in any one of the first aspect, the second aspect and the third aspect, wherein the parameter deciding device includes a set value storage unit that stores quantiser tolerance σβs of the signal converter, the set value storage unit further stores a number of bits L of the bit sequence output by the signal converter or the parameter β of the amplifier of the signal converter, and a parameter deciding unit of the parameter deciding device decides a parameter s of the power source signal generated by the power source of the signal converter between σβ,s(L+1)/2 and σβ,s/(2−β).
An eighth aspect in accordance with the present invention provides a program that causes a computer to perform the parameter deciding method according to the sixth aspect or the seventh aspect.
A ninth aspect in accordance with the present invention provides a computer-readable recording medium in which the program according to the eighth aspect is recorded.
In each of the aspects, the signal generation unit may generate a feedback signal from an amplified signal and a power source signal when a logic value is 0. Or the signal generation unit may generate the feedback signal from the amplified signal and the power source signal both when the logic value is 0 and when the logic value is 1.
In each of the aspects, the specific examples of the power source are a voltage source or a current source. And the parameter s indicates, for example, a voltage in a constant voltage source or a current in a constant current source. In the fifth to the tenth aspects, σβ,s is, for example, a quantiser tolerance of the quantizer. In the signal generation unit, the signal obtained by β-multiplying the power source signal may be obtained by β-multiplying the power source signal with use of the same amplifier as the amplifier that β-multiplies the composite signal.
In the signal converter, the fluctuation from the set value at the designing stage is inevitable in each of the parameter β of the amplifier and the threshold ν of the quantizer at the production stage. Therefore, the control of the fluctuation becomes an issue. In the conventional β-encoder, the quantiser tolerance is (β−1)−1−1, which depends only on β. Therefore, the fluctuation of the threshold cannot freely be set.
In each of the aspects of the present invention, at least when the logic value generated by the quantizer is 1, the signal generation unit of the feedback unit generates the feedback signal from not only the amplified signal but also the power source signal generated by the power source. Particularly, in each of the second aspect and the third aspect of the present invention, when the logic value is 1, the signal generation unit generates the feedback signal by subtracting the amplified signal from the signal that is obtained by p-multiplying the power source signal (or, vice versa, by subtracting the signal obtained by p-multiplying the power source signal from the amplified signal). Therefore, the negative β-encoder and the scaled β-encoder can be realized, and the scale adjusting function for the scale s can be achieved by the parameter s of the power source signal in the signal converter. Further, the optimum design guideline for the amplifier can be obtained. Particularly, as in the fifth aspect of the present invention and the like, the optimum design of the amplifier can be realized according to the number of bits L (bit budget) of the bit sequence output by the signal converter according to any one of the first to the fourth aspects of the present invention. Further, the optimum design of the power source can be realized according to the quantiser tolerance σβs.
Further, as in the second aspect of the present invention, the signal generation unit of the feedback unit generates the feedback signal using the signal obtained by multiplying the amplified signal by −1, which allows the negative β-encoder to be realized. Therefore, more stable A/D conversion can be realized.
a) is a schematic block diagram illustrating a signal converter 21 as an example of a scaled β-encoder, and
a) is a schematic block diagram illustrating an outline of a signal converter 41 as an example of the scaled β-encoder to which a negative p-map is introduced, and
a) is a block diagram illustrating an outline of conventional PCM, and
a) is a block diagram illustrating an outline of a conventional β-encoder, and
Embodiments of the present invention will be described below with reference the drawings. The present invention is not limited to the following embodiments.
The signal converter 1 includes a feedback unit 3, an amplifier 5, and a quantizer 7. The feedback unit 3 generates a signal according to a value of generated bit bn+1 and adds the signal to the input signal zi to generate a composite signal. The amplifier 5 generates an amplified signal un+1 by β-multiplying (β>1) the composite signal generated by the feedback unit 3. The quantizer 7 quantizes the amplified signal un+1 using a quantization function Qν(x) of a quantization threshold ν expressed by an equation (1) and generates a bit bn+1.
The feedback unit 3 includes a power source 9, a signal generation unit 11, a delay unit 13, and an adder 15. The power source 9 generates a power source signal. The signal generation unit 11 generates a feedback signal from at least the amplified signal un+1 in a case of bi+1=0, and the signal generation unit 11 generates the feedback signal from the amplified signal un+1 and the power source signal in a case of bi+1=1. The delay unit 13 delays the feedback signal. The adder 15 generates the composite signal by adding the signal delayed by the delay unit 13 to the input signal zi.
The optimum design of the quantizer and a characteristic equation of β will be described. As illustrated in
In the conventional β-conversion method, a fixed value xDaub of x is set to a lower limit of the interval as expressed by an equation (4). In this case, a quantiser tolerance is νγL as expressed by an equation (5).
On the other hand, the present inventors proposed that a fixed value XL,C of x is set to the middle of the interval as expressed by an equation (6) (“cautious” expansion that is neither the greedy expansion nor the lazy expansion). In such a case, the quantiser tolerance is (β−1)−1γL/2 as expressed by an equation (7). In a case of β>3/2, the tolerance in the equation (7) is improved by 3 dB compared with the tolerance in the equation (5).
A map Nβ,ν(x) stays in an interval [ν−1, ν) through a transient state. The quantization error in this case is expressed by an equation (8).
The characteristic equation of β of Daubechies is expressed by an equation (9). On the other hand, the characteristic equation of β of the present inventors is expressed by an equation (10). In this case, bi and ci (i=1, . . . , L) indicate series of L-bit expansion by the signal converter for x and y (y=1−x), respectively.
In
The power source 9 is a voltage source, a current source, or the like. For example, the power source 9 may be a constant voltage source that generates a constant voltage, a voltage source that can generate different voltages according to time, or a voltage source that generates different voltages according to the value of the generated bit bn+1.
The amplifier 5, the quantizer 7, the signal generation unit 11, the delay unit 13, and the adder 15 may partially or entirely be realized by use of a computer.
In the present embodiment, a scaled β-encoder (hereinafter referred to as an “S-encoder”) will be described.
In the signal generation unit 31, when a logic value bi+1Sβ generated by the quantizer 27 is 0, the second adder 37 generates the feedback signal without adding any signal to the amplified signal un+1. When the logic value bi+1Sβ generated by the quantizer 27 is 1, the second adder 37 generates the feedback signal by adding the amplified signal un+1, the power source signal generated by the power source 29, and the signal which is the power source signal β-multiplied by the amplifier 25.
Conventionally, the stability to the fluctuation of the threshold has been restricted by the parameter β of the amplifier 133 in
In the present embodiment, for s>1, a map Sβ,ν which can perform the A/D conversion in xε[0, s) is introduced by an equation (11). In this case, νε[s(β−1), s).
When the sampled value is set to a range of 0<x<1, the signal becomes 0<Sβ,ν(x)<s by the map Sβ,ν after the negative feedback is applied once. In the signal converter 21, the negative feedback is performed L times where the value after each of the feedbacks falls within the interval (0, s), and the quantizer 27 generates the logic value 0 or 1 every time depending on the magnitude relationship between the value of the order of the generated γL and ν. As a result, a computation process of the β-expansion can be realized.
The quantiser tolerance is σβ,ν=s(2−β) in the map Sβ,ν. Therefore, when s is set to σβ,s(2−β) with respect to the quantiser tolerance σβ,s (for example, the quantiser tolerance of the quantizer), the stability can be secured by s, and the design can be made according to the quantiser tolerance of the quantizer.
The optimum design of the amplifier 25 will further be described. When xε[1, (β−1)−1) is expanded by the S-encoder, x can be expressed by an equation (12). The equation (12) indicates that SLβ,ν,s(x) is obtained by repeating the mapping L times. Because SLβ,ν,s(x) is included in the interval [0, s), an interval IL,β,s in which x exists in performing the expansion with the L bits is expressed by an equation (13). Therefore, a width |IL,β,s| of the interval is sγL, and the accuracy is improved most when sγL is minimized. In a case of the tolerance σβ,s=a, sγL=γLa/(2−β) holds, and an equation (14) is obtained when the width |IL,β,s| of the interval is differentiated with respect to β. Therefore, the value of β at which the quantization error is the minimum is expressed by an equation (15). Accordingly, the optimum design of the amplifier can be made according to the bit budget.
Consequently, either setting s to σβ,s/(2−β) where σβ,ν is the quantiser tolerance or setting the parameter β of the amplifier to 2L/(L+1) where L is the bit budget, or both of them may be realized by use of computer.
As described above, in the conventional β-encoder, the logic value is fed back by referring to
Here, s may be set to 1 and β may be set to 2−1/σβ,s where σβ,s is the threshold fluctuation, when the fluctuation of the parameter ν of the quantizer 27 can be so suppressed that s<1 can be realized.
For the L-bit decoded value xL,s of the S-encoder, the maximum error is similar to that of xL,C.
Next in the present embodiment, a scaled β-encoder in which the β-expansion is performed with a negative real number being set as a radix (hereinafter referred to as an “R-encoder”) will be described.
In the signal generation unit 51, when a logic value bi+1 generated by the quantizer 47 is 0, the second adder 57 generates a feedback signal by adding a signal obtained by multiplying an amplified signal un+1 by −1 and the power source signal s generated by the power source 49. When the logic value bi+1 generated by the quantizer 47 is 1, the second adder 57 generates the feedback signal by adding the signal obtained by multiplying the amplified signal un+1 by −1 and a signal obtained by β-multiplying the power source signal s generated by the power source 49 with use of the amplifier 45.
Variance V of the quantization error between a sampled value xi and a fixed value xL,Ri thereof having a sample number i (1≦i≦N) is defined by an equation (16). Because the middle point of the interval is selected as the fixed value, the variance V is large in a case where ν=1 (greedy expansion) and in a case where ν=(β−1)−1 (lazy expansion).
Here, a negative β-map R(x) of the scale s expressed by an equation (17) is introduced.
Next, an invariant subinterval is discussed.
Table 1 indicates an invariant subinterval under the map R(x). As indicated in Table 1, the invariant subinterval of the map R(x) is a function of ν, and each invariant subinterval is located in the middle of the interval (0, s). The average error for the middle invariant subinterval is substantially equal to that of the positive β-expansion, and the average error is improved because the invariant subinterval is extended in the cases of the greedy expansion and the lazy expansion.
The operation of the signal converter 41 in
It is assumed that biNβ and ciNβ (i=1, . . . , L) are set as the series of L-bit expansion performed with respect to x and y (y=1−x) by the R-encoder. When di=biNβ+ciNβ and ei=(1−biNβ)+(1−ciNβ) are combined with each other, a characteristic equation of β of the R-encoder is expressed by an equation (20). Estimation of β can be enabled by solving the characteristic equation of β.
In
As described above, the p-expansion in which the negative real number is used as the radix is devised. Besides, the A/D converter and the D/A converter are designed based on the devised β-expansion. Therefore, compared with the conventional β-encoder in which the positive real number is used as the radix, the quantization error is improved, and the instability can be reduced during the mounting of an analog circuit, thereby facilitating the stable circuit mounting.
1 signal converter, 3 feedback unit, 5 amplifier, 7 quantizer, 9 power source, 11 signal generation unit, 13 delay unit, 15 adder, 21 signal converter, 23 feedback unit, 25 amplifier, 27 quantizer, 29 power source, 31 signal generation unit, 33 delay unit, 35 first adder, 37 second adder, 41 signal converter, 43 feedback unit, 45 amplifier, 47 quantizer, 49 power source, 51 signal generation unit, 53 delay unit, 55 first adder, 57 second adder
Number | Date | Country | Kind |
---|---|---|---|
2008-214819 | Aug 2008 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2009/064632 | 8/21/2009 | WO | 00 | 2/23/2011 |