Research on the Control Strategy of Leafy Vegetable Harvester Travel Speed Automatic Control System

: This paper used the 4UM-120D electric leafy vegetable harvester as the research object and designed a travel speed automatic control system to maintain the travel speed within a set value of ± 2% in order to improve the efﬁciency and quality of leafy vegetable harvester operations and decrease the work intensity of the operator. The harvester’s travel speed was automatically controlled by using the PID, adaptive fuzzy PID, and sliding mode control techniques after the mechanical and electrical equations for the travel drive motor (a DC brushless motor) were established in MATLAB. By simulating various working situations, the stability, accuracy, and speed of the automatic control system were compared and analyzed using the adjustment time, overshoot, steady-state transition time, and maximum deviation from the set speed as evaluation indicators. The test results revealed that when the current value of the leafy vegetable harvester travel speed deviated from the set value by more than 2%, the dynamic response performance and stability of the DC brushless motor travel drive system based on the sliding mode control strategy was signiﬁcantly better than that of the PID and adaptive fuzzy PID control strategies, and its anti-disturbance was stronger, achieving the function of automatic control of the harvester travel speed. When the travel motor started with a constant load and the sliding mode control strategy’s parameters were the gain factors A = 1/70, c = 100, ε = 100, and k = 100, the travel drive system regulation time was 1.5 s, and the overshoot was 10%. When the harvester was operating smoothly and had leafy vegetable collection baskets loaded and unloaded, the steady-state transition time was 0.3 s. According to the actual engineering application experience, the speciﬁc technical state of the control strategy of the agricultural machinery travel speed automatic control system was: regulation time 2.5~3 s; overshoot amount 20~25%; and steady-state transition time 1.0~1.5 s, so the travel speed automatic control system of the electric leafy vegetable harvester in sliding mode was in line with the technical state requirements. The results of the ﬁeld trials demonstrated the accuracy of the simulation test results. This study offered a method to lessen the work intensity of operators and increase the operating efﬁciency and quality of a leafy vegetable harvester.


Introduction
With a national vegetable-sown area of approximately 21,744,300 hectares and a total production of 782 million tons in 2021, China has the largest variety and widest range of vegetables grown in the world [1,2] (Ministry of Agriculture and Rural Affairs, 2022).
About one-third of the burden in vegetable production operations is made up of labor-intensive and time-intensive harvesting procedures [3,4]. However, manual harvesting still accounts for the majority of domestic vegetable harvesting at the moment, Figure 1. Sketch of the structure of the 4UM-120D electric leafy vegetable harvester. 1. Reciprocati double-action cutter; 2. Paddle mechanism; 3. Slide rail; 4. Electric pusher; 5. Conveying mechanis 6. Control box; 7. 48 V lithium battery; 8. Differential mechanism; 9. Reducer; 10. Travel drive mot 11. Collection basket; 12. Control panel; 13. Gear switching handle; 14. Brake handle; 15. Wheel. The reciprocating double-action cutter was driven by a DC brushless motor to cut a set pace when the electric leafy vegetable harvester was in use. The cutter height adju ment device maintained the cutter's height above the ground at an appropriate level green vegetable stubble. The chopped leafy vegetables were first picked by the padd wheel and delivered to the conveyor system, where they were then moved to the re outlet and lastly covered by the collection basket to complete the vegetable collection.

Travel Speed Automatic Control System Components
The 4UM-120D electric leafy vegetable harvester served as the foundation for t travel speed automatic control system, which included a touch screen, PLC, travel mo  The reciprocating double-action cutter was driven by a DC brushless motor to cut at a set pace when the electric leafy vegetable harvester was in use. The cutter height adjustment device maintained the cutter's height above the ground at an appropriate level for green vegetable stubble. The chopped leafy vegetables were first picked by the paddle wheel and delivered to the conveyor system, where they were then moved to the rear outlet and lastly covered by the collection basket to complete the vegetable collection.

