Ultrasonic feedback energy is affected by the variety, planting and growth state of crops, it is difficult to fine application in precision agriculture systems. To this end, an ultrasonic sensor was mounted in a spray boom height detection system. Winter wheat was used as the test object to obtain feedback energy values for the spray boom height from the top of the wheat in the field during six critical growth stages: the standing stage, jointing stage, booting stage, heading stage, filling stage and maturity stage. The relationship between the actual value of the height from the spray boom to the top of wheat (Habw) and the detected value of the height from the spray boom to the top of wheat (Hdbw) was analyzed. A spray boom height detection model based on the ultrasonic sensor during the full growth cycle of wheat was determined. Field validation tests showed that the applicability of the spray boom height detection distance (Dd) of the spray boom height detection model proposed in the present study was 450 mm~950 mm. Within the applicable Dd range, the detection error of the detection model was ≤5 cm during the full growth cycle. This study provides an ultrasonic detection model construction method, which improves the reliability and accuracy of ultrasonic boom height detection for different wheat growth stages.