What sort of things would the two involve?
By design is best.
A proper SMPS has an inner control loop which regulates inductor or switching current. Limit that variable, and you limit output current, period.
Normally, a voltage error amp controls that variable, to get regulated output voltage. But if you put a limiting circuit after the Verr amp, you can prevent it from calling for more current. Hence, you get a "square" operating curve (CC on one side, CV on the other).
This way, the circuit is always 100% in proper regulation, either cycle to cycle (e.g., peak current control), or over the duration of only a few cycles (average current control), simply as a matter of fundamental operation. Whether it's in current or voltage regulation is up to the control stuff out front, which is unable to screw things up by forcing the switch to stay on, or something (unlike voltage-mode and direct PWM controllers, which are unsafe for this reason).
As for integrated controllers, like blueskull's example above, try to get the kind with a compensation pin. This is usually the gain node of the internal voltage error amp. Normally, this pin has an R+C to ground, or to the FB pin. In either case, you can clamp the pin voltage to get a programmable current limit, or drive it directly for CC mode. You'll have to check the internal diagram to be sure this is actually possible, of course.
The kind with fully internal compensation, as in the diagram, are just about impossible to work with. Notice that the left red op-amp has no compensation, just a diode to the feedback pin. Note also that the feedback pin necessarily has extremely high gain, so once the diode is forward biased, the op-amp output should be expected to move very little. But the op-amp is, well, an op-amp, and itself has extremely high gain. As shown, it's a relaxation oscillator, and will oscillate at a modest fraction of the switching frequency (maybe 1/10th and below). It can be stabilized by slowing things down, but this is uselessly slow: loop bandwidth must be below the dominant pole of the internal error amp, probably under 1kHz!
Here's an example of a complete system with:
- Peak current mode control
- Current regulation (primary purpose)
- Voltage regulation (secondary, soft limit)
- Temperature regulation (secondary, soft limit)
- Isolated error amplifier
http://seventransistorlabs.com/Images/LED_Light.pngThe voltage and temperature limits are implemented as constant currents, which offset the error amp's feedback input. Very much in the same spirit as the above example. They have intentionally low gain, which prevents them from oscillating, but makes the limits very "soft". Since voltage limiting is only needed for protection, and temperature is imprecise and slow, this is acceptable.
If you need precise regulation, not soft limits, this is not a practical approach. Instead, you'd limit the voltage on UC3842 pin 1, which is its peak current setting pin (which comes from the internal error amp, which itself is simply being used as a gain-of-1-inverter, because there's an error amp elsewhere in the circuit). Peak current isn't exactly the same as DC output current, but it would be pretty close, and can be improved with another error amp.
Tim