Next Article in Journal
Short-Term Power Load Forecasting Based on an EPT-VMD-TCN-TPA Model
Previous Article in Journal
Physicochemical Characteristics of Pork Liver Pâtés Containing Nonthermal Air Plasma-Treated Egg White as an Alternative Source of Nitrite
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Design and Test of a Levelling System for a Mobile Safflower Picking Platform

College of Mechanical and Electrical Engineering, Xinjiang Agricultural University, Urumqi 830052, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(7), 4465; https://doi.org/10.3390/app13074465
Submission received: 26 February 2023 / Revised: 21 March 2023 / Accepted: 29 March 2023 / Published: 31 March 2023

Abstract

:
At this stage, safflower picking is mostly performed manually or semi-manually, the picking method is antiquated and the picking precision is low. In this experimental study, a new attitude tilt levelling system was designed for a safflower-picking robot, which has created a solid foundation for the realization of future safflower-picking machine automation. The mobile platform was simplified as a four-point support, and an automatic levelling control system was designed based on the multi-sensor data collected by a multi-inclination sensor, a multi-pressure sensor, and a displacement sensor. The error range of the levelling of the mobile platform was obtained by MATLAB simulation analysis, the relationship between the inclination of the mobile platform and the displacement of the levelling mechanism was analyzed by coordinate transformation, and the maximum levelling range of the levelling mechanism was analyzed. On this basis, an automatic levelling control system was designed. Finally, the safflower-picking mobile platform was tested, and we concluded that the levelling control system can adjust the inclination angle of the mobile platform to within 0.2° and the levelling time to within 7 s. The design of the automatic levelling control system fills the gap in the field of safflower picking and adopts multi-sensor fusion. Compared with other methods, the collected inclination data is more accurate, the levelling accuracy higher, and the levelling time shorter. The final results show that this experimental study provides a strong basis for the realization of the full-mechanical automation of safflower picking.

1. Introduction

As a characteristic cash crop with strong drought and cold resistance, safflower can be used as a source of oil, dyes [1,2,3], natural pigments, and other supplies. There are large areas of agricultural land for planting safflower in various regions of the country. However, due to the different appearance characteristics of safflower plants and other crops, special safflower-picking machinery is needed to realize the full mechanization of safflower picking. Nowadays, the safflower picking method is still in full manual picking and semi-mechanical picking mode, so the current picking methods are still very antiquated. Nowadays, full mechanization of agricultural picking has become the trend of the times. It is necessary to research new safflower-picking robots, but the terrain of safflower picking is not flat, so it is easy for the mobile platform to tilt during the picking process. Since the robot arm is mounted on the mobile platform for the picking operation, the tilt of the mobile platform position will cause the three-dimensional coordinates of the robot arm to change, thus making the robot arm reach the wrong position to pick the safflower, thus affecting the picking accuracy. In order to ensure the accurate picking of safflower, the work performed by our mobile platform requires high precision [4]. Therefore, it is necessary to design an automatic levelling system suitable for picking in order to ensure the correct level of the robot arm’s position.
At present, the research on automatic safflower-picking machinery is nonexistent. In this research, the advantages of current mature agricultural automatic machinery levelling are combined to create a robot levelling mechanism especially suitable for safflower picking. According to the operating requirements of different field terrain, the levelling technology of agricultural machinery suitable for different environments has been widely used. Yu Zhicheng et al. designed an automatic levelling system for paddy field machinery that adopts hydraulic levelling [5]. After receiving a signal from an angle sensor, the controller controls the levelling of the frame by controlling the flow of hydraulic oil in an oil cylinder. However, the designed levelling system has a slow response speed and low sensor precision, and the mechanical levelling work begins only when the inclination exceeds 0.3°, the levelling error is 0.36°, and when the levelling accuracy is not high. LiuPingyi et al. [6] designed an agricultural chassis levelling mechanism for operation in hilly and mountainous areas that can realize multi-wheel drive and has a high levelling accuracy of approximately 1° during chassis walking. However, in the levelling test, in 90% of the cases, the levelling accuracy was about 0.5° floating, and the levelling accuracy was not high. Zhou Hao et al. [7] designed an automatic levelling device for a rotary tiller, which was composed of a rotary tiller mechanism, levelling support frame, a hydraulic system, and an automatic levelling control system, significantly improving the horizontal surface flatness after rotary cultivator tillage. The maximum horizontal height difference of the front ridge surface was 1.9 cm, and the maximum horizontal height difference of the tillage depth was 1.8 cm. After the rotary tillage mechanism was levelled, the height error of cultivated land was about 2 cm, and the levelling accuracy was not high. Moreover, the levelling mechanism used the hydraulic type and the improper operation of the hydraulic mechanism led to oil leakage, so there was no strict transmission ratio. At present, most existing levelling systems are used in agricultural machinery and agricultural machines and tools, and the accuracy is low, so they are not suitable for the field of picking robots. Therefore, to ensure safflower picking accuracy, a levelling system suitable for a mobile safflower picking platform needs to be designed. At present, the research on safflower-picking machinery is limited to the picking robot arm, and the safflower-picking robot mobile platform designed in this paper fills the gap in the field of safflower-picking mobile platforms. In order to solve the problem of the decrease in safflower picking accuracy caused by the positioning error caused by the tilt of the mobile platform when picking safflower by the manipulator, a levelling control system was added to the design of the mobile platform. A levelling control system was also the first application in safflower-picking machinery. In the selection of devices, multiple inertial measurement units (IMUs) fusion were used to obtain the tilt angle information of the mobile platform, which improved the accuracy of angle acquisition, which can be levelled in real time with high levelling accuracy and can ensure safflower picking accuracy.
In Section 2, the overall structure of the mobile platform and the working process of the levelling system are introduced. In Section 3, the measuring principle of the levelling mechanism–electric push rod, the levelling accuracy requirement of the levelling control system, and the maximum levelling angle range are introduced. In Section 4, the design of the levelling control system for the mobile platform is introduced, including hardware selection and software design. In Section 5, the designed automatic levelling control system is tested to further verify the feasibility of the designed levelling control system. In Section 6, the design process and test results of the levelling control system are summarized.

