DESIGN AND IMPLEMENTATION OF THE SUBSTATION INTELLIGENT AUXILIARY