A sliding mode observer for the load resistance estimation in a boost converter