1. Field of the Invention
The present invention relates to a DAC (Digital to Analog Converter) for converting a digital signal into an analog signal, and more particularly, relates to a DAC for generating a transfer function having a desired notch while reducing quantization noise.
2. Description of the Background Art
In a conventional DAC, particularly, for example, in an RF DAC (Radio Frequency Digital to Analog Converter) used to be applied to a radio transmitter, quantization noise is removed by using a noise shaping technology with a delta sigma modulator, and a transfer function having a notch for reducing a signal level in a desired frequency band is generated.
For example, in Non-Patent Literature 1 (“Mismatch Shaping for a Current-Mode Multibit Delta-Sigma DAC”, T. Shui et al, IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 34, NO. 3, mar. 1999), a transfer function having a notch for reducing a signal level in a desired frequency band is generated by using a mismatch shaping technology.
However, Non-Patent Literature 1 discloses an algorithm for controlling a unit-element array on the basis of input information (amplitude information, scalar) that is information two items before in a temporal axis, as shown in
In the algorithm of the conventional mismatch shaping, when a phase error occurs, a transfer function having a notch for reducing an error signal level in a desired frequency band cannot be obtained, and thus noise characteristics deteriorate.
Therefore, an object of the present invention is to provide a DAC for executing an algorithm for controlling a unit-element array, in order to generate a transfer function having a notch for reducing an error signal level in a desired frequency band in consideration of a gain error and a phase error.
In order to achieve the object described above, the present invention is a DAC for converting a digital signal that is an input signal, into an analog signal. The DAC includes: a switch bank to which at least two reference signals are inputted, which includes a plurality of switches for selecting any of the reference signals, and which outputs the selected reference signal through a plurality of paths; a memory in which a history of previously selected switches among the plurality of switches and previous sample values of the input signal are stored; and an amplitude-phase control section to which the input signal is inputted and which controls the switches of the switch bank on the basis of the input signal. The amplitude-phase control section refers to the memory and controls the switches of the switch bank in accordance with the history of the previously selected switches and a change of a current sample value of the input signal from a sample value that is a predetermined time ago, in order to select any of the at least two reference signals.
Further, in order to achieve the object mentioned above, a process performed by each component of the above-described DAC of the present invention can be regarded as a mismatch shaping method providing a series of process steps. The method is provided in a form of a program for causing a computer to execute the series of process steps. The program may be recorded in a computer-readable recording medium to be introduced to the computer.
As described above, according to the DAC of the present invention, an algorithm for controlling a unit-element array is executed in consideration of a gain error and a phase error. Thus, a transfer function having a notch for reducing an error signal level in a desired frequency band can be generated.
The present invention is useful for a transmitter for transmitting RF signals, a transmitting/receiving apparatus for transmitting and receiving RF signals, and the like.
These and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
The delta sigma modulator 10 quantizes an inputted baseband IQ signal, performs noise shaping, and then outputs an I signal (in-phase signal) and a Q signal (quadrature-phase signal). When quantization noise of the baseband IQ signal is sufficiently low, the delta sigma modulator 10 may not be provided.
The amplitude-phase control section 20 refers to the memory 60 described below, and controls RF signals generated by the RF signal generator 30 described below, on the basis of the I signal and the Q signal outputted from the delta sigma modulator 10.
A channel command used for determining the frequency of an RF signal is inputted to the RF signal generator 30, and the RF signal generator 30 generates RF signals of at least four phases. When a system does not have to control a frequency, it is also unnecessary to control a frequency by the channel command.
The switch bank 40 is composed of a plurality of switches and further includes power amplifiers for amplifying inputted RF signals. The plurality of switches are controlled by the amplitude-phase control section 20, and RF signals are outputted through a plurality of paths in accordance with a desired phase and amplitude. In the memory 60, a history of previously selected switches among the plurality of switches constituting the switch bank 40, and a history of the values of previously inputted IQ signals, are stored. The amplitude-phase control section 20 updates the histories stored in the memory 60.
The combination section 50 combines the RF signals inputted through the plurality of paths in the switch bank 40. Then, an RF signal resulting from the combination is transmitted through an antenna.
Hereinafter, each embodiment of the present invention will be described with reference to the drawings.
Here, the correspondence relation between the RF DAC 100 shown in
In
The first amplitude-phase control section 120 refers to the first memory 180 described below, and controls RF signals generated by the RF signal generator 130 described below, on the basis of the I signal outputted from the delta sigma modulator 110.
Meanwhile, the second amplitude-phase control section 170 refers to the second memory 190 described below, and controls RF signals generated by the RF signal generator 130, on the basis of the Q signal outputted from the delta sigma modulator 110.
A channel command is inputted to the RF signal generation section 130, and the RF signal generation section 130 generates RF signals of at least four phases. As a specific example, the RF signal generation section 130 generates RF signals of four phases (0, π, π/2, −π/2 [radian]), outputs the RF signals of the phases 0 and i to the first switch bank 140, and outputs the RF signals of the phases π/2 and −π/2 to the second switch bank 160. In addition, in the case of eight phases, for example, the phases are 0, π/4, π/2, 3π/4, π/2, −π/4, −π/2, and −3π/4 [radian].
The first switch bank 140 is composed of a plurality of switches and further includes power amplifiers for amplifying inputted RF signals. Then, the plurality of switches are controlled by the first amplitude-phase control section 120 in accordance with a desired phase and amplitude, and RF signals are outputted from the first switch bank 140 through a plurality of paths. In other words, the RF signals of the phases 0 and π that are inputted from the RF signal generator 130 to the first switch bank 140 are controlled on the basis of the I signal inputted from the delta sigma modulator 110 to the first amplitude-phase control section 120. In the first memory 180, a history of previously selected switches among the plurality of switches constituting the switch bank 140, and a history of the values of previously inputted I signals, are stored. The first amplitude-phase control section 120 updates the histories stored in the first memory 180.
Similarly, the second switch bank 160 is composed of a plurality of switches and further includes power amplifiers for amplifying inputted RF signals. Then, the plurality of switches are controlled by the second amplitude-phase control section 170 in accordance with a desired phase and amplitude, and RF signals are outputted from the second switch bank 160 through a plurality of paths. In other words, the RF signals of the phases π/2 and −π/2 that are inputted from the RF signal generator 130 to the second switch bank 160 are controlled on the basis of the Q signal inputted from the delta sigma modulator 110 to the second amplitude-phase control section 170. In the second memory 190, a history of previously selected switches among the plurality of switches constituting the switch bank 160, and a history of the values of previously inputted Q signals, are stored. The second amplitude-phase control section 170 updates the histories stored in the first memory 190.
The combination section 150 combines the RF signals inputted through the pluralities of paths in the first switch bank 140 and the second switch bank 160. Then, an RF signal resulting from the combination is transmitted through an antenna.
Here, the first switch bank 140 controlled by the first amplitude-phase control section 120 will be described in detail.
The phase control section 121 of the first amplitude-phase control section 120 controls the switch 141 of the first switch bank 140. The RF signals (θ1=0, θ2=π) are inputted from the RF signal generator 130 to the switch 141 of the first switch bank 140. The phase control section 121 of the first amplitude-phase control section 120 controls the switch 141 on the basis of the I signal from the delta sigma modulator 110, in order to select either one of θ1 or θ2.
The switch selection section 122 of the first amplitude-phase control section 120 controls ON/OFF of each switch of the switch group 142 of the first switch bank 140. Then, RF signals outputted from switches turned ON in the switch group 142 are outputted through the power amplifiers to the combination section 150. ON/OFF of each switch of the switch group 142 will be described below. The switch selection section 122 stores a history of ON/OFF of each switch of the switch group 142 in the first memory 180.
Next, an algorithm used by the first amplitude-phase control section 120 will be described. The value of an I signal at time Tn is indicated by Xn. The starting point of an arrow at Tn is indicated by k1,n, the end point of the arrow is indicated by k2,n, and the direction from the starting point to the end point of the arrow is indicated by dn. Here, the arrow is a parameter used for controlling the switch 142, and does not indicate positive and negative of the value Xn of the I signal. The meaning of the arrow will be described below with reference to
First, an operation of the phase control section 121 will be described. In
When the value Xn of the I signal ≧0, the phase control section 121 controls the switch 141 in order to select the RF signal of the phase θ1 among the RF signals of the phases θ1 and θ2 (θ1=0, θ2=180) that are inputted to the switch 141.
Meanwhile, when the value Xn of the I signal <0, the phase control section 121 controls the switch 141 in order to select the RF signal of the phase θ2.
Next, an operation of the first amplitude-phase control section 120 will be described.
With regard to the value Xn of the I signal at time Tn and the value Xn−p of the I signal at time Tn−p, in the case of not Xn=0, when the sings are the same (Xn·Xn−p≧0), step S410 is executed, and when the signs are different from each other (Xn·Xn−p<0), step S420 is executed. When Xn=0, step S440 is executed.
It should be noted that p is a value determined by an obtained transfer function described below.
Specifically, at step S410, the relation of the following Mathematical Formula 1 is satisfied.
Here, S is the number of the switches.
At step 410, the starting point at time Tn is set to be the same as the end point at time Tn−p by k1,n=k2,n-p in Mathematical Formula 1. Thus, the starting point (k1,n) at time Tn is the end point (k2,n-p) at time Tn−p. Here, k2,n=3, and thus k1,n=3.
At step 410, the direction (dn) of the arrow at time Tr is set to be opposite to the direction (dn−p) of the arrow at time Tn−p by dn=−dn−p in Mathematical Formula 1. Here, the direction (dn−p) of the arrow at time Tn−p is the direction from the switch #S to the switch #1, and thus the direction (dn) of the arrow at time Tn is the direction from the switch #1 to the switch #S.
In other words, the switches are arranged in ascending order from left to right in
As described above, the arrow is a parameter used for controlling the switch 142, and does not indicate positive and negative of the value Xn of the I signal.
The end point (k2,n) at time T is a point moved from the starting point (k1,n) at time Tn in the direction (dn) of the arrow by (|Xn|−1). Here, Xn=4, and thus k2,n=6.
Due to the above, at time Tn, the switches #3 to #6 from the starting point (k1,n=3) of the arrow to the end point (k2,n=6) of the arrow are turned ON, and the other switches are turned OFF (step S430 shown in
Meanwhile, at step S420, the relation of the following Mathematical Formula 2 is satisfied.
Here, at step S410, as described above, using Mathematical Formula 1, the starting point k1,n and the direction d of the arrow at time are calculated on the basis of the end point k2,n-p and the direction dn−p, respectively, of the arrow at time Tn−p. Meanwhile, at step S420, under the condition of p<q, using Mathematical Formula 2, the starting point k1,n and the direction d of the arrow at time Tn are calculated on the basis of the end point k2, n-q and the direction dn-q, respectively, of an arrow at time Tn-q. It should be noted that q is a value determined by the obtained transfer function described below.
Further, at steps S410 and S420, using Mathematical Formula 1 and Mathematical Formula 2 described above, with regard to the end point k2,n of the arrow at time Tn, when k2,n<0, it is set that k2,n=k2,n+S, and when k2,n≧S+1, it is set that k2,n=k2,n−S.
Moreover, when the value Xn of the I signal at time Tn is 0, the following Mathematical Formula 3 is calculated (step S440), and all the switches are turned OFF (step S450).
At start of input of the I signal, during a given period of time, for example, during a period corresponding to the value of p or q, a starting point k1 is set to be 1, and the direction (dn) of an arrow is set to be the direction from the switch #1 to the switch #S. Here, p=2, and thus the starting point k1=1 until time T2. It should be noted that it is possible to set an arbitrary point as a starting point.
At time T1, since a starting point k1,1=1 and the value X1 of the I signal=4, an end point k1,2=1+4−1=4. Thus, the switches #1 to #4 are turned ON, and the other switches are turned OFF.
At time T2, since a starting point k2, 1=1 and the value X2 of the I signal=4, an end point k2,2=1+4−1=4. Thus, the switches #1 to #4 are turned ON, and the other switches are turned OFF.
Next, at time T3, since X3·X1≧0, step S410 in
At time T4, since X4·X2≧0, step S410 in
At time T5, since X5·X3>0, step S410 in
At time T6, since X6·X4<0, step S420 in
At time T7, since X7·X5<0, step S420 in
At time T8, X8·X6≧0, and thus step S410 in
At time T9, X9·X7≧0, and thus step S410 in
Here, in calculation of the end point k2,9 of the arrow, since k2,9<0, the end point k2,9=k2,9+S=−1+7=6. Then, the switches #1 and #2 and the switches #6 and #7 are turned ON, and the other switches are turned OFF (step S430).
It should be noted that it is set that the starting point k=1 until p=2, but it may be set that the starting point k=1 until q=4.
Then, when the above algorithm is used, a transfer function in mismatch shaping of the present invention is the following Mathematical Formula 4. It is determined whether or not the signs of Xn−p and Xn are the same, and when Xn−p·X is positive, signal processing is performed using step 410 as shown in Mathematical Formula 1. As a result, the transfer function on the upper side is obtained. When Xn−p·Xn is negative, signal processing is performed using step 420 as shown in Mathematical Formula 2. As a result, the transfer function on the lower side is obtained. Thus, the transfer function is also different.
The switch control in the first amplitude-phase control section 120 and the first switch bank 140 has been described. In other words, the I signal outputted from the delta sigma modulator 110 and the RF signals (θ1=0, θ2=π) generated by the RF signal generator 130 have been described. It is understood that for switch control in the second amplitude-phase control section 170 and the second switch bank 160, with the Q signal outputted from the delta sigma modulator 110 and the RF signals (θ1=π/2, θ2=−π/2) generated by the RF signal generator 130, the same configuration and process are provided, and the same effects are obtained. The detailed description thereof is omitted. In addition, when great power is not desired, the amplifiers are unnecessary and can be removed.
As described above, according to the RF DAC 100 according to the first embodiment of the present invention, ON/OFF of each switch of the first switch bank 140 and the second switch bank 160 is controlled in consideration of a gain error and a phase error, whereby influence of an error is efficiently shaped, and an error transfer function having a notch for reducing an error signal level in a desired frequency band can be generated.
The amplitude-phase control section 220 refers to the memory 260 and controls the RF signals generated by the RF signal generator 230, on the basis of the I signal and the Q signal outputted from the delta sigma modulator 210.
A channel command is inputted to the RF signal generation section 230, and the RF signal generation section 230 generates RF signals of a plurality of phases. As a specific example, the RF signal generation section 230 generates RF signals of a plurality of phases (0, 2π/M, 4π/M, 6π/M, . . . , 2π(M−1)/M) and outputs the RF signals to the switch bank 240. M denotes an arbitrary integer of 1 or more.
The switch bank 240 is composed of a plurality of switches and further includes power amplifiers for amplifying inputted RF signals. Then, the plurality of switches are controlled by the amplitude-phase control section 220 in accordance with a desired phase and amplitude, and RF signals are outputted from the switch bank 240 through a plurality of paths. In other words, the RF signals of the plurality of phases (0, 2π/M, 4π/M, 6π/M, . . . , 2π(M−1)/M) that are inputted from the RF signal generator 230 to the switch bank 240 are controlled so as to be selected on the basis of the IQ signal inputted from the delta sigma modulator 210 to the amplitude-phase control section 220. In the present embodiment, in an IQ plane, the IQ signal has a phase that is the same as any one of the plurality of phases, and the RF signal of the same phase as that of the IQ signal is selected.
Here, the switch bank 240 controlled by the amplitude-phase control section 220 will be described in detail.
The phase control section 221 of the amplitude-phase control section 220 controls the switch 241 of the switch bank 240. Specifically, the RF signals (0, 2π/M, 4π/M, 6π/M, 2π(M−1)/M) are inputted from the RF signal generator 230 to the switch 241 of the switch bank 240. The phase control section 221 of the amplitude-phase control section 220 controls the switch 241 in order to select the RF signal (0, 2π/M, 4π/M, 6π/M, . . . , 2π(M−1)/M) of the same phase as that of the IQ signal from the delta sigma modulator 210.
The switch selection section 222 of the amplitude-phase control section 220 controls ON/OFF of each switch of the switch group 242 of the switch bank 240. Then, RF signals outputted from switches turned ON in the switch group 242 are outputted through the power amplifiers to the combination section 250. The switch selection section 222 stores a history of ON/OFF of each switch of the switch group 242 in the memory 260. In addition, in the memory 260, a history of the values of previously inputted IQ signals is stored.
Next, an algorithm used by the amplitude-phase control section 220 will be described. An I signal and a Q signal at time Tn are indicated by In and Qn, and the value of the signal is indicated by Xn. Then, the starting point of an arrow at Tn is indicated by k1,n, the end point of the arrow is indicated by k2,n, and the direction from the starting point to the end point of the arrow is indicated by dn. It should be noted that the meaning of the arrow is as described above.
Further, when having executed step S510, S520, S530, or S5M0, the switch selection section 222 executes step S610, and at time Tn, the switches of k1,n to k2,n are turned ON and the other switches are turned OFF. In addition, when having executed step S630, the switch selection section 222 executes step S640 and turns all the switches OFF. The specific process is as described with reference to
As described above, according to the RF DAC of the present invention, ON/OFF of each switch of the switch bank is controlled in consideration of a gain error and a phase error, whereby a transfer function having a notch for reducing a signal level in a desired frequency band can be generated.
A baseband IQ signal is inputted to the delta sigma modulator 310. The delta sigma modulator 310 quantizes the inputted baseband IQ signal, performs noise shaping, and then outputs an I signal (in-phase signal) and a Q signal (quadrature-phase signal). In the present embodiment, the I signal and the Q signal outputted from the delta sigma modulator 310 represent symbols on an I axis or a Q axis.
The amplitude-phase control section 320 refers to the memory 360 described below, and controls RF signals generated by the RF signal generator 330 described below, on the basis of the I signal and the Q signal outputted from the delta sigma modulator 310.
A channel command is inputted to the RF signal generation section 330, and the RF signal generation section 330 generates RF signals of at least four phases. As a specific example, the RF signal generation section 330 generates RF signals of four phases (0, π, π/2, −π/2) and outputs the RF signals of the phases 0, π, π/2, and −π/2 to the switch bank 340.
The switch bank 340 is composed of a plurality of switches and further includes power amplifiers for amplifying inputted RF signals. Then, the plurality of switches are controlled by the first amplitude-phase control section 320 in accordance with a desired phase and amplitude, and RF signals are outputted from the first switch bank 340 through a plurality of paths. In other words, the RF signals of the phases 0, π, π/2, and −π/2 that are inputted from the RF signal generator 330 to the switch bank 340 are controlled on the basis of the IQ signal inputted from the delta sigma modulator 310 to the amplitude-phase control section 320. In the memory 360, a history of previously selected switches among the plurality of switches constituting the switch bank 340, and a history of the values of previously inputted IQ signals, are stored. The amplitude-phase control section 320 updates the histories stored in the memory 360.
The combination section 350 combines the RF signals inputted through the plurality of paths in the switch bank 340. Then, an RF signal resulting from the combination is transmitted through an antenna.
Here, the switch bank 340 controlled by the amplitude-phase control section 320 will be described in detail.
The phase control section 321 of the amplitude-phase control section 320 controls the switch 341 of the switch bank 340. Specifically, the RF signals (θ1=0, θ2=π/2, θ3=π, θ4=−π/2) are inputted from the RF signal generator 330 to the switch 341 of the switch bank 340. The phase control section 321 of the amplitude-phase control section 320 controls the switch 341 on the basis of the IQ signal from the delta sigma modulator 310, in order to select any of θ1, θ2, θ3, and θ4. In the present embodiment, the IQ signal is a signal for delta sigma modulation based on a high-speed clock, and is a signal representing a symbol mapped on the I axis or the Q axis on the IQ plane. From θ1, θ2, θ3, and θ4, the same phase as the phase of the IQ signal is selected.
The switch selection section 322 of the amplitude-phase control section 320 controls ON/OFF of each switch of the switch group 342 of the switch bank 340. Then, RF signals outputted from switches turned ON in the switch group 342 are outputted through the power amplifiers to the combination section 350. ON/OFF of each switch of the switch group 342 will be described below. The switch selection section 222 stores a history of ON/OFF of each switch of the switch group 342 in the memory 360.
Next, an algorithm used by the amplitude-phase control section 320 will be described. The amplitude of an IQ signal at time Tn is indicated by |Xn|. Then, the starting point of an arrow at Tn is indicated by k1,n the end point of the arrow is indicated by k2,n, and the direction from the starting point to the end point of the arrow is indicated by d. It should be noted that the meaning of the arrow is as described above.
Further, when having executed step S710, S720, S730, or S740, the switch selection section 322 executes step S750, and at time Tn, the switches of k1,n to k2,n are turned ON and the other switches are turned OFF. In addition, when having executed step S750, the switch selection section 322 executes step S770 and turns all the switches OFF. The specific process is as described with reference to
Hereinafter, an RF DAC 400 according to a modified example of the present embodiment will be described with reference to
In
The first amplitude-phase control section 420 refers to the first memory 480 described below, and controls RF signals generated by the RF signal generator 430 described below, on the basis of Number (+axis) and Phase (+axis) outputted from the decoder 410.
Meanwhile, the second amplitude-phase control section 470 refers to the second memory 490 described below, and controls RF signals generated by the RF signal generator 430 described below, on the basis of Number (x axis) and Phase (x axis) outputted from the decoder 410.
A channel command is inputted to the RF signal generation section 430, and the RF signal generation section 430 generates RF signals of eight phases. As a specific example, the RF signal generation section 430 generates RF signals of eight phases (0, π/2, π, −π/2, π/4, 3π/4, −3π/4, −π/4), outputs the RF signals of four phases (0, π/2, π, −π/2) to the first switch bank 440, and outputs the RF signals of four phases (π/4, 3π/4, −3π/4, −π/4) to the second switch bank 360.
The first switch bank 440 is composed of a plurality of switches and further includes power amplifiers for amplifying inputted RF signals. Then, the plurality of switches are controlled by the first amplitude-phase control section 420 in accordance with a desired phase and amplitude, and RF signals are outputted from the first switch bank 440 through a plurality of paths.
In other words, the RF signals of the four phases (0, π/2, π, −π/2) that are inputted from the RF signal generator 330 to the first switch bank 440 are selected on the basis of Phase (+axis) inputted from the decoder 410 to the first amplitude-phase control section 420. It should be noted that Number (+axis) is used instead of the I signal in the embodiment described above.
In the first memory 480, a history of previously selected switches among the plurality of switches constituting the first switch bank 440, and a history of the values of previous Number (+axis) and Phase (+axis), are stored. The first amplitude-phase control section 420 updates the histories stored in the first memory 480.
Similarly, the second switch bank 460 is composed of a plurality of switches and further includes power amplifiers for amplifying inputted RF signals. Then, the plurality of switches are controlled by the second amplitude-phase control section 470 in accordance with a desired phase and amplitude, and RF signals are outputted from the second switch bank 460 through a plurality of paths.
In other words, the RF signals of the four phases (π/4, 3π/4, −3π/4, −π/4) that are inputted from the RF signal generator 430 to the second switch bank 460 are selected on the basis of Phase (x axis) inputted from the decoder 410 to the second amplitude-phase control section 470. It should be noted that Number (x axis) is used instead of the Q signal in the embodiment described above.
In the second memory 490, a history of previously selected switches among the plurality of switches constituting the second switch bank 460, and a history of the values of previous Number (x axis) and Phase (x axis), are stored. The second amplitude-phase control section 470 updates the histories stored in the second memory 490. It should be noted that an output of one unit of the second switch bank 460 is preferably set so as to be √2 times that of an output of one unit of the first switch bank in accordance with the second term in each formula in
The combination section 450 combines the RF signals inputted through the pluralities of paths in the first switch bank 440 and the second switch bank 460. Then, an RF signal resulting from the combination is transmitted through an antenna.
Algorithms used by the first amplitude-phase control section 420 and the second amplitude-phase control section 470 are the same as the algorithm described with reference to
A radio transmitting/receiving apparatus can be composed of a transmitter in which the RF DAC according to each of the above-described embodiments and modified examples of the present invention is used, a receiver, an antenna, and an antenna switch connecting them.
The range in which the present invention is applied includes RF DACs as well as general DACs used for signal processing. Each RF DAC described above as the DAC of the present invention is applied to a transmitter. Here, a basic embodiment of the DAC of the present invention will be described.
The DAC 500 includes a switch bank 540 including a plurality of switches 541, a memory 560, and a switch selection section 522. In the memory 560, a history of previously selected switches 541 and a history of the values of previous input signals are stored. A rule for selection of the switches 541 is different depending on a change of an input signal from a previous input signal.
As an example, reference signals Y and −Y having positive and negative values are inputted to the switch bank 540. Each reference value may be represented by the voltage or current of an input signal. An input signal x having a negative or positive value or 0 is inputted to the amplitude-phase control section 520. The amplitude-phase control section 520 refers to the memory 560, and changes each switch 541 to any of Y, −Y, and an Off state on the basis of a change of the sign of the value of a current input signal x from the sign of a value that is a predetermined time ago. An output of each switch 541 is inputted to, for example, a combiner, and combined therein.
As an algorithm for switch selection, for example, the algorithm in the first embodiment is used, whereby a DAC can be configured which has a transfer function with a notch for reducing an error signal level in a desired frequency band.
Further, in each embodiment described above, the case where the present invention is configured as hardware has been described as an example. However, the present invention can also be realized as software in cooperation with hardware.