In this study, a tree-whitening machine was designed based on the collaborative operation of multiple spray nozzles. This research utilized infrared ranging, ultrasonic detection, and spraying devices in order to realize the accurate spraying of trees and improve the efficiency and quality of spraying. The test results show that the working efficiency of the machine is 300 trees/h, the spraying coverage is up to 96.5%, and the applicable trunk circumference range is 500–1250 mm, which is more advantageous than the American UltraMaxII695 high-pressure electric spraying machine, the domestic HT20 machine, etc. Furthermore, it improves the working efficiency by 7.1%, the spraying coverage by 6.7%, and the expansion of the adaptable trunk circumference range by 20%, as well as having further advantages.