hai...I have a question about P controller for speed control. I have no idea on how to create a P controller for speed. Do I have to find the gain by doing the experiment. I develop it by using the microsoft VC++. The set point is speed of the motor in RPM and a steeping motor is used to control the rotation of the DC Brushless motor.How about the error. Do I need to find the values of error first by doing the experiment. I have no experience on designing the controller. I am waiting for the idea from members. Thank You. Bye...