Disclosed is an isolated interface circuit for a modular energy system. A comparator is configured to couple to a switch and a reference voltage, and an output. A duplicate comparator is configured to couple to the switch and the reference voltage. An expander circuit is coupled to the comparator and the duplicate comparator. An isolator circuit is coupled to the expander circuit. A controller is coupled to the isolator circuit. The controller is configured to compare the output of the comparator with the output of the duplicate comparator and determine activation or deactivation of a surgical instrument coupled to the controller based on the comparison.