I have been consulting different literature and have got myself confused. I shall try and explain.
I one book, slop compensation is used in continuous output inductor current forward converters employing current mode control, to cure sub harmonic instability. It does this by keeping the average output current constant during line variations.
With current mode control, the peak current remains content whatever line and load conditions, but the peak to peak output ripple current varies with line (without slope compensation) thus the average output current and voltage also vary with line.
Slope compensation cures the resulting regulation problems and sub harmonic instability, by applying a ramp of slope magnitude (half that of the slope of the ramp developed across the primary sense resistor), to the output of the error amp, which is effectively the inverting input of the current sense comparator.
This in effect keeps the average output current constant during line variations.
2) I can see from the books waveforms that this would keep the output average current constant, but I am unsure how to calculate this slope and set up slope compensation in practice.In another document (circuit diagram in fact) they pull up and down on the current sense pin magnitude depending on the rectified line voltage. I think this would add an extra slope to the top of the current sense trapezoid during higher line conditions thereby bring the fet on time down in proportion with line fluctuations.
3) Is the difference between a graphically fixed compensation technique and a line voltage dependent technique an answer to my first question?4) Is the objective of both techniques' to keep volt seconds applied to the primary winding constant whatever the line conditions?
Thanks in advance,
Reggie.