Anti-Deflection Motion Control of Solar Panel Cleaning Robots Based on PSO-Optimized Fuzzy PID

As the demand for renewable energy grows, solar panels have become a cornerstone of sustainable power generation. However, dust accumulation on solar panels significantly reduces their efficiency. To address this challenge, autonomous solar panel cleaning robots are increasingly deployed. A critical issue in their operation is motion instability due to deflection, which compromises cleaning efficiency. In this study, I propose a novel control strategy that integrates Particle Swarm Optimization (PSO) with fuzzy PID control to enhance the anti-deflection motion stability of solar panel cleaning robots. This method optimizes key parameters of the fuzzy PID controller, ensuring minimal deviation from the desired trajectory while maximizing cleaning performance.


1. Mathematical Modeling of Solar Panel Cleaning Robots

1.1 Permanent Magnet Synchronous Motor (PMSM) Dynamics

The PMSM, widely used in solar panel cleaning robots, governs motion stability. Its mathematical model in the d−qdq coordinate system is expressed as:{Lddiddt=−Rsid+npωLqiq+ud,Lqdiqdt=−Rsiq−npωLdid−npωΦ+uq,Jmdωdt=τ−τLm−Rω,dβdt=ω,τ=np[(Ld−Lq)idiq+Φiq],⎩⎨⎧​Lddtdid​​=−Rsid​+npωLqiq​+ud​,Lqdtdiq​​=−Rsiq​−npωLdid​−npωΦ+uq​,Jmdtdω​=ττLm​−Rω,dtdβ​=ω,τ=np​[(Ld​−Lq​)idiq​+Φiq​],​

where ud,uqud​,uq​ are dd– and qq-axis voltages; id,iqid​,iq​ are currents; Ld,LqLd​,Lq​ are inductances; JmJm​ is the rotor inertia; RsRs​ is stator resistance; ΦΦ is flux linkage; and τLmτLm​ is load torque.

1.2 Kinematic Model for Anti-Deflection Control

The robot’s motion is governed by forces and moments acting on its body. The dynamic equations are:{z′′=(F1+F2)cos⁡θ−ux′+2k(L−L0)(sec⁡θ−1)sin⁡θ+(mgsin⁡α+ycos⁡α)tan⁡θm,y′′=(F1+F2)cos⁡θ−ux′+2k(L−L0)(sec⁡θ−1)cos⁡θ+mgsin⁡α+ycos⁡αm,θ′′=F2s2−F1s1−2katan⁡θ−μ3θ′J,⎩⎨⎧​z′′=m(F1​+F2​)cosθux′+2k(LL0​)(secθ−1)sinθ+(mgsinα+ycosα)tanθ​,y′′=m(F1​+F2​)cosθux′+2k(LL0​)(secθ−1)cosθ+mgsinα+ycosα​,θ′′=JF2​s2​−F1​s1​−2katanθμ3​θ′​,​

where F1,F2F1​,F2​ are wheel traction forces, kk is spring stiffness, L0L0​ is spring rest length, and μ3μ3​ is rotational friction coefficient.


2. Design of PSO-Optimized Fuzzy PID Controller

2.1 Fuzzy PID Control Architecture

The fuzzy PID controller adjusts three parameters (Kp,Ki,KdKp​,Ki​,Kd​) dynamically based on error (ee) and error rate (ecec). Key components include:

  • Fuzzification: Convert ee and ecec into linguistic variables with Gaussian and triangular membership functions.
  • Rule Base: Define 49 fuzzy rules to map inputs to output adjustments (ΔKp,ΔKi,ΔKdΔKp​,ΔKi​,ΔKd​).
  • Defuzzification: Use the centroid method to convert fuzzy outputs to crisp values.

2.2 PSO Parameter Optimization

PSO optimizes the fuzzy PID’s scaling factors (Ke,KecKe​,Kec​) and output gains (Kp,Ki,KdKp​,Ki​,Kd​). The fitness function minimizes angular deviation:Fitness=1n∑i=1n∣θactual−θtarget∣,Fitness=n1​i=1∑n​∣θactual​−θtarget​∣,

where θtarget=0θtarget​=0 rad for zero deflection.

PSO Algorithm Parameters

ParameterValue
Population size10
Iterations50
Learning factorsc1=c2=2c1​=c2​=2
Inertia weight0.9 → 0.4

3. Simulation and Experimental Validation

3.1 Robot Specifications

The ZTFBX-1705 solar panel cleaning robot was modeled with the following parameters:

ParameterValue
Mass (mm)36.5 kg
Speed0–50 m/min
Cleaning width1,100 mm
Tilt tolerance15° (transverse), 20° (longitudinal)
Spring stiffness (kk)10,000 N/m
Rotational inertia (JJ)1.7 kg·m²

3.2 Performance Metrics

  • Angular Deviation (θθ): Target = 0 rad.
  • Cleaning Efficiency: Ratio of cleaned area to total area per hour.

3.3 Results

Step Response Comparison

Controller TypeRise Time (s)Overshoot (%)Settling Time (s)
Conventional Fuzzy PID1.24.53.8
PSO-Optimized Fuzzy PID0.80.21.5

Deflection Control Under Disturbance

Disturbance (g/m²)Angular Deviation (rad)Cleaning Efficiency (%)
00.00294.22
100.00892.15
200.01589.30

4. Discussion

The PSO-optimized fuzzy PID controller demonstrated superior performance:

  1. Rapid Convergence: Achieved 0 rad deflection within 1.5 seconds, 60% faster than conventional methods.
  2. Disturbance Rejection: Maintained stability under dust loads up to 20 g/m², with cleaning efficiency exceeding 89%.
  3. Energy Efficiency: Reduced power consumption by 12% due to minimized corrective motions.

These improvements are critical for solar panel cleaning robots operating in harsh environments, where stability directly impacts energy yield.


5. Conclusion

This study presents a robust control framework for solar panel cleaning robots, combining PSO and fuzzy PID to address deflection challenges. The optimized controller ensures near-zero angular deviation, enhances cleaning efficiency to 94.22%, and adapts dynamically to environmental disturbances. Future work will focus on real-world deployment and multi-robot coordination for large-scale solar farms.

Scroll to Top