Next Article in Journal
Potential of Laboratory VIS–NIR–SWIR Spectroscopy to Estimate Dry Matter, Crude Protein, and Neutral Detergent Fiber in Urochloa brizantha Tropical Pastures
Previous Article in Journal
Towards a Digital Twin for Olive Orchards: A Modular Framework Based on Multi-Scale Integration and Predictive AI Capabilities
Previous Article in Special Issue
An Efficient Multimodal Framework for Barley Drought Stress Detection on Resource-Constrained Devices
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Development and Laboratory Evaluation of a Plant Detection-Based Nozzle Actuation System for Precision Spraying

1
Department of Farm Machinery and Power Engineering, College of Agricultural Engineering and Technology, Chaudhary Charan Singh Haryana Agricultural University, Hisar 125004, Haryana, India
2
Department of Renewable and Bio-Energy Engineering, College of Agricultural Engineering and Technology, Chaudhary Charan Singh Haryana Agricultural University, Hisar 125004, Haryana, India
*
Author to whom correspondence should be addressed.
AgriEngineering 2026, 8(8), 304; https://doi.org/10.3390/agriengineering8080304
Submission received: 5 May 2026 / Revised: 21 July 2026 / Accepted: 24 July 2026 / Published: 26 July 2026
(This article belongs to the Special Issue Precision Agriculture: Sensor-Based Systems and IoT-Enabled Machinery)

Abstract

This study addresses the inefficiencies and environmental concerns associated with conventional broadcast spraying in agriculture, where uniform chemical application leads to significant off-target losses and excessive agrochemical usage. A plant detection-based nozzle actuation system was developed to enable real-time, selective spraying based on canopy presence. The system integrates a LiDAR sensor for precise canopy detection, an ESP32 microcontroller for signal processing, and a solenoid valve-controlled nozzle for automated on/off spray regulation. Laboratory experiments were conducted using a controlled conveyor-based setup to simulate field conditions and evaluate the effects of forward speed, sensor–nozzle distance, and sensor–canopy distance on spray deposition. Spray performance was assessed using water-sensitive papers and image analysis techniques, while statistical analysis (ANOVA) and optimization using Response Surface Methodology (RSM) were performed. The results indicated that forward speed and sensor–nozzle distance significantly influenced spray coverage, whereas sensor–canopy distance had no significant effect. The optimized parameters (3.0 km h−1 speed, 35 cm sensor–nozzle distance, and 70 cm sensor–canopy distance) achieved effective canopy coverage (~52–55%) while substantially reducing off-target deposition. Compared to continuous spraying, the developed system maintained comparable target coverage while significantly minimizing chemical losses. The findings demonstrate the potential of sensor-based precision spraying for improving input efficiency and environmental sustainability.

1. Introduction

Agriculture is a major source of income for nearly 70% of India’s population, and farm returns are strongly dependent on crop yield. However, weed infestation, diseases, and insect damage pose significant challenges, leading to substantial yield losses and reduced produce quality. Without crop protection, potential losses can range from 43 to 50% in food crops and 53–68% in cash crops [1]. Consequently, agrochemicals applied in the form of sprays have become an essential component of modern agricultural practices. Globally, agrochemical consumption is approximately 2 million tonnes per year [2], and India ranks third in pesticide consumption of approximately 0.29 to 0.31 kg ha−1 among Asian countries [3], indicating a continued rise in usage to achieve higher productivity.
Agrochemicals—including insecticides, fungicides, herbicides, and nutrients-are typically applied as fine droplets using conventional agricultural sprayers. Among the commonly practiced spraying methods (broadcasting, band application, and spot application), most farmers rely on broadcasting using backpack, self-propelled, tractor-operated, and air-assisted sprayers. In this method, the entire field is sprayed uniformly at a constant discharge rate, irrespective of plant presence, size, or canopy characteristics. As a result, over-application, spray drift, and excessive off-target losses occur, primarily due to variations in plant spacing and canopy structure combined with a constant spray delivery rate [4]. Such non-target-based spraying can lead to off-target losses as high as 60–70% [5,6], increasing the risk of crop damage [7] and environmental contamination [8,9]. Moreover, exposure to sprayed chemicals poses serious health risks to workers and nearby populations, while chemical residues contaminate soil and the food chain. Therefore, reducing agrochemical usage and dependence on conventional spraying techniques, without compromising crop productivity, has become a critical requirement.
The resistance of plants to agrochemicals, particularly herbicides, has been increasing and poses a serious threat to crop production in many countries [10,11]. These challenges associated with conventional spraying methods have motivated researchers to develop advanced spray technologies and application strategies aimed at reducing agrochemical consumption [12]. Among alternative approaches, band application—where pesticides are applied in parallel strips—offers improved efficiency over uniform spraying, while spot application involves plant- and target-specific spraying using variable-rate sprayers to control weeds, diseases, and insect infestations more effectively. Reduced pesticide usage contributes to safer and healthier food products for consumers. The integration of electronics [13], artificial intelligence (AI) [14,15], and automation [16,17] into sprayer systems has significantly improved operational efficiency and operator safety. These advanced techniques require early and accurate detection of the spatial distribution of pests, diseases, and weeds. Accordingly, precision spraying systems rely on three key components: (i) sensors for plant data acquisition, (ii) processing algorithms to estimate chemical requirements, and (iii) flow-control mechanisms to regulate spray delivery, supported by specialized equipment and machinery. However, for widespread adoption in regions dominated by small and medium-sized farms, such as India, precision spraying technologies should also be affordable, robust, and easy to operate with minimal technical expertise. Therefore, simple sensor-based systems that can be readily integrated into conventional sprayers remain highly relevant for improving input-use efficiency under practical farming conditions.
Air-blast and electrostatic spraying techniques have been introduced to apply agrochemicals using fan-assisted methods. Electrostatic sprayers operate on the principle of attraction between oppositely charged particles to reduce the wastage of spraying chemicals. A variety of sensing techniques, including machine vision, spectral image analysis, remote sensing, and machine learning (ML) were applied in sprayers [18,19,20,21]. Ultrasonic sensors have been used for automated orchard sprayers to detect the presence of trees and control the volume of spray application [22]. Other sensors such as LiDAR, laser and X-ray sensors can also be used for plant detection purposes. Wei and Salyani [23] used a laser scanning system to quantify foliage density of citrus trees and compared it to visual assessments. It showed a strong correlation (R2 = 0.96; RMSE = 6.1%) and less than 3% coefficient of variation. Oberti et al. [24,25] developed a robot capable of detecting and spraying on 85% to 100% of the diseased area and reducing pesticide use from 65% to 85%. According to Brown et al. [26], the target-based spraying technique can reduce 41% ground deposition and 44% pesticide concentration in surface water runoff compared to conventional spraying. Studies show that precision spraying technologies can reduce agrochemical usage in the range of 9.90% to 51.22% [27]. As shown in Table 1, the selection of sensing technology depends on the intended application and operational requirements. While machine vision systems are well suited for crop health assessment and intelligent target recognition, ultrasonic and LiDAR sensors are primarily employed for canopy detection and spray control. Since the objective of the present study was rapid canopy detection for real-time nozzle actuation rather than crop health diagnosis, LiDAR provided a suitable sensing solution because of its rapid response and accurate distance measurement.
The present study aims to develop and experimentally evaluate a plant detection-based nozzle actuation system for precision spraying applications. The system is designed to enable real-time spray control based on canopy presence, thereby reducing off-target losses and improving input-use efficiency. While earlier studies primarily focused on canopy characterization, robotic spot spraying, or variable-rate pesticide application, the present study emphasizes sensor–actuator synchronization for accurate spray delivery. Particular emphasis is placed on systematically evaluating the influence of sensor–nozzle distance, sensor–canopy distance, and forward speed on spray deposition performance under controlled laboratory conditions. The performance of the system is assessed by analyzing the effects of these operational parameters on spray deposition characteristics, with the objective of identifying optimal operating conditions that ensure effective target coverage while minimizing chemical wastage.
The novelty of the present study lies in the following key contributions: (i) the development of a compact and cost-effective LiDAR-based plant detection and nozzle actuation system; (ii) a systematic investigation of sensor–actuator synchronization through controlled variation sensor–nozzle distance, sensor–canopy distance, and forward speed; (iii) the application of response surface methodology (RSM) to optimize operating parameters for maximizing canopy deposition while minimizing off-target losses; and (iv) experimental validation of a single-nozzle precision spraying system using a conveyor-based laboratory setup simulating field conditions.

2. Materials and Methods

2.1. Development of a Plant Detection-Based Nozzle Actuation System

The primary objective of the nozzle actuation system was to enable real-time detection of plant canopy and to control the ON/OFF operation of individual spray nozzles accordingly. This approach was intended to minimize agrochemical consumption and to reduce environmental contamination by avoiding unnecessary spraying in off-target areas. The canopy detection and nozzle actuation system was designed to operate accurately under outdoor field conditions and to respond rapidly enough to match the forward speed of the vehicle.
Figure 1 presents the overall architecture of the developed plant detection-based nozzle actuation system. The system integrates sensing, processing and control, actuation, and power supply subsystems to enable real-time canopy-based spray control. Distance information acquired by the LiDAR sensor is processed by the microcontroller to actuate the spray nozzle through a relay–solenoid valve mechanism. The architecture illustrates the overall flow of information and control signals within the system, while the individual components and their selection criteria are described in the following sections.
The plant detection-based nozzle actuation system consisted of two major units: (i) the plant/canopy detection unit and (ii) the spray nozzle actuation control unit. The major electronic components required for these units included a plant/canopy detection sensor to detect the presence or absence of plant canopy within the desired range in real time, and a microcontroller that served as the logical processing unit, receiving sensor data and generating electrical signals to control the ON/OFF operation of the spray nozzle.
In the control mechanism, an electromechanical relay module was used as an interface between the microcontroller and the electromechanical valve (solenoid valve), which regulated the flow of liquid from the spray pump to the nozzle. Additionally, a DC–DC step-down buck converter was used to convert the input supply voltage into the operating voltage required by the electronic components. The selection of these components is described in the following sections.

2.1.1. Plant/Canopy Detection Sensor

An object detection sensor was required to identify the presence or absence of plant canopy within its sensing range. Depending on its sensing principle, a sensor emits a physical signal such as light, sound, electromagnetic field, or radar waves and receives the reflected or altered signal when an object enters the detection zone. Variations in signal intensity, time delay, or frequency are processed to determine the presence of an object, and the resulting electrical output is used for actuation control.
Various sensing options were available commercially. Ultrasonic sensors were commonly used in agricultural applications because they are inexpensive and perform reliably under outdoor conditions [18,21,28,29]. However, their relatively wide sensing angle often leads to cross-talk and false detections when multiple sensors are mounted on a spray boom [29,30]. A sensor with a narrow field of view is more appropriate for row-wise canopy detection on a boom. Therefore, a Light Detection and Ranging (LiDAR) sensor was selected due to its narrow field of view (FOV) and strong resistance to ambient light interference [31,32]. LiDAR operates by emitting laser pulses and measuring their time of flight to determine object distance. A compact mini-LiDAR module (TF-LUNA Micro, Benewake Co., Ltd., Beijing, China) with an 8 m sensing range and 2° FOV was chosen for canopy detection. The sensor was configured to operate at a sampling frequency of 100 Hz, providing sufficiently rapid distance measurements for real-time canopy detection and nozzle actuation.
Although RGB camera-based systems can provide additional information related to plant morphology, growth stage, disease symptoms, and crop stress, they generally require high-resolution image acquisition, computationally intensive image-processing algorithms, and relatively powerful embedded computing platforms for real-time operation. In addition, camera-based systems often require periodic calibration and software updates to maintain reliable performance under varying field conditions. Since the objective of the present study was limited to rapid canopy presence detection for nozzle actuation, a LiDAR sensor was preferred because it provides direct distance measurements, operates reliably under varying illumination conditions, and requires minimal computational resources. Furthermore, the proposed system was intentionally designed as a simple and user-friendly solution that can be readily adopted in small and medium-scale farming systems, where ease of operation, affordability, and low maintenance are important considerations. This facilitates rapid sensor–actuator synchronization and enables operation at practical field speeds without compromising field capacity.

