A fault detection procedure for single phase bridge converters