Machine Learning-Based Control of Autonomous Vehicles for Solar Panel Cleaning Systems in Agricultural Solar Farms

: This paper presents a machine learning (ML)-based approach for the intelligent control of Autonomous Vehicles (AVs) utilized in solar panel cleaning systems, aiming to mitigate challenges arising from uncertainties, disturbances, and dynamic environments. Solar panels, predominantly situated in dedicated lands for solar energy production (e.g., agricultural solar farms), are susceptible to dust and debris accumulation, leading to diminished energy absorption. Instead of labor-intensive manual cleaning, robotic cleaners offer a viable solution. AVs equipped to transport and precisely position these cleaning robots are indispensable for the efficient navigation among solar panel arrays. However, environmental obstacles (e.g., rough terrain), variations in solar panel installation (e.g., height disparities, different angles), and uncertainties (e.g., AV and environmental modeling) may degrade the performance of traditional controllers. In this study, a biologically inspired method based on Brain Emotional Learning (BEL) is developed to tackle the aforementioned challenges. The developed controller is implemented numerically using MATLAB-SIMULINK. The paper concludes with a comparative analysis of the AVs’ performance using both PID and developed controllers across various scenarios, highlighting the efficacy and advantages of the intelligent control approach for AVs deployed in solar panel cleaning systems within agricultural solar farms. Simulation results demonstrate the superior performance of the ML-based controller, showcasing significant improvements over the PID controller.


Introduction
In recent years, the efforts toward replacing traditional energy generation with sustainable alternatives have become prevalent.At the forefront of this movement, the rapid expansion of renewable energy sources, particularly solar energy, has led to the widespread deployment of solar power plant systems across various landscapes, including agricultural solar farms.In these modern energy generation systems, solar panels play a pivotal role in harnessing solar energy for power generation [1,2].However, in environments such as agricultural solar farms, where solar panels are often deployed, one of the significant challenges encountered in maintaining efficiency is the accumulation of dust and debris on the solar panel surfaces, potentially resulting in decreased energy absorption [3,4].Therefore, to harness solar power efficiently, solar panels must maintain optimal cleanliness to ensure maximum energy absorption.
In practice, cleaning operations for large-scale installations often involve resourceintensive methods.These may include manual cleaning, the use of water sprinklers for cleaning, and the deployment of heavy machinery to name a few [5][6][7].
Conventional manual cleaning methods are labor-intensive and may not suffice for large-scale installations [8].In addition, there is the risk of electric shock to workers and the potential for damage to the panels [9,10].On the other hand, the use of water sprinklers requires the extensive use of water.Thus, to address these challenges, the integration of robotic cleaners presents a promising alternative, offering automated and efficient cleaning capabilities [11][12][13].This is specifically of paramount importance for enhancing the overall efficiency and longevity of solar power systems [14,15].This not only ensures higher precision in cleaning but also eliminates the potential safety risks associated with human intervention.Additionally, the adoption of such systems contributes to prolonged solar panel lifecycles and reduced water consumption.
Central to the effective deployment of robotic cleaners are Autonomous Vehicles (AVs), which are tasked with navigating the challenging terrain of solar panel arrays and accurately positioning cleaning robots.In our previous work, we extensively study the modeling of the AV, demonstrating its effectiveness using conventional control methods [16,17].However, uncertainties in both AV dynamics and environmental conditions (e.g., rough terrain), coupled with variations in solar panel installation configurations, pose substantial obstacles to traditional control methods, where conventional control approaches may falter in addressing the complexities inherent in these scenarios.
Consequently, there arises a pressing need for intelligent control approaches [18] capable of addressing these complexities and enhancing system performance.Here, in this work, we study the alternative controller design to compensate for the effects of the aforementioned challenges.This can be accomplished by leveraging machine learning (ML) techniques in developing intelligent control strategies capable of adapting to the inherent challenges of AV-based solar panel cleaning systems.
In this context, this paper presents a machine learning (ML)-based approach for the intelligent control of AVs employed in solar panel cleaning systems.Leveraging biologically inspired Brain Emotional Learning (BEL) [19][20][21], the developed controller aims to mitigate uncertainties, disturbances, and environmental dynamics encountered in agricultural solar farms.The utilization of ML techniques offers adaptability and robustness, enabling AVs to navigate efficiently while optimizing cleaning operations.
We implement the developed controller using MATLAB-SIMULINK and conduct a comprehensive comparative analysis against a traditional Proportional-Integral-Derivative (PID) controller [22][23][24].
The paper is organized as follows: In Section 2, the model of the AVs is first introduced (Section 2.1); then, the computational model of emotional learning in the mammalian limbic system is presented (Section 2.2), and finally, the BEL-based controller is developed for closed-loop control of AVs (Section 2.3).Numerical simulations of the AVs controlled by the developed BEL-based method are illustrated in Section 3. Ultimately, the discussions and the conclusions are delivered in Sections 4 and 5, respectively.