2.1.2. Microcontroller Unit

The microcontroller was required to have adequate processing capability to manage the operation of various system components, including the LiDAR sensor, relay module, and electromechanical (solenoid) valve. It should have sufficient input–output (I/O) pins and memory, low power consumption, robustness for field conditions, and low cost. Considering these requirements, an ESP32 development board (ESP32 DevKit V1; Espressif Systems, Shanghai, China) was selected as the main controller for the system. This microcontroller offered dual-core processing capability, a high clock speed, low energy consumption, and compatibility with multiple programming and development environments. Moreover, its capability to interface efficiently with sensors and actuators, while supporting real-time control operations, made it suitable for implementing canopy-based nozzle actuation logic in precision spraying systems.

2.1.3. Electromechanical Relay Module

An electromechanical relay module was used to interface the low-power microcontroller with the high-power spray control component (solenoid valve). The ESP32 operates at a low voltage level (3.3–5 V) and is not capable of directly controlling high-current loads. Therefore, the relay served as an electrical switching device that allowed the control signal from the microcontroller to safely operate the solenoid valve. When the LiDAR sensor detected a plant canopy, the microcontroller activated the relay, which in turn energized the solenoid valve and allowed spray discharge. In the absence of a plant canopy, the relay disconnected the power supply to the valve, ensuring that the nozzle remained OFF, thereby conserving spray chemicals.
For this purpose, a 5 V Single-Pole Double-Throw (SPDT) (SRD-05VDC-SL-C; SONGLE Relay Co., Ltd., Wenzhou, Zhejiang, China) high-level trigger relay module was selected. The module can be directly driven by the microcontroller and is capable of switching loads up to 10 A at 30 V DC, ensuring reliable and safe control of the solenoid valve operation. The relay module consists of power input and signal pins on one side, while the output side includes common (COM), normally open (NO), and normally closed (NC) terminals, which facilitate flexible connection with external devices.

2.1.4. High-Pressure Solenoid Valve

A solenoid valve was used as the final control element in the plant detection-based nozzle actuation system. It functioned as an electromechanical valve for regulating liquid flow in the spray nozzle and enabled precise ON/OFF control of the nozzle based on the signal received from the detection sensor and microcontroller. The solenoid valve selected for the system was required to withstand a pump pressure of approximately 15 kg cm−2 and to operate as a normally closed (NC) type, opening only when its coil was energized. Considering these requirements and incorporating an adequate safety margin, a commercially available 24 V high-pressure solenoid valve (Techno 5404-04D; Techno Pneumatics, Ahmedabad, Gujarat, India) having a maximum operating pressure of 45 kg cm−2 was selected for the system. The selected valve was of the direct-acting type, which did not require a pressure difference between the inlet and outlet for operation and could function effectively even at zero pressure instantly. Moreover, its design did not rely on very small internal orifices (< 1 mm), making it relatively tolerant to minor particulate contamination in the liquid, which is advantageous for agricultural spraying applications.

2.1.5. DC-DC Buck Step-Down Power Converter

The solenoid valve used in the system required a 24 V power supply, whereas the other selected electronic components involved in the nozzle actuation system—namely the LiDAR sensor, ESP32 development board, and relay module, operated at 5 V. Therefore, a step-down power converter was required to step down the input supply voltage from 24 V to 5 V to ensure safe and reliable operation of these components.
To meet this requirement, a DC–DC buck step-down converter module (LM2596S) was selected. This module is capable of delivering an output current of up to 3 A, which was sufficient to meet the combined peak current requirement of approximately 0.54 A for the LiDAR sensor, microcontroller, and relay module. The converter efficiently reduced the input voltage while maintaining a stable output voltage, thereby ensuring reliable operation of the low-voltage electronic components in the system.

2.1.6. Spray Nozzle Assembly and Nozzle Control Hardware

A spray nozzle assembly (Figure 2) was fabricated by incorporating an anti-drip nozzle body (Quick TeeJet QJ17560A; Spraying Systems Co., Wheaton, IL, USA) mounted on a 50 mm diameter PVC pipe, sealed with an end cap on one side and fitted with a 25.4 to 12.5 mm reducer on the other side for attachment of the solenoid valve. The anti-drip nozzle body included a diaphragm-type check valve with a minimum opening pressure of 70 kPa, ensuring instantaneous cut-off of liquid flow and preventing post-shutoff dripping. The solenoid valve was connected in series with the nozzle assembly to regulate spray discharge. The valve’s inlet was connected to the spray pump outlet, while its outlet port was connected to the nozzle assembly to enable precise actuation. The power supply of the solenoid valve was controlled by the relay module based on the control signal received from the plant detection unit.
Flat-fan nozzles are commonly used in agricultural spraying due to their ability to produce a uniform, sheet-like spray pattern, especially when multiple nozzles overlap correctly [33]. For this study, the TeeJet XR11004-VP extended range flat-fan nozzle was selected. This nozzle provided a 110° spray angle, had an orifice size of approximately 1.6 mm, and can deliver a maximum flow rate of 1.85 L min−1 at 400 kPa, making it suitable for broadcast spraying applications required in the experiments.

2.2. Development of the Electronic Control Circuit

The electronic control circuit was developed to enable precise ON/OFF actuation of a spray nozzle based on real-time canopy detection. Using Fritzing (version 1.6.9)—an open-source electronics design platform—the electronic circuit layout was systematically developed to convert the conceptual design into a stable, field-deployable configuration.
The system required a 24 V DC supply for the solenoid valve, whereas the ESP32 development board, LiDAR sensor, and relay module operated at 5 V DC. To meet these requirements, the 24 V input was stepped down using a DC–DC buck converter, which provided a regulated 5 V supply to all low-voltage components. Serial communication between the ESP32 and the LiDAR sensor was established by interfacing the RX2 (GPIO 16) and TX2 (GPIO 17) pins of the microcontroller with the sensor’s Tx and Rx terminals. The relay module input was interfaced with GPIO 23, enabling the ESP32 to send digital HIGH/LOW commands for switching the relay module. The solenoid valve was wired such that one terminal received the 24 V DC supply directly, while the other was connected through the Normally Open (NO) terminal of the relay module. When the relay was energized, the circuit completed, allowing current to pass through the solenoid valve and initiate spray discharge. A detailed schematic of the electrical connections of the plant detection unit is presented in Figure 3.

2.3. Microcontroller Programming for Automated Nozzle Actuation

The microcontroller (ESP32) was programmed using the Arduino Integrated Development Environment (IDE) (version 2.1.1), which is widely used in automation and precision agriculture due to its versatility and compatibility with various sensors, actuators, and communication modules [34,35]. In this study, the Arduino IDE was employed to interface the ESP32 with the LiDAR sensor and to control the solenoid valve, enabling real-time canopy-based nozzle actuation. The program continuously received distance measurements from the LiDAR sensor, processed the data, and generated actuation signals accordingly. A threshold distance (1.50 m) corresponding to the presence of plant canopy was predefined in the program. It was determined considering crop geometry and sensor positioning. When the measured distance fell within this threshold, the microcontroller interpreted the signal as canopy presence and generated a digital output to activate the relay module. This, in turn, energized the solenoid valve and initiated spray discharge through the nozzle. Conversely, when the measured distance exceeded the threshold, indicating the absence of canopy, the relay signal was deactivated, and the solenoid valve remained closed. The program, written in C/C++, integrated all logic and control functions required for automated and precise nozzle actuation based on canopy presence.
The TF-Luna LiDAR sensor was operated at a sampling frequency of 100 Hz to ensure rapid canopy detection and timely nozzle actuation. A single-threshold control strategy was adopted in the present study. Although stable operation was observed under laboratory conditions, future work may incorporate hysteresis-based control using separate activation and deactivation thresholds to further improve robustness against measurement fluctuations and sensor noise during field operation.

2.4. Assembly and Operational Workflow of the Detection Unit

The overall operational workflow of the plant detection unit, from canopy sensing to actuation signal generation, is illustrated in Figure 4. All electronic components, including the LiDAR sensor, microcontroller, and relay module, were securely housed within a 3D-printed control enclosure to ensure their protection (Figure 5). A 4-pin GX16 connector was provided at the bottom of the enclosure to allow quick connection and disconnection of the power supply and control signals. The DC–DC power converter was mounted in a separate casing outside the main enclosure and received the 24 V input from the power source.
During operation, the LiDAR sensor continuously monitored the presence or absence of plant canopy within its predefined sensing range (1.50 m). The sensing range of 1.50 m was selected to ensure accurate detection of plant canopy presence within the target spraying row while minimizing interference from adjacent rows and background objects. The sensor signals were processed by the ESP32 microcontroller to measure the distance, which decides whether the spray nozzle needs to be activated or not. Upon detection of a plant canopy, the microcontroller generated a control signal that energized the relay module. The relay, acting as an interface between low-voltage control electronics and the high-power solenoid valve, completed the 24 V circuit, thereby opening the valve and allowing liquid to discharge through the nozzle. When no canopy was detected, the relay signal was deactivated, cutting power to the solenoid valve and stopping the spray discharge instantly. This integrated sensing–processing–actuation sequence enabled instantaneous opening or closing of the spray nozzle in synchronization with canopy detection, thereby ensuring on-demand spray application, minimizing chemical wastage, and reducing off-target losses.

2.5. Laboratory Evaluation and Experimental Methodology of the Developed Nozzle Actuation System

The laboratory evaluation was conducted to validate the functional performance of the developed plant-detection-based nozzle actuation system under controlled conditions. The evaluation focused on assessing spray timing accuracy, sensor placement, and operating parameters influencing target spray deposition and off-target losses.

2.5.1. Description of the Laboratory Test Setup

