(Compared with the traditional algorithm, the particle swarm optimization algorithm achieves an optimal effect. The basic functions can be realized by MATLAB simulation)