Materials and Methods
This section starts by briefly introducing the dynamic modeling of AVs.Later, the BEL mathematical model is presented.Finally, this section is concluded by discussing the development of the BEL-based controller for AVs.

Dynamic Modeling for the Autonomous Vehicles
Figure 1 shows the AV utilized in this study tasked with navigating the challenging terrain of solar panel arrays and accurately positioning cleaning robots.As demonstrated in Figure 1, this AV is capable of moving forward/backward and adjusting its upper table height and angle through two scissor mechanisms.
Considering the placements of the three motors shown in Figure 1 (i.e., motors 1, 2, and 3), the generalized configuration variables can be expressed as represented by Equation (1).
where x is the AV's position (i.e., carrier body's position), which is defined as the position of the center of the motor 3 (indicated by a blue star in Figure 1) with respect to the ground frame xy, and θ 1 and θ 2 are the angles of the front and rear scissors, respectively.Since the ultimate objective is controlling the AV's end effector (i.e., the position of the table), the generalized configuration variables can be written as represented by Equation (2).
where x ee and y ee are the position of the center of the table, and θ ee represents the end effector's angle all with respect to the ground frame xy.
Considering the AV's schematic and characteristics shown in Figure 1, x ee , y ee , and θ ee are derived as in Equation (3): where l ee is the length of the table; a is the length of the AV (i.e., the distance between the axes of motor 2 and motor 3); and b is the distance between motor 3's center and the ground.l 1 and l 2 are the lengths of links 1 and 2 respectively.For brevity, sin θ i and cos θ i are denoted as S i and C i .
Computing the derivatives of Equation (3) with respect to the x, θ 1 , and θ 2 , the Jacobian matrices for the position of links (i.e., J v i , for i = 0, . . ., 7) can be derived.Consequently, the Jacobian matrix for the end effector is represented by Equation (4).
where v refers to linear velocity, λ = Similarly, after calculating the Jacobian matrices for the orientations of the links (i.e., J ω i , for i = 0, . . ., 7), one can derive the Jacobian matrix for the end effector as represented by Equation (5).
where ω represents angular speeds.
Ultimately, using the Jacobian matrix (J ee ) as defined in Equation ( 6), one can use Equation (7) to go from q to qee .
Utilizing the Lagrangian formulation [25,26], we can derive the dynamic model of the AV as shown in Equation (8).M(q) q + V(q, q) + G(q) = τ (8) where M is the n × n generalized inertia matrix, V is the n-dimensional vector of the Coriolis and centrifugal terms, G represents the n-dimensional vector of gravitational terms, and τ is the n-dimensional vector of generalized torques/forces.The readers are referred to [24,27] for more additional details regarding the modeling and validation of the AV utilized in this study.

