Automatic voltage regultor of generator

0-5V variable supply i have made but i want 0-30V variable supply.how can i do this?