Method and Apparatus for Controlling Synchronous Rectifier