Design of power function signal generator