2. Overall Structure and Working Principle

2.1. Overall Design

In this research, we first made a new design for the whole safflower picking platform, and innovatively added four electric push rods to the four driving legs of the robot as part of the levelling system (as shown in Figure 1, No. 2). In addition, three IMUs were innovatively added as angle measuring tools, so as to ensure the accuracy of the measuring angle. The automatic mobile safflower picking platform levelling mechanism is composed of four independent electric push rods, a stepper motor driver, a controller, a CAN communication module (the model is MCP2515), one 9-degree-of-freedom (DOF) (IMU), two single-degree-of-freedom (DOF) (IMU), one cable displacement sensor, four pressure sensors, and a level gauge. The upper end of the electric push rod was then fixed to the box body of the mobile platform, and the lower end fixed to the wheel support plate through a square steel structure. The driver and electric push rod were connected by bolts. The nine-axis inclination sensor was installed at the center of the picking platform in order to measure the angle of the X-axis and Y-axis when the car body is inclined. The two single-axis inclination sensors were then installed vertically on the X-axis and Y-axis in order to measure the inclination of the X-axis or Y-axis separately. The pull wire displacement sensor was used to sense the telescopic length of the electric push rod. The level gauge was used to detect the levelling accuracy after levelling. The pressure sensor was used to detect the pressure of each outrigger and in order to ascertain whether there was a virtual leg. The tilt angle of the mobile platform is controlled by the expansion and contraction of the electric push rod in order to realize the levelling of the vehicle body. Each part of the levelling system is shown in Figure 1. In this design, the levelling parts are fully used, which greatly improves the accuracy of platform levelling.

2.2. Operational Principle

When the mobile platform works in the field, it will be affected by the field’s topography, resulting in the tilt of the mobile platform, and the tilt of the mobile platform posture will reduce the accuracy of safflower picking. At this time, the automatic levelling control system is needed to adjust the position and posture of the mobile platform to the horizontal state. The automatic levelling control system is an electric drive system based on multi-sensor fusion. The sensors are used to receive the tilt angle of the mobile platform and the pressure value of the electric push rod and transmit it to the controller in real time. According to the principle of levelling control, the designed automatic levelling control system is shown in Figure 2. The inclination sensor is installed in the center of the mobile platform in order to detect the inclination information when the mobile platform is tilted. The inclination information is transmitted to the controller through CAN communication. After receiving the information, the controller begins to calculate the height difference between each electric push rod and then controls the driver to drive the electric push rod for lifting action. The lifting and contraction of each electric push rod are realized through the start [8], stop, and positive and negative movements of the motor to accomplish automatic levelling of the mobile levelling table. When the position and posture of the mobile platform are horizontal, the height position of the electric push rod is obtained by observing the value of the displacement sensor installed on the first electric push rod. After levelling, the pressure sensor installed above the electric push rod detects the pressure value of each electric push rod and feeds back the pressure value to the controller. When the pressure value of the electric push rod is zero or significantly less than that of the rest of the electric push rod, the controller will execute the “virtual leg” elimination program. The reasons for designing the “virtual leg” elimination program are: when four-point support is adopted, one outrigger will not be stressed due to deformation and other problems, and the weight of the platform will be supported by the other three outriggers [9], resulting in virtual legs. When virtual legs occur in the levelling process, the mobile platform will shake due to external interference, and overturn will occur in serious cases. Therefore, it is necessary to avoid the imaginary appearance of empty legs.

3. Levelling Strategy and Analysis

3.1. Mathematical Modelling of the Mobile Platform