Travel Speed Automatic Control System Components
The 4UM-120D electric leafy vegetable harvester served as the foundation for the travel speed automatic control system, which included a touch screen, PLC, travel motor and its driver, and Hall speed sensor, as illustrated in Figure 2. Figure 3 depicts the system program's flow chart, which was primarily created to fulfill the functions for measuring, displaying, and controlling the walking pace. The PLC calculated the bus voltage value at both ends of the travel motor using various control strategies and the travel motor adjusted the speed according to the size of the bus voltage at both ends to realize the function of travel speed automatic control. The PLC calculated the difference between the current value of the travel speed and the set value to derive the deviation amount.
Engineering 2022, 4, FOR PEER REVIEW both ends of the travel motor using various control strategies and the travel motor a justed the speed according to the size of the bus voltage at both ends to realize the functi of travel speed automatic control. The PLC calculated the difference between the curre value of the travel speed and the set value to derive the deviation amount.

Model of the Travel Drive Motor
The 4UM-120 electric leafy vegetable harvester's travel driving system used a D brushless motor that was modeled to develop a transfer function between its output a gular speed and input voltage because the motor input voltage was controlled by adju ing the motor driver output voltage to regulate the motor angular speed. The main stat main rotor, electronic switching circuit, and position sensor made up the DC brushl motor's four primary components. To simplify the analysis, a three-phase, two-pole p manent magnet DC brushless motor was used as an example, and it was assumed th     The 4UM-120 electric leafy vegetable harvester's travel driving system used a DC brushless motor that was modeled to develop a transfer function between its output angular speed and input voltage because the motor input voltage was controlled by adjusting the motor driver output voltage to regulate the motor angular speed. The main stator, main rotor, electronic switching circuit, and position sensor made up the DC brushless motor's four primary components. To simplify the analysis, a three-phase, two-pole permanent magnet DC brushless motor was used as an example, and it was assumed that: (1) the stator winding was 60 • , the phase band was concentrated at the whole distance, and the windings were star-connected; (2) the tooth slot effect was neglected and the windings were uniformly distributed on the inner surface of the smooth stator; (3) no armature reaction was considered and the air gap magnetic field distribution was approximately rectangular with a waveform flat top width of 120 • electrical angle; and (4) there were no damping windings on the rotor surface, and the permanent magnets were not damped [16]. The motor stator three-phase-winding voltage balance equation is shown in Equation (1), the electromagnetic torque generated by the stator three-phase winding is shown in Equation (2), and the rotor motion equation is shown in Equation (3): where U A , U B , and U C -motor stator three-phase winding voltage (V); R A , R B , and R C -motor stator three-phase winding resistance (Ω); e A , e B , and e C -motor stator threephase winding counter-electromotive force (V); i A , i B , and i C -motor stator three-phase winding current (A); L A , L B , and L C -motor stator three-phase winding self-inductance (H); L AB , L AC , L BA , L BC , L CA , and L CB -mutual inductance between the three phase windings of the motor stator (H); P-differential arithmetic; T e -electromagnetic torque (N·m); T L -load torque (N · m); J-motor rotor inertia (kg·m 2 ); ω-motor angular speed (rad/s); and B υ -coefficient of viscous friction (N·m·s). The amount of the DC bus voltage at the two ends of the DC brushless motor controlled how fast it rotated. In other words, the bus voltage at the motor's two ends served as the input to the DC brushless motor model's transfer function, which produced the motor's angular speed as the output. When taking the three-phase, full-bridge drive, two-bytwo conduction method as an example without considering the load first, the transfer function was: where G 1 (s)-transfer function between the bus voltage at both ends of the DC brushless motor and the angular speed of the motor; ω(s)-motor angular speed (rad/s); U d (s)-bus voltage at both ends of the motor (V); K T -electromagnetic torque factor (N · m/A); and K e -anti-potential factor (V · s/rad).

