Digital protective schemes for power transformer