A plane is determined by two intersecting lines to establish the schematic diagram of the picking platform, as shown in Figure 3 [10]. The coordinate system OXYZ is established with the platform center as the coordinate origin O. The vertical upwards direction of the center point is the positive direction of the Z-axis, the horizontal rightward direction is the positive direction of the X-axis, and the horizontal forward direction is the positive direction of the Y-axis. The nine-axis inclination sensor is installed in the center of the platform, and the two single-axis inclination sensors are installed on the X-axis and Y-axis at the same distance from the nine-axis sensor, which are used to measure the inclination of the X-axis and Y-axis. The fixed-point method is used to calculate the telescopic length of the electric push rod. When the inclination sensor outputs zero X- and Y-axis inclination relative to the center point, the platform is horizontal. It is assumed that the distance between two adjacent outriggers is equal and is level with the fixed-point method, and the fixed point is P1.
Three inclination sensors installed in the center of the mobile platform fuse the inclination information of the central point of the picking platform relative to the X-axis and Y-axis. After fusion, the angle of the X-axis inclination is α. When the Y-axis is tilted after fusion, the angle is β. When the platform is tilted, the transformation matrices of the mobile platform around the X- and Y-axes are, respectively:
R X = 1 0 0 0 cos α sin α 0 sin α cos α R Y = cos β 0 sin β 1 0 1 sin β 0 cos β
After the mobile platform rotates around the X- and Y-axis in space, the following is obtained:
R 1 = R X R Y = cos β 0 sin β sin α sin β cos α sin α cos β cos α sin β sin β cos α cos β
When the mobile platform is not tilted, the coordinates of support points P1, P2, P3, and P4 are:
P 1 = a 2 , a 2 , 0 T P 2 = a 2 , a 2 , 0 T P 3 = a 2 , a 2 , 0 T P 4 = a 2 , a 2 , 0 T
After the mobile platform rotates using rotation matrix R1, the coordinates of support points P1, P2, P3, and P4 are transformed into:
P 1 = a 2 cos β , a 2 sin α sin β + cos α , a 2 cos α cos β sin α T P 2 = a 2 cos β , a 2 cos α sin α sin β , a 2 cos α cos β + sin α T P 3 = a 2 cos β , a 2 sin α sin β + cos α , a 2 sin α cos α cos β T P 4 = a 2 cos β , a 2 sin α sin β cos α , a 2 cos α cos β sin α T
Then, the height of each of the four electric push rods after rotation is:
L 1 = a 2 cos β 2 + a 2 sin α sin β + cos α 2 + a 2 cos α cos β sin α 2 L 2 = a 2 cos β 2 + a 2 cos α sin α sin β 2 + a 2 cos α cos β + sin α 2 L 3 = a 2 cos β 2 + a 2 sin α sin β + cos α 2 + a 2 sin α cos α cos β 2 L 4 = a 2 cos β 2 + a 2 sin α sin β cos α 2 + a 2 cos α cos β sin α 2
To keep the mobile platform level, the height of each push rod is:
P 2 = L 2 L 1 P 3 = L 3 L 1 P 4 = L 4 L 1
After the fusion of the three inclinations of sensors α and β, the length of the electric push rod relative to the fixed push rod can be obtained by the controller.

3.2. Levelling Accuracy Analysis

The analysis of levelling accuracy is an important link in the design of levelling structures. The mobile platform is the carrier carried by the manipulator. When the posture of the mobile platform is tilted, the fixed platform of the manipulator is tilted, so the three-dimensional coordinates of the end effector of the manipulator are changed, resulting in a decline in picking accuracy. When the position error of the end actuator of the picking manipulator is <5 mm, the safflower can be accurately picked. Therefore, the levelling accuracy of the mobile platform determines the picking accuracy of the manipulator. The levelling error range of the mobile platform is determined by the reverse calculation of the picking accuracy error of the picking manipulator. γ is the rotation angle of the mobile platform about the Z-axis; then, the rotation matrix of the mobile platform about the Z-axis is:
R Z = cos γ sin γ 0 sin γ cos γ 0 0 0 1
Then, the rotation matrix of the mobile platform around the X-, Y-, and Z-axes
R 2 = R X R Y R Z = cos β cos γ cos β sin γ sin β sin α sin β cos γ + cos α sin γ cos α cos γ sin α sin β sin γ sin α cos β sin β sin γ cos α sin β cos γ sin β cos γ + cos α sin β sin γ cos α cos β
The end effector of the manipulator and the mobile platform use the same coordinate system, so the three-dimensional coordinates of the end effector of the manipulator can be obtained after the rotation matrix transformation. The levelling accuracy is calculated using MATLAB simulation software, and the levelling accuracy range of the platform is within 0.2°.
When the error of the moving platform is within 0.2°, the error of the end actuator of the manipulator is within 5 mm. The error of the end effector of the manipulator is found to be within 5 mm through the forward solution of the determined levelling accuracy. It can be determined that the obtained accuracy meets the requirements. Since the levelling of the mobile platform is based on the rotation of the X- and Y-axes, the transformation of the mobile platform about the Z-axis is not considered. The levelling accuracy analysis of the mobile platform is an important parameter to evaluate whether the mobile platform has completed the levelling task.

3.3. Levelling Limit Range

The mobile platform is only levelled about the X- and Y-axes, so the maximum levelling angle of the mobile platform about the X- and Y-axes and diagonal is calculated as follows, with the equivalent three-dimensional rotation shown in Figure 4.
a
When the X-axis is inclined, P1 and P2 outriggers rise to the highest point. At this time, Lmax = 0.2 m, and dX = 1 m. According to the trigonometric function, the maximum allowable inclination angle at this time is:
α = sin 1 L max d X = sin 1 0.2
b
When the Y-axis is inclined, the P2 and P3 outriggers rise to the highest point. At this time, Lmax = 0.2 m and dX = 1 m. According to the trigonometric function, the maximum allowable inclination angle at this time is:
β = sin 1 L max d Y = sin 1 0.2
c
When inclination occurs on the diagonal, the P3 outrigger rises to the highest point, and the P1 outrigger height remains unchanged. At this time, Lmax = 0.2 m, and dX-Y = 21/2 m. According to the trigonometric function relationship, the maximum allowable inclination angle at this time is:
δ = sin 1 L max d X - Y = sin 1 L max d X 2 + d Y 2 = sin 1 0.2 2
By calculating the maximum theoretical levelling angle of the mobile platform, the maximum levelling tilt angle of the mobile platform in three directions can be obtained. According to the trigonometric function formula, the maximum allowable inclination angles of the mobile platform in three directions are 11.54°, 11.54°, and 8.13°. Calculating the maximum levelling angle of the mobile platform is an important parameter to ensure that the mobile platform can complete the levelling angle limit range [11].

4. Control System Design

4.1. Hardware Design

The automatic levelling system of the mobile platform is composed of a picking platform, controller, stepping motor driver, electric push rod, IMU, displacement sensor, pressure sensor, Voltage amplifying module (the model is HX711), level meter, and CAN communication module. The controller is the core of the levelling system [12] (which is a node in the control of the entire mobile platform. The controller chip is an Arduino Mega. It has enough memory to meet the levelling requirements.
IMU adopts a 9-degree-of-freedom (DOF) IMU (the model is HWT901B) and a single-degree-of-freedom (DOF) IMU (the model is SINDT01), which are produced by Shenzhen Weite Intelligent Company, China. The HWT901B 9-degree-of-freedom (DOF) IMU and the SINDT01 single-degree-of-freedom (DOF) IMU can achieve static accuracy within 0.05° and dynamic levelling within 0.1°. Because the automatic levelling control system adopts three IMUs fusion, in order to facilitate the data transmission, the CAN communication module (the model is MCP2515) is adopted, since using the CAN module can reduce the connection between devices and the transmission pressure of the main controller. Therefore, the communication mode between the IMUs and the controller is CAN communication. The displacement sensor is selected to observe the displacement of each electric push rod after levelling. The linear accuracy of the displacement sensor is ±0.15%, which can accurately observe the displacement of the electric push rod. Because the output signal of the pressure sensor is mV, in order to facilitate the controller to receive, the voltage amplification module (model HX711) is selected to cooperate with the pressure sensor, so that the mV signal can be amplified to the signal range that the controller can receive. The communication method between the displacement sensor, pressure sensor, and controller is serial communication. The levelling mechanism adopts an electric push rod, which has high precision and fast-moving speed. However, the electric push rod cannot communicate directly with the controller, so it needs to be equipped with a driver. After receiving the pulse signal from the controller, the driver will convert the pulse signal into an electrical signal, thus driving the electric push rod to rotation. The rotation of the electric push rod makes the electric push rod perform a lifting action. Through the number of pulses emitted by the driver, the angular displacement of the rotation of the electric push rod can be controlled, and the speed of the rotation of the electric push rod can be controlled through the pulse frequency emitted by the driver. Whether the pulse emitted by the driver is high or low, it controls the direction of the rotation of the electric push rod, and the precise control of the displacement of the electric push rod can be realized by driving the driver. The circuit connection between the electric actuator, various sensors, and the controller is shown in Figure 5.

4.2. Software Design

The core of the control system is software. The design of the software system affects the speed and precision of the levelling system [13]. The software of the control system is developed using the Arduino Integrated Development Environment (IDE) platform. The software programming is based on the C and C++ languages. The levelling algorithm is a fuzzy Proportional, Integral, Differential (PID) algorithm. The PID algorithm takes the angle error and angle error rate of the inclination sensors as the input [14], outputs the integral and differential proportion, and then looks for the appropriate value to make the angle output of the sensor more accurate. Before PID, it is necessary to obtain the inclination data in a single IMU and fuse the inclination data of the three IMUs. The Digital Motion Processor (DMP) inside the IMU can output quaternions directly, and data are converted into angle values [15]. The IMU has its own Kalman filter algorithm, which can filter the angle data, and filtering can effectively remove noise, including Quantization noise (QN), Angle random walk (ARW), Bias instability (BI), Rate random walk (RRW), and Rate ramp (RR) so that the fused angle output is more accurate. The formula for converting the angle value of the quaternion in a single IMU is as follows:
β = sin 1 g 1 , α = tan 1 g 2 g 3 , γ = tan 1 g 4 g 5
where: g1 g2 g3 g4 g5 is the input of α, β, and γ angles.
g1 = 2(q1q3 − q0q2)
g2 = 2(q2q3 + q0q1)
g3 = q02 + q32 − q22 − q12
g4 = 2(q1q2 + q0q3)
g5 = q02 + q12 − q22 − q32
The batch estimation fusion algorithm is used to fuse the inclination values converted by the three IMUs. This algorithm can avoid a fusion result error caused by the error of multiple sensors [16]. In the levelling process of the mobile platform, two sensors detect the inclination of the X-axis, and two sensors detect the inclination of the Y-axis. They are divided into two groups for angle detection. Taking the inclination angle of the X-axis as an example, X1 = {x11, x12, x13, x14,…, x1n} is the inclination information detected by the 9-degree-of-freedom (DOF) inertial measurement unit (IMU), and X2 = {x21, x22, x23, x24,…, x2n} is the inclination information detected by the single-degree-of-freedom (DOF) inertial measurement unit (IMU). Then, the average value of the X1 inclination is  X 1 = 1 n i n x 1 n , the average value of the X2 inclination is  X 2 = 1 n j n x 2 n , and the mean square deviation is:  σ 1 = 1 n 1 i = 1 n x 1 i X 1 2 . and  σ 2 = 1 n 1 j = 1 n x 1 j X 2 2 .
If the mean square deviation of the previous detection information is (σ-) = ∞, then (σ-)−1 = 0. The fusion result of the batch estimation algorithm is:
x + = σ + σ 1 x + σ + H T R 1 x = σ + H T R 1 x σ + = σ 1 + H T R 1 H 1 H = 1 1 ,   x = x 1 x 2 ,   R = σ 1 2 0 0 σ 2 2
where x is the last data fusion result; x is the arithmetic mean matrix; σ+ is the variance of the data fusion results; H is the coefficient matrix of the measurement equation; and R is the covariance matrix of the measurement noise.
Will (σ-)−1 = 0 is substituted to obtain:
x + = i = 1 2 1 σ i 2 1 · i = 1 2 x i σ i 2 σ + = i = 1 2 1 σ i 2 1
x+ is the inclination value after fusion, and the inclination value after fusion is closer to the real value.
The levelling of the mobile platform is divided into automatic levelling and manual levelling. The automatic levelling process is a continuous cyclic process. IMU will constantly detect the inclination data. When the mobile platform is tilted, it will achieve automatic levelling by controlling the lifting of the electric drive. Through the fixed-point method, an automatic levelling control system is designed, which specifies that the position of the first electric push rod is fixed and does not participate in the levelling process. The automatic levelling control process is as follows: IMUs obtain the inclination information of the mobile platform and carry on the fusion, and the fused information is transmitted to the controller through CAN communication. After receiving the information, the controller begins to calculate the height difference of each electric push rod relative to the first electric push rod, so as to make a control decision. At this time, the driver begins to drive the electric push rod to participate in the levelling process to achieve the level of the position and posture of the mobile platform. Manual levelling is controlled by switches. There are thirteen switches in total, which control the raising and lowering of the four electric push rods, raising and lowering at the same time, and performing an emergency stop. When any switch is pressed, a push rod will perform the corresponding action. The pressure sensor is installed on the four outriggers. After levelling, the stress in each outrigger is detected, and the outrigger with the virtual leg is adjusted to eliminate the virtual leg. The flow chart of outrigger automatic levelling is shown in Figure 6 and virtual leg detection is are shown in Figure 7, and the manual levelling button settings are shown in Table 1.

5. Test and Result Analysis

To verify the feasibility of the designed levelling system and virtual leg elimination system, the safflower-picking mobile platform was tested. The designed levelling mechanism was installed on the mobile platform of the safflower picking robot for field experiments and commissioning. The test location was Hongqi Farm in Jimsar County, Changji Autonomous Prefecture, Xinjiang Uygur Autonomous Region. Figure 8 is the field test of the mobile platform. a is the overall structure diagram of the mobile platform, b is the installation position of the electric push rod, and c is the installation position of the IMU. The field test of the mobile platform is shown in Figure 9. Figure 9a shows the tilt attitude of the mobile platform before levelling, and Figure 9b shows the attitude of the mobile platform after levelling.
The levelling of the mobile platform was divided into static levelling and dynamic levelling. The X-axis and Y-axis angles when the body is tilted were displayed through the serial port assistant, and the levelling time was recorded. Static levelling manually changes the inclination of the mobile platform so that the mobile platform is in eight tilting states: front lowest, rear lowest, left lowest, right lowest, left front lowest, right front lowest, left rear lowest, and right rear lowest. Then, these eight states were automatically and manually levelled, the levelling tilt angle recorded, and the automatic levelling curve and the time required for manual and automatic levelling drawn, as shown in Figure 10. Figure 11 shows the comparison between automatic levelling time and manual levelling time. Figure 12 is the performance index diagram of the test results. The red points is the angle of α and β after leveling the mobile platform.It can be seen that the dip angle after levelling is in the range of 0.2°, which meets the requirements of levelling accuracy. The tilt angle of the mobile platform before and after the levelling test is shown in Table 2.
For dynamic levelling, the automatic levelling mode is selected, and the scope of a section of the test field is delimited. The mobile platform carries out the nonadjustable parallel driving test and the driving while levelling the test at the same speed to test the inclination change and the levelling effect of the mobile platform when it passes this section of the road. The test is divided into three parts, and the recorded levelling data are shown in Figure 13a–c are the curve of the change of inclination angle in the process of three dynamic leveling respectively. After levelling, the pressure sensor detects the pressure value of each outrigger. If the pressure value of one outrigger is approximately 0, which is less than the pressure value of the other outriggers, it starts to eliminate the virtual leg until the pressure value of the four outriggers reaches a relatively average value.
Figure 10 shows that both automatic levelling and manual levelling can level the mobile platform, and the levelling accuracy is 0.2°. Due to different initial angles of inclination, automatic levelling can level the platform within 7 s, and manual levelling can level the platform within 11 s. This is fast enough for the targeted application. The automatic levelling system takes less time than manual levelling and has a faster response time. During the levelling process, the inclination of the mobile platform in the X- and Y-directions decreases. After levelling, the tilt difference of the mobile platform in the X- and Y-directions is very small and within the levelling error range. At the same time, the smaller the initial inclination of the mobile platform is, the shorter the total levelling time. Figure 13 shows that during the dynamic levelling process, due to the subsequent lifting effect of the electric push rod, the tilt angle of the mobile platform during driving is improved, and the angle after levelling is significantly smaller than that before levelling. However, due to the short and continuous tilt time of the mobile platform during driving, the tilt of the mobile platform cannot be fully adjusted within the accuracy range. Therefore, the designed levelling mechanism of the safflower-picking mobile platform has a good levelling effect and can meet the requirements of safflower picking.

6. Conclusions

According to the requirements of accurate safflower picking, an automatic levelling control system based on a safflower-picking mobile platform was designed, in which multiple sensors were fused to detect the tilt angle of the mobile platform, and pressure sensors were used to eliminate the “virtual leg” after levelling. The calculation formula between the inclination angle of the mobile platform and the displacement of the electric push rod was analyzed by using the coordinate transformation method, and the maximum angle allowed to tilt in the X, Y, and diagonal directions of the mobile platform was analyzed, as shown in Figure 4. The maximum allowable inclination angles of the mobile platform in the X, Y, and diagonal directions were 11.54°, 11.54°, and 8.13°.
The design of the automatic levelling control system was tested, as shown in Figure 10 and Figure 11. Figure 10 shows that no matter what tilt the mobile platform is in, the position and posture of the mobile platform can return to the horizontal state after levelling, and the accuracy after levelling is within 0.2°, which meets the requirements of the accurate picking of the safflower. Figure 11 shows the change of automatic levelling time and manual levelling time, which is due to manual adjustment, which requires one to pay attention to the inclination value of the mobile platform at any time and needs to be adjusted repeatedly, so it should be noted that the position and attitude adjustment of the mobile platform cannot be achieved in one step. Figure 13 shows the result of the dynamic levelling of the mobile platform. Although the posture of the mobile platform cannot be adjusted to the horizontal state in a short time, it has obviously improved.
In this paper, the automatic levelling control system was designed to obtain the inclination angle of the mobile platform by the fusion of three IMUs and eliminate “virtual legs” after levelling. Compared with the automatic levelling control system designed by [5,6,7], the accuracy has improved, and it also improved the overall stability of the mobile platform. In this paper, the design of the safflower picking automatic levelling control system fills the gap in the field of safflower picking. Further research should focus on the control algorithm of the automatic levelling system in order to improve the levelling accuracy and shorten the levelling time.

Author Contributions

Conceptualization, H.L. and H.G.; software, H.L.; data curation, H.G.; writing—original draft preparation, H.L.; writing—review and editing, H.L. Validation G.G., T.W., H.C. and Z.Q. All authors have read and agreed to the published version of the manuscript.

Funding

This study was supported by the Key Research and Development Plan Project of China under Grant No. 2016YFD0701300, and was supported by the Key Research and Development Plan Project in the autonomous region under Grant No. 2022D01A177. Funding was provided by the Ministry of Science and Technology of China. The APC was funded by [Key Research and Development Plan Project in the autonomous region under Grant No. 2022D01A177].

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bijanzadeh, E.; Moosavi, S.; Bahadori, F. Quantifying water stress of safflower (Carthamus tinctorius L.) cultivars by crop water stress index underdifferentirrigationregimes. Heliyon 2022, 8, e09010. [Google Scholar] [CrossRef] [PubMed]
  2. De Oliveira Neto, S.S.; Zeffa, D.M.; Freiria, G.H.; Zoz, T.; da Silva, C.J.; Zanotto, M.D.; Sobrinho, R.L.; Alamri, S.A.; Okla, M.K.; AbdElgawad, H. Adaptability and Stability of Safflower Genotypes for Oil Production. Plants 2022, 11, 708. [Google Scholar] [CrossRef] [PubMed]
  3. Gongora, B.; de Souza SN, M.; Bassegio, D.; Santos, R.F.; Siqueira JA, C.; Bariccatti, R.A.; Gurgacz, F.; Secco, D.; Tokura, L.K.; Sequinel, R. Comparison of emissions and engine performance of safflower and commercial biodiesels. Ind. Crops Prod. 2022, 179, 114680. [Google Scholar] [CrossRef]
  4. Xu, X.; Cheng, L.; Guo, Y.; Li, J.; Ke, Y. A modeling and calibration method of heavy-duty automated fiber placement robot considering compliance and joint-dependent errors. J. Mech. Robot. 2023, 15, 061011. [Google Scholar] [CrossRef]
  5. Yu, Z.; Wang, X. Design and Research on automatic levelling device of paddy field compound land leveler. Res. Agric. Mech. 2017, 39, 175–179, (In Chinese with English abstract). [Google Scholar]
  6. Liu, P.; Wang, C.; Li, H.; Zhang, M.; Wei, W.; Zhang, H. Design and test of dynamic levelling chassis for agricultural profiling walking in Hilly and mountainous areas. J. Agric. Mach. 2018, 49, 74–81, (In Chinese with English abstract). [Google Scholar]
  7. Zhou, H.; Hu, L.; Luo, X.; Zhao, R.; Xu, Y.; Yang, W. Design and test of automatic levelling system for rotary cultivator. J. Agric. Mach. 2016, 47, 117–123, (In Chinese with English abstract). [Google Scholar]
  8. Tang, J.; Liu, X. The Design of Electrical Putter Car Moving Robots Based on Microcontroller Control. DEStech Trans. Eng. Technol. Res. 2017. [Google Scholar] [CrossRef] [PubMed]
  9. Jiao, R.; Chen, C.; Wang, F. The Study of Virtual Leg Problems on Electromechanical Vehicle Platform with Four-Point Support. In Applied Mechanics and Materials; Trans Tech Publications Ltd.: Stafa-Zurich, Switzerland, 2014; Volume 540, pp. 399–402. [Google Scholar] [CrossRef]
  10. Zhu, D. Research on Automatic Levelling System of Vehicle Mounted Radar Antenna Based on Parallel Support Mechanism; Beijing Jiaotong University: Beijing, China, 2008; (In Chinese with English abstract). [Google Scholar]
  11. Liu, K.; Kang, S.; Cao, Z.; Liu, R.; Ding, Z. Angle and Force Hybrid Control Method for Electrohydraulic Leveling System with Independent Metering. Math. Probl. Eng. 2021, 2021, 6642597. [Google Scholar] [CrossRef]
  12. Zhang, L.; Shao, J.P.; Sun, G.T.; Gao, B.W.; Jin, Z.H.; Zhu, J.; Mu, X.N. Research on Automatic Leveling System of Railway Rescue Cran. Adv. Mater. Res. 2014, 909, 241–246. [Google Scholar] [CrossRef]
  13. Wos, P.; Dindorf, R.; Takosoglu, J. Bricklaying Robot Lifting and Levelling System. Commun. Sci. Lett. Univ. Zilina 2021, 23, B257–B264. [Google Scholar] [CrossRef]
  14. Meng, B. Control of Robot Arm Motion Using Trapezoid Fuzzy Two-Degree of Freedom PID algorithm. Symmetry 2020, 12, 665. [Google Scholar] [CrossRef] [Green Version]
  15. Han, J.; Xu, W. Virtual 3D model angle control of six axis gyroscope mpu6050. SCM Embed. Syst. Appl. 2017, 17, 43–44, (In Chinese with English abstract). [Google Scholar]
  16. Zhang, K.; Li, C.; Zhang, W. Wireless Sensor Data Fusion Algorithm Based on the Sensor Scheduling and Batch Estimate. Int. J. Future Comput. Commun. 2013, 2, 333. [Google Scholar] [CrossRef] [Green Version]
Figure 1. The overall framework of the mobile platform: (1) Pressure sensor, (2) Linear actuator, (3) Levelling outrigger, (4) Displacement sensor, (5) Levelling platform, (6) Microcontroller and other control devices, and (7) IMU.
Figure 1. The overall framework of the mobile platform: (1) Pressure sensor, (2) Linear actuator, (3) Levelling outrigger, (4) Displacement sensor, (5) Levelling platform, (6) Microcontroller and other control devices, and (7) IMU.
Applsci 13 04465 g001
Figure 2. Working principle diagram of levelling.
Figure 2. Working principle diagram of levelling.
Applsci 13 04465 g002
Figure 3. Rotation diagram of the mobile platform.
Figure 3. Rotation diagram of the mobile platform.
Applsci 13 04465 g003
Figure 4. Schematic diagrams of the inclination levelling range. (a) Schematic diagram of the X-axis. (b) Schematic diagram of the Y-axis. (c) Schematic diagram along the diagonal line.
Figure 4. Schematic diagrams of the inclination levelling range. (a) Schematic diagram of the X-axis. (b) Schematic diagram of the Y-axis. (c) Schematic diagram along the diagonal line.
Applsci 13 04465 g004
Figure 5. Communication diagram.
Figure 5. Communication diagram.
Applsci 13 04465 g005
Figure 6. Levelling flow chart.
Figure 6. Levelling flow chart.
Applsci 13 04465 g006
Figure 7. Virtual leg control flow chart.
Figure 7. Virtual leg control flow chart.
Applsci 13 04465 g007
Figure 8. Field test of the mobile platform. (a) The overall structure of the mobile platform. (b) The installation position of the electric push rod. (c) The installation position of the IMU.
Figure 8. Field test of the mobile platform. (a) The overall structure of the mobile platform. (b) The installation position of the electric push rod. (c) The installation position of the IMU.
Applsci 13 04465 g008
Figure 9. Mobile platform inclination. (a) Before levelling. (b) After levelling.
Figure 9. Mobile platform inclination. (a) Before levelling. (b) After levelling.
Applsci 13 04465 g009
Figure 10. Automatic levelling results under eight tilting states. (a) Front lowest, (b) Rear lowest, (c) Left lowest, (d) Right lowest, (e) Left front lowest, (f) Left rear lowest, (g) Right front lowest, (h) Right rear lowest.
Figure 10. Automatic levelling results under eight tilting states. (a) Front lowest, (b) Rear lowest, (c) Left lowest, (d) Right lowest, (e) Left front lowest, (f) Left rear lowest, (g) Right front lowest, (h) Right rear lowest.
Applsci 13 04465 g010
Figure 11. Comparison of automatic and manual levelling time.
Figure 11. Comparison of automatic and manual levelling time.
Applsci 13 04465 g011
Figure 12. Performance indicators of test results.
Figure 12. Performance indicators of test results.
Applsci 13 04465 g012
Figure 13. Dynamic automatic levelling results.
Figure 13. Dynamic automatic levelling results.
Applsci 13 04465 g013
Table 1. Switch signal input.
Table 1. Switch signal input.
Manual Levelling Button LabelMovement TrendFrom
0Manual/AutomaticController
11 UpLinear actuator1
22 UpLinear actuator 2
33 UpLinear actuator 3
44 UpLinear actuator 4
111 DownLinear actuator1
222 DownLinear actuator 2
333 DownLinear actuator 3
444 DownLinear actuator 4
5All upLinear actuators 1, 2, 3, 4
6All downLinear actuators 1, 2, 3, 4
7ResetLinear actuators 1, 2, 3, 4
8CeaseLinear actuators 1, 2, 3, 4
Table 2. Results of the levelling test.
Table 2. Results of the levelling test.
Tilt Statebefore Levellingafter LevellingLevelling Time(s)
αβαβ
Front lowest−4.806°0.84−0.192°0.15°7.1
Rear lowest4.86°0.56°0.168°0.18°7.3
Left lowest0.724°−5.25°0.124°−0.151°7.6
Right lowest0.783°5.51°0.179°0.157°8
Left front lowest−4.31°−5.34°0.162°−0.172°7
Right front lowest−5.76°4.56°−0.184°−0.141°5
Left rear lowest5.58°−5.71°0.147°−0.158°5.2
Right rear lowest5.31°5.16°0.146°0.195°7.3
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

Guo, H.; Lu, H.; Gao, G.; Wu, T.; Chen, H.; Qiu, Z. Design and Test of a Levelling System for a Mobile Safflower Picking Platform. Appl. Sci. 2023, 13, 4465. https://doi.org/10.3390/app13074465

AMA Style

Guo H, Lu H, Gao G, Wu T, Chen H, Qiu Z. Design and Test of a Levelling System for a Mobile Safflower Picking Platform. Applied Sciences. 2023; 13(7):4465. https://doi.org/10.3390/app13074465

Chicago/Turabian Style

Guo, Hui, Hao Lu, Guomin Gao, Tianlun Wu, Haiyang Chen, and Zhaoxin Qiu. 2023. "Design and Test of a Levelling System for a Mobile Safflower Picking Platform" Applied Sciences 13, no. 7: 4465. https://doi.org/10.3390/app13074465

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop