Target detection technology and variable-rate spraying technology are key technologies for achieving precise and efficient pesticide application. To address the issues of low efficiency and high working environment requirements in detecting tree information during variable spraying in orchards, this study has designed a variable spraying control system. The system employed a Kinect sensor to real-time detect the canopy volume of citrus trees and adjusted the duty cycle of solenoid valves by pulse width modulation to control the pesticide application. A canopy volume calculation method was proposed, and precision tests for volume detection were conducted, with a maximum relative error of 10.54% compared to manual measurements. A nozzle flow model was designed to determine the spray decision coefficient. When the duty cycle ranged from 30% to 90%, the correlation coefficient of the flow model exceeded 0.95, and the actual flow rate of the system was similar to the theoretical flow rate. Field experiments were conducted to evaluate the spraying effectiveness of the variable spraying control system based on the Kinect sensor. The experimental results indicated that the variable spraying control system demonstrated good consistency between the theoretical spray volume and the actual spray volume. In deposition tests, compared to constant-rate spraying, the droplets under the variable-rate mode based on canopy volume exhibited higher deposition density. Although the amount of droplet deposit and coverage slightly decreased, they still met the requirements for spraying operation quality. Additionally, the variable-rate spray mode achieved the goal of reducing pesticide use, with a maximum pesticide saving rate of 57.14%. This study demonstrates the feasibility of the Kinect sensor in guiding spraying operations and provides a reference for their application in plant protection operations.