For this research, a passive fault tolerant control system is developed for a static reactive compensator coupled to a microgrid in connected mode, oriented to those faults that result as a consequence of common damages in their sensing systems. The proposed method uses a robust optimal controller by H and artificial neural networks as a nonlinear estimation method. Simulations, validation, plant identification and controller design are carried out using a microgrid Benchmark system, programmed in Matlab/Simulink. The research shows valuable results such as: the improvement in the reliability and resilience of static compensators against sensing failures, improvements in the behavior of the output signal of the static compensator controller exposed to sensing failures and the decrease in error with respect to classic controller.