The laboratory test setup consisted of a spray pump, the developed sensor-based nozzle actuation unit (single-nozzle), a liquid spray tank, a pressure gauge, spray hose pipes, a DC regulated power supply, artificial plants, and a motorized conveyor belt mechanism. The plant canopy detection unit was positioned to continuously sense presence or absence of the plant canopy and transmit an electrical signal to the solenoid-operated nozzle assembly, enabling precise ON–OFF control of spray discharge. As the solenoid valve required the highest operating voltage (24 V) among all electronic components, a regulated DC power supply was used as the primary input source during laboratory testing.
The spray tank served as the main reservoir for storing the spray liquid, ensuring a continuous supply to the pump–nozzle assembly. A 15-litre capacity tank was selected for laboratory testing to provide sufficient volume for sustained operation under controlled conditions. The liquid from the tank was drawn by the pump, pressurized, and delivered to the nozzle assembly through the solenoid valve for precise spray application. Water was used as the spray medium throughout the laboratory experiments. The use of water ensured consistent hydraulic conditions and facilitated reliable assessment of spray deposition using water-sensitive papers.
To supply the required pressure and discharge, a heavy-duty double-diaphragm agricultural spray pump (Earth, Model ZQ7002; India) equipped with an automatic pressure cut-off system was used. The pump operated on a 12 V DC power source and provided an open flow rate of 7–9 L min−1 with a maximum pressure of 10.3 kg cm−2 (150 psi). The alternating movement of its dual diaphragms ensured stable discharge with minimal pulsation. A Bourdon-type pressure gauge (Make: Baumer) with a measuring range of 0–70 kg cm−2 was integrated into the system to continuously monitor the system operating pressure. Spray hose pipes were used to interconnect the hydraulic components, ensuring safe, leak-proof, and reliable operation throughout testing.
Artificial plants were used to simulate crop canopy under laboratory conditions. Their uniformity ensured repeatability and minimized variability typically associated with live plants. By serving as consistent targets, the artificial plants facilitated precise calibration of the sensor–nozzle system and enabled accurate evaluation of detection sensitivity, nozzle actuation response, and spray deposition performance.
To replicate field spraying conditions, a motorized conveyor belt mechanism was employed to simulate the forward movement of the sensor–nozzle assembly mounted on the vehicle relative to stationary plants. The mechanism consisted of a 10 m long endless belt mounted on pulleys at both ends of the frame and driven by a three-phase, 0.75 kW induction motor powered by a 230 V AC supply. Motion was transmitted through a V-belt and pulley arrangement. A variable frequency drive (VFD) was installed between the power supply and the motor to regulate the belt speed. The VFD converted the single-phase input into a three-phase output and controlled the motor speed and torque by varying the supply frequency and voltage, thereby enabling accurate simulation of field-equivalent forward speeds. Figure 6 presents the motorized belt conveyor used for laboratory testing. Based on the developed laboratory setup, the geometric configuration between the sensor, spray nozzle, and plant canopy was analyzed to understand its influence on spray timing and deposition.

2.5.2. Sensor–Nozzle–Canopy Configuration and Spray Timing Concept

The primary objective of the laboratory evaluation of the plant detection-based nozzle actuation system was to assess its functional performance and to determine the optimum placement of the sensor with respect to both the spray nozzle and the plant canopy. The study aimed to maximize spray deposition on the plant canopy while minimizing unnecessary deposition on non-target areas. Additionally, the evaluation was conducted to identify the most suitable forward speed to ensure effective operation of the developed system under controlled laboratory conditions.
The sensor placement relative to the spray nozzle directly affects the timing and accuracy of nozzle actuation, which is critical for achieving precise and efficient spray application. This relationship is illustrated in Figure 7. To analyze spray deposition under different triggering conditions, seven reference positions were considered: two before the canopy (W+40 and W+20), three on the canopy (Wf, Wc, and Wb), and two after the canopy (W−20 and W−40). Figure 7a illustrates the early spray condition, wherein the nozzle was actuated before the plant canopy reached the spray zone. In this case, positions W+40 and W+20 received undesired spray deposition, resulting in off-target spray losses, while the premature cut-off of the spray nozzle led to inadequate deposition on the plant canopy. In the late spray condition (Figure 7b), the nozzle was activated after the canopy had crossed the spray line. As a result, positions W−20 and W−40 received undesired spray deposition, indicating off-target losses, while the delayed initiation of spraying resulted in insufficient coverage on the plant canopy. Figure 7c depicts the precise spray condition, wherein the spraying starts at the correct timing, coinciding with the canopy’s presence directly in front of the spray nozzle.
Under this condition, positions Wf, Wc and Wb received higher spray deposition, thereby ensuring effective and targeted coverage of the plant canopy. These spray timing conditions collectively represent the range of actuation timing scenarios and their influence on spray deposition.
The complete laboratory setup developed for evaluation of the nozzle actuation system simulated the forward motion of an agricultural sprayer while maintaining the plant-detection-based spraying unit in a stationary position. The speed of the conveyor belt was regulated through the VFD, and the corresponding motor frequencies required to attain specific belt speeds were determined using tachometer readings from the conveyor belt drive shaft, enabling accurate simulation of field-equivalent operating conditions. These spray timing concepts formed the basis for defining the operating parameters and experimental plan adopted for laboratory evaluation of the developed system.

2.5.3. Experimental Plan for Laboratory Evaluation of the Developed System

The timing of spray activation is influenced by the forward travel speed, the distance between the sensor and the spray nozzle, and the distance of the sensor from the plant canopy. Therefore, these parameters were systematically investigated during the laboratory trials. Four forward speeds of 2.5, 3.0, 3.5, and 4.0 km h−1 were selected based on the recommended operational range of 2–6 km h−1 for tractor mounted sprayers [36]. Sensor-to-nozzle distances of 25, 30, 35, and 40 cm, and sensor-to-canopy distances of 60, 70, and 80 cm were selected for lab evaluation.
The distance between the spray nozzle and the plant canopy was selected in accordance with the standard practice commonly adopted in field spraying. This spacing facilitates improved droplet trajectories and enhances spray penetration within dense canopies, as reported by Refs. [37,38]. For comparative analysis, the spraying system was additionally operated in conventional continuous spraying mode, without the plant detection sensor, and assessed under the same forward travel speeds. This facilitated assessment of the efficiency and responsiveness of the developed sensor-based spraying system. The complete experimental plan for the laboratory evaluation is outlined in Table 2.
A total of 52 treatment combinations were tested, each replicated three times, resulting in a total of 156 experimental runs. The key performance indicator measured during the laboratory evaluation was the percent area coverage of Water Sensitive Papers (WSPs) placed at different locations with respect to the plant canopy, which basically represent leaf area coverage (LAC). It was considered an important parameter because higher droplet coverage on the target surface improves spray deposition on leaf surfaces and thereby enhances the effectiveness of pest and disease control [39,40]. The spray pressure at the nozzle during laboratory evaluation was kept constant as 10 kg cm−2. The primary objective of the experimental plan was to identify the optimal sensor positioning and the most suitable forward speed that maximize spray deposition at canopy locations (Wf, Wc, and Wb) while minimizing deposition at non-target positions (W+40, W+20, W−20, and W−40).

2.5.4. Measurement and Analysis of Spray Deposition and Operating Parameters

The LAC represents the proportion of the total leaf surface area or WSPs effectively covered by spray droplets, expressed as a percentage [36,41]. The covered area was determined by analyzing the size and distribution of droplets, wherein the diameter of individual droplets was multiplied by their respective numbers within a defined region of interest (ROI) on the WSP. This parameter was generally estimated through image analysis techniques applied either to WSPs or directly to leaf samples. The LAC in the present study was computed using Equations (1) and (2).
Area   covered   by   droplets = π 4 × ( d i a m e t e r   o f   a   d r o p l e t ) 2
Leaf   area   coverage ( % ) = Area   covered   by   spray   droplets Image   area   of   ROI   on   WSP   ×   100
For laboratory evaluation of the developed sensor-based nozzle actuation system, four permanent supporting pads and an artificial plant were mounted on the conveyor belt. To assess spray distribution over the canopy, three WSPs were positioned at the front edge (Wf), centre (Wc), and rear edge (Wb) of the artificial plant canopy. In addition, two supporting pads were installed before the canopy, at distances of 20 cm (W+20) and 40 cm (W+40), and two pads were placed after the canopy, at distances of 20 cm (W−20) and 40 cm (W−40). WSPs were affixed to each of these pads to record spray deposition at different positions relative to the canopy. The overall arrangement of WSPs for spray deposition measurement is illustrated in Figure 8.
The WSPs pinned on the respective pads and over the canopy of the artificial plant were carefully removed after the completion of each trial combination. For every treatment combination, three replications were conducted, and the collected WSPs were systematically labelled with appropriate codes for subsequent analysis. The quantitative analysis of the collected WSPs was carried out using the ImageJ software (version 1.4i), which applies image processing techniques for objective evaluation of spray deposition patterns. ImageJ provides reliable tools for measuring droplet size, droplet density, spray deposition, and percentage area coverage, making it highly suitable for spray analysis studies.
For analysis, the WSPs were first scanned at a resolution of 600 dpi to ensure high-quality images. These scanned images were then imported into the ImageJ environment, where calibration was performed by assigning a known scale in millimetres for accurate measurements. After calibration, the images underwent pre-processing, which included conversion to grayscale and application of thresholding to clearly differentiate spray droplets from the background. Subsequently, the region of interest was selected, and the processed images were analyzed using the “Water Papers Analysis” function in ImageJ. This tool automatically extracted key parameters such as droplet size distribution, droplet density, and percent area coverage. Finally, the analyzed data were exported in Excel sheets (Microsoft Excel 2016) for further statistical evaluation. The analysis of WSP in ImageJ is illustrated in Figure 9.

2.6. Statistical Analysis and Optimization of Study Variables

The experimental data obtained from laboratory trials were subjected to statistical analysis to examine the influence of independent variables on the selected dependent variable. An analysis of variance (ANOVA) was performed using the SPSS software package (IBM SPSS Statistics 22.0) to assess the statistical significance of study parameters. Differences among different treatment combination means were tested using Least Significant Difference (LSD) test at a 5% level of significance (α = 0.05).
Optimization of the system performance was carried out using Response Surface Methodology (RSM) in the Design-Expert software (Version DX13), to identify the most suitable combination of independent variables for achieving the optimal system performance. RSM is a collection of mathematical and statistical techniques used for modelling, analysis, and optimization of processes in which a response variable is influenced by several independent variables. In this approach, the experimental data were fitted into a second-order polynomial regression model, which represents the response surface. This model allows visualization of the response through three-dimensional surface plots and contour plots, providing insight into the main effects, interaction effects, and quadratic effects of the independent variables. The general form of the RSM model was formulated as:
Y = β 0 + ( β i X i ) + ( β i i X i 2 ) + ( β i j X i X j ) + ε
where Y = response variable; β 0   = intercept term; β i = coefficients for linear effects; β i i = coefficients for quadratic effects; β i j = coefficients for interaction effects; X i and X j = independent variables; and ε = error term.
In the laboratory trials, the maximum percent area coverage of WSPs placed at the artificial plant canopy positions (Wf, Wc, and Wb) and the minimum spray coverage at off-target positions (W+40, W+20, W−20, and W−40) were identified as primary output quality characteristics of the system. The independent variables considered for optimization were the linear belt speed (BS), the sensor-nozzle distance (SN), and the sensor-canopy distance (SC). These factors were chosen because of their critical role in ensuring proper synchronization between sensor detection and nozzle actuation, thereby directly influencing spray deposition efficiency.
The overall system response delay is governed primarily by the intrinsic characteristics of the selected hardware components, including the LiDAR sensing frequency, ESP32 processing time, relay switching time, and solenoid valve actuation time. Since these characteristics remained unchanged throughout the experiments, response delay was not treated as an independent optimization variable. Instead, its engineering consequence was evaluated through the leaf area coverage measured at the target and off-target locations. Since the spatial displacement caused by the response delay is proportional to the forward speed and the response time, the measured leaf area coverage at the seven WSP positions provided a practical assessment of the influence of system latency on spray timing and deposition.
Furthermore, the developed sensing and control unit exhibited a measured instantaneous electrical power consumption of approximately 15 W (24 V and 0.625 A) under laboratory operating conditions with the solenoid valve energized (spray ON condition), representing the maximum electrical load of the system. This value represents the electrical power required by the sensing and control hardware and should not be interpreted as energy consumption per unit area or field-scale energy requirement. Because the same hardware configuration and operating condition were maintained throughout all experimental treatments, the measured electrical power remained essentially constant and was therefore not included as an optimization response.

