following is the schematic of the voltage controlled pwm