Derbyshire turned provider moments later, breaking free inside the box and squaring to his strike partner Cameron Jerome, who miskicked horribly with the goal at his mercy.
As the final whistle approached Villa began to panic and, after failing to clear Salif Diao's long ball forward, Whelan beat Friedel with a crisp strike from outside the box.