A switching control circuit is provided for measuring and regulating an
output current of a power converter. The power converter is operated
under continuous current mode. A detection circuit generates a
continuous-current signal and a peak-current signal by detecting a
switching current of an inductive device. An integration circuit
generates an average-current signal in response to the continuous-current
signal, the peak-current signal and an off time of a switching signal.
The switching control circuit generates the switching signal in response
to the average-current signal. The switching signal is coupled to switch
the inductive device and regulate the output current of the power
converter. A time constant of the integration circuit is correlated to
the switching period of the switching signal, therefore the
average-current signal will be proportional to the output current.