An electrosurgical system is provided. The electrosurgical system includes an electrosurgical generator adapted to supply electrosurgical energy to tissue. A power source operably couples to the electrosurgical generator and is configured to deliver power to one or more types of loads connected to the electrosurgical generator. The electrosurgical generator includes a controller including a microprocessor coupled to the electrosurgical generator and configured to control the output of the electrosurgical generator. A fiber optic connection circuit is in operative communication with the controller and includes one or more types of logic devices and one or more types of fiber optic channels. The fiber optic connection circuit is configured to mitigate leakage current associated with at least one of a plurality of components operatively associated with the electrosurgical generator by providing isolation.