The uniform and accurate mixing of pesticides in water is a necessary prerequisite for plant protection, especially for enabling precise variable spraying, and is also an important method to achieve a precise reduction in pesticide spraying. In order to ensure the uniform mixing of pesticides and water and solve the problems of traditional injection mixers, such as the limited range in the mixing ratio and unadjustable proportion, an active injection liquid mixer is designed in this paper. The mixer can be matched with an online mixing and spraying device to achieve accuracy in mixing and spraying. In this paper, a computational fluid dynamics (CFD) method is used to optimize the structure of the mixer. Through comparative analysis, the optimal structure of the mixer was found. It has a spherical head and conical tail, the number of guide plates is seven, and the shape is semicircular. By calculating the volume fraction of pesticide distribution under different cross-sections, the coefficient of variation in the process of mixing is obtained. The analysis shows that the maximum coefficient of variation of the ball-head cone-tail active injection mixer was 2.88% (lower than the allowable 5%) with a mixing ratio ranging from 300:1 to 3000:1. At the same time, image analysis methods of high-definition photography and ultraviolet spectrophotometry were used to analyze the mixing effect of the mixer. The test results show that, when the pressure of the pesticide injection is 1 MPa, the distribution of the pesticide and water in the ball-head cone-tail injection mixer is more uniform under different mixing ratios, and it has a better spatio-temporal distribution uniformity with the concentration changing a little at different times and different spatial locations. The mixer can provide a theoretical reference and technical support for the subsequent realization of an accurate online variable spray.