Brain Emotional Learning
Brain Emotional Learning (BEL) is an intelligent methodology inspired by neurobiology [19][20][21].The BEL technique is developed based on the mathematical model of the emotional learning process determined in the mammalian limbic system [19,20].Our adaptation builds upon the network model devised by Moren and Balkenius [20] which emulates key regions such as the amygdala, orbitofrontal cortex, thalamus, sensory input cortex, and other pertinent areas associated with emotional processing.The BEL model utilized in this work, illustrated in Figure 2, comprises the orbitofrontal cortex and amygdala as its two primary components.Essentially, BEL serves as a mechanism for generating actions based on sensory inputs and emotional signals.The amygdala handles immediate learning, whereas the orbitofrontal cortex performs inhibitory actions to suppress any inappropriate learning occurring in the amygdala.Notably, the amygdala lacks the ability to unlearn any previously acquired emotional responses, highlighting the orbitofrontal cortex's responsibility in inhibiting inappropriate reactions.The BEL model receives two pivotal external inputs: namely, emotional signal (ES) and sensory input (SI) [20,21,28,29].
The output of the BEL model (MO) can be characterized as in Equation ( 9) which is determined by the disparity between the outputs of the amygdala (A i ) and the orbitofrontal cortex (O i ) nodes.
Here, i represents the number of sensory inputs.The output of each node in the amygdala and the orbitofrontal cortex is characterized as in Equations ( 10) and (11), respectively.It is worth noting that the outputs of the amygdala and the orbitofrontal cortex are computed through the summation of their respective nodes.
where SI i represents the i th sensory input, V i denotes the weight associated with the i th node in the amygdala, and W i represents the weight related to the i th node in the orbitofrontal cortex.The following equations (i.e., Equations ( 12) and ( 13)) are utilized to update V i and W i , respectively: where K v and K w are the learning rates associated with the amygdala and the orbitofrontal cortex, respectively.Ultimately, the highest value among all sensory inputs is an additional internal input incorporated into the model.Using V th as the weight and employing an update law in Equation ( 15) analogous to the one illustrated in Equation ( 12), this signal is directly transmitted from the thalamus to the amygdala and is defined as in Equation (14).

Thalamus
Various approaches have been employed to adjust the BEL parameters [21,[28][29][30].In this study, we adopted the trial-and-error approach similar to those suggested in the literature [21].

Brain Emotional Learning for Closed-Loop Control of Autonomous Vehicles
In control systems, intelligent/machine learning-based techniques offer solutions to control problems through either direct or indirect methods.The direct approach involves using the intelligent method as a control block, while the indirect approach utilizes it to determine control parameters.In our study, we employed the BEL model as a control block (direct approach), as shown in Figure 3.This closed-loop configuration includes key blocks: a Brain Emotional Learning controller block, comprising an Emotional Signal Generator, a Sensory Input Generator, a Brain Emotional Learning model, and a block for the AV dynamic model.The Emotional Signal reflects the system's affective aspects, while the Sensory Input gathers environmental information.Both inputs are crucial for the BEL model.Essentially, a BEL-based controller selects actions based on its Sensory Input and Emotional Signal.The forms of the Sensory Input and Emotional Signal may include system errors, desired inputs, measured/estimated system outputs, and control inputs.Control objectives like reference tracking and optimal control can be implicitly determined by selecting the appropriate Emotional Signal.For instance, choosing the Emotional Signal can optimize reference tracking, reduce overshoot, or minimize energy expenditure.
Our developed ML-based technique aims to intelligently control AVs used in solar panel cleaning systems, addressing uncertainties, disturbances, and dynamic environments to enhance reference tracking, model uncertainty handling, and disturbance rejection.To achieve this, we designed the Emotional Signal such that an increase in reference tracking error induces a negative emotion (e.g., stress) in the system, signaling unsatisfactory performance.Consequently, the developed controller minimizes the negative emotion to ensure satisfactory system performance.To realize these objectives, for each control input (u = U l being associated with torques/forces), the SI l and ES l are designed as follows (Equations ( 16) and ( 17), respectively): ) where l denotes the number of controlling variables.Additionally, , and K ES l,3 represent positive gains.The ES will influence the system behavior differently by assigning distinct values to these positive gains.In this study, different gains are assigned for each control input (U l , l = 1, 2, 3) of the system.Remark 1.In accordance with the BEL theory and with the established formulations for SI and ES denoted by Equations ( 16) and ( 17), respectively, it can be shown that there exist positive tuning parameters, K v and K w , satisfying the following conditions: These conditions ensure that the estimated weights of the amygdala and the orbitofrontal cortex converge asymptotically to the desired targets.
For further details on the Emotional Learning and BEL-based controller utilized in this study, the readers are directed to [19][20][21]28,29].

