diyAudio (
-   Class D (
-   -   Control gain by changing supply voltage? (

preiter 12th June 2008 06:01 PM

Control gain by changing supply voltage?
Since a class-D amp works by switching on and off the supply voltage, would it be possible to control the gain by changing the supply voltage?

Would this be a viable form of volume control?

luka 12th June 2008 07:54 PM


I wouldn't do that, there would be danger of clipping...isn't it more easy just to lower gain, or input signal?

preiter 12th June 2008 10:02 PM

Clipping? If I understand Class-D amps (and it's quite possible I don't) the output device is either on or off. The supply voltage affects the gain, but not whether it will clip (as long as the supply voltage isn't affecting the amplitude of the modulation signal).

The reason to do this rather than just attenuating the input signal would be to take the volume control out of the signal path.

darkfenriz 12th June 2008 10:11 PM

Yes, I guess it has been already done (Tact or something?)
But the limitation of this approach is dynamics of a typical volume control, one would demand volume adjustment in range of at least 50dB, lowering the power supply voltage by 50dB is damn impractical.
So it shouldn't still be the only way to control volume.

luka 12th June 2008 11:18 PM


Anything is possible, but is it practical is question here. It could work/it does, but why control volume by supply voltage, how will you control supply then? it is just nothing simpler then using pot at input of fixed amp, at least as far as I can see

jkeny 12th June 2008 11:50 PM

Panasonic SAXR range of digital amps uses this - they call it Power Supply Volume Control (PSVC) & you'll find the details in a TI document SLEA038.

fredos 13th June 2008 01:41 PM

Control triangle wave amplitude insted...More easy if you whant to control amplifier gain by external device!

raintalk 13th June 2008 04:39 PM

One thing varying the power supply voltage will do is allow you to safely get max power into different loads. If you have 8 ohm loads you can increase the voltage. If you have 1 ohm load you can lower the voltage. In either case you can get stable operation at full power into the load. This could be good for pro-audio applications where you may be adding or subtracting drivers based on the venue.

preiter 13th June 2008 05:52 PM


Originally posted by fredos
Control triangle wave amplitude insted...More easy if you whant to control amplifier gain by external device!
Sending the triangle wave through a pot has the same issues as sending the signal through a pot.

That TI document is pretty interesting. They used power supply voltage for part of the range of the volume control and digital attenuation for the rest.

Interesting discussion, guys. Thanks

banana 13th June 2008 06:36 PM

isn't the idea of PSVC only works for open loop design??

All times are GMT. The time now is 09:33 PM.

vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Copyright 1999-2016 diyAudio

Content Relevant URLs by vBSEO 3.3.2