Development of a high-resolution digital firing system for Static Var Compensators