Drive Train Model
The harvester drive system consisted of the travel drive motor, reducer, wheels, etc. The drive path was travel drive motor-reducer-wheels; the transfer function between the linear speed of the wheels and the speed of the travel motor was: where υ(s)-wheel linear speed (m/s); n(s)-travel motor rotation speed (r/s); r-wheel radius (m); and i-reduction ratio. A model of the harvester travel drive system that was built in Simulink is shown in Figure 4.     In the case of a relatively large amount of travel speed variation e, when e was PB, the harvester traveled at an excessively high speed. If at this point ec was PB, indicating that the tendency for the harvester to continue to travel at a high speed was very high, then the tendency for the travel speed to be low was very high and the angular speed of the DC brushless motor needed to be sufficiently small and the bus voltage at both ends of the DC brushless motor sufficiently reduced (Kp was NB and Ki was PB). Conversely, when e was NB, the travel speed of the harvester was excessively low. If ec was NB at this point, it showed that the tendency for the harvester to continue to travel at a low speed was very high, so that the tendency to travel at a high speed was very high and the angular speed of the DC brushless motor needed to be sufficiently high and the bus voltage at both ends of the DC brushless motor sufficiently increased (Kp was PB and Ki was NB).
In the case of a relatively small amount of travel speed variation e, when e was PS, the harvester traveled at a slightly higher speed. If ec was NS at this point, indicating a small tendency for the harvester to travel at a low speed, then the travel speed itself slowly decreased at this point and the angular speed of the DC brushless motor decreased gently, so that the bus voltage at both ends of the DC brushless motor itself slowly decreased (Kp was ZO and Ki was ZO). Conversely, when e was NS, the travel speed of the harvester was slightly on the low side. If ec was PS at this point, indicating a small tendency for the harvester to travel at a greater speed, then the travel speed itself slowly increased, the angular speed of the DC brushless motor increased gently, and thus the bus voltage at both ends of the DC brushless motor slowly increased (Kp was ZO and Ki was ZO).         When e was ZO, ec was ZO, Kp was ZO, and Ki was ZO, the harvester travel speed remained within the set value of ±2%.

Sliding Mode Control Strategy Establishment
We defined the state variables of the leafy vegetable harvester travel drive system as: where ω * -setting value for angular speed of travel drive motor (rad/s) and ω-current value of the angular speed of the travel drive motor (rad/s). Combined with the mechanical equation for the DC brushless motor T e −T L J = dω dt , we got: .
where I a -rated current of the travel drive motor (A). Let A = K T J , U = I a ; then the state space of the leafy vegetable harvester travel drive system was: We designed the sliding modal surface s of the travel drive system as: Taking the derivative of s, we got: The exponential convergence law method could better ensure that the system's point of motion quickly converged to the switching surface while also attenuating the system's sliding mode jitter and made solving for the sliding mode control quantities more straightforward and simple [19] using the following equation: where sgn(s) = 1, s > 0 −1, s < 0 , ε, and k are both constants greater than zero.
Let s > 0 in Equation (12), yielding: Solving the differential equation resulted in: Let s > 0, s(t) = 0, yielding: The solution gave: Thus, the system could reach the switching surface from the initial state in a finite time. The parameter k affected the time it took for the system to reach the switching surface. Increasing k reduced the system regulation time. In order to ensure that the moving point of the system quickly approached the switching surface while weakening the jitter, k had to be increased and ε had to be reduced at the same time, but too large of a value of k resulted in the moving point approaching the switching surface at too large of a speed; it was not easy to reduce the speed, so it took longer to reach the steady state, so in practical engineering applications, the coefficient k should be combined with the actual system state variables [20].
The exponential convergence law method was used to solve for the sliding mode control quantity U of the leafy vegetable harvester travel drive system, which, when combined with Equations (11) and (12), gave: The equation for the sliding mode control quantity U was solved as: In order to verify whether the moving point of the travel drive system was stable after reaching the sliding modal plane, the Liapunov function V = 1 2 s 2 was chosen [21]; according to Liapunov's stability theorem [22], the following conditions needed to be satisfied for the travel drive system to be stable [23,24]: s < 0, satisfying the stability theorem and indicating that the walking drive system with the exponential convergence law method sliding mode control strategy was stable.

Control Model Building and Simulation
The PID control strategy model is shown in Figure 9, in which the proportionality factor KP = 13.16 and the integration factor KI = 303.28. The adaptive fuzzy PID control strategy model is shown in Figure 10, where the quantization factor Ke = 10.0, quantization factor Kec = 0.1, proportionality factor K1 = 0.1, proportionality factor K2 = 0.2, proportionality factor K3 = 0, proportionality factor KP = 13.16, integration factor KI = 303.28, and differentiation factor KD = 0.09. The sliding mode control strategy model is shown in Figure 11, where the gain coefficient A = 1/70, the gain coefficient c = 100, the gain coefficient ε = 100, the gain coefficient = 100, and the gain coefficient k = 100. The model of the travel drive system under the three control strategies is shown in Figure 12.

Results of the Simulation Tests
According to the above established travel drive system models and models, the PID-controlled travel drive system model, adaptive fuzz travel drive system model, and sliding mode controlled travel drive sys respectively established in MATLAB, including the PID control modu module, PID module, sliding mode control module, travel drive system t and other modules to collect the angular speed, linear speed, and spee the travel drive motor of the leafy vegetable harvester in the harvesting

Results of the Simulation Tests
According to the above established travel drive system models and control strategy models, the PID-controlled travel drive system model, adaptive fuzzy PID-controlled travel drive system model, and sliding mode controlled travel drive system model were respectively established in MATLAB, including the PID control module, fuzzy control module, PID module, sliding mode control module, travel drive system transfer function, and other modules to collect the angular speed, linear speed, and speed information of the travel drive motor of the leafy vegetable harvester in the harvesting operation in real time. Simulations were carried out for four operating conditions: The simulation test conditions were: constant load starting of the travel motor; sudden load increase under smooth condition: harvester climbing and harvester crossing; and sudden load reduction under smooth condition: full basket of leafy vegetable unloading machine. The simulation test conditions are shown in Table 4. (1) Constant load travel motor starting condition: constant and unchanged load during travel motor starting. Simulation of constant load starting of the travel motor: set the angular speed of the travel motor to 2.457 rad/s. The travel motor started at 0.25 s. The load was constant during the starting process. The simulation results are shown in Figure 13a-d. The travel motor angular speed from 0 rad/s always maintained the angular speed set value in a ±2% range of 2.457 rad/s; that is, the travel motor from the start to reaching the stable running state; PID control strategy under the travel drive system adjustment time of 0.3970 s; overshoot of 1.91%; adaptive fuzzy PID control strategy under the system adjustment time of 0.3833 s; overshoot of 1.26%; the system regulation time under sliding mode control strategy was 0.3370 s and the overshoot was 0.45%. Therefore, the dynamic response performance and stability of the travel drive system under the three control strategies were significantly better when the travel motor was started at a constant load, and the sliding mode control strategy was significantly better than the PID and adaptive fuzzy PID control strategies, but the travel drive system that it controlled oscillated slightly in the steady-state range.
(2) The situation 1 of a sudden increase in load when the travel motor was in a smooth state: sudden climbing of the harvester in a smooth running state. The sudden climbing of the harvester in a smooth state: the travel motor had reached a smooth running state 1.5 s ago, and at 1.5 s a slope block obstacle suddenly appeared on the monopoly surface (bed surface). Assuming that the load on the travel motor increased by 40.7% at this time, which was a medium disturbance situation, the simulation results are shown in Figure 14a-d. The travel drive system moved from its original smooth running state to a slope block obstacle and finally backed to a stable state again. The steady-state transition time of the travel drive system under the PID control strategy was 0.3074 s with a maximum deviation from the set speed of 0.0254 rad/s. The steadystate transition time of the system under the adaptive fuzzy PID control strategy was 0.9005 s with a maximum deviation from the set speed of 0.0164 rad/s. The steadystate transition time was 0.0027 s and the maximum deviation from the set speed was 0.0023 rad/s under the sliding mode control strategy.
(3) The situation 2 of a sudden increase in load when the travel motor was in a smooth state: sudden crossing of a bump of the harvester in a smooth running state. The simulation results of the harvester suddenly crossing a bump in a smooth state were as follows: the travel motor reached a smooth running state before 2.0 s, and at 2.0 s, a sudden ditch obstruction appeared on the monopoly surface (bed surface). Assuming that the load on the travel motor increased by 61.1% at this time, which was an oversized disturbance situation, the simulation results are shown in Figure 15a-d. The travel drive system moved from its original smooth running state to a gully obstruction and finally backed to a stable state again. The steady-state transition time of the travel drive system under the PID control strategy was 0.3092 s with a maximum deviation from the set speed of 0.0382 rad/s. The steady-state transition time of the system under the adaptive fuzzy PID control strategy was 0.9621 s with a maximum deviation from the set speed of 0.0247 rad/s. The steady-state transition time was 0.0027 s and the maximum deviation from the set speed was 0.0023 rad/s under the sliding mode control strategy.
Therefore, regardless of the sudden increase in load in the smooth running state of the travel motor, whether it was a sudden slope block obstacle or a ditch obstacle on a monopoly (bed), the travel drive system under the sliding mode control strategy had better immunity to disturbances and stability compared to the PID and adaptive fuzzy PID control strategies, but it oscillated slightly in the range of the secondary steady state.
(4) Sudden load shedding under smooth running of the travel motor: leafy vegetable collection baskets were filled and unloaded under smooth running of the harvester. Simulation of the travel motor with a suddenly reduced load in a smooth state: the travel motor had reached a smooth running state before 2.5 s, and at 2.5 s, the leafy vegetable collection baskets were filled with an unloading machine. Assuming that the load on the travel motor had been reduced by 24.4% at this time, which was a less disturbed situation, the simulation results are shown in Figure 16a-d. The travel drive system went from a smooth running state to a sudden load-shedding situation and then backed to a stable state again. The steady-state transition time of the travel drive system under the PID control strategy was 0.3041 s with a maximum deviation from the set speed of 0.0153 rad/s. The steady-state transition time of the system under the adaptive fuzzy PID control strategy was 0.8189 s with a maximum deviation from the set speed of 0.0099 rad/s, The steady-state transition time was 0.0026 s and the maximum deviation from the set speed was 0.0023 rad/s under the sliding mode control strategy. As a result, the travel drive system under the sliding mode control was extremely insensitive to disturbance and more stable than PID and adaptive fuzzy PID control when the load was suddenly reduced in the smooth running state of the travel motor, but it oscillated weakly in the secondary steady-state range.
In summary, when the current value of the angular speed of the travel drive motor deviated from the set value by more than 2%, the travel drive system adjusted the travel speed through different control strategies to keep it within ±2% of the set value, thus realizing the automatic control function of the travel speed of the harvester. The dynamic response performance and stability of the sliding mode control strategy were significantly better than those of the PID and adaptive fuzzy PID control strategies. The sliding mode control strategy was more resistant to perturbations but oscillated weakly in the range of multiple steady states. The parameters of the sliding mode control strategy were: gain coefficient A = 1/70; gain coefficient c = 100; gain coefficient ε = 100; and gain coefficient k = 100.

Results of Field Trials
To verify the accuracy of the simulation test results, the electric leafy vegetable harvester based on PID, adaptive fuzzy PID, and sliding mode travel speed control modes were respectively applied to the vegetable sweet potato base of the Nanjing Institute of Agricultural Mechanization, Ministry of Agriculture and Rural Affairs. The proportionality factor KP of the travel speed PID control algorithm was set to 13.16 and the integration factor KI was set to 303.28; the quantization factor Ke of the adaptive fuzzy PID control algorithm was set to 10.0, the quantization factor Kec was set to 0.1, the proportionality factor K1 was set to 0.1, the proportionality factor K2 was set to 0.2, the proportionality factor KP was set to 13.16, the integration factor KI was set to 303.28, and the differentiation factor KD was set to 0.09; the gain factor A of the sliding mode control algorithm was set to 1/70, the gain factor c was set to 100, the gain factor ε was set to 100, and the gain factor k was set to 100. The field trials were carried out under two operating conditions: the harvester starting at a constant load and the harvester running smoothly with the leafy vegetable collection baskets filled and unloaded ( Figure 17). The results are shown in Figures 18 and 19.
As can be seen in Figure 18, at a constant load start of the harvester, the overshoot was 32% for the PID control algorithm-based walking drive system of the electric leafy vegetable harvester, 22% for the adaptive fuzzy PID control algorithm-based walking drive system, and 10% for the sliding mode control algorithm-based walking drive system. The time when the harvester's travel speed first entered the ±2% range of 0.35 m/s and was not exceeded was taken as the adjustment time. Therefore, the adjustment time of the travel drive system based on the PID control algorithm was 2.2 s, the adjustment time of the travel drive system based on the adaptive fuzzy PID control algorithm was 1.9 s, and the adjustment time of the travel drive system based on the sliding mode control algorithm was 1.5 s. As can be seen in Figure 19, the steady-state transition time of the walking drive system based on the PID control algorithm was 1.0 s, the steady-state transition time of the walking drive system based on the adaptive fuzzy PID control algorithm was 0.5 s, and the steady-state transition time of the walking drive system based on the sliding mode control algorithm was 0.3 s when the leafy vegetable collection baskets were filled and unloaded under the smooth running condition of the harvester. According to the actual engineering application experience, the specific technical state of the control strategy of the agricultural machinery travel speed automatic control system was: regulation time 2.5~3 s; overshoot amount 20%~25%; and steady state transition time 1.0~1.5 s, so the travel speed automatic control system of the electric leafy vegetable harvester in sliding mode was in line with the technical state requirements. In conclusion, the dynamic response performance and stability of the electric leafy vegetable harvester travel drive system based on the sliding mode control strategy were significantly better than those of the PID and adaptive fuzzy PID control strategies, and it was more resistant to disturbances; therefore, the simulation test results were reliable. time of 0.3970 s; overshoot of 1.91%; adaptive fuzzy PID control strategy under the system adjustment time of 0.3833 s; overshoot of 1.26%; the system regulation time under sliding mode control strategy was 0.3370 s and the overshoot was 0.45%. Therefore, the dynamic response performance and stability of the travel drive system under the three control strategies were significantly better when the travel motor was started at a constant load, and the sliding mode control strategy was significantly better than the PID and adaptive fuzzy PID control strategies, but the travel drive system that it controlled oscillated slightly in the steady-state range. (2) The situation 1 of a sudden increase in load when the travel motor was in a smooth state: sudden climbing of the harvester in a smooth running state. The sudden climbing of the harvester in a smooth state: the travel motor had reached a smooth running state 1.5 s ago, and at 1.5 s a slope block obstacle suddenly appeared on the monopoly surface (bed surface). Assuming that the load on the travel motor increased by 40.7% at this time, which was a medium disturbance situation, the simulation results are shown in Figure  14a-d. The travel drive system moved from its original smooth running state to a slope  (3) The situation 2 of a sudden increase in load when the travel motor was in a smooth state: sudden crossing of a bump of the harvester in a smooth running state. The simulation results of the harvester suddenly crossing a bump in a smooth state were as follows: the travel motor reached a smooth running state before 2.0 s, and at 2.0 s, a sudden ditch obstruction appeared on the monopoly surface (bed surface). Assuming that the load on the travel motor increased by 61.1% at this time, which was an oversized disturbance situation, the simulation results are shown in Figure 15a-d. The travel drive system moved  travel motor increased by 61.1% at this time, which was an oversized disturbance situation, the simulation results are shown in Figure 15a-d. The travel drive system moved from its original smooth running state to a gully obstruction and finally backed to a stable state again. The steady-state transition time of the travel drive system under the PID control strategy was 0.3092 s with a maximum deviation from the set speed of 0.0382 rad/s. The steady-state transition time of the system under the adaptive fuzzy PID control strategy was 0.9621 s with a maximum deviation from the set speed of 0.0247 rad/s. The steadystate transition time was 0.0027 s and the maximum deviation from the set speed was 0.0023 rad/s under the sliding mode control strategy. Therefore, regardless of the sudden increase in load in the smooth running state of the travel motor, whether it was a sudden slope block obstacle or a ditch obstacle on a trol strategy was 0.3041 s with a maximum deviation from the set speed of 0.0153 rad/s. The steady-state transition time of the system under the adaptive fuzzy PID control strategy was 0.8189 s with a maximum deviation from the set speed of 0.0099 rad/s, The steadystate transition time was 0.0026 s and the maximum deviation from the set speed was 0.0023 rad/s under the sliding mode control strategy. As a result, the travel drive system under the sliding mode control was extremely insensitive to disturbance and more stable than PID and adaptive fuzzy PID control when the load was suddenly reduced in the smooth running state of the travel motor, but it oscillated weakly in the secondary steadystate range. In summary, when the current value of the angular speed of the travel drive motor deviated from the set value by more than 2%, the travel drive system adjusted the travel speed through different control strategies to keep it within ±2% of the set value, thus realizing the automatic control function of the travel speed of the harvester. The dynamic response performance and stability of the sliding mode control strategy were significantly better than those of the PID and adaptive fuzzy PID control strategies. The sliding mode control strategy was more resistant to perturbations but oscillated weakly in the range of multiple steady states. The parameters of the sliding mode control strategy were: gain factor KP was set to 13.16, the integration factor KI was set to 303.28, and the differentiation factor KD was set to 0.09; the gain factor A of the sliding mode control algorithm was set to 1/70, the gain factor c was set to 100, the gain factor ε was set to 100, and the gain factor k was set to 100. The field trials were carried out under two operating conditions: the harvester starting at a constant load and the harvester running smoothly with the leafy vegetable collection baskets filled and unloaded ( Figure 17). The results are shown in Figures 18 and 19.     As can be seen in Figure 18, at a constant load start of the harvester, the oversho was 32% for the PID control algorithm-based walking drive system of the electric le vegetable harvester, 22% for the adaptive fuzzy PID control algorithm-based walki drive system, and 10% for the sliding mode control algorithm-based walking drive s tem. The time when the harvester's travel speed first entered the ±2% range of 0.35 m and was not exceeded was taken as the adjustment time. Therefore, the adjustment ti

Conclusions
(1) In order to achieve automatic control of the travel speed of the electric leafy vegetable harvester, this paper proposed various control strategies. It also established a mathematical model of the travel drive motor based on the physical properties of the DC brushless motor and designed a travel drive system using PID, adaptive fuzzy PID, and sliding mode control techniques.
(2) Through theoretical analysis and simulation analysis of different working conditions and validation of the results of the simulation analysis through field trials, it was shown that the dynamic response performance and stability of the DC brushless motor travel drive system based on the sliding mode control strategy were significantly better than the PID and adaptive fuzzy PID control strategies when the current value of the leafy vegetable harvester's travel speed deviated from the set value by more than 2%, and it was also more resistant to disturbances and achieved automatic control of the harvester's travel speed, resulting in a much higher quality and efficiency of leafy vegetable harvesting while greatly reducing manual labor intensity.
(3) When each parameter of the sliding mode control strategy was: gain coefficient A = 1/70; gain coefficient c = 100; gain coefficient ε = 100; and gain coefficient k = 100, if the travel motor was started with a constant load, the travel drive system had a regulation time of 1.5 s and an overshoot of 10%; if the harvester was running smoothly with the leafy vegetable collection baskets filled and unloaded, the steady-state transition time of the travel drive system was 0.3 s. According to the actual engineering application experience, the specific technical state of the control strategy of the agricultural machinery travel speed automatic control system was: regulation time 2.5~3 s; overshoot amount 20%~25%; and steady state transition time 1.0~1.5 s, so the travel speed automatic control system of the electric leafy vegetable harvester in sliding mode was in line with the technical state requirements.