A lossles current sensing technique for flyback converters