3. Results

3.1. Laboratory Evaluation of the Developed Plant Detection-Based Nozzle Actuation System

3.1.1. Leaf Area Coverage (LAC) Distribution Under Continuous Spraying

The LAC distribution under continuous spraying was analyzed using WSPs placed at seven positions: W+40, W+20, Wf, Wc, Wb, W−20, and W−40, along the direction of travel. For performance evaluation, the LAC values recorded at Wf, Wc, and Wb were considered indicators of effective spray deposition on the target canopy, whereas the LAC values measured at W+40, W+20, W−20, and W−40 were considered indicators of off-target spray deposition (spray loss). The mean LAC values at different WSP locations under their respective linear belt speeds are illustrated in Figure 10. The LAC recorded on the WSPs ranged from 61.71 to 63.95% at a linear belt speed of 2.5 km h−1, 55.72 to 57.08% at 3.0 km h−1, 50.72 to 51.91% at 3.5 km h−1, and 43.25 to 45.90% at 4.0 km h−1. A decreasing trend in LAC was observed with increasing linear belt speed, indicating a reduction in spray deposition efficiency at higher operational speeds.
Table 3 summarizes the ANOVA results for the effects of linear belt speed and WSP location on LAC under continuous spraying mode. The results revealed that linear belt speed had a highly significant effect on LAC (p < 0.001), indicating that variations in forward speed markedly influenced spray deposition. In contrast, the effect of WSP location was not statistically significant (p = 0.10), suggesting a relatively uniform spray distribution across the different positions along the direction of travel. Likewise, the interaction effect between belt speed and WSP location was found to be non-significant (p = 0.99), indicating that the influence of belt speed on LAC was consistent across all WSP locations.
Further, the LSD test, as depicted in Figure 10, indicated no significant differences in LAC among the WSP positions at their respective linear belt speeds (p > 0.05), thereby confirming the uniformity of spray distribution along the direction of travel.

3.1.2. LAC Under Plant Detection-Based Spraying

The LAC obtained under plant detection-based spraying was evaluated at four linear belt speeds of 2.5, 3.0, 3.5, and 4.0 km h−1, four sensor-nozzle distances of 25, 30, 35, and 40 cm, and three sensor-canopy distances of 60, 70, and 80 cm. In plant detection-based spraying, the objective was to achieve higher LAC over the plant canopy (Wf, Wc, and Wb) while maintaining minimal spray deposition at positions before and after the canopy (W+40, W+20, W−20, and W−40).
The observed LAC exhibited considerable variation depending on the treatment combination and the position of the WSPs, indicating variations in spray deposition under different operating conditions. The general trend observed under plant detection-based spraying showed that higher LAC values were observed at positions over the plant canopy (Wf, Wc, and Wb), whereas comparatively lower coverage was observed at positions before and after the canopy (W+40, W+20, W−20, and W−40), although a few treatment combinations showed slight deviations from this trend. The difference in LAC between canopy and non-canopy positions was consistently observed across most treatment combinations. This spatial variation in LAC reflects the distribution pattern achieved under different operating conditions of the developed system.
The ANOVA results for the effects of linear belt speed, sensor–nozzle distance, and sensor–canopy distance on LAC at different positions are presented in Table 3. The results showed that LAC at different WSP locations was significantly affected (p ≤ 0.05) by sensor–nozzle distance and linear belt speed, while sensor–canopy distance showed no significant effect on LAC.
LAC at Different Positions Relative to the Plant Canopy Under Varying Linear Belt Speed
The LAC at different locations relative to the plant canopy under varying linear belt speeds is presented in Figure 11. The LAC varied depending on the position relative to the plant canopy as well as with changes in linear belt speed. The ANOVA results indicated that linear belt speed had a statistically significant effect on LAC at the 5% level of significance (p ≤ 0.05) at all WSP locations.
The experimental results showed that higher LAC was observed at the lower linear belt speed of 2.5 km h−1 at the locations W+40, W+20, Wf, Wc, and Wb, whereas comparatively lower coverage was recorded at W−20 and W−40. As the linear belt speed increased from 2.5 to 4.0 km h−1, a gradual decrease in LAC was observed at WSPs positioned before the plant canopy (W+40 and W+20) and over the plant canopy (Wf, Wc, and Wb). In contrast, the LAC at WSPs placed after the plant canopy (W−20 and W−40) increased with increasing linear belt speed. The LSD test (Figure 11) indicated that the LAC values corresponding to the linear belt speeds of 2.5, 3.0, 3.5, and 4.0 km h−1 differed significantly (p ≤ 0.05).
LAC at Different Positions Relative to the Plant Canopy Under Varying Sensor–Nozzle Distance
The LAC at different locations relative to the plant canopy under varying sensor–nozzle distances of 25, 30, 35, and 40 cm is presented in Figure 12.
The ANOVA results presented in Table 4 indicate that the sensor–nozzle distance had a statistically significant effect on LAC at the 5% level of significance (p ≤ 0.05) at all WSP locations. As the sensor–nozzle distance increased from 25 to 40 cm, a consistent increase in LAC was observed at WSP locations W+40 (0–17.74%), W+20 (22.55–33.74%), Wf (39.43–52.39%), and Wc (50.45–55.18%), whereas a gradual decrease in coverage was recorded at Wb (53.40–41.46%), W−20 (34.54–25.59%), and W−40 (25.86–17.27%). The LSD test (Figure 12) indicated that the LAC corresponding to the sensor–nozzle distances of 25, 30, 35, and 40 cm differed significantly (p ≤ 0.05) for each specific location of WSP.
At sensor–nozzle distances of 25, 30, and 35 cm, no spray deposition was recorded at the WSP location W+40. At a sensor–nozzle distance of 25 cm, the LAC at off-target locations (W+40, W+20, W−20, W−40) ranged from 0 to 34.54%, whereas at plant canopy locations (Wf, Wc, Wb), it varied between 39.43% and 53.40%. At sensor–nozzle distances of 30, 35, and 40 cm, the corresponding LAC values were 0–30.99% and 42.99–51.95%, 0–29.55% and 47.99–54.49%, and 17.27–33.74% and 41.46–55.18%, respectively.
LAC at Different Positions Relative to the Plant Canopy Under Varying Sensor–Canopy Distance
The LAC at different locations relative to the plant canopy under sensor–canopy distances of 60, 70, and 80 cm is presented in Figure 13. The coverage of WSPs varied with their position relative to the plant canopy; however, no noticeable change in coverage was observed with variations in sensor–canopy distance. The ANOVA results (Table 4) indicate that the sensor–canopy distance did not have a statistically significant effect on LAC at any WSP location at the 5% level of significance (p > 0.05). The LAC at locations W+40, W+20, Wf, Wc, Wb, W−20, and W−40 ranged from 4.42 to 4.44%, 27.97–28.03%, 45.84–45.94%, 52.65–53.32%, 48.17–48.64%, 29.71–30.01%, and 21.32–21.74%, respectively, as the sensor–canopy distance varied from 60 to 80 cm. The LSD test further confirmed that increasing the sensor–canopy distance from 60 to 80 cm did not result in any significant difference in LAC at any WSP location (p > 0.05).
The observed differences in spray deposition before and after the target canopy can be explained by the cumulative response characteristics of the sensing and actuation system. Although the LiDAR sensor acquires distance information at a high sampling frequency, a finite response time exists between canopy detection, signal processing by the ESP32, relay switching, solenoid valve actuation, and stabilization of the spray jet. Consequently, if nozzle actuation occurs slightly earlier or later than the optimal instant, spray deposition increases at the off-target locations (W+40, W+20, W−20, and W−40), indicating spray loss. Optimizing the sensor–nozzle distance compensates for these cumulative delays, thereby improving synchronization between canopy detection and spray discharge, resulting in higher deposition on the target canopy (Wf, Wc, and Wb) while minimizing off-target deposition.

3.2. Optimized Operating Variables for the Developed Nozzle Actuation System

The optimization of operating variables, namely linear belt speed (BS), sensor–nozzle distance (SN), and sensor–canopy distance (SC), was carried out using the RSM technique with a desirability function (DF) in Design-Expert software (version 25.0). In the present laboratory experiment, the LAC obtained at the WSPs was considered as the response variable representing the quality characteristics of spray deposition. For optimization, the goal for WSPs positioned over the plant canopy (Wf, Wc, and Wb) was set to maximize LAC, whereas the goals for WSPs positioned before (W+40 and W+20) and after the plant canopy (W−20 and W−40) were set to minimize LAC in order to reduce off-target spraying. Appropriate importance levels were assigned to the responses and operating variables. The desirability goals and importance levels assigned to the operating variables and responses are presented in Table 5. Higher desirability importance (5) was assigned to the off-target responses (W+40, W+20, W−20, and W−40) because minimizing off-target spray deposition was the primary objective of the developed system. A lower importance (3) was assigned to the target responses (Wf, Wc, and Wb), as adequate canopy coverage was achieved over a relatively broad range of operating conditions.
The optimum combination of operating variables was identified based on the highest composite desirability value, which ranges between 0 and 1. Figure 14 presents the optimization ramps generated during the numerical optimization procedure in Design-Expert software. The ramps graphically illustrate the optimized combination of belt speed, sensor–nozzle distance, and sensor–canopy distance that simultaneously satisfies the selected optimization criteria. The corresponding predicted responses and overall desirability indicate the suitability of the identified operating conditions for maximizing canopy deposition while minimizing off-target spray deposition.
The optimized values of the operating parameters were found to be 35 cm sensor–nozzle distance, 70 cm sensor–canopy distance, and 3.0 km h−1 linear belt speed. Under these optimized conditions, the predicted LAC of WSPs positioned at W+40, W+20, Wf, Wc, Wb, W−20, and W−40 was 0%, 31.14%, 53.95%, 58.77%, 52.25%, 25.31%, and 15.79%, respectively, with an overall composite desirability of 0.72, which represents the weighted geometric mean of the individual desirability values for the responses. The optimized value of 70 cm represents a practical intermediate operating level selected by the desirability function, as the predicted responses were nearly insensitive to SC within the investigated range and several SC values yielded comparable desirability.
After determining the optimized operating conditions, the developed nozzle actuation system was tested under the optimized parameters. The observed LAC values of WSPs positioned at W+40, W+20, Wf, Wc, Wb, W−20, and W−40 were 0%, 32.36%, 52.91%, 54.75%, 53.64%, 28.74%, and 17.24%, respectively, showing an absolute relative error ranging from 0 to 11.92% compared to the predicted values. The optimized parameter combination ensured accurate detection of plant canopies, timely actuation of spray nozzles, and effective spray deposition over the canopy region while minimizing off-target spraying. The optimized parameter values were therefore adopted for the development and integration of the sprayer prototype of the plant detection-based precision spraying system.

3.3. Comparative LAC Under Plant Detection-Based Spraying (At Optimized Setting) and Continuous Spraying

