Accurately estimating soil nutrient content, including soil organic matter (OM), nitrogen (N), phosphorus (P), and potassium (K) levels, is crucial for optimizing agricultural practices and ensuring sustainable crop production. This paper proposes a model based on a fusion attention mechanism that combines bidirectional gated recurrent units (BiGRU) and recurrent neural networks (RNN) to estimate soil nutrient content. The proposed model integrates the fused attention mechanism with BiGRU and RNN to enhance the accuracy and effectiveness of soil nutrient prediction. The fused attention mechanism captures key features in the input data, while the BiGRU architecture captures both forward and backward contextual information, enabling the model to capture long-term dependencies in the data. The results demonstrate that the proposed Att-BiGRU-RNN model outperforms other constructed models, exhibiting a higher prediction accuracy and robustness. The model shows good estimation capabilities for soil OM, N, P, and K with estimation accuracies (R2) of 0.959, 0.907, 0.921, and 0.914, respectively. The application of this model in soil nutrient estimation has the potential to optimize fertilizer management, enhance soil fertility, and ultimately improve crop yield. Further research can explore the applicability of this model in precision agriculture and sustainable soil management practices, benefiting the agricultural sector and contributing to food security and environmental sustainability.
In the process of crop cultivation, the application of a fertilizer solution with appropriate pH value is more conducive to the absorption of nutrients by crops. If the pH of the irrigation water and fertilizer solution is too high, it will not only be detrimental to the absorption of nutrients by the crop, but will also damage the structure of the soil. Therefore, the precise regulation of pH in water and fertilizer solutions is very important for agricultural production and saving water and fertilizer. Firstly, the article investigates the hybrid control of fertilizer and water conditioning systems, then builds a fuzzy preprocessing controller and a neural network proportional–integral–differential controller, and optimizes the neural network parameters by means of an improved particle swarm algorithm. The effectiveness of the controller was verified by comparison with the common proportional–integral–differential control and fuzzy algorithm control for fertilizer control and fuzzy preprocessing neural network control. Simulation experiments for this study were designed through the MATLAB/Simulink simulation platform, and the simulation results show that the algorithm has good tracking and regulation capabilities in the system. Finally, the four control algorithms are experimentally validated under different pH regulations using designed field experiments. The results show that, compared with other control algorithms, the control algorithm in this paper has a smaller overshoot and good stability with a shorter rise time, which can achieve the purpose of better regulating the fertilizer application system.
In addressing the control of asynchronous motors in the remote conductivity of fertigation machines, this study proposes a joint control strategy based on the Fast Terminal Sliding Mode Control-Disturbance Observer (FTSMC-DO) system for asynchronous motors. The goal is to enhance the dynamic performance and disturbance resistance of asynchronous motors, particularly under low-speed operating conditions. The approach involves refining the two-degree-of-freedom internal model controller using fractional-order functions to explicitly separate the controller’s robustness and tracking capabilities. To mitigate the motor’s sensitivity to external disturbances during variable speed operations, a load disturbance observer is introduced, employing hyperbolic tangent and Fal functions for real-time monitoring and compensation, seamlessly integrated into the sliding mode controller. To address issues related to low-speed chattering typically associated with sliding mode controllers, this study introduces a revised non-singular fast terminal sliding mode surface. Additionally, guided by fuzzy control principles, the study enables real-time selection of sliding mode approaching law parameters. Experimental results from the asynchronous motor control platform demonstrate that FTSMC-DO control significantly reduces adjustment time and speed fluctuations during operation, minimizing the impact of load disturbances on the system. The system exhibits robust disturbance rejection, improved robustness, and enhanced control capability. Furthermore, field tests validate the effectiveness of the FTSMC-DO system in regulating remote electrical conductivity (EC) levels. The control time is observed to be less than 120 s, overshoot less than 16.1%, and EC regulation within 0.2 mS·cm−1 over a pipeline distance of 120 m. The FTSMC-DO control consistently achieves the desired EC levels with minimal fluctuation and overshoot, outperforming traditional PID and SMC methods. This high level of precision is crucial for ensuring optimal nutrient delivery and efficient water usage in agricultural irrigation systems, highlighting the system’s potential as a valuable tool in modern, sustainable farming practices.