This application claims priority to Japanese Patent Application No. 2011-247167 filed on Nov. 11, 2011, the disclosure of which including the specification, the drawings, and the claims is hereby incorporated by reference in its entirety.
The present disclosure relates to pulse width modulation devices used for digital audio power amplifiers performing high-efficiency power amplification using, for example, switching.
Conventionally, the mainstream of audio players has been stereos. In recent years, the stereos are replaced with what is called audio visual (AV) equipment such as DVDs and BDs which also provide video images. In such AV equipment, an additional channel (ch) called a surround channel is used for a sound system to provide an increasing dynamic and realistic sound. High-efficiency switching amplifiers are used for multichannel sound reproduction, and sound reproduction with low power consumption.
Such a switching amplifier includes a full digital amplifier performing digital processing specializing in digital signals. A general full digital amplifier converts an input signal of 16 bits or 24 bits to several-bit data using signal processing called noise shaping, inputs the signal to a pulse width modulator, and converts the signal to a 1-bit signal with a variable pulse width. The converted pulse train is amplified by a power switch, and the output pulse train passes through a low-pass filter, thereby capturing an audio signal. A speaker is driven by the audio signal.
In
In the above-described configuration, however, when the characteristics of the non-linear element are to be changed a little due to a change in the operating voltage, the entire table of the non-linear element e(y) needs to be rewritten, and a considerable change is required.
Since the stability of the processing may be problematic in changing the non-linear processing, great efforts may be required to check operation. In view of the problem, the present disclosure provides a high-stability pulse width modulation device capable of changing distortion compensation characteristics of an output pulse signal.
According to an aspect of the present disclosure, a pulse width modulation device modulating an N-bit input digital signal, where N is an integer of 2 or more, into a pulse signal having a pulse width corresponding to a value of the digital signal. The modulator includes a noise shaping filter configured to perform noise shaping of the input digital signal; a quantizer configured to convert an output of the noise shaping filter to an M-bit digital signal, where M is an integer smaller than N; a pulse width modulator configured to convert the output of the quantizer to the pulse signal; and a compensation circuit configured to receive the output of the quantizer and to output a compensation signal for compensating non-linear distortion of the pulse signal. The noise shaping filter receives both of the output of the quantizer and an output of the compensation circuit, and executes noise shaping.
According to this aspect, the compensation circuit is provided, which receives the output of the quantizer, and outputs the compensation signal for compensating non-linear distortion of the pulse signal. The noise shaping filter, which performs noise shaping of the input digital signal, receives both of the output of the quantizer and the output of the compensation circuit, and executes noise shaping. Thus, in order to perform feedback through the non-linear element for distortion compensation, the non-linear element can be divided into a linear portion, in which the output of the quantizer is used without change, and a non-linear portion for compensation. This increases flexibility of the processing, facilitates a change in the characteristics of the non-linear element, and increases the operational stability.
In the pulse width modulator according to the present disclosure, the non-linear element can be divided into the linear portion, in which the output of the quantizer is used without change, and the non-linear portion for compensation. This facilitates a change in the characteristics of the non-linear element, and increases the operational stability.
Embodiments are described in detail below with reference to the attached drawings. However, unnecessarily detailed description may be omitted. For example, detailed description of well-known techniques or description of the substantially same elements may be omitted. Such omission is intended to prevent the following description from being unnecessarily redundant and to help those skilled in the art easily understand it.
Inventor provides the following description and the attached drawings to enable those skilled in the art to fully understand the present disclosure. Thus, the description and the drawings are not intended to limit the scope of the subject matter defined in the claims.
First, operation of a basic noise shaping circuit will be briefly described.
Where the quantization noise is Vq and delay processing is Z, it is found that the following equation can be obtained from FIG. 6.
Output=Input+(1−Z)Vq
In the equation, (1−Z) means obtaining the difference between present time data and time data immediately before the present. This is the same as the definition of differentiation. Thus, the output of the circuit of
Due to the noise shaping by differentiation, the feature of the circuit of
The processing is used in a plurality of samples, thereby providing a higher-order noise shaping filter. The filtering can be expressed by an ABCD matrix which is generally used in the digital control theory. Japanese Patent Publication No. 2005-236928 teaches using this filtering, and compensating a distortion component occurring in a series of the filtering using non-linear processing.
In
In this embodiment, N is 24, and M is 6. That is, the quantizer 12 converts a 24-bit digital signal, which is an output of the noise shaping filter 11 to 6 bits, i.e., 64 steps, and outputs the converted signal as a digital signal y. The pulse width modulator 13 converts the input signal y of 64 steps to the pulse signal w having 64 types of pulse widths corresponding to the steps, and outputs the converted signal. The compensation circuit 14 includes a compensation table r(y) for compensating the non-linear distortion. The compensation table r(y) defines the correspondence relationship between the 6-bit output y of the quantizer 12 and the 24-bit compensation signal r. The compensation table r(y) is prepared by subtracting the linear portion corresponding to the output y of the quantizer 12 from a conventional non-linear element table e(y).
The noise shaping filter 11 performs filter calculation based on the quantization noise, which is the difference between the 24-bit input digital signal DS and the 6-bit output signal y of the quantizer 12. The noise shaping filter 11 also performs calculation using the 24-bit compensation signal r output from the compensation circuit 14, thereby compensating the distortion.
The noise shaping filter 11 is capable of controlling the compensation characteristics based on an output r of the compensation circuit 14.
The characteristics of the noise shaping filter 11 are changed, for example, as follows. Where distortion compensation is to be enhanced, gains b1 and b2 of the amplifiers 101 and 102 are increased in the addition of the compensation signal r. As a result, the more effectively compensated pulse signal w can be obtained. Where distortion compensation is not to be performed, the gains b1 and b2 of the amplifiers 101 and 102 are set to zero. As such, the compensation characteristics of the noise shaping filter 11 can be easily switched.
As described above, according to this embodiment, in order to compensate non-linear distortion of the output pulse signal w, the non-linear element for compensation is divided into a linear portion, in which the output of the quantizer is used without change, and a non-linear portion for compensation. This increases flexibility of the processing, thereby facilitating switch of the characteristics.
In
The noise shaping filter 21 performs filter calculation based on the quantization noise, which is the difference between the 24-bit input digital signal DS and the 7-bit output signal y of the quantizer 22. The noise shaping filter 21 also performs calculation using the 24-bit compensation signal r output from the compensation circuit 24, thereby compensating distortion. The noise shaping filter 21 has a configuration shown in, for example,
As such, since the number of steps of the quantizer 22 is set large, the output y of the quantizer 22 has margin and is not saturated even if the input digital signal DS has the maximum amplitude. This stably operates the linear feedback portion. In addition, since non-linear compensation of the compensation circuit 24 can be added, the compensation can be performed without losing the stability.
Generally, a digital power amplifier has the limitation of the smallest pulse width of a PWM signal. Thus, in using the pulse width modulation device of the present disclosure in a digital power amplifier, the number of steps is limited in the limiter 25 to satisfy the limitation of the pulse width, thereby improving use efficiency of the power source.
However, a compensation circuit 34 receives not the output y of the quantizer 22, but the output y1 of the limiter 25. Specifically, the compensation circuit 34 refers to a compensation table r(y1) related to the output y1 of the limiter 25, which has a smaller number of steps than the output y of the quantizer 22, and outputs the compensation signal r to the noise shaping filter 21. The signal y1 with the small number of steps is used as an input, thereby reducing the size of the compensation table r(y1). This reduces the circuit scale.
As compared to the second embodiment, the compensation signal r, which is not necessarily suitable for the part of steps limited by the limiter 25, is fed back to the noise shaping filter 21. However, the part of steps is limited by the limiter 25 and is originally irregular. Even if a little different PWM signal is output, the sound quality is not particularly influenced.
The pulse width modulation device according to the present disclosure is used, for example, in a digital audio power amplifier, thereby providing audio reproduction with high sound quality and high efficiency.
As described above, the first to third embodiments have been described as example techniques disclosed in the present application. However, the techniques according to the present disclosure are not limited to these embodiments, but are also applicable to those where modifications, substitutions, additions, and omissions are made. In addition, elements described in the first to third embodiments may be combined to provide a different embodiment.
Various embodiments have been described above as example techniques of the present disclosure, in which the attached drawings and the detailed description are provided.
As such, elements illustrated in the attached drawings or the detailed description may include not only essential elements for solving the problem, but also non-essential elements for solving the problem in order to illustrate such techniques. Thus, the mere fact that those non-essential elements are shown in the attached drawings or the detailed description should not be interpreted as requiring that such elements be essential.
Since the embodiments described above are intended to illustrate the techniques in the present disclosure, it is intended by the following claims to claim any and all modifications, substitutions, additions, and omissions that fall within the proper scope of the claims appropriately interpreted in accordance with the doctrine of equivalents and other applicable judicial doctrines.
Number | Date | Country | Kind |
---|---|---|---|
2011-247167 | Nov 2011 | JP | national |