Results
To assess the effectiveness of the control law detailed in the previous section (i.e., Sections 2.2 and 2.3), this section presents the outcomes of numerical computer simulations applied to successfully control the AV model introduced in Section 2.1 across three distinct scenarios.Three specific simulation scenarios were examined to assess the performance of the developed controller: Scenario I: Maintaining constant trajectories for AV angles and displacement.Scenario II: Tracking sinusoidal trajectories to maintain AV angles.Scenario III: Preserving AV angles and displacement in the presence of substantial external disturbances.
In the initial scenario (Scenario I), the ML-based controller generates suitable control actions to uphold the AV's displacement (x) and the angles of the front and rear scissors (θ 1 and θ 2 ) at constant levels.This endeavor aims to achieve the primary objective of controlling the AV's end effector, i.e., the position of the table.Subsequently, in Scenario II, the proficiency of the ML-based controller is further analyzed by tracking a nonlinear, time-varying signal.Finally, in Scenario III, the performance of the ML-based controller in trajectory tracking under substantial external disturbances is assessed.
For all numerical analyses, the following platform was utilized: a MacBook Pro (macOS 13.6.4)equipped with a 2.3 GHz Intel Core i5 processor and 16.00 GB of memory.The total simulation duration for all scenarios was set to 20 s.
All the simulations are conducted using the following initial conditions: Table 1 provides the nominal/estimated parameters of the AV system.Given that PID stands as the predominant controller in practical engineering applications [22,23] and has been featured in prior research for controlling the AVs [24], the outcomes of the BEL-based controllers developed across all three scenarios are compared with those of PID controllers.It is noteworthy that for a fair assessment, the Emotional Signals (ESs) of the BEL-based controllers employ identical parameters to the PID controllers.Each controller undergoes tuning only once, as the aim is to assess the performance of both controllers, maintaining their original settings.In essence, there is no further adjustment of the controllers to accommodate the new system conditions.

Scenario I: Maintaining Constant Trajectories for AV's Angles and Displacement
In the initial scenario (Scenario I), we assess the performance of the developed MLbased controller in preserving the displacement (x) and the angles of the front and rear scissors (θ 1 and θ 2 ) of the AV at consistent levels.Our focus lies in examining the controller's ability to generate precise control actions that minimize tracking errors while ensuring a prompt response with minimal overshoot.We define the desired constant trajectories as follows: Figure 4 visually compares the desired trajectories with the actual outputs of the controlled system, highlighting the performance under tracking constant trajectories for the initial scenario.Meanwhile, in Figure 5, the control actions generated for the system are depicted, specifically focusing on tracking constant trajectories in Scenario I. Here, the controller developed using BEL is denoted in red with a dashed line, while the PID controller is represented in blue with a dashed-dotted line.Both controllers exhibit efficacy in maintaining the AV system within the desired parameters.Notably, the output under the BEL-based controller showcases faster responses to reference values without overshooting compared to the PID controller, as evidenced in Figure 4.This observation underscores the capability of the developed ML-based controller to regulate the displacement (x) and the angles of the front and rear scissors (θ 1 and θ 2 ) effectively.
Moreover, Figure 5 provides insight into the smooth and stable nature of the generated control actions, which are crucial for navigating the complex terrain of solar panel arrays and accurately positioning cleaning robots.Here, the BEL-based controller is depicted in magenta with a dashed line, while the PID controller is illustrated in cyan with a dashed-dotted line.The smooth and stable control signals facilitate the seamless movement of the AV, enhancing its operational precision.To further assess system performance, Figure 6 illustrates the tracking error, contrasting the performance of the BEL-based controller (depicted in orange with a dashed line) against the PID controller (depicted in purple with a dashed-dotted line).This comparison provides valuable insights into the efficacy and robustness of the respective control strategies, aiding in the refinement and optimization of AV systems operating in dynamic environments.

