Switching control device for primary side control output current of power supply

The present invention provides switching type controller, used in power supply delivery unit primary side for controlling current output. It includes waveform detector, discharge time detector, oscillator, integrator, error amplifier pulsewidth comparer. The current output of power supply delivery unit can be stable adjusted on primary side.