|Title of Invention||
"A PULSE WIDTH MODULATOR"
|Abstract||A pulse width modulator (10) for converting a digital signal into a PWM signal, comprising a plurality of integrators (11) with integrator gains (12) arranged in series, a comparator (17) for comparing the output of the last integrator (11') with a refer-ence, and thereby creating the PWM signal. The modulator further has means (13) for realizing self-oscillation at a desired switching frequency, and a feedback path (14) connected to a point down stream said comparator and leading to a plurality of summing points, each preceding one of said integrators, wherein the PWM signal is quantized in time by the clock frequency of the modulator, and wherein the integrator gains (12) are adapted to reduce any quantization noise.|
|Full Text||DIGITAL PULSE WIDTH CONTROLLED OSCILLATION MODULATOR
The present invention relates in general to a
digital pulse width modulator, and to a power conversion system .implementing such a modulator. More specifically, the invention relates to a system for conversion of sampled digital signals such as Pulse Code Modulated (PCM) signals to a Pulse Width Modulated (PWM) signal, also known as PCM-PWM conversion.
Prior art digital PWM modulators generate a pulse width modulated signal with a carrier frequency of minimum twice the signal frequency to comply with the Nyquist criteria. The objective for such a system implementation is to achieve noise and distortion artifacts lower than quantization noise of the sampled signals, which is a challenging task when operating with sampled audio signals of 24 bit resolution. The result is a complex and expensive system.
In the art well-known systems are known e.g. from the document WO 97/37433. Such a system is illustrated in fig 1, and comprises a sample rate converter 1, an oversampler 2, a noise shaper 4 and an error correcting algorithm unit 3.
This prior art approach suffers from several drawbacks.
Firstly, the carrier frequency is dependent on the sample frequency, making the use of a sample rate converter 1 necessary. Especially as audio media comes in many different formats, sample rate conversion becomes mandatory. The sample rate converter 1 can be complex to implement due to high order filtering. Quantization errors and aliasing will be introduced leading to reduced dynamic ranges.
Further, in order to increase the dynamic range, an error correcting algorithm 3 and a noise shaper 4 must be comprised in the design'leading to unnecessary complexity and cost.
Further, the noise shaper 3 is limited in bandwidth, as the maximum loop gain to suppress the quantization noise is constrained by the stability of the noise shaping loop. Therefore,
the noise shaper 4 does still not achieve a satisfactory dynamic range.
Analog PWM modulators where an analog input signal is converted into a PWM signal is also known from prior art systems. In order to obtain a stable system and shape the control loop characteristics, such prior art systems often require additional lead-, lag, lead-lag or lag-lead compensators in the control structure.
Prior art modulator systems based on non-oscillating triangular modulation are greatly reduced in loop gain by necessary demands of phase-margins for the loop to stay stabile. Self-oscillating systems, as described e.g. in WO 02/25357, do not need a phase margin and will have higher loop gain to suppress error and noise components. However, self-oscillating modulators have not yet been implemented successfully in the digital domain.
Object of the invention
The object of the present invention is to overcome or at least mitigate the above problems, and provide a non-complex system capable of receiving a sampled digital input signal and converting it to PWM domain.
Summary of the invention
According to a first aspect of the invention, this and other objects are achieved by a pulse width modulator comprising a plurality of integrators with integrator gains arranged in series, a comparator for comparing the output of the last integrator with a reference, and thereby creating the PWM signal, means for realizing self-oscillation at a desired switching frequency, and a feedback path connected to a point down stream said comparator and leading to a plurality of summing points, each preceding one of said integrators. The PWM signal is quantized in time by the clock frequency of the modulator, and the integrator gains are adapted to reduce any quantization noise.
By choosing an appropriate number of integrators, each having a suitable gain, the loop gain is thus set to reduce the noise generated by quantization in the system. At the same time, the
system can provide an improved loop gain bandwidth corresponding to the switching frequency, leading to much wider control bandwidths compared to prior art systems. This leads to even higher suppression of noise and distortion components within the modulator bandwidth, since the ratio between the switching frequency and the modulator bandwidth can be less than in prior art systems. Although quantization noise has been mentioned specifically, it is clear that any noise introduced into the modulator will be reduced by the invention.
According to the invention, the noise can be reduced to levels corresponding to the resolution of the digital input signal, typically a 24-bit signal. The effect of the multiple feedback loop and the integrators with gain is similar to that of the noise shaper of prior art, but the self-oscillating nature of the system has the benefit of higher loop gain in the modulator loop compared to what can be obtained by a noise shaper. The obtainable dynamic range is therefore higher than prior art, and at the same time the use of noise shapers is eliminated.
Further, because of its self-oscillating nature, the modulator is independent of the format of the input signal, especially regarding the sampling frequency, the modulator according to the invention need not to be synchronized with the signal source. This is of great benefit and eliminates the use of prior art sample rate converters and oversampiers.
The elimination of noise shapers, sample rate converters and oversamplers, together with the fact that only integrators are used for loop shaping, results in a very low system complexity. In fact, it is possible to implement a complete system according to the invention without the use of memory circuits. A modulator according to the invention can be implemented on less than 10% of the silicon area required for a prior art modulator. Efficiency is improved and cost is reduced, dramatically.
The modulator according to the invention further provides a carrier frequency (equal to the switching frequency) which varies with the modulation index. Such Variable carrier Frequency Pulse Width Modulation (VFPWM) is known from analogue self oscillating systems, and is of great benefit for the efficiency of the output
stage, EMI and switching component stress. Until now, there has been no equivalent technology adapted for the digital domain.
According to one embodiment, the feedback path is connected directly to the output of the comparator. This results in a modulator that is functionally separated from any switching stage amplification or other elements supplied with the PWM signal.
The integrator gains can be selected so that the system transfer function is a low pass filter, where the loop gain is equal to the mirrored frequency response around the cut-off frequency. Such a design is particularly advantageous for audio implementations.
In particular, the system transfer function can be implemented as a Bessel or Butterworth low-pass filter. These filter implementations provide very suitable frequency characteristics and sensitivity functions which will provide a stabile and very robust system. Furthermore it will be easy to shape the overall system characteristics.
According to one embodiment of the invention, the integrator
gains are selected according to Gn =Gn-1, where Gn is the gain of
integrator n, and M e [0, ], so that the gains are equal or separated by a factor of 2. Such gains can easily be realized as a shifting function, with greatly reduced complexity.
A signal amplitude limiter can be provided following each integrator gain, preferably with a limitation corresponding to a dynamic range of the'ihput signal. The amplitude limiters serve to stabilize the feedback loops in the case of aggressive loop implementations, implemented to achieve high performance with very few integrators.
The self-oscillation can be achieved with a positive feedback of the comparator. This design results in a hysteresis loop which brings the system to a controlled oscillation and hereby generates the modulator carrier signal. The switching frequency is determined by the integrator gain immediately preceding the comparator.
The self-oscillation can alternatively be achieved by a filter or time delay preceding the comparator, said filter or time delay being arranged to give the system an open loop phase lag of 180 degrees
at the desired switching frequency. The phase-lag will result In a non-hysteresis oscillation, thus generating the modulator carrier signal.
A second aspect of the invention, is a power conversion system comprising a modulator according the first aspect of the invention, a switching stage connected to the oscillation control, and an output filter connected to the switching stage.
Such a power converter is very suitable in all types of precision DC-AC conversion applications such as audio amplification, motor or electro-dynamic transducer drive applications or line drivers for line transmission.
Brief description of the drawings
These and other aspects of the present invention will be further described in the following, with reference to the appended figures showing currently preferred embodiments of the invention.
FIG. 1 is a schematic block diagram of a prior art PCM-PWM conversion system.
FIG. 2 is a schematic block diagram of a modulator according to a first preferred embodiment of the invention.
FIG. 3 shows introduction of quantization noise in the modulator shown in fig 2.
FIG. 4 is a schematic block diagram of the modulator shown in fig 2, comprising voltage limitation of the integrator outputs.
FIG. 5 is a schematic block diagram of the modulator shown in fig 2, comprising hysteresis oscillation.
FIG. 6 is a schematic block diagram of the modulator shown in fig 2, comprising non-hysteresis oscillation.
FIG. 7 is a block diagram of a digital implementation of the modulator shown in fig 5, N=2.
FIG. 8 is a schematic block diagram of a power conversion system according to a second preferred embodiment of the invention.
FIG. 9 shows the frequency response of a modulator with Butterworth configurations up to fifth order (N=5).
FIG. 10 shows the sensitivity response of a modulator with Butterworth configuration up to fifth order (N=5).
FIG. 11 is a table of normalized gain coefficients for realizing a Butterworth or Bessel system up to fifth order (N=5).
FIG. 12 is a table of normalized gain coefficients according to a further embodiment of the invention.
Detailed description of the preferred embodiments Fig 2 is a general block diagram of a modulator 10 according to a first preferred embodiment of the invention. The modulator comprises a chain of serially connected integrators 11, with associated integrator gains 12, the output of this chain being connected to an oscillation control 13. Note that the integrator gains 12 are shown as separate elements. In practice, and as will be shown with reference to fig 7, the integrator has an inherent gain, and then an additional adjustment of this gain is provided. The adjustment can very well be an attenuation of the integrator gain.
The oscillation control 13 is arranged to cause self-oscillation of the modulator, and includes a comparator 17, (see figs 5 and 6) for comparing the output of the last integrator 11' in the integrator chain with a reference. Preferably, the comparator 17 is a simple sign detector, in which case the reference is the ground level. The result of this comparison is the PWM signal, which can be supplied to a switching amplifier power stage, as illustrated in fig 8. A feedback path 14 is connected to a point downstream the oscillation control, and arranged to provide a negative feedback signal to summation points 15 provided immediately preceding each integrator 11.
The system is implemented as a general Nth order lowpass system by selecting the integrator gains 12 in a suitable way, where the number of integrators N equals the order of the system. The output carrier is created by deliberately causing the loop to be unstable, and the resulting oscillation frequency is the carrier frequency, typically in the area of 500KHz.
The generation of the PWM signal is quantized in time by the clock frequency of the digital system, typically in the area of 100-200MHz. With a carrier (switching) frequency of around 500 kHz, this gives a time resolution of each carrier cycle of around 200-400,
or 7-9 bits. This quantization results in quantization noise in the same way as in the case of the oversampler of prior art. Fig 3 illustrates schematically how the quantization noise is introduced into the system.
By shaping the loop function by means of the integrator gains 12, the quantization noise can be suppressed to an almost infinitesimal level in the total audio band.
As shown in fig 4, voltage limiters can be provided on the output of each integrator gain 12.
Fig 5 illustrates how the oscillation control 13 in fig 2 can be implemented as a hysteresis control 13a. A positive feedback 16 i (Equation Removed)
where Gk is the integrator gain of integrator k. The skilled person will see that the transfer function is a general low pass function, and by adjusting the integrator gains the pole configuration can be set to form for example a Butterworth or Bessel filter characteristic.
In the case of a hysteresis controlled self oscillation, as illustrated in fig 3, the switching frequency is determined by the gain Gi of the first integrator 11' and can be calculated easily as follows:This constraint, that the gain G1of the integrator 11' immediately preceding the oscillation control 13a is fixed, will cause the pole configuration to result in lower cut off frequency as the
order rises. In practice this is not a problem because the order necessary for a satisfactory dynamic range is well below the order where limitation of frequency response starts.
Fig 9 shows the frequency response for the system in fig 5
with Butterworth configuration, order N=l,2,3,4 and 5. It is clear
that the cut off frequency is well beyond the audio range. It is also
clear that the cut off frequency is falling at rising order, as was
explained above. -
When implementing loops of high order, high loop gain suppresses errors arising from the implementation. The sensitivity function can be written as:Fig 10 shows the sensitivity response S(s) for the system in fig 5 with Butterworth configuration, order N=l,2,3,4 and 5. The diagram shows the reduction of the quantization noise and other distortion components. For example, for a fifth order system, any errors will be reduced with up to 69 dB at 20 KHz.
The frequency response and the sensitivity response as seen in figs 9 and 10 are obtained using the gain coefficients for Butterworth characteristics given in fig 11, where different filter coefficients are given for orders N=l-5. The gain coefficients !CN in fig 11 are normalized with respect to G.The relation between GI and the switching frequency given above (Eq. 2) results in a integrator gain d according to following expression:
Fig 6 illustrates how the oscillation control 13 in fig 2 can be implemented as a non-hysteresis control 13b. The oscillation control 13b now includes a control block 20 for creating an open loop phase lag. The self-oscillation can be achieved by providing phase lag of 180 degrees or a delay corresponding to a 180-degree phase lag at the preferred carrier frequency. The purpose of this
control block 20 is thus to provide the necessary phase lag for bringing the loop into oscillation, and this can be accomplished by using pure delay, integrating functions or local filter systems.
The control block 20 in fig 6 is a local filter 0(s) of a general all pass filter type. This filter type is preferred because it has an absolute gain of 1, which means that this implementation has the same transfer function H(s) as the hysteresis system (see Eq. 1). The all pass filter of P'th order is basically a Pade approximation of an ideal time delay, with a transfer function that can be expressed as: (Equation Removed)
The different implementations (figs 5 and 6) of the oscillation control 13a, 13b have equal system performance. However, an additional P integrators will be required for the filter 20 in the case of the non-hysteresis approach, for the same performance. The loop gain is determined by the number of integrators in the global loop. The benefit of a non-hysteresis control (fig 4} is the possibility of a very steep phase characteristic around the carrier frequency to achieve low variation of the carrier frequency as function of the modulation index. This property can be valuable in some applications.
According to a further preferred embodiment of the invention, the integrator gains are selected to have a ratio of a multiple of 2. The integrator gains Gn can then be written as:
Following this approach the integrator gains Gn will be multiplications of a factor of two, and can be realized with the help of a shifting function, leading to reduced complexity. The system characteristics will of course be constrained by the combinations
that provide a stabile system or linear phase dependant on the requirements. Examples of normalized gain coefficients kn are given in the table in fig 12.
Fig 7 shows a more detailed implementation of a 2:nd order modulator according to fig 5, using the above described shifting technique for achieving the gains.
First of all, the summing point 18 and comparator 17 in fig 3 are embodied by an adder 21, having a sign bit output 22. The output 22 has signal levels of ±V, where V is the peak value of the PWM signal. The summation points 15 in fig 5 are further embodied by two adders 23a, 23b, and the integrators 11 in fig 5 are embodied by two adders 24a, 24b.
Finally, the integrator gains 12 in fig 5 are embodied parti/ by the gain of the adders 24a, 24b, and partly by two shifting registers 25a, 25b. The shifting registers 25a, 25b act to adjust the gain of the adders 24a, 24b to achieve the desired filtering. The adjustment can be performed by shifting right, i.e. attenuating the gain of the adders 24a, 24b. For example, the first shifting register 25a, which is the gain immediately preceding the comparator 21, can be arranged to perform one shifting operation less than the register 25b, in order to realize a first integrator gain Gi equal to twice the second integrator gain 62. In a similar manner, further gain coefficients according to e.g. fig 12 may be accomplished by further adders and shifting registers.
The modulator further has a feedback path 26 connected to the output 22 of the adder 21. This feedback 26 has two separate objectives: Firstly, it provides an oscillation control by providing a feedback 27 to itself. This corresponds to the hysteresis control loop 16 in fig 5. Secondly, it provides a feedback 28 of the output 22 to the two adders 23a, 23b, corresponding to the multiple feedback loop 14 in fig 5.
An interface block 29 is arranged to receive a serial data stream and placing a sample in a parallel register, here a 24-bit register, which is connected to the adder 23b.
Synchronization of one or a plurality of modulators can be achieved by applying phase lock loops 30 to each of the
modulators. Thereby synchronization can be obtained by phase control of the modulators.
A preferred embodiment of a power converter according to the invention is shown in fig 8, where a switching output power stage 31 is provided to the modulator 10 as shown in fig 2. The switching signal is filtered in an output filter 32, and connected to a load 33, e.g. an audio speaker.
In the illustrated example, the feedback path 14 is moved down stream, and is connected to the output of the switching stage 31. The benefit of this approach is to reduce the errors added by the output stage such as blanking delay errors. The THD and noise introduced by the output stage will be multiplied by the sensitivity function and therefore brought to a very low level.
The skilled person realizes that a feedback instead can be applied from the output filter 32 by.adding compensation of at least ISI-1 poles of the output filter 32, where N is the order of the filter.
The invention can advantageously be used in any digital to analog conversion systems also where high dynamic range and high linearity are required as e.g. audio systems and in particular in switching power amplifiers for audio use or any other power conversion system. Further, the invention can be used for general D/A conversion.
1. A pulse width modulator (10) for converting a digital
signal into a PWM signal, characterized in:
a plurality of integrators (11) with integrator gains (12) arranged in series,
a comparator (17) for comparing the output of the last integrator (II) with a reference, and thereby creating the PWM signal,
means (13, 13a, 13b) for realizing self-oscillation at a desired switching frequency, and
a feedback path (14) connected to a point down stream said comparator and leading to a plurality of summing points, each preceding one of said integrators,
wherein the PWM signal is quantized in time by the clock frequency of the modulator, and
wherein the integrator gains (12) are adapted to reduce any quantization noise.
2. A modulator according to claim 1, wherein said
feedback path (14) is connected to the output of the comparator.
3. A modulator according to claims 1 or 2, wherein the
integrator gains (12) are selected to obtain a low pass filter
4. A modulator according to any of the preceding claims,
where the integrator gains are selected according to
where Gn is the gain of integrator n, and M e [0, ].
5. A modulator according to any one of the preceding
claims, further comprising a signal amplitude limiter (19) following
each integrator gain (12).
6. A modulator according to claim 5, wherein the limitation
of the signal amplitude corresponds to a dynamic range of the input
7. A modulator according to any of the preceding claims,
wherein the means (13a) for self-oscillation comprises a positive
feedback (16) of the comparator (17).
8. A modulator according to claims 1-7, wherein the
means (13b) for self-oscillation comprises a filter (20) or time delay
preceding the comparator (17), said filter (20) or time delay being
arranged to give the system an open loop phase lag of 180 degrees
at the desired switching frequency.
9. A power conversion system comprising a modulator
(10) according to any one of the preceding claims, a switching
stage (31) connected to the oscillation control, and an output filter
(32) connected to the switching stage.
10. A system according to claim 9, wherein the feedback
path (14) is connected to the output of the switching stage (31).
11. A system according to claim 9, wherein the feedback
path (14) is connected to the output of the output-filter (32).
12. A system according to one of claims 9 - 11,
implemented as a DC-AC converter for audio use or transmission
|Indian Patent Application Number||4072/DELNP/2005|
|PG Journal Number||13/2009|
|Date of Filing||12-Sep-2005|
|Name of Patentee||BANG & OLUFSEN ICEPOWER A/S|
|Applicant Address||G1. LUNDETOFTEVEJ 1B, STUEN, DK-2800 LYNGBY, DENMARK.|
|PCT International Classification Number||H03M 5/08|
|PCT International Application Number||PCT/IB2004/000852|
|PCT International Filing date||2004-03-23|