Imagine switching two wires between +V and -V voltage at very high non-audible frequency. You will get high frequency square wave with average value of zero as long as this switch stays in each position 50% of the time. Change this percentage (ratio) and average value will change from +V to -V. Filtering this square wave (inductor and capacitor) will convert its average value to DC voltage that feeds speaker. Changing symmetry of this switch according to input voltage is what class D amp does. It is called PWM (pulse width modulation).
Efficiency of class D amp is less than 100% because ON resistance of this switch and transition time are not completely zero while output filtering inductor has also some resistance, plus some small power is used by modulator. Efficiency of my Rowland 102 class D amp is 90%.
You will find PWM modulation in other places where it has nothing to do with efficiency. For instance SACD is the same as class D before filtering (operating at 2.8MHz). Also Sigma Delta DAC operates on the same principle. In fact modulator used in modern class D amps is similar to Sigma Delta modulator. Main problem is to make switch (Mosfet transistor) that can switch extremely fast big current and has close to zero resistance. Faster switching allows to use higher switching frequency that can be filtered out better while bandwidth of amplifier can be extended further.
Efficiency of class D amp is less than 100% because ON resistance of this switch and transition time are not completely zero while output filtering inductor has also some resistance, plus some small power is used by modulator. Efficiency of my Rowland 102 class D amp is 90%.
You will find PWM modulation in other places where it has nothing to do with efficiency. For instance SACD is the same as class D before filtering (operating at 2.8MHz). Also Sigma Delta DAC operates on the same principle. In fact modulator used in modern class D amps is similar to Sigma Delta modulator. Main problem is to make switch (Mosfet transistor) that can switch extremely fast big current and has close to zero resistance. Faster switching allows to use higher switching frequency that can be filtered out better while bandwidth of amplifier can be extended further.