The comparative LAC at different WSP locations under continuous spraying and plant detection-based spraying modes is presented in Table 6, highlighting the differences in spray distribution patterns between the two spraying modes. The comparison was performed using paired t-tests at optimized settings, i.e., a linear belt speed of 3.0 km h−1, with the sensor–nozzle distance set at 35 cm and the sensor–canopy distance set at 70 cm.
The results indicate that under continuous spraying, the LAC remained relatively uniform across all positions, with mean values ranging from 55.72 to 57.08%, accompanied by low standard deviation values, reflecting consistent spray deposition along the direction of travel, indicating higher off-target spray losses. In contrast, the sensing-based spraying mode resulted in spray deposition primarily at canopy locations (Wf, Wc, and Wb), where the mean LAC values (53.96, 55.77, and 52.26%, respectively) were comparable to those observed under continuous spraying. However, spray deposition was substantially reduced at positions before and after the plant canopy (W+40, W+20, W−20, and W−40), where LAC decreased significantly to as low as 0.00, 31.14, 25.31, and 15.79%, respectively. This clearly demonstrates the selective nature of the developed spraying system.

4. Discussion

4.1. Developed Plant Detection-Based Nozzle Actuation System

The developed plant detection-based nozzle actuation system successfully demonstrated the feasibility of LiDAR-based sensing for real-time spraying applications. The TF-Luna Micro LiDAR sensor enabled reliable detection of plant canopy through precise distance measurement, ensuring timely identification of target zones for spray actuation. Similar LiDAR-based detection approaches have been reported by Liu et al. [42] for tree canopy detection, Ilari et al. [43] for grapevine detection, and Qiao et al. [44] for maize canopy detection, indicating that such sensors offer adequate spatial resolution and rapid response for precision spraying applications.
The ESP32-WROOM-32 microcontroller effectively facilitated real-time data acquisition, signal processing, and control of the actuation system. The applicability of embedded control platforms in smart agricultural machinery has also been highlighted by Refs. [45,46,47], supporting the selection of the controller used in the present system. Its processing capability and low latency ensured synchronization between plant detection and nozzle actuation, which is critical for accurate spray targeting.
The relay module (SRD-05VDC-SL-C) functioned as a reliable switching interface between the low-power (5 V DC) control circuitry and the high-power (24 V DC) solenoid valve, ensuring safe and effective signal transmission. The solenoid valve (Techno 5404) regulated the spray discharge by opening and closing in response to control signals, thereby enabling precise on/off spraying.
The integration of sensing, control, and actuation components resulted in an automated canopy detection-based spraying system capable of responding dynamically to crop presence or absence in real time. This integration ensured synchronization between detection and actuation, which is essential for minimizing spray delay and improving targeting accuracy. Furthermore, the developed system aligns with the principles of site-specific crop management by enabling selective spraying. Such targeted application strategies have been reported to reduce chemical usage, improve input-use efficiency, and minimize environmental contamination. Therefore, the developed system demonstrates strong potential for adoption in precision agriculture applications, particularly in orchards and widely spaced crops.

4.2. Laboratory Evaluation of the Developed Plant Detection-Based Nozzle Actuation System

4.2.1. Effect of Linear Belt Speed on LAC Under Continuous Mode of Spraying

The LAC under continuous spraying mode decreased progressively with an increase in linear belt speed. The LAC ranged from 61.71 to 63.95% at 2.5 km h−1, 55.72 to 57.08% at 3.0 km h−1, 50.72 to 51.91% at 3.5 km h−1, and 43.25 to 45.90% at 4.0 km h−1. This significantly decreasing trend with increasing linear belt speed (p ≤ 0.05) can be attributed primarily to the reduced residence time of the spray plume over the target surface, which limits droplet impingement and retention on the canopy and WSPs. Furthermore, an increase in linear belt speed alters the local airflow dynamics around the spray nozzle, resulting in greater droplet dispersion and drift losses, thereby reducing effective deposition on the target surface. The combined effect of reduced exposure time and increased aerodynamic disturbances leads to a decline in LAC at higher operating speeds. These findings are consistent with those reported by Refs. [38,48,49], who also observed a significant reduction in spray deposition with increasing forward speed under continuous spraying conditions.
At a given linear belt speed, the LAC at different WSP locations did not differ significantly (p > 0.05), indicating that spray deposition remained spatially uniform along the direction of travel.

4.2.2. Effect of Linear Belt Speed on LAC Under Plant Detection-Based Nozzle Actuation Spraying

The LAC under plant detection-based nozzle actuation spraying varied significantly with linear belt speed as well as with the position of WSPs relative to the plant canopy. The variation in LAC across different locations clearly reflects the influence of sensor–actuator coordination and system response dynamics on spray deposition. The LAC of WSPs positioned before the plant canopy decreased from 6.21 to 3.01% at W+40 and from 35.42 to 21.78% at W+20 with an increase in linear belt speed from 2.5 to 4.0 km/h. This trend can be attributed to the configuration of the sensing system, wherein the sensor was positioned ahead of the spray nozzle. Similar observations regarding the influence of sensor–nozzle offset and system response time on spray distribution have been reported by Refs. [50,51,52,53]. At lower linear belt speeds, the time interval between canopy detection and the required nozzle actuation was relatively longer, resulting in earlier spray initiation and increased unintended deposition ahead of the plant canopy. As the linear belt speed increased, this interval decreased, improving synchronization between canopy detection and nozzle actuation and thereby reducing off-target spray deposition prior to the canopy.
A similar decreasing trend in LAC with increasing linear belt speed was observed for WSPs placed over the plant canopy. The LAC declined from 53.55 to 38.04% at Wf, 60.88 to 42.02% at Wc, and 56.36 to 39.89% at Wb. This reduction can be attributed to the shorter interaction time between the spray plume and the target surface at higher operating speeds, which limits droplet impingement and retention. Comparable observations regarding the adverse effect of increased forward speed on spray coverage have been reported by Refs. [54,55].
In contrast, an increasing trend in LAC with increasing linear belt speed was observed for WSPs positioned after the plant canopy (W−20 and W−40), where values increased from 26.34 to 35.25% and from 15.26 to 29.67%, respectively. This behaviour can be explained by the forward placement of the sensor relative to the spray nozzle and the inherent delay associated with nozzle shut-off. At higher linear belt speeds, the time available for synchronization between canopy exit detection and spray termination is reduced. Additionally, the response time of the solenoid valve, coupled with residual pressure in the nozzle line, results in continued spray discharge beyond the target canopy. Consequently, a higher proportion of spray droplets is deposited at locations situated after the canopy. These findings are in agreement with Ref. [56], which reported that solenoid on/off latency significantly affects spray placement accuracy at higher operating speeds. Similar observations were reported in Refs. [57,58], emphasizing the critical role of system response delay and control timing in determining spatial spray distribution in sensor-based spraying systems.

4.2.3. Effect of Sensor–Nozzle Distance on LAC

The results indicated that the sensor–nozzle distance significantly influenced the LAC at all WSP positions (p ≤ 0.05). This effect can be attributed to variations in the lead time available for nozzle activation and deactivation, which govern the synchronization between target detection and spray discharge. Similar observations have been reported by Refs. [56,57,58], highlighting the importance of sensor–actuator coordination in precision spraying systems. At sensor–nozzle distances of 25, 30, and 35 cm, no spray deposition was observed at W+40, as the spray nozzle had already traversed this location before canopy detection and subsequent actuation. Luck et al. [57] similarly reported that shorter sensor–nozzle distances can delay spray initiation, particularly at the leading edge of the target.
At a sensor–nozzle distance of 25 cm, relatively lower LAC was observed at W+20 (22.55%), Wf (39.43%), and Wc (50.45%), indicating that limited lead time resulted in delayed spray initiation and partial misalignment between spray discharge and the target canopy zone. The effective spray footprint was consequently shifted towards the rear due to vehicle motion and droplet momentum, resulting in comparatively higher deposition at Wb and at positions beyond the canopy (W−20 and W−40). Such spatial displacement arising from inadequate synchronization between sensing and actuation has also been reported by Refs. [57,58].
As the sensor–nozzle distance increased from 25 to 40 cm, the LAC at W+20, Wf, and Wc increased progressively to 33.74%, 52.39%, and 55.18%, respectively. This improvement can be attributed to increased lead time between canopy detection and nozzle actuation, allowing earlier spray initiation and better alignment of the spray plume with the target canopy. Consequently, the spray footprint shifted forward, enhancing droplet deposition at the desired locations.
Concurrently, a reduction in LAC was observed at locations beyond the canopy, with values at Wb and W−20 decreasing (e.g., W−20 from 34.54% to 25.59%, and W−40 from 25.86% to 17.27%) as the sensor–nozzle distance increased from 25 to 40 cm. This trend reflects improved spray cut-off timing, which minimizes residual spray discharge beyond the intended canopy region. Similar findings regarding the influence of actuation timing and solenoid valve latency on spray placement accuracy have been reported by Ref. [56].
These results indicate that appropriate selection of sensor–nozzle distance, in relation to system response time, is essential for maximizing LAC within the target canopy zone (Wf, Wc, and Wb) while minimizing off-target spray deposition at positions before and after the canopy.
The effects of forward speed and sensor–nozzle distance can be explained by the temporal synchronization between canopy detection and spray discharge. As forward speed increases, the time available for canopy detection, signal processing, relay switching, solenoid valve actuation, and spray delivery decreases. Likewise, the sensor–nozzle distance determines the lead time between canopy detection and the arrival of the spray jet at the target. An excessively short or long sensor–nozzle distance results in premature or delayed nozzle actuation, leading to increased off-target deposition before or after the canopy. Therefore, proper coordination of forward speed and sensor–nozzle distance is essential to maximize spray deposition on the target canopy while minimizing spray losses.

4.2.4. Effect of Sensor–Canopy Distance on LAC

The LAC at all WSP locations exhibited only minor variation when the sensor–canopy distance was varied from 60 to 80 cm. Statistical analysis also indicated that the effect of sensor–canopy distance on LAC was not significant (p > 0.05), suggesting that variations in this parameter did not influence spray deposition under the tested conditions. This consistent spray coverage indicates that the selected distance-based LiDAR sensor, operating within its effective detection range (0.2–8 m), was able to reliably detect the plant canopy and generate timely actuation signals without measurable delay or loss of detection accuracy. The stable performance across the tested sensor–canopy distances demonstrates that the sensing system maintained adequate detection resolution and response time within this operational window. Similar findings have been reported by Ref. [59], who demonstrated reliable canopy detection and structural characterization using LiDAR at moderate sensing distances. Refs. [42,60] also reported that LiDAR systems provide consistent distance measurements and accurate canopy profiling within calibrated operating ranges.
These results indicate that, within the tested range, sensor–canopy distance did not significantly influence spray deposition performance, provided that the sensor operated within its specified detection limits. Furthermore, the results suggest that system performance was more strongly influenced by parameters such as sensor–nozzle distance and linear belt speed, which directly affect actuation timing and spray synchronization.

4.3. Optimized Operating Variables for the Developed Nozzle Actuation System

