An Application of Genetic Algorithm to Speed Servo System and Positioning System