Sabtu, 11 Februari 2012
signal amplitude
The output signal amplitude is dependent on the area of the pulses, so for accurate signal reconstruction, both time alignment and rail voltage are critical parameters. Complex audio signals will also cause intermodulation via the power supplies unless a very low impedance supply is used.
The PWM signal is generated digitally and therefore the pulse widths are quantized. Practical considerations in the power output stage limit the maximum switching frequency (fsw), although higher frequencies allow easier filtering of switching noise in the reconstruction filter. The resolution in the PWM waveform is dependent on the ratio of the Master Clock (MCK) frequency to the switching frequency, which is usually a power of 2.
The digital PCM input is also quantized: a resolution of 32 bits gives a theoretical 194dB dynamic range, if limited solely by quantization noise. More practically, 24 bits (the best resolution of today's audio ADCs) has a theoretical 144 dB dynamic range.
The PWM resolution is typically much more coarse, in order to keep switching frequency above maximum audio sample rates of 192 kHz, whilst limiting MCK frequency. Typical ratios are between 32 (5 bits) and 256 (8 bits), giving a best dynamic range of 50 dB. Clearly, this means that other techniques are required to provide sufficient dynamic range, and the answer is oversampling with noise shaping. This technique essentially allows a time averaging of the PWM pulse widths to be applied, to deliver fractional resolution in the amplitude of the output signal.
The MCK of a digital amplifier, which needs a low jitter specification for good amplifier performance, will either need to be a fixed multiple of the incoming sample rate or else can be a fixed crystal generated frequency. The first case requires a phase locked loop, which is often a source of jitter. In the second case, a sample rate converter is required to re-align the incoming oversampled data with the MCK period.
Both oversampling and sample rate conversion use interpolation and averaging filters, requiring a large number of multiply accumulates, and hence MCK cycles, which add up to a signal group delay that is significant at audio frequencies. The delay is fixed and so affects the phase of all input signal frequencies linearly, which is benign in audio terms, but must be borne in mind for any feedback system comparing output with input.
Tidak ada komentar:
Posting Komentar