The multi-response optimization performed using RSM provided a systematic framework to simultaneously maximize LAC within the target canopy zone while minimizing off-target spray deposition. The optimized configuration provided sufficient lead time for canopy detection and timely nozzle actuation, while the selected linear belt speed ensured proper synchronization between spray discharge and canopy position under the spray plume.
The optimized combination of operating variables was found to be 35 cm sensor–nozzle distance, 70 cm sensor–canopy distance, and 3.0 km h−1 linear belt speed, corresponding to a composite desirability value of 0.72. This desirability value indicates a satisfactory compromise balanced optimization trade-off among competing responses. Under these optimized conditions, the LAC values obtained were 53.95%, 58.77%, and 52.25% at Wf, Wc, and Wb positions, respectively, demonstrating effective spray deposition over the canopy region. At the same time, off-target deposition was minimized to 0% and 31.14% at positions before the canopy (W+40 and W+20), and to 25.31% and 15.79% at positions beyond the canopy (W−20 and W−40), respectively. These results highlight the ability of the developed system to achieve spatially selective spray application.
At higher linear belt speeds (e.g., 4.0 km h−1), lower desirability values were observed, indicating that increased speed adversely affects spray precision due to reduced interaction time and increased system response constraints. Similarly, shorter sensor–nozzle distances (e.g., 25 cm) resulted in relatively higher LAC at initial canopy positions but reduced overall desirability, primarily due to increased off-target deposition at positions preceding the canopy.
Validation experiments conducted under optimized conditions showed absolute relative deviations ranging from 0 to 11.92% between predicted and observed values. The close agreement between predicted and experimental values indicates that the used RSM model adequately captured system behaviour and demonstrates the reliability of the optimization process.

4.4. Comparison of LAC Under Continuous and Plant Detection-Based Spraying Modes

The comparison of LAC under continuous spraying and plant detection-based intermittent spraying modes at optimized operational settings revealed distinctly different spray deposition patterns. Under the plant detection-based intermittent spraying mode, LAC values of approximately 52–55% were maintained at canopy positions (Wf, Wc, and Wb), which were comparable to those obtained under the continuous spraying mode (55–57%). indicating that selective nozzle actuation did not compromise effective spray deposition over the target canopy. This indicates that selective nozzle actuation did not compromise effective spray deposition over the target canopy.
In contrast, a substantial reduction in off-target spray deposition was observed under the intermittent spraying mode. Under continuous spraying mode, high LAC values were recorded at positions before and after the canopy (e.g., ~100% at W+40, ~42.83% at W+20, ~48.92% at W−20, and ~69.80% at W−40), indicating significant spray losses. However, under intermittent spraying mode, LAC at these positions was considerably reduced, demonstrating improved spray precision and reduced chemical wastage. These findings are consistent with those reported by Refs. [56,57], who reported that sensor-based spraying systems can achieve canopy deposition comparable to conventional continuous spraying while significantly reducing off-target application.
The results further indicate that precise synchronization between sensing, actuation, and system kinematics is critical for achieving optimal spray deposition and minimizing off-target losses in plant detection-based precision spraying systems.

4.5. Limitations and Field Applicability

The present study was conducted under controlled laboratory conditions using a conveyor system, a single-nozzle configuration, artificial plants, and water as the spray medium, which ensured high repeatability and precise evaluation of system performance. For real-field applications, certain factors such as ambient sunlight, mechanical vibrations, and natural variability in crop canopy structure may influence sensor response and spray deposition behaviour. However, the selected LiDAR sensor and system configuration are inherently suited for outdoor conditions, and the insights obtained from this study provide a strong basis for field implementation. Future work will focus on validating the system under actual field conditions using commercially available pesticide formulations and extending it to multi-nozzle boom configurations to further enhance its practical applicability. In addition, future research may explore the integration of RGB cameras and artificial intelligence-based image analysis techniques to enable crop health monitoring, disease detection, and site-specific application of agrochemicals, thereby expanding the system beyond canopy-based nozzle actuation toward more intelligent precision spraying applications.
Canopy characteristics such as shape, density, and the presence of gaps may influence canopy detection and nozzle actuation behaviour under field conditions. While sparse or discontinuous canopies may affect spray deposition patterns, they may also provide opportunities for additional spray savings by reducing application in canopy gaps and other non-target areas. These effects warrant further investigation under diverse crop architectures.

5. Conclusions

Based on the results obtained in this study, the following specific conclusions were drawn:
  • A plant detection-based nozzle actuation system was successfully developed using a LiDAR sensor, an ESP32 microcontroller, and a solenoid valve-controlled spray nozzle assembly. The system enabled real-time detection of plant canopy presence and selective spray application.
  • Laboratory evaluation demonstrated that under sensor-based spraying, forward speed and sensor-to-nozzle distance significantly influenced spray coverage, whereas sensor-to-canopy distance had no significant effect. The system effectively minimized off-target spray deposition before and beyond the plant canopy.
  • Optimization results identified the optimal operating parameters as a linear belt speed of 3.0 km h−1, a sensor-to-nozzle distance of 35 cm, and a sensor-to-canopy distance of 70 cm, with an overall desirability value of 0.721. Under these conditions, adequate spray coverage over the plant canopy was achieved, with an average coverage of 54%, while minimizing spray losses outside the target region. Validation experiments indicated good agreement between predicted and observed spray coverage values, with deviations ranging from 0 to 11.92%, confirming the reliability and predictive capability of the developed optimization model.
  • Comparison between continuous and optimized sensor-based spraying revealed that the developed system maintained comparable spray coverage on the target canopy, with sensor-based spraying achieving 52–55% coverage compared to 55–57% under continuous spraying. At the same time, it significantly reduced off-target losses, with spray coverage before the canopy reduced from 56.72% to 0% (W+40) and from 56.60% to 31.14% (W+20), and beyond the canopy from 56.27% to 25.31% (W−20) and 57.08% to 15.79% (W−40). These results indicate the effectiveness of the developed system for precision application while minimizing chemical wastage.
In contrast to previous studies that primarily focused on canopy detection and targeted spraying, the present work emphasizes optimization of sensor–actuator synchronization. The developed system identified an optimum combination of forward speed, sensor–nozzle distance, and sensor–canopy distance that achieved effective canopy coverage while minimizing off-target deposition. Future investigations will also include practical performance indicators such as spray losses, pesticide savings, and energy consumption to provide a more comprehensive evaluation of the developed system under field conditions.

Author Contributions

Conceptualization, N.S. and G.U.; methodology, N.S., G.U., B.P., S.C. and A.K.A.; software, N.S. and S.C.; validation, N.S., G.U., B.P., S.C. and V.R.; formal analysis, N.S. and G.U.; investigation, N.S., G.U., B.P., and S.C.; resources, G.U. and V.R.; data curation, N.S.; writing—original draft, N.S. and G.U.; writing—review and editing, N.S. and G.U.; visualization, N.S., G.U. and A.K.A.; supervision, G.U. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article.

Acknowledgments