Scenario II: Tracking Sinusoidal Trajectories to Maintain AV Angles
In the second scenario, denoted as Scenario II, we evaluate the effectiveness of the developed ML-based controller in maintaining the displacement (x) of the AV at a consistent level while simultaneously ensuring that the angles of the front and rear scissors (θ 1 and θ 2 ) of the AV accurately follow sinusoidal trajectories.Our primary objective is to examine the controller's capability to generate precise control actions that minimize tracking errors and facilitate a swift response with minimal overshoot.We establish the desired sinusoidal trajectories for the AV's angles as follows: Figure 7 visually compares the desired trajectories with the actual outputs of the controlled system, highlighting the performance under tracking constant/time-varying sinusoidal trajectories for the second scenario.Meanwhile, in Figure 8, the control actions generated for the system are depicted, specifically focusing on maintaining the displacement (x) of the AV at a consistent level while simultaneously ensuring that the angles of the front and rear scissors (θ 1 and θ 2 ) of the AV accurately follow sinusoidal trajectories as in Scenario II.Here, the controller developed using BEL is denoted in red with a dashed line, while the PID controller is represented in blue with a dashed-dotted line.Both controllers exhibit efficacy in maintaining the AV system within the desired parameters.Notably, the output under the BEL-based controller showcases faster responses to reference values without overshooting compared to the PID controller, as evidenced in Figure 7.This observation underscores the capability of the developed ML-based controller to regulate the displacement (x) at a consistent level while simultaneously ensuring that the angles of the front and rear scissors (θ 1 and θ 2 ) are accurately following time-varying sinusoidal trajectories effectively.
Moreover, Figure 8 provides insight into the smooth and stable nature of the generated control actions, which is crucial for navigating the complex terrain of solar panel arrays and accurately positioning cleaning robots.Here, the BEL-based controller is depicted in magenta with a dashed line, while the PID controller is illustrated in cyan with a dasheddotted line.The smooth and stable control signals facilitate the seamless movement of the AV, enhancing its operational precision.To further assess system performance, Figure 9 illustrates the tracking error, contrasting the performance of the BEL-based controller (depicted in orange with a dashed line) against the PID controller (depicted in purple with a dashed-dotted line).This comparison provides valuable insights into the efficacy, adaptivity, and robustness of the respective control strategies, aiding in the refinement and optimization of AV systems operating in dynamic environments.Tracking sinusoidal trajectories to maintain AV angles).The developed BEL-based controller is in orange (dashed line), and the PID is in purple (dashed-dotted line).

Scenario III: Preserving AV Angles and Displacement in the Presence of Substantial External Disturbances
Moving on to the final scenario, identified as Scenario III, we investigate the tracking performance of the developed ML-based control approach in the presence of substantial external disturbances.To achieve this, two additional disturbances are introduced to perturb the angles of the front and rear scissors (θ 1 = θ 1 + 0.5 × θ 1 d and θ 2 = θ 2 + 0.5 × θ 2 d ) within the time intervals of [8][9] and [14][15] seconds, respectively.In this simulation, we define the desired constant trajectories as follows: Figure 10 visually compares the desired trajectories with the actual outputs of the controlled system, highlighting the tracking performance of the developed ML-based control approach in the presence of substantial external disturbances for the last scenario.Meanwhile, in Figure 11, the control actions generated for the system are depicted, specifically focusing on maintaining the displacement (x) of the AV at a consistent level while simultaneously ensuring that the angles of the front and rear scissors (θ 1 and θ 2 ) of the AV are preserved at consistent levels in the presence of substantial external disturbances as in Scenario III.Here, the controller developed using BEL is denoted in red with a dashed line, while the PID controller is represented in blue with a dashed-dotted line.Both controllers exhibit efficacy in maintaining the AV system within the desired parameters.Notably, the output under the BEL-based controller showcases faster responses to reference values without overshooting compared to the PID controller, as evidenced in Figure 10.Furthermore, compared to the PID controller, the BEL-based controller demonstrates superior performance in handling additional disturbances within the time intervals of [8][9] and [14][15] seconds perturbing the angles of the front and rear scissors.Figure 10.The desired and actual outputs of the system [the displacement (x) and the angles of the front and rear scissors (θ 1 and θ 2 )] in tracking trajectories in the presence of substantial external disturbances (see Scenario III: Preserving AV angles and displacement in the presence of substantial external disturbances).External disturbances are introduced to perturb the angles of the front and rear scissors within the time intervals of [8][9] and [14][15] seconds, respectively.The developed BEL-based controller is in red (dashed line), the PID is in blue (dashed-dotted line), and the desired trajectories are in green (solid line).This observation underscores the capability of the developed ML-based controller to regulate the displacement (x) at a consistent level while simultaneously ensuring that the angles of the front and rear scissors (θ 1 and θ 2 ) are accurately following their trajectories in the presence of significant external disturbances effectively.
Moreover, Figure 11 provides insight into the smooth and stable nature of the generated control actions, which is crucial for navigating the complex terrain of solar panel arrays and accurately positioning cleaning robots while handling the challenges arising from uncertainties, disturbances, and dynamic environments.Here, the BEL-based controller is depicted in magenta with a dashed line, while the PID controller is illustrated in cyan with a dashed-dotted line.The smooth and stable control signals facilitate the seamless movement of the AV, enhancing its operational precision.
To further assess system performance, Figure 12 illustrates the tracking error, contrasting the performance of the BEL-based controller (depicted in orange with a dashed line) against the PID controller (depicted in purple with a dashed-dotted line).This comparison provides valuable insights into the efficacy, adaptivity, and robustness of the respective control strategies, aiding in the refinement and optimization of AV systems operation by successfully handling the challenges arising from uncertainties, disturbances, and dynamic environments.

Discussion and Future Work
The initial examination highlights the efficacy of the introduced ML-based feedback control approach developed using the BEL algorithm.This approach demonstrates its capability to effectively regulate the displacement (x) of the AV and the angles of its front and rear scissors (θ 1 and θ 2 ) at constant levels, all without requiring prior knowledge of the AV's dynamics.The findings of this examination are summarized in Table 2, which provides response specifications demonstrating the superior performance of the developed BEL-based approach.Notably, this superior performance is characterized by a reduced overshoot, faster rise time, and smaller settling time.Additionally, Table 3 demonstrates the performance improvements in terms of percentage increase/decrease in the system's response rise time, settling time, and overshoot (%) using the BEL controller.This further demonstrates the superior performance and efficacy of the ML-based approach, highlighting significant improvements in system responsiveness.Moving beyond constant trajectory control, the second examination focuses on achieving time-varying sinusoidal trajectory tracking control.Here, the aim is to maintain the AV's displacement (x) at a consistent level while simultaneously ensuring the accurate tracking of sinusoidal trajectories by the angles of its front and rear scissors (θ 1 and θ 2 ).In the final examination, attention is turned to evaluating the tracking performance of the developed ML-based control approach in the presence of significant external disturbances.This constitutes a notably challenging task, where achieving faster responses to reference values without overshooting remains a priority.
The findings of these examinations are summarized in Table 4 in terms of the Mean-Squared, Root Mean Square, and Mean Absolute Percentage Errors for both PID and BEL controllers, which provides statistical analysis demonstrating the superior performance of the developed BEL-based approach.Notably, this superior performance is characterized by a significant reduction in tracking errors.This further demonstrates the superior performance and efficacy of the ML-based approach, highlighting significant improvements in system responsiveness and adaptability.These findings underscore the significance of intelligent control strategies in enhancing the operational efficiency of AVs within solar panel cleaning systems, particularly in agricultural solar farms.Additionally, Table 5 demonstrates the performance improvements in terms of percentage increase/decrease in the system's tracking error in Mean-Squared, Root Mean Square, and Mean Absolute Percentage error metrics using the BEL controller.This further demonstrates the superior performance and efficacy of the ML-based approach, highlighting significant improvements in system responsiveness.Upon analyzing these data, it becomes evident that the developed controller consistently yields a more favorable response across various testing scenarios.Exploring the different future directions, several items could be considered for further investigation.In Section 2, there exists potential for enhancing the current Autonomous Vehicle model (Section 2.1) by designing, improving, and developing an updated model considering more flexibilities in the AV's mobility.
Since assigning different functions to SI and ES provide design freedom allowing different priorities for control objectives such as minimizing energy expenditure, etc., future work could consider improving the designed ES and SI to achieve optimal performance.In this paper (Section 2.3), priority was given to the simplicity in designing the ES and SI by considering the minimization of the system error while improving the system response and handling system uncertainties and unknown disturbances.
Moreover, while this work assumes the utilization of predefined trajectories generated by higher-level path-planning algorithms, the complex domain of path planning itself warrants further exploration.Therefore, future investigations could delve into path-planning methodologies tailored specifically for Autonomous Vehicles integrated within solar panel cleaning systems [31,32].Additionally, designing a joint intelligent path planning and control co-design in the presence of system uncertainties and dynamic environment could be considered.This holistic approach seeks to combine path planning and control strategies, optimizing performance and adaptability in real-world scenarios.
Furthermore, future work could consider improving the performance of the developed method as well as providing the experimental results.To do so, first one could consider the analysis of using ML techniques for estimating solar panel performance [33,34]; then, visionbased autonomous navigation and real-time object detection should be considered [35,36].
The exponential growth observed in the electronics industry, coupled with the widespread availability of specialized programming tools and support infrastructure, is driving the accelerated digitization of the agricultural sector including solar panel cleaning systems in agricultural solar farms.Stakeholders in modern agriculture, including farmers and students, are encouraged to familiarize themselves with and actively engage in the development and refinement of innovative systems that enhance agricultural practices [37].Notably, university students, many of whom possess prior exposure to STEM disciplines, seek real-world experiences to better equip them for their professional endeavors.Bridging this gap, this study could highlight best practices for the various stages of designing, simulating, and implementing Autonomous Vehicles tailored to perform realistic tasks in agricultural settings with a specific focus on solar panel cleaning systems in agricultural solar farms.
Ultimately, the progress in machine learning methods, particularly those deployed in Autonomous Vehicles in agricultural settings via Internet of Things (IoT) devices, might introduce new security risks if awareness and effective countermeasures are not properly implemented [38][39][40][41][42][43].Therefore, it is essential to address various security challenges when integrating these new techniques.

Conclusions
This study investigates the development of an intelligent control system for Autonomous Vehicles (AVs) operating within solar power plants, aiming to address challenges associated with system uncertainties and dynamic environmental conditions.First, the model of the AVs is introduced; then, the computational model of emotional learning in the mammalian limbic system is presented, and finally, the BEL-based controller is developed for the closed-loop control of AVs.Numerical simulations of the AVs controlled by the developed BEL-based method have been illustrated.Through comparative analysis, we demonstrate notable performance improvements compared to conventional PID control methods.In particular, the quantitative results demonstrated the reduced overshoot (100% improvement in controlling the displacement (x) and the angles of the front and rear scissors (θ 1 and θ 2 ) of the AV), faster rise time (11.31%improvement in controlling the displacement (x) and 30.16% and 46.76% for the angles of the front and rear scissors (θ 1 and θ 2 ) of the AV respectively), and smaller settling time (50.56% and 46.50% improvement for the angles of the front and rear scissors (θ 1 and θ 2 ) of the AV, respectively).Additionally, the BEL controller's results show significant improvement in reducing tracking errors in comparison to the PID controller's results considering Mean-Squared, Root Mean Square, and Mean Absolute Percentage error metrics.In essence, our findings contribute to the advancement of smart technologies in renewable energy applications, showcasing the efficacy of machine learning techniques in enhancing AV performance for solar panel cleaning tasks.This has significant importance for improving the reliability and efficiency of solar energy systems.We anticipate that our research will stimulate further scientific inquiry in this field to continue optimizing renewable energy infrastructures.
Funding: This research received no external funding.

