50KHz switching regulator