The authors would like to express their sincere gratitude to Chaudhary Charan Singh Haryana Agricultural University, Hisar, and ICAR-All India Coordinated Research Project (AICRP) on Farm Implements and Machinery (FIM), for their financial support and facilities to conduct this study.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Florentine, S.; Chauhan, B.S.; Jabran, K. Agriculture and crop protection: Its global importance and relationship with climate change. In Crop Protection Under Changing Climate; Springer International Publishing: Cham, Switzerland, 2020; pp. 1–16. [Google Scholar]
  2. De, A.; Bose, R.; Kumar, A.; Mozumdar, S. Worldwide pesticide use. In Targeted Delivery of Pesticides Using Biodegradable Polymeric Nanoparticles; Springer: New Delhi, India, 2013; pp. 5–6. [Google Scholar] [CrossRef]
  3. Nayak, P.; Solanki, H. Pesticides and Indian agriculture—A review. Int. J. Res. GRANTHAALAYAH 2021, 9, 250–263. [Google Scholar] [CrossRef]
  4. Wandkar, S.V.; Bhatt, Y.C.; Jain, H.K.; Nalawade, S.M.; Pawar, S.G. Real-time variable rate spraying in orchards and vineyards: A review. J. Inst. Eng. India Ser. A 2018, 99, 385–390. [Google Scholar] [CrossRef]
  5. Garcera, C.; Molto, E.; Chueca, P. Spray pesticide applications in Mediterranean citrus orchards: Canopy deposition and off-target losses. Sci. Total Environ. 2017, 599–600, 1344–1362. [Google Scholar] [CrossRef] [PubMed]
  6. Albaseer, S.S.; Jaspers, V.L.; Orsini, L.; Vlahos, P.; Al-Hazmi, H.E.; Hollert, H. Beyond the field: How pesticide drift endangers biodiversity. Environ. Pollut. 2024, 366, 125526. [Google Scholar] [CrossRef] [PubMed]
  7. Balafoutis, A.; Beck, B.; Fountas, S.; Vangeyte, J.; Wal, T.; Soto, I.; Gomez-Barbero, M.; Barnes, A.; Eory, V. Precision agriculture technologies positively contributing to GHG emissions mitigation, farm productivity and economics. Sustainability 2017, 9, 1339. [Google Scholar] [CrossRef]
  8. Ranga Rao, G.V.; Kumari, B.R.; Sahrawat, K.L.; Wani, S.P. Integrated pest management (IPM) for reducing pesticide residues in crops and natural resources. In New Horizons in Insect Science: Towards Sustainable Pest Management; Springer: New Delhi, India, 2015; pp. 397–412. [Google Scholar]
  9. Sankhla, M.S.; Kumari, M.; Nandan, M.; Kumar, R.; Agrawal, P. Heavy metals contamination in water and their hazardous effect on human health—A review. Int. J. Curr. Microbiol. App. Sci. 2016, 5, 759–766. [Google Scholar] [CrossRef]
  10. Liu, X.; Xiang, S.; Zong, T.; Ma, G.; Wu, L.; Liu, K.; Zhou, X.; Bai, L. Herbicide resistance in China: A quantitative review. Weed Sci. 2019, 67, 605–612. [Google Scholar] [CrossRef]
  11. Montull, J.M.; Torra, J. Herbicide resistance is increasing in Spain: Concomitant management and prevention. Plants 2023, 12, 469. [Google Scholar] [CrossRef] [PubMed]
  12. Hassen, N.S.; Sidik, N.A.C.; Sheriff, J.M. Advanced techniques for reducing spray losses in agrochemical application system. Life Sci. J. 2014, 11, 56–66. [Google Scholar]
  13. Ampatzidis, Y.; Kiner, J.; Abdolee, R.; Ferguson, L. Voice-controlled and wireless solid set canopy delivery (VCW-SSCD) system for mist-cooling. Sustainability 2018, 10, 421. [Google Scholar] [CrossRef]
  14. Abdulridha, J.; Ehsani, R.; Abd-Elrahman, A.; Ampatzidis, Y. A remote sensing technique for detecting laurel wilt disease in avocado in presence of other biotic and abiotic stresses. Comput. Electron. Agric. 2018, 156, 549–557. [Google Scholar] [CrossRef]
  15. Ampatzidis, Y.; Cruz, A. Plant disease detection utilizing artificial intelligence and remote sensing. In International Congress of Plant Pathology (ICPP) 2018: Plant Health in a Global Economy; APSNET: Boston, MA, USA, 2018. [Google Scholar]
  16. Luvisi, A.; Ampatzidis, Y.; De Bellis, L. Plant pathology and information technology: Opportunity for management of disease outbreak and applications in regulation frameworks. Sustainability 2016, 8, 831. [Google Scholar] [CrossRef]
  17. Ampatzidis, Y.; De Bellis, L.; Luvisi, A. IPathology: Robotic applications and management of plants and plant diseases. Sustainability 2017, 9, 1010. [Google Scholar] [CrossRef]
  18. Tewari, V.K.; Chandel, A.K.; Nare, B.; Kumar, S. Sonar sensing predicated automatic spraying technology for orchards. Curr. Sci. 2018, 115, 1115. [Google Scholar] [CrossRef]
  19. Kassim, A.M.; Termezai, M.F.N.M.; Jaya, A.K.R.A.; Azahar, A.H.; Sivarao, S.; Jaafar, F.A.; Jaafar, H.I.; Aras, M.S.M. Design and development of autonomous pesticide sprayer robot for fertigation farm. Int. J. Adv. Comput. Sci. Appl. 2020, 11, 545–551. [Google Scholar] [CrossRef]
  20. Partel, V.; Costa, L.; Ampatzidis, Y. Smart tree crop sprayer utilizing sensor fusion and artificial intelligence. Comput. Electron. Agric. 2021, 191, 106556. [Google Scholar] [CrossRef]
  21. Ma, C.; Li, G.; Peng, Q. Design and test of a jet remote control spraying machine for orchards. AgriEngineering 2021, 3, 797–814. [Google Scholar] [CrossRef]
  22. Jeon, H.; Zhu, H. Ultrasonic sensor controlled sprayer for variable rate liner applications. J. Biosyst. Eng. 2011, 36, 15–22. [Google Scholar] [CrossRef]
  23. Wei, J.; Salyani, M. Development of a laser scanner for measuring tree canopy characteristics: Phase 2. Foliage density measurement. Trans. ASAE 2005, 48, 1595–1601. [Google Scholar] [CrossRef]
  24. Oberti, R.; Marchi, M.; Tirelli, P.; Calcante, A.; Iriti, M.; Hočevar, M.; Baur, J.; Pfaff, J.; Schütz, C.; Ulbrich, H. Selective spraying of grapevine diseases by a modular agricultural robot. J. Agric. Eng. 2013, 44, 149–153. [Google Scholar] [CrossRef]
  25. Oberti, R.; Marchi, M.; Tirelli, P.; Calcante, A.; Iriti, M.; Tona, E.; Hočevar, M.; Baur, J.; Pfaff, J.; Schütz, C.; et al. Selective spraying of grapevines for disease control using a modular agricultural robot. Biosyst. Eng. 2016, 146, 203–215. [Google Scholar] [CrossRef]
  26. Brown, D.; Giles, D.; Oliver, M.; Klassen, P. Targeted spray technology to reduce pesticide in runoff from dormant orchards. Crop Prot. 2008, 27, 545–552. [Google Scholar] [CrossRef]
  27. Esau, T.J.; Zaman, Q.U.; Chang, Y.K.; Schumann, A.W.; Percival, D.C.; Farooque, A.A. Spot-application of fungicide for wild blueberry using an automated prototype variable rate sprayer. Precis. Agric. 2014, 15, 147–161. [Google Scholar] [CrossRef]
  28. Wei, Y. Applications of ultrasonic sensors: A review. Appl. Comput. Eng. 2024, 99, 144–148. [Google Scholar] [CrossRef]
  29. Wang, A.; Shi, Y. Anti-crosstalk ranging method with multi ultrasonic sensor based on chaotic sequence. Int. J. Future Gener. Commun. Netw. 2016, 9, 153–160. [Google Scholar] [CrossRef]
  30. Park, G.; Park, S.H.; Baek, K.R. Frequency sweep keying CDMA for reducing ultrasonic crosstalk. Sensors 2022, 22, 4462. [Google Scholar] [CrossRef] [PubMed]
  31. Byun, H.; Cho, Y.; Hwang, I.; Jang, B.; Kim, J.; Lee, C.; Lee, E.; Lee, J.; Otsuka, T.; Shim, D.; et al. Single-chip beam scanner LiDAR module for 20-m imaging. In Proceedings of the 2021 IEEE International Electron Devices Meeting (IEDM), San Francisco, CA, USA, 11–16 December 2021; pp. 20.4.1–20.4.4. [Google Scholar] [CrossRef]
  32. Son, K.; Shin, D.; Lee, J.; Jang, B.; Shim, D.; Byun, H.; Lee, C.; Cho, Y.; Otsuka, T.; Shin, C.; et al. Palm-sized LiDAR module with III/V-on-Si optical phased array. In Proceedings of the IEEE Symposium on VLSI Technology and Circuits, Honolulu, HI, USA, 12–17 June 2022; pp. 166–167. [Google Scholar] [CrossRef]
  33. Kluza, P.A.; Kuna-Broniowska, I.; Parafiniuk, S. Modeling and prediction of the uniformity of spray liquid coverage from flat fan spray nozzles. Sustainability 2019, 11, 6716. [Google Scholar] [CrossRef]
  34. Shabani, H.; Julai, N.; Ahmed, M.M.; Rose, A.H.C. Intelligent greenhouse monitoring and control system based Arduino UNO microcontroller. J. Telecommun. Electron. Comput. Eng. 2017, 9, 65–69. [Google Scholar]
  35. Alagarsam, M.; Devakadacham, S.R.; Subramani, H.; Viswanathan, S.; Johnmathew, J.; Suriyan, K. Automation irrigation system using Arduino for smart crop field productivity. Int. J. Reconfig. Embed. Syst. 2023, 12, 70. [Google Scholar] [CrossRef]
  36. Jassowal, N.S.; Singh, S.K.; Dixit, A.K.; Khurana, R. Field evaluation of a tractor operated trailed type boom sprayer. Agric. Eng. Today 2016, 40, 41–52. [Google Scholar]
  37. Zhu, N.H.; Derksen, R.C.; Ozkan, H.E.; Reding, M.E.; Krause, C.R. Development of a canopy opener to improve spray deposition and coverage inside soybean canopies: Part 2: Opener design with field experiments. Trans. ASABE 2008, 51, 1913–1922. [Google Scholar] [CrossRef]
  38. Womac, A.R.; Ozkan, E.; Zhu, H.; Kochendorfer, J.; Jeon, H. Status of spray penetration and deposition in dense field crop canopies. J. ASABE 2022, 65, 1107–1117. [Google Scholar] [CrossRef]
  39. Barbosa, G.F.; da Cruz Centurion, M.A.P.; da Costa Ferreira, M.; da Costa Aguiar Alves, P.L. Fungicide spray coverage and deposition in soybean Asian rust management. Biosci. J. 2019, 35, 1422–1431. [Google Scholar] [CrossRef]
  40. Hoffmann, L.L.; Roehrig, R.; Boller, W.; Forcelini, C.A. Deposition and coverage of soybean leaf surfaces by sprays applied using different assisted boom sprayer systems. Eng. Agríc. 2019, 39, 198–207. [Google Scholar] [CrossRef]
  41. Witton, J.T.; Pickering, M.D.; Alvarez, T.; Reed, M.; Weyman, G.; Hodson, M.E.; Ashauer, R. Quantifying pesticide deposits and spray patterns at micro-scales on apple (Malus domesticus) leaves with a view to arthropod exposure. Pest Manag. Sci. 2018, 74, 2884–2893. [Google Scholar] [CrossRef] [PubMed]
  42. Liu, L.; Liu, Y.; He, X.; Liu, W. Precision variable-rate spraying robot by using single 3D LiDAR in orchards. Agronomy 2022, 12, 2509. [Google Scholar] [CrossRef]
  43. Ilari, A.; Piancatelli, S.; Centorame, L.; Moumni, M.; Romanazzi, G.; Pedretti, E.F. Distribution quality of agrochemicals for the revamping of a sprayer system based on LiDAR technology and grapevine disease management. Appl. Sci. 2023, 13, 2222. [Google Scholar] [CrossRef]
  44. Qiao, B.; Han, L.; Wang, Z.; Li, Y.; Wang, L.; Han, H.; Liu, Y.; He, X. Design and testing of an intelligent variable-rate spraying system based on LiDAR-guided application. Crop Prot. 2024, 184, 106874. [Google Scholar] [CrossRef]
  45. Bestari, D.N.; Wibowo, A. IoT-based real-time weather monitoring system using Telegram Bot and ThingsBoard platform. Int. J. Interact. Mob. Technol. 2023, 17, 4–19. [Google Scholar] [CrossRef]
  46. Firmansyah, N.M.A.; Anwar, F.K.; Alamsyah, A.; Puspitasari, A.J. Precision farming for coffee: Real-time monitoring and control systems. J. Phys. Conf. Ser. 2025, 2945, 012035. [Google Scholar] [CrossRef]
  47. Suharjono, A.; Apriantoro, R.; Supriyo, B.; Wardihani, E.D.; Yunanto, B.; Hidayat, W.; Prasetio, K.; Reynaldi, R.; Aji, A.F. A low-cost nursing robot with telemedicine using ESP32 and robot operating system-based. Int. J. Inform. Vis. 2025, 9, 541. [Google Scholar] [CrossRef]
  48. Grella, M.; Gioelli, F.; Marucco, P.; Zwertvaegher, I.; Mozzanini, E.; Mylonas, N.; Nuyttens, D.; Balsari, P. Field assessment of a pulse width modulation (PWM) spray system applying different spray volumes: Duty cycle and forward speed effects on vines spray coverage. Precis. Agric. 2021, 23, 219–252. [Google Scholar] [CrossRef]
  49. Lin, J.; Cai, J.; Xiao, L.; Liu, K.; Chen, J.; Ma, J.; Qiu, B. An angle correction method based on the influence of angle and travel speed on deposition in the air-assisted spray. Crop Prot. 2023, 175, 106444. [Google Scholar] [CrossRef]
  50. Cai, J.; Wang, X.; Gao, Y.; Yang, S.; Zhao, C. Design and performance evaluation of a variable-rate orchard sprayer based on a laser-scanning sensor. Int. J. Agric. Biol. Eng. 2019, 12, 51–57. [Google Scholar] [CrossRef]
  51. Li, W.; Luo, Y.; Jiang, P.; Dong, X.; Tang, K.; Liang, Z.; Shi, Y. A sustainable crop protection through integrated technologies: UAV-based detection, real-time pesticide mixing, and adaptive spraying. Sci. Rep. 2025, 15, 35748. [Google Scholar] [CrossRef] [PubMed]
  52. Jeon, H.; Zhu, H. Evaluation of real-time stereo vision-controlled variable rate sprayer performance in grapevine shoot detections and spray application. Smart Agric. Technol. 2025, 12, 101101. [Google Scholar] [CrossRef]
  53. Yan, P.; Li, L.; Liu, K.; Ma, L.; Zong, W.; Luo, C.; Xu, Y. Design and experiment of a self-propelled target spraying machine for walnut orchards based on infrared laser sensing. J. Agric. Eng. 2025, 56, 1775. [Google Scholar] [CrossRef]
  54. Jadav, C.V.; Jain, K.K.; Khodifad, B.C. Spray of chemicals as affected by different parameters of air-assisted sprayer: A review. Curr. Agric. Res. J. 2019, 7, 289. [Google Scholar] [CrossRef]
  55. Sapkota, M.; Virk, S.; Rains, G. Spray deposition and quality assessment at varying ground speeds for an agricultural sprayer with and without a rate controller. AgriEngineering 2023, 5, 506–519. [Google Scholar] [CrossRef]
  56. Mangus, D.L.; Sharda, A.; Engelhardt, A.; Flippo, D.; Strasser, R.; Luck, J.D.; Griffin, T. Analyzing the nozzle spray fan pattern of an agricultural sprayer using pulse width modulation technology to generate an on-ground coverage map. Trans. ASABE 2017, 60, 315–325. [Google Scholar] [CrossRef]
  57. Luck, J.D.; Sharda, A.; Pitla, S.K.; Fulton, J.P.; Shearer, S.A. A case study concerning the effects of controller response and turning movements on application rate uniformity with a self-propelled sprayer. Trans. ASABE 2011, 54, 423–431. [Google Scholar] [CrossRef]
  58. Sharda, A.; Luck, J.D.; Fulton, J.P.; McDonald, T.P.; Shearer, S.A. Field application uniformity and accuracy of two rate control systems with automatic section capabilities on agricultural sprayers. Precis. Agric. 2012, 14, 307–322. [Google Scholar] [CrossRef]
  59. Dou, H.; Wang, S.; Zhai, C.; Chen, L.; Wang, X.; Zhao, X. A LiDAR sensor-bas-ed spray boom height detection method and the corresponding experimental validation. Sensors 2021, 21, 2107. [Google Scholar] [CrossRef] [PubMed]
  60. Cariou, C.; Roux, J.; Lenain, R. Laser beam deflection of a 2D LiDAR for canopy detection on an autonomous spraying robot. In Proceedings of the International Conference on Automation, Robotics and Applications, Prague, Czech Republic, 4–6 February 2021; pp. 80–84. [Google Scholar] [CrossRef]