Figure 1 .
Figure 1.Autonomous Vehicle utilized for carrying and positioning cleaning robots in solar panel cleaning systems.

Figure 2 .
Figure 2. Graphical schematic depicting the mathematical model of Brain Emotional Learning (BEL) in the mammalian limbic system.

Figure 3 .
Figure 3. Brain Emotional Learning controller architecture for closed-loop control of Autonomous Vehicles.

Figure 4 .
Figure 4.The desired and actual outputs of the system [the displacement (x) and the angles of the front and rear scissors (θ 1 and θ 2 )] in constant trajectory tracking (see Scenario I: Maintaining constant trajectories for AV angles and displacement).The developed BEL-based controller is in red (dashed line), the PID is in blue (dashed-dotted line), and the desired trajectories are in green (solid line).

Figure 5 .
Figure 5.The generated forces and torques by both controllers in constant trajectory tracking (see Scenario I: Maintaining constant trajectories for AV angles and displacement).The developed BELbased controller is in magenta (dashed line), and the PID is in cyan (dashed-dotted line).

2 Figure 6 .
Figure 6.The tracking errors in constant trajectory tracking (see Scenario I: Maintaining constant trajectories for AV angles and displacement).The developed BEL-based controller is in orange (dashed line), and the PID is in purple (dashed-dotted line).

Figure 7 .
Figure7.The desired and actual outputs of the system [the displacement (x) and the angles of the front and rear scissors (θ 1 and θ 2 )] in tracking constant/time-varying sinusoidal trajectories (see Scenario II: Tracking sinusoidal trajectories to maintain AV angles).The developed BEL-based controller is in red (dashed line), the PID is in blue (dashed-dotted line), and the desired trajectories are in green (solid line).

Figure 8 .
Figure 8.The generated forces and torques by both controllers in tracking constant/time-varying sinusoidal trajectories (see Scenario II: Tracking sinusoidal trajectories to maintain AV angles).The developed BEL-based controller is in magenta (dashed line) and the PID is in cyan (dashed-dotted line).

2 Figure 9 .
Figure 9.The tracking errors in tracking constant/time-varying sinusoidal trajectories (see Scenario II:Tracking sinusoidal trajectories to maintain AV angles).The developed BEL-based controller is in orange (dashed line), and the PID is in purple (dashed-dotted line).

Figure 11 .
Figure 11.The generated forces and torques by both controllers in tracking trajectories in the presence of substantial external disturbances (see Scenario III: Preserving AV angles and displacement in the presence of substantial external disturbances).The developed BEL-based controller is in magenta (dashed line), and the PID is in cyan (dashed-dotted line).

Figure 12 .
Figure12.The tracking errors in tracking trajectories in the presence of substantial external disturbances (see Scenario III: Preserving AV angles and displacement in the presence of substantial external disturbances).The developed BEL-based controller is in orange (dashed line), and the PID is in purple (dashed-dotted line).

Table 1 .
Parameters of the Autonomous Vehicle system.

Table 2 .
Rise time, settling time, and overshoot (%) for PID and BEL controllers.

Table 3 .
Percentage Increase/decrease in rise time, settling time, and overshoot (%) using BEL controller.

Table 4 .
Mean-Squared, Root Mean Square, and Mean Absolute Percentage Errors for PID and BEL controllers.

Table 5 .
Percentage increase/decrease in Mean-Squared, Root Mean Square, and Mean Absolute Percentage Errors using BEL controller.