This paper established the satisfaction functions with fuzzy constraint for overshoot, settling time and stability of PID control system, then they were integrated into a satisfaction function with the fuzzy constraint as the satisfaction function of genetic algorithm. Finally, the genetic optimization of PID control algorithm based on satisfaction function with fuzzy constraint was proposed. The simulation results of Matlab showed that compared with the conventional PID control algorithm, the genetic optimization of PID control algorithm based on satisfaction function with fuzzy constraint has obvious advantages in the overshoot, settling time, stability and so on. Moreover, the result was verified by experiments.