Figure 1. Overall architecture of the plant detection-based nozzle actuation system.
Figure 1. Overall architecture of the plant detection-based nozzle actuation system.
Agriengineering 08 00304 g001
Figure 2. Spray nozzle assembly.
Figure 2. Spray nozzle assembly.
Agriengineering 08 00304 g002
Figure 3. Schematic circuit diagram of the plant detection unit (Software used- Fritzing v1.6.9).
Figure 3. Schematic circuit diagram of the plant detection unit (Software used- Fritzing v1.6.9).
Agriengineering 08 00304 g003
Figure 4. Process flow chart of the plant detection-based nozzle actuation system.
Figure 4. Process flow chart of the plant detection-based nozzle actuation system.
Agriengineering 08 00304 g004
Figure 5. Views of the developed plant detection unit.
Figure 5. Views of the developed plant detection unit.
Agriengineering 08 00304 g005
Figure 6. Laboratory setup for evaluation of the nozzle actuation system. (a) Setup for single nozzle unit. (b) Conveyer belt arrangement and placement of WSPs. (c) Mechanism to change sensor position with respect to spray nozzle.
Figure 6. Laboratory setup for evaluation of the nozzle actuation system. (a) Setup for single nozzle unit. (b) Conveyer belt arrangement and placement of WSPs. (c) Mechanism to change sensor position with respect to spray nozzle.
Agriengineering 08 00304 g006
Figure 7. Influence of sensor placement with respect to the spray nozzle and its effects on timing and accuracy of nozzle spray.
Figure 7. Influence of sensor placement with respect to the spray nozzle and its effects on timing and accuracy of nozzle spray.
Agriengineering 08 00304 g007
Figure 8. Arrangement of water-sensitive papers.
Figure 8. Arrangement of water-sensitive papers.
Agriengineering 08 00304 g008
Figure 9. A view of analysis of WSPs using ImageJ software.
Figure 9. A view of analysis of WSPs using ImageJ software.
Agriengineering 08 00304 g009
Figure 10. LAC at different positions relative to the plant canopy under varying linear belt speeds in continuous spraying mode (Bars with identical letters indicate no significant difference at p ≤ 0.05).
Figure 10. LAC at different positions relative to the plant canopy under varying linear belt speeds in continuous spraying mode (Bars with identical letters indicate no significant difference at p ≤ 0.05).
Agriengineering 08 00304 g010
Figure 11. LAC at different positions relative to the plant canopy under different linear belt speeds (error bars represent standard deviation).
Figure 11. LAC at different positions relative to the plant canopy under different linear belt speeds (error bars represent standard deviation).
Agriengineering 08 00304 g011
Figure 12. LAC at different positions relative to the plant canopy under different sensor–nozzle distances (error bars represent standard deviation).
Figure 12. LAC at different positions relative to the plant canopy under different sensor–nozzle distances (error bars represent standard deviation).
Agriengineering 08 00304 g012
Figure 13. LAC at different positions relative to the plant canopy under different sensor–canopy distances (error bars represent standard deviation).
Figure 13. LAC at different positions relative to the plant canopy under different sensor–canopy distances (error bars represent standard deviation).
Agriengineering 08 00304 g013
Figure 14. Optimization ramps showing the optimized levels of belt speed (3.0 km h−1), sensor–nozzle distance (35 cm), and sensor–canopy distance (70 cm), together with the predicted responses and overall desirability.
Figure 14. Optimization ramps showing the optimized levels of belt speed (3.0 km h−1), sensor–nozzle distance (35 cm), and sensor–canopy distance (70 cm), together with the predicted responses and overall desirability.
Agriengineering 08 00304 g014
Table 1. Comparison of sensor technologies used for canopy detection and precision spraying.
Table 1. Comparison of sensor technologies used for canopy detection and precision spraying.
TechnologyPrimary CapabilityAdvantagesLimitationsRepresentative Applications
Ultrasonic sensorDetects canopy presence and approximate distanceLow cost, simple hardware, reliable under outdoor conditionsWide sensing angle may cause cross-talk and reduced detection accuracy in multi-row applicationsOrchard canopy detection, variable-rate spraying
LiDARMeasures canopy distance and geometryHigh distance accuracy, narrow field of view, rapid response, and reliable operation under varying illumination conditionsPrimarily used for canopy characterization and detection; comparatively fewer studies have focused on optimizing real-time nozzle actuationCanopy detection, canopy characterization, precision spraying
Machine vision (RGB/Multispectral)Detects crop morphology, weeds, diseases, and stress conditionsProvides comprehensive crop information for intelligent spray decision-makingRequires image acquisition, computationally intensive processing, and higher hardware, computational, and implementation complexityWeed detection, disease diagnosis, selective precision spraying
Table 2. Experiment plan for laboratory evaluation of the developed system.
Table 2. Experiment plan for laboratory evaluation of the developed system.
TreatmentFactorsLevelsPerformance Parameter
Developed system with nozzle actuation (Plant detection-based spraying) Belt speed (BS), km h−1 2.5, 3.0, 3.5, 4.0Leaf area coverage (LAC), %
Sensor-nozzle distance (SN), cm 25, 30, 35, 40
Sensor-canopy distance (SC), cm 60, 70, 80
Developed system without nozzle actuation (Continuous spraying)Belt speed (BS), km h−1 2.5, 3.0, 3.5, 4.0
Table 3. ANOVA for the effect of belt speed and location of WSP on LAC under continuous mode of spraying.
Table 3. ANOVA for the effect of belt speed and location of WSP on LAC under continuous mode of spraying.
SourceType III Sum of SquaresdfMean SquareF ValueSig.
Belt speed3649.7631216.59580.56<0.001
Location of WSP23.6563.941.880.10
Belt speed × Location of WSP12.07180.670.320.99
Error117.35562.10
Total248,614.0284
Corrected total3802.8483
R2 = 0.97 (Adjusted R2 = 0.95).
Table 4. ANOVA for the effects of linear belt speed, sensor–nozzle distance, and sensor–canopy distance on LAC at different positions.
Table 4. ANOVA for the effects of linear belt speed, sensor–nozzle distance, and sensor–canopy distance on LAC at different positions.
SourcedfW+40W+20WfWcWbW−20W−40
MSF ValueMSF ValueMSF ValueMSF ValueMSF ValueMSF ValueMSF Value
SN32830.91,184,016.0 *822.3288.8 *1228.0218.6 *175.333.1 *953.4126.96 *518.9656.0 *526.4119.0 *
SC20.011.90.040.010.910.165.41.02.70.371.41.772.10.5
BS364.927,181.3 *1232.4432.8 *1709.0304.3 *2428.9458.5 *2010.0267.6 *596.5754.1 *1510.4341.6 *
SN × SC60.011.90.970.344.30.771.90.38.91.20.30.42.40.5
SN × BS964.927,181.3 *64.822.7 *39.77.0 *8.51.611.91.54.55.7 *21.54.8 *
SC × BS60.0010.371.580.568.431.505.391.020.850.110.270.357.731.75
SN × SC × BS180.0010.372.160.764.690.844.380.835.330.710.250.323.620.82
Error960.002 2.85 5.62 5.30 7.51 0.79 4.42
R2 (Adj. R2) 0.99 (0.99)0.96 (0.94)0.94 (0.92)0.94 (0.91)0.93 (0.89)0.98 (0.97)0.94 (0.91)
SN: Sensor–nozzle distance; SC: Sensor–canopy distance; BS: Linear belt speed; * Significant at p ≤ 0.05.
Table 5. Desired goals and importance levels assigned to operating variables and LAC responses for optimization of the developed nozzle actuation system.
Table 5. Desired goals and importance levels assigned to operating variables and LAC responses for optimization of the developed nozzle actuation system.
Parameter/ResponseGoalLower
Limit
Upper
Limit
Importance Level
SN: Sensor–nozzle distancein range25403
SC: Sensor–canopy distancein range60803
BS: Linear belt speedin range2.54.03
LAC at W+40minimize024.925
LAC at W+20minimize16.7447.035
LAC at Wfmaximize32.2264.573
LAC at Wcmaximize36.2765.423
LAC at Wbmaximize30.1964.543
LAC at W20minimize20.7441.025
LAC at W40minimize8.0435.045
Table 6. LAC under continuous spraying and plant detection-based spraying at optimized setting.
Table 6. LAC under continuous spraying and plant detection-based spraying at optimized setting.
Location of WSPMode of SprayingMean (%)Standard Deviationp-Value
W+40Continuous spraying56.721.00<0.001
Plant detection-based spraying0.000.00
W+20Continuous spraying56.601.450.003
Plant detection-based spraying31.141.18
WfContinuous spraying55.722.190.11
Plant detection-based spraying53.961.69
WcContinuous spraying56.182.060.80
Plant detection-based spraying55.771.97
WbContinuous spraying56.632.670.21
Plant detection-based spraying52.261.55
W−20Continuous spraying56.270.580.001
Plant detection-based spraying25.311.14
W−40Continuous spraying57.080.58<0.001
Plant detection-based spraying15.790.50
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sihag, N.; Upadhyay, G.; Patel, B.; Choudhary, S.; Rani, V.; Attkan, A.K. Development and Laboratory Evaluation of a Plant Detection-Based Nozzle Actuation System for Precision Spraying. AgriEngineering 2026, 8, 304. https://doi.org/10.3390/agriengineering8080304

AMA Style

Sihag N, Upadhyay G, Patel B, Choudhary S, Rani V, Attkan AK. Development and Laboratory Evaluation of a Plant Detection-Based Nozzle Actuation System for Precision Spraying. AgriEngineering. 2026; 8(8):304. https://doi.org/10.3390/agriengineering8080304

Chicago/Turabian Style

Sihag, Naresh, Ganesh Upadhyay, Bharat Patel, Swapnil Choudhary, Vijaya Rani, and Arun Kumar Attkan. 2026. "Development and Laboratory Evaluation of a Plant Detection-Based Nozzle Actuation System for Precision Spraying" AgriEngineering 8, no. 8: 304. https://doi.org/10.3390/agriengineering8080304

APA Style

Sihag, N., Upadhyay, G., Patel, B., Choudhary, S., Rani, V., & Attkan, A. K. (2026). Development and Laboratory Evaluation of a Plant Detection-Based Nozzle Actuation System for Precision Spraying. AgriEngineering, 8(8), 304. https://doi.org/10.3390/agriengineering8080304

Article Metrics

Back to TopTop