Strategi Optimalisasi Kecepatan dan Torka pada SRM Berbasis Deteksi Rotary Encoder dan FPGA