This application claims priority under 35 USC §119 to Korean Patent Application No. 2009-0057347, filed on Jun. 26, 2009 in the Korean Intellectual Property Office (KIPO), the disclosure of which is incorporated by reference in its entirety herein.
1. Technical Field
Exemplary embodiments of the inventive concept relate to audio devices, and more particularly to an audio digital/analog converter and an audio processing apparatus including the same.
2. Discussion of Related Art
Delta sigma modulation (DSM) is a technique for obtaining high signal resolutions using noise shaping and over-sampling. Noise shaping frequency-shifts quantization noise generated in a signal-band during signal quantization into a no-signal band (i.e., a band that is not used). The amount of noise frequency-shifted into the no-signal band is proportional to a loop filter order of a modulator.
Over-sampling is a process of sampling a signal with a frequency significantly higher than twice the bandwidth of the signal. Since the frequency band is extended by the over-sampling, the level of quantization noise is decreased. As the over-sampling frequency is increased (i.e., an over-sampling ratio (OSR)), the level of the quantization noise is decreased, so that a signal-to-noise-and-distortion ratio (SDNR) in the bandwidth is increased. Accordingly, the SDNR may be increased in the bandwidth of a signal by using the over-sampling and the noise shaping in a DSM device.
In a digital/analog converter, a switched-capacitor filter (SCF) may be used for decreasing the quantization noise that is frequency-shifted into the no-signal band and for converting audio signals in the signal-band to analog signals. However, the SCF includes many switches and capacitors, and thus the SCF occupies a large area, consumes a large amount of power, and generate a large amount of noise. Further, in systems that use multiple channels such as digital televisions and DVDs, a number of SCFs corresponding to the number of channels may be included therein, which may result in an even larger area and power consumption.
According to an exemplary embodiment of the inventive concept, an audio DAC includes a delta/sigma modulator (DSM), a pulse width modulator (PWM) and an output unit. The DSM delta-sigma modulates an over-sampled digital signal to generate a multi-bit quantization signal. The PWM pulse width modulates the multi-bit quantization signal to generate a single-bit pulse width modulation signal. The output unit includes an analog filter that low-pass filters the single-bit pulse width modulation signal to generate an analog output signal.
The PWM may be a symmetric-type PWM or an asymmetric-type PWM. When the PWM is an asymmetric-type PWM, the audio DAC may further include an error correction circuit, connected between the DSM and the PWM, which corrects errors generated by the PWM. The error correction circuit may be connected in an open loop between the DSM and the PWM. The error correction circuit may include a delayer delaying the multi-bit quantization signal and an adder adding the multi-bit quantization signal and an output of the delayer.
The output unit may further include a switching circuit that selectively connects a first reference voltage and a second reference voltage to the analog filter in response to the single-bit pulse width modulation signal.
The audio DAC may further include a clock generator which generates a first clock signal and a second clock signal having a higher frequency than a frequency of the first clock signal. The first clock signal may be provided to the DSM, and the second clock signal may be provided to the PWM. The frequency of the second clock signal may be K times as high as the frequency of the first clock signal, where K is a positive integer equal to or greater than two.
The PWM may includes a ramp signal generator that generates a triangular ramp signal swinging between a first peak value and a second peak value based on the second clock signal and a comparator that compares the multi-bit quantization with the ramp signal to provide the pulse width modulation signal having a pulse width varying according to a level of the multi-bit quantization signal, in synchronization with the second clock signal.
The audio DAC may further include an over-sampler that over-samples a digital input signal to generate the over-sampled digital signal. The DSM may include a subtracter that subtracts the multi-bit quantization signal from the over-sampled digital signal, a loop filter that filters an output signal of the subtracter and a quantizer that quantizes an output signal of the loop filter to provide the multi-bit quantization signal. An operating frequency of the PWM may be higher than an operating frequency of the DSM.
According to an exemplary embodiment of the inventive concept, a multi-channel audio digital-to-analog converter (DAC) includes a plurality of channels, each converting corresponding digital input signal to a corresponding analog output signal and a clock generator that multiplies a reference clock signal to generate a multiplied clock signal and output the multiplied clock signal to each pulse width modulator PWM included in each of the channels. Each of the channels includes a delta sigma modulator DSM that quantizes the corresponding digital input signal which is over-sampled to generate a multi-bit quantization signal, a PWM that pulse width modulates the corresponding multi-bit quantization signal to generate a single-bit pulse width modulation signal, and an output unit including an analog filter that low-pass filters the corresponding single-bit pulse width modulation signal to generate the corresponding analog output signal.
The clock generator may be shared by the plurality of channels. The PWM may be one of a symmetric type PWM or an asymmetric type PWM. When the PWM is asymmetric, the multi-channel audio DAC may further include an error correction circuit connected in an open loop between the DSM and the PWM, and configured to correct errors generated by the PWM. The error correction circuit may be configured to be isolated from being influenced by or influencing transfer characteristics of a feedback circuit of the DSM.
According to an exemplary embodiment of the inventive concept, an audio processing apparatus includes a volume control unit and an audio digital to analog convert (DAC). The volume control unit volume-controls audio source data to generate digital data in response to a volume control signal. The audio DAC over-samples the digital data, and converts the over-sampled digital data to an analog output signal. The audio DAC includes a delta/sigma modulator (DSM), a pulse width modulator (PWM) and an output unit. The DSM delta-sigma modulates the over-sampled digital data to generate a multi-bit quantization signal. The PWM pulse width modulates the multi-bit quantization signal to generate a single-bit pulse width modulation signal. The output unit includes an analog filter that low-pass filters the single-bit pulse width modulation signal to generate the analog output signal.
The volume control unit may further include a volume table outputting a volume value in response to the volume control signal and a multiplier that multiplies the audio source data by the volume value to generate the digital data.
Exemplary embodiments of the inventive concept will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings.
Exemplary embodiments of the inventive concept will be described more fully hereinafter with reference to the accompanying drawings. The present inventive concept may, however, be embodied in many different forms and should not be construed as limited to the exemplary embodiments set forth herein. In the drawings, like numerals refer to like elements throughout. It will be understood that when an element is referred to as being “connected” or “coupled” to another element, it can be directly connected or coupled to the other element or intervening elements may be present
The over-sampler 20 over-samples a digital signal (DS) to generate an over-sampled digital signal ODS. The digital signal (DS) may have been generated from sampling an analog audio signal at a predetermined sampling rate. The DSM 100 delta-sigma modulates the over-sampled digital signal ODS to generate a multi-bit quantization signal (MQS). The PWM 200 pulse-width modulates the multi-bit quantization signal (MQS) to generate a single-bit pulse width modulation signal PWS. The output unit 300 may include an analog filter that filters the single-bit pulse width modulation signal PWS to generate an analog output signal OUT. The clock generator 30 generates a first clock signal CLK1 and a second clock signal CLK2 based on a reference clock signal RCLK. A frequency of the second clock signal CLK2 may be twice as high as a frequency of the first clock signal CLK1.
The output signal MQS of DSM 100 may be expressed in a Z-domain by equation 1 as follows:
MQS(z)=ODS(z)+(1−z−1)N*E1(z) [Equation 1],
where N is the order of the loop filter 120, and E1 (z) is quantization noise of the DSM 100.
Referring again to
The ramp signal generator 210 generates a triangular ramp signal RAMP, which swings between a first peak value MAX and a second peak value MIN, based on the second clock signal CLK2. A frequency of the second clock signal CLK may correspond to a variable K (e.g., where K is a positive integer greater than or equal to two) times as high as a frequency of the first clock signal CLK1, which is provided to DSM 100. The variable K may be proportional to the over-sampling rate and quantization bits of the DSM 100. Therefore, an operation frequency of the PWM 200 may be higher than an operation frequency of the DSM 100.
As illustrated in
As illustrated in
When the first signal M0 and the second signal M1 are different from each other with different levels, the pulse width modulation signal PWS2 is an asymmetric pulse signal that is asymmetric with respect to the center of period of the pulse width modulation signal PWS2.
Referring
OSR*QL*2*SR [Equation 2],
where OSR is the oversampling rate of the over-sampler 20, QL is the quantization level of the DSM 100, and SR is a sampling frequency (i.e., the frequency at which the digital signal DS is sampled from an analog signal). When the PWM 200 is an asymmetric type as illustrated in
OSR*QL*1*SR [Equation 3].
In addition, when the PWM 200 is a symmetric type as illustrated in
An ideal transfer function of the error correction circuit 140 for correcting the asymmetric error E2 generated by the PWM 205 may be expressed by equation 4 as follows:
EC(z)=1{J+E2(z)} [Equation 2],
where J is a constant (e.g., a real number such as 0, 1, 0.5, etc.).
When J=K (e.g., a gain factor)=H(z) (e.g., a transfer function of the asymmetric-type PWM 205 having no errors), K+E2(z) becomes the transfer function of the asymmetric-type PWM 205 having an asymmetric error. When this occurs, the transfer function EC(z) of the error correction circuit 140 is the inverse of the transfer function K+E2(z) of the asymmetric-type PWM 205 having the asymmetric error.
Alternatively, when J=0, EC(z)=1/E2(z), and therefore, the transfer function EC(z) of the error correction circuit 140 is the inverse of the transfer function E2(z) of the asymmetric error. Accordingly, the error correction circuit 140 may be embodied to have a transfer function corresponding to the inverse of the transfer function of the asymmetric type PWM 205 or the transfer function E2(z) of the asymmetric error.
The error correction circuit 140 operates through an open loop path between the DSM 100 and the PWM 205 such that the error correction circuit 140 does not influence and/or is not influenced by the transfer characteristics of the feedback circuit of the DSM 100. Accordingly, the error correction circuit 140 should not affect system stability and the characteristics of the DSM 100. When E2(z) is modeled to have a transfer function of (1−Z−1), the error correction circuit 140 is modeled to have a transfer function of 1/(1−Z−1).
When bit truncation is not performed on the multi-bit quantization signal MQS, the number of bits in an output signal of the error correction circuit 140 (e.g., the error-corrected quantization signal MQSE) may be continuously integrated when the error correction circuit 140 is implemented to have the inverse of (1−Z−1), i.e., 1/(1−Z−1), as the transfer function. The number of bits in the input signal of the PWM 205 may be continuously increased and may go beyond the normal range of the ramp signal RAMP used for pulse width modulation.
When the normal range of the ramp signal RAMP is set to a large value, an operating frequency required for pulse width modulation is increased, which can make the implementation of the hardware difficult. Accordingly, the error correction circuit 140 may be implemented as a low-pass filter instead of an integrator by adding two adjacent signals (e.g., a current signal and a previous signal).
In
When the output unit 320 is implemented with the switching circuit 321 as illustrated in
Accordingly, the quantization noise may be sufficiently reduced without adopting a switched capacitor filter by simultaneously increasing the OSR and the quantization level according to at least one exemplary embodiment of the inventive concept. Therefore, power consumption and chip size may be sufficiently reduced. In addition, an operating frequency of the PWM 200 may be much higher than an operating frequency of the DSM 100 because the PWM operates with increased frequency for reducing the quantization noise.
The PWMs 531˜53N share the one clock generator 505. The clock generator 505 multiplies a reference clock signal RCLK and provides the multiplied clock signal MCLK to each of the PWMs 531˜53N. Therefore, power consumption and chip size may be sufficiently reduced by sharing one clock generator 505 as illustrated in
The volume control unit 610 includes a volume table 610 and a multiplier 613. The volume table 611 outputs a volume value VOL in response to a volume control signal VCON. The volume value VOL is a level control value for controlling the level of audio source data ASD. The audio source data ASD may include pulse code modulation (PCM) data.
The volume table 611 stores a table for mapping the volume control signal VCON to the volume value VOL. When a user of the audio processing apparatus 600 adjusts the volume of an audio signal, the volume control signal VCON corresponds to the user's adjustment. The volume control signal VCON may be a digital code including a plurality of bits. For example, when the volume control signal VCON includes 4 bits, volume may be controlled at 16 levels.
The multiplier 613 multiplies the audio source data ASD by the volume value VOL and outputs volume-controlled digital signal DS. For example, the multiplier 613 amplifies or attenuates the level of the audio source data ASD according to the volume value VOL. When the volume value VOL is greater than 1 (0 dB), the level of the audio source data ASD is amplified. When the volume value VOL is less than 1 (0 dB), the level of the audio source data ASD is attenuated. A volume value of 1 (0 dB) may be interpreted as a maximum volume value.
The audio source data ASD may be obtained by performing PCM on a signal resulting from sampling an analog audio signal at a predetermined sampling rate (e.g., 48 kHz). The audio source data ASD may be include a plurality of bits, e.g. 16 bits, 20 bits, etc.
The over-sampler 630 over-samples the digital signal DS from the volume control unit 610 at a frequency higher than the audio sampling frequency. The over-sampler frequency may be, for example, 16, 32 or 64 times the audio sampling frequency (e.g., 48 kHz).
The PWM 650 may be a symmetric type or an asymmetric type as described above. When the PWM 650 is an asymmetric type, an error correction circuit may be inserted between the DSM 640 and the PWM 650 as illustrated in
The output unit 660 may employ the output unit 310 of
As mentioned above, the quantization noise may be reduced by increasing the OSR and the quantization level, thereby operating the PWM at a higher frequency without adopting the switched-capacitor filter according to at least one embodiment of the inventive concept. Accordingly, power consumption and chip size may be sufficiently reduced. At least one exemplary embodiment of the inventive concept may be applied to digital audio devices that employ multi-channels.
Having described exemplary embodiments of the inventive concept, it should be understood that various changes, substitutions and alterations can be made therein without departing from the scope of the present inventive concept. Accordingly, all such modifications are intended to be included within the scope of the present inventive concept.
Number | Date | Country | Kind |
---|---|---|---|
10-2009-0057347 | Jun 2009 | KR | national |