Design of fuzzy PI control system for brushless DC motor