Based on the theory of hanging drop method,by writing Young-Laplace differential equation,the optimum parameters for solving actual droplet curve are improved,and the surface tension of liquid is measured and studied.Aiming at the droplet image obtained by CCD,the Canny operator is used to extract the actual droplet contour,and the 4~5 order Runge-Kutta method is used to calculate the theoretical contour.In the process of fitting the two contours,genetic algorithm(GA)and particle swarm optimization(PSO)algorithm are used to optimize the parameters,and the theoretical curve which closes to the actual curve is obtained.The surface tension of the droplet is calculated according to the optimum parameters obtained by optimizing.Two kinds of algorithms are used to measure liquid at room temperature.The measurement results show that the PSO algorithm has high accuracy and stability,and the PSO algorithm does not need a given initial value,so it is suitable for the practical use of instruments.
关键词
表面张力/悬滴法/杨氏-拉普拉斯方程/粒子群优化算法
Key words
surface tension/pendent drop method/Young-Laplace equation/particle swarm optimization(PSO)algorithm