1. Introduction
The interaction mechanism between the
Lycium barbarum plant and the picker is the basis for the research and development of the
L. barbarum picker. The interaction between the Chinese wolfberry plant and the harvester is at the center of the research and development of all kinds of harvesting equipment. To determine the key operating parameters of
L. barbarum fruit abscission, it is necessary to analyze the kinematics of the
L. barbarum plant and the picking parts. Due to the irregular structure of plants, it is difficult to obtain analytical solutions by theoretical analysis. Numerical simulations analyze the motion and stress responses of different parts of plants under picking and have been widely used in the study of fruit abscission [
1,
2]. Therefore, an accurate three-dimensional plant model is a requirement of fruit abscission simulation analysis [
3].
Since the 1960s, researchers have developed various methods to create three-dimensional models of vegetables, field crops, and trees [
4,
5]. These mainly include automata, L-systems and particle systems, and image, data, and sketch reconstructions [
6,
7,
8,
9,
10,
11,
12,
13,
14]. In 1968, the American biologist Aristid proposed the L-system [
6,
7]. In 1971, the Japanese scholar Honda created a computer simulation of the tree branch structure for the first time. In 1983, Reeves put forward the concept of a particle system [
8,
9,
10,
11]. In 1988, deReffye and the French Agricultural International Cooperation Research and Development Center (CIRAD) developed reference axis technology, known also as the automaton model [
13,
14]. The L-system, particle system, and automata create models according to the growth rules of plants. They are generally used to study the growth and development of plants, including their branching model, canopy distribution, and tendency. Image reconstruction is used to reconstruct the three-dimensional model of the plant by drawing on a single picture, multiple pictures, or videos with certain constraints [
15]. Data reconstruction obtains the characteristic size or point cloud information of plants employing ground lidar, remote sensing, and three-dimensional scanning, and then divides different plants and organs using data segmentation to restore the three-dimensional shape of plants [
16]. Image and data reconstruction create three-dimensional models of plants by using information obtained from natural plants. Both methods efficiently obtain a large amount of plant morphological information, but they are restricted by plant occlusion and data noise. Sketch reconstruction involves generating the corresponding three-dimensional plant model by drawing a sketch. One can flexibly modify the geometric size and topology of the plant on the mobile device to obtain realistic plant effects. This method can be used for the rapid implementation of various virtual scenes, such as games and gardens. L-system and automata are generally used to construct fruit harvesting and wind load response simulations and data reconstructions in combination with size measurements and constraints. In the fruit harvesting simulation process, different branch shapes and mechanical properties have significant differences in response to vibration, impact, and other picking actions. The bending shape of branches is one of the difficulties in plant modeling [
17,
18,
19,
20,
21,
22].
At present, there are three main methods used to construct the bending shape of branches. The first is to use the parameter curve to fit the measured data. This method obtains the approximate bending shape of branches, but the measurement workload is large, and the data are not universal [
23]. The second method uses small vector segments to generate branches and model the bending of branches through the direction change of vector segments. The advantage of this method is that the bending direction of branches is very flexible; however, many parameters need to be given to control the bending of branches, and the direction of nonlinear change means that the branches are not smooth enough [
24]. The third method uses the mechanical and finite element methods to determine the bending shape of branches through stress analysis, obtaining a more accurate branch shape [
25,
26]. The method of vector line segment may distort the shape of the whole branch because the direction vectors of each segment are set artificially. The method of parameter measurement and mechanical model calculation can obtain more realistic branches, but the measurement and model calculation work is large, the drawing period is long, and the measurement and calculation for specific branches lacks universality.
This paper aims to provide a fast and accurate modeling method for the bending shape of L. barbarum fruit branches. Firstly, the prediction model of branch shape is obtained by finite element analysis, and then the relationship between the parameters of the prediction model and branch length, growth angle, and planting mode is determined by a simulation test. Finally, the prediction model is verified with reference to real branches.
2. Materials and Methods
2.1. Classification of Branches
Figure 1 shows the branches of the
Lycium barbarum at all levels, which was taken in Zhongning, Ningxia in August 2021. The
Lycium barbarum in the picture is the main cultivated variety in Ningxia, the seven-year-aged Ningqi 7. The frame of the
Lycium barbarum tree is composed of a trunk, primary branches, and secondary branches, with fruit-hanging branches growing on the primary branches and secondary branches. The trunk grows vertically. The primary and secondary branches are thick and grow along the initial growth direction, and the drooping deformation is small under the load of the lower branches and leaves. The fruit-bearing branches are slender and soft, and experience significant deformation under the load of fruit and leaves. Understanding this deformation is the research object of this paper.
L. barbarum fruit branches can be divided into independent branches without embranchment and compound branches with embranchment. These two types of branches grow on the vertical and horizontal planes, respectively. They can therefore be subdivided into four types of branches, named type I, type II, type III, and type IV. As shown in
Figure 2 (by the red lines), type I and type III branches have no embranchments, type II branches have embranchments, and their superior branches grow along the vertical plane; type IV branches have embranchments, and their superior branches grow in the horizontal direction (approximately).
2.2. Parameters Measurement
When a large number of Lycium barbarum matured in June, three Lycium barbarum trees with well-developed crowns were selected, and the length, base diameter, top diameter, and growth angle of fruiting branches were measured. June is still the peak period for the growth of fruit branches, and fruit branches can grow about 10 mm every day. In order to ensure the reliability of branch size distribution, the data of three Lycium barbarum plants were measured in 2 days. The number of fruiting branches, the number of nodes on the fruiting branches, and the number of leaves and fruits growing on the nodes were counted, while the quality of ripe fruit, green fruit, flowers, leaves, and fruit stalks was also measured.
2.2.1. Length of Branches
The fruiting branches of the Lycium barbarum can be divided into current fruiting branches and biennial fruiting branches. The fruiting branches of the same year develop and grow in spring and autumn, and the length of the fruiting branches which germinated this spring was close to 400 mm when the fruit matured in the middle of June, and the length of the fruiting branches which germinated in August was about 300 mm when the autumn fruit was harvested in the middle of September. The length of some biennial branches with a large fruiting capacity can reach 800 mm, while the length of other biennial fruiting branches can be kept between 300 mm–500 mm by pruning.
2.2.2. Base Circle and Top Circle of Branches
The base diameter of the branch refers to the diameter at the beginning of the branch, and the top diameter refers to the diameter at the end of the branch. With the increase in the age of the
Lycium barbarum, the annual growth of the branch diameter decreases year by year. Annual growth is further affected by precipitation, fertilization, and other factors [
27]. There was little difference between the top diameter and the base diameter of the current-year-bearing branches that were measured for this study, but there was a large difference between the base diameter and the top diameter of the biennial branches due to repeated pruning and growth.
2.3. Fruits and Leaves on Fruiting Branches
Every 5 cm on the fruiting branch, there is a node where leaves grow. Ripe fruit, unripe fruit, and flowers will grow at the nodes during the full production stage. The quality of fruits and leaves growing on different lengths of fruit branches is different, which makes the bending shape of fruit branches very different [
28]. We randomly selected 100 branch nodes, and counted the growth numbers of leaves, ripe fruits, unripe fruits, and flowers on each node.
2.4. Simulation Models
2.4.1. Geometric Model and Mesh Generation
The schematic diagram of the wolfberry tree without gravity is shown in
Figure 3a. In a separate geometric model, part of the trunk and hanging fruit branches were cut off to reduce the amount of calculation and facilitate simulation analysis. A geometric model of a fruiting branch without gravity was created in Solidworks 2013 (Dassault Systems Simulia Corp., Concord, MA, USA). Four parameters were used to create the three-dimensional branches model: branch length, base circle diameter, circle diameter, and growth angle. The median length of the fruit-bearing branch was 550 mm, and the diameter of the base and top circles were determined using Formula (1). The branch growth angle was taken as 60°, and the three-dimensional model of the branch under no gravity was obtained, as shown in
Figure 3b. The file was imported into Ansys Workbench 18.1 (ANSYS, Inc., Pittsburgh, PA, USA), which discretizes the 3D model through meshing, and creates the finite element model of branches. Because the branches have cylindrical structures, to better adapt to the arc of the cylinder, the tetrahedral mesh was used to divide the branches. In order to give consideration to calculation accuracy and efficiency, the mesh size of the branch was set at 5 mm, and the mesh size was set at 1 mm at the junction of branches and supports and at the junction of branch and fruits, as shown in
Figure 3c. The model contains 16,458 elements and 33,366 nodes.
2.4.2. Simulation Parameters
The parameters used in the finite element model of the branches include material density, elastic modulus, and Poisson’s ratio. The density of the material was measured using the drainage method (Standard: ASTMD854-10). In the measurement, the hanging fruit branches of the
Lycium barbarum were cut into small segments that were 20 mm long, and five segments were selected from the beginning to the end of the branches. Toluene solution was used as the measuring liquid in order to reduce volume measurement error [
1]. We placed 50 mL of toluene solution into a 100 mL measuring cylinder (type: 1601; measurement range: 0–100 mL; precision: 1 mL; manufactured by Tianjin Glass Instrument Factory, Tianjin, China) and dipped the sample into the toluene solution to obtain the volume. An electronic balance (type: Professional digital jewelry scale 8028-series; measurement range: 0–100 g; precision: 0.001 g; manufactured by Shenzhen Diheng Electronics Co., Ltd., Shenzhen, China) was used to measure the change in mass before and after the branch was put in, and the mass difference was calculated to obtain the mass of the branch. The ratio of mass to volume was calculated to obtain the branch density. The elastic modulus of fruit-bearing branches was determined by the stress–strain method [
1]. The formula for calculating the elastic modulus of the branch is as follows:
E is the elastic modulus of the branch in the formula.
A is the cross-sectional area of the branch. The diameter of the sample is measured using a Vernier caliper and calculated using the area formula of the circle.
l is the length of the branch sample, which is measured using a Vernier caliper.
F is the magnitude of the external force acting on the branch, and
l0 is the change in the length of the branch under the force
F, which is obtained using the loading test of the universal testing machine. By substituting each piece of data into the formula, the elastic modulus of the hanging fruit branch can be calculated as shown in
Table 1. Zhang Zui measured the elastic modulus of branches in the range of 420.96–749.28 MPa by using the similar method in [
29]. The average elastic modulus of all branches of
Lycium barbarum given in [
30] is 665 MPa. This shows that the calculation results of the elastic modulus in this study are reasonable.
The Poisson’s ratio for wolfberry branches has been measured or used by many people. Hu Mingming set the Poisson’s ratio of goji berry branches at 0.3 during his modal analysis of goji berry plants in 2018 [
30]. The average Poisson’s ratio of branches determined by Zhang Zui in 2016 was 0.327 [
29]. When He Miao studied the dynamics of
Lycium barbarum plants in 2018, she set the Poisson’s ratio of
Lycium barbarum branches at 0.3 in the simulation calculation [
31]. In 2021, Zhao Jian conducted a simulation test of wolfberry fruits falling off by force, and the Poisson’s ratio of hanging fruit branches was 0.3 [
1]. Therefore, Poisson’s ratio of branches of the
Lycium barbarum was assumed to be 0.3 as shown in
Table 1.
2.4.3. Physical Model
L. barbarum branches are subject to gravity and the tensile force of fruit and leaves at the nodes. According to the growth and force directions of branches, branches are mainly subject to shear force and therefore belong to the beam element. The most common three-dimensional beam element models used in ANSYS static analysis are the beam4 constant section and beam187 variable section beams. The diameter of the
L. barbarum branches decreases from the base circle to the top circle, meaning they should be categorized as variable section beams. Therefore, the beam187 variable section beam element is selected. The whole branch is regarded as a Euler beam, with six degrees of freedom per solving element, i.e., three linear degrees of freedom and three rotational degrees of freedom. The deflection curve differential equation of Euler beam under load [
32] is:
In this formula,
EI is the bending stiffness and
M(
x) is the bending moment at the section. This is a nonlinear equation, and the exact solution is challenging to obtain. Many scholars have simplified this formula for different applications and to improve its practicability [
32]. However, the obtained differential equations are still challenging to apply to the direct calculation results to drive the three-dimensional modeling of branches. In this study, the finite element solution was used to obtain the deformation shape of branches.
2.4.4. Constraints and Loads
The root of the superior branch of the fruit-hanging branch is subject to fixed constraints, and the superior branch plays a supporting role with the fruiting branch. The load on the branch includes its gravity, the tension caused by the gravity of the fruit and leaves at each node, and the pressure of the lower branches. The gravity of the branch itself is applied by inertial load, and it can be calculated according to Formula (3):
where
G1 is the branch gravity,
ρ is the branch density, and
g is the gravitational acceleration. Using the circular platform volume formula and Formula (1), the relationship between the gravity of the branch itself and the branch length can be obtained as follows:
The maximum ratio of the number of flowers to the number of Chinese wolfberry fruits could be calculated in the first ten days of June. At this time, the root fruit of the branch is the first to mature, while the fruit that matures at the beginning of July is in a state of flowering, and the ratio of flowers to fruit is close to one. Considering that there are two ripe fruits, four green fruits, six flowers and three leaves on the node, it is calculated that the flower mass accounts for 6.7% of the node mass, and that this ratio decreases rapidly with the increase in the number of mature fruits. Therefore, the flower quality is ignored in the simulation. The number and quality of growing leaves, mature fruits, and immature fruits at each node were averaged to determine the concentrated mass force applied on each node as follows:
where
G2 is the equivalent tension at the node,
n1 is the number of ripe fruits at the node,
n2 is the number of unripe fruits at the node,
m1 is the mass of ripe fruits,
m2 is the mass of unripe fruits, and
m3 is the mass of the fruit stalk. If the fruit-hanging branch has lower branches at the node, the force of the branches on the fruiting branch was applied in the same way as the inertial load, and the load was calculated by Formula (3).
Figure 4 shows the constraint and load application positions. In the figure, A is the fixed constraint, and the rest represent at each stage the concentrated mass force applied at the respective node.
2.5. Sequential Loading Test
In the experiment, the weight was loaded according to fruit maturity at each stage of the branch to simulate the bending process of the branch in its natural state. Therefore, a total of five loads were performed. First, only the gravity of the branch was loaded, that is, the inertial load marked by K in
Figure 4. Second, based on the K load, three concentrated mass forces were applied on nodes B, C, and D, at the root of the branch. E, F, and G loads were then applied. The third load was based on the above loads. The fourth load continued to increase the three concentrated mass forces of H, I, and J. For the fifth load, the branch load was increased at C, E, and G.
Before solving, ‘path’ was added in WORKBENCH to the branch centerline to obtain the coordinate values of the branch centerline before and after deformation to determine the branch shape curve.
2.6. Orthogonal Simulation Test
Through intuitive understanding, it can be found that the overall shape of fruit-hanging branches is a part of quadratic or higher-order curves. Determining the parameters describing the curve, that is, the coefficients of polynomial items, is the key to accurately describing the shape of the branches. It was assumed that the highest order term of the polynomial describing the shape of fruit-bearing branches is less than cubic; that is, the prediction polynomial coefficient of the shape curve is 3–4, and the expression of the shape curve is assumed as follows:
where,
x and
y are the horizontal and vertical coordinates of each point on the centerline of the branch under the branch coordinate system, defined in
Figure 3a. The branch coordinate system takes the center of the base circle of the branch as the coordinate origin, parallel to the ground and along the branch direction as the positive direction of the
x-axis, and downward perpendicular to the ground as the positive direction of the
y-axis. The coefficients of the morphological curve are
a1,
a2, a
3, and
a4 (
a1 might be 0). They are all functions that have branch length, growth angle, and implantation position as independent variables.
To investigate the relationship between branch length, growth angle, planting position, and each coefficient, three-factor and three-level orthogonal simulation experiments were carried out. The levels of branch length (A) and growth angle (B) are determined to be 300 mm, 550 mm, and 800 mm, and 40°, 60°, and 80°, respectively, according to the measured size distribution. The fruit-bearing branch attachment position (C) codes are 1, 2, 3, and 4. The Box–Behnken method of orthogonal tests establishes the efficiency and effectiveness of the test.
Table 2 shows the tests arrangement.
2.7. Comparison and Verification between Branch Shape Prediction Curve and Real Curve
Because the branches are soft, shaking, and sheltered from each other in the full productive stage, it is difficult to ensure the accuracy of the abscissa and ordinate of each point of the branches by directly measuring the real branch shape. Therefore, the image recognition method described in reference [
33] was used to determine the coordinates of each point on the branch centerline. The length, growth angle, and growth position of branches were measures using field pictures. Branch edges and non-target areas were manually identified. The true-color image was transformed into a gray image in Matlab R2010a (MathWorks.Inc., Natick, MA, USA), and the gray image was transformed into a binary image using fixed threshold segmentation. The find function was used to derive the coordinates of non-zero pixel values of the picture, that is, the coordinate values of all pixels on the branch. The pixel coordinates of each point were transformed into length coordinates using the image scale, and then the coordinates were transformed from the picture coordinate system into the branch coordinate system to obtain the horizontal and vertical coordinates of 50 equidistant points on the branch centerline.
The length, growth angle, and growth position serial number of the above branches were brought into the morphological prediction curve equations to obtain the prediction curve equation results. Fifty abscissae equidistant in the x direction and were brought into the prediction curve to obtain the coordinate values of 50 points on the prediction curve.
The abscissa and ordinate values of 50 equidistant points on the centerline of the real branch were compared with the abscissa and ordinate values of the 50 points on the shape prediction curve, and the deviation was used to evaluate the accuracy of the prediction curve.
4. Discussion
The fruiting branches begin to sprout and grow in April each year. With branch length and diameter growth, the leaves and fruits on each node of the fruit-bearing branches gradually develop and grow. In this process, the branch load gradually increases, their lignification degree gradually increases, and their shape gradually bends, which is irreversible. Therefore, the branches reached the final bending shape at the full fruit stage with the maximum load. In mid-June, the fruit on the upper end of the fruiting branch develops and ripens first, followed by the fruit in the middle of the branch, and finally by the fruit at the end of the branch. This also explains why the fruit begins to mature from the root of
L. barbarum branches. The lignification of fruit branches is a gradual process. Compared with the apical fruits, root fruits are less likely to maintain the stability of the
L. barbarum plant system due to the shorter force arms and less load on the branch system when they mature. Although the load increases significantly when the terminal fruit is mature, the plant system is developed enough to maintain its stability with the gradual lignification of fruit-bearing branches. In order to study the damage to broad-leaved trees caused by wind load, the deformation model of trees under the action of gravity was also established in [
34]. In that study, the tree data were first obtained by ground lidar, and the tree model was reconstructed. Then the anti-gravity load was applied to the trees to obtain the plant model without gravity. The study shows that the effect of gravity load on the deformation of branches is a cumulative effect. This is similar to the results of this paper.
In order to verify the accuracy of the model, it is necessary to establish a plane coordinate system for the actual branches which is exactly the same as the simulation calculation. However, the actual coordinates of each point on the axis of the actual branch are difficult to obtain by measurement. This is due to the fact that the shape of the actual branch is three-dimensional, and there is a sudden change in the diameter of the branch node. The branches have unsmooth bending to obtain more light. The error of points no. 41, 43, and 44 exceeds 25%, which may be caused by pruning or spatial competition among branches. Catherine Jirasek pointed out in [
35] that, under natural conditions, the bending of branches is sagged by their load, and also affected by phototaxis, artificial pruning, and lateral wind, and therefore making calculations is very complex.
The modeling of
Lycium barbarum was also studied in [
1]. In order to ensure that more ripe fruit and less green fruit is obtained during the harvest process, simulation experiments and field experiments on the shedding sequence of fruit and fruit stalks from branches under tension were carried out. In [
1], the fruit-pedicel-stalk-branch system was constructed by reverse engineering. The reverse engineering method constructs the three-dimensional model completely according to the real object, and the model accuracy is therefore high, which provides a reliable geometric model for simulation analysis. However, the reverse engineering method is completely based on physical creation, and the flexibility of the model is poor. Reverse engineering with the help of 3D scanning methods for reconstruction requires the creation of the complex branch structure of the whole plant (including thousands of leaves and dozens of hanging fruit branches), or even different branch types of multiple plants. The modeling process is not efficient enough to meet these needs. In this study, the parameters that determine the branch shape (length, growth angle, and growth mode) can obtain from the actual branches, or can be randomly determined by the research needs within a reasonable range. After these three parameters are determined, the branches in accordance with the growth law can be obtained by the branch shape prediction model. It should be pointed out that the branch morphology predicted in this study is one of the actual growth forms of branches. This is because the branches with the same length, growth angle and growth position will have some differences in growth morphology when affected by water stress, nutrient competition among branches, accumulated temperature during the growth period, and so on. In order to study the power transfer characteristics of
Lycium barbarum plants, the three-dimensional model of
Lycium barbarum plants was established by measurement, and the decreasing characteristics of power among all levels of branches were determined in [
31]. In this study, because of the large number of hanging fruit branches and the difficulties of measuring the bending shape, the three-dimensional model does not include hanging fruit branches in order to facilitate the analysis, and the study does not include the dynamic transfer characteristics from hanging fruit branches to the
Lycium barbarum fruit. The actual measurement can truly reflect the geometric shape of specific plants, but the complex bending shape of fruit branches and the large number of fruit branches bring difficulties to the measurement.
Since 1959 [
36], researchers have tried to calculate the geometric shape and internal stress of branches under gravity and ecological constraints by means of mechanical analysis. Fournier obtained a semi-analytical solution [
37], and Fourcaud developed a numerical finite element model [
25,
26] to adjust the branch shape. The above methods focus on establishing the mechanical equation and solving the equation to generate the geometric shape of the branch. However, after the branch parameters are given, they still need finite element calculation to obtain the branch shape. In a 2014 study [
38], Guillaume reconstructed the biomechanical model of branches considering the effect of progressive maturity on branch morphology. These studies aim to explore the mechanism of branch morphological development and establish the mechanical model of plant morphology. In our study, the progressive, mature finite element calculation is considered to ensure the accuracy of the model prediction, and the prediction equation is determined by orthogonal simulation experiments to ensure the rapidity of modeling. Therefore, we can flexibly and quickly create a three-dimensional model of the hanging fruit branch.
The efficient establishment of a branch bending model is helpful to further study the harvesting mechanism of Chinese wolfberries and improve the development efficiency of Chinese wolfberry harvesters. It can be seen from references [
1,
31] that due to the limited accuracy and efficiency of branch bending modeling, some studies are carried out only on a single fruit branch, while others directly ignore the role of fruit branch, which reduces the generality and reliability of the research results. By carrying out simulation research on the basis of this study, we can quickly obtain a large number of shapes of fruit-hanging branches in accordance with mechanical law so as to quickly establish the three-dimensional model of fruit-hanging branches. In the analysis of vibration harvesting mechanisms, fruit branches with different lengths and branch angles can be created flexibly, and the finite element method can be used to solve the vibration response of branches. In the simulation analysis of airwave picking, we can create a single fruit branch or multiple fruit branches growing in various ways, so as to study the effect of different air flows. In the simulation research process of medlar pruning and pesticide application, the crown shape or application position of the rich fruit branches can be more intuitively viewed.
The next step of this study is to construct the whole plant model, and explore the dynamic response of leaves and fruits under the action of contact force and air flow. On the other hand, it is necessary to introduce more influencing factors in the construction of the plant model to improve the openness of the prediction model and incorporate different Chinese wolfberry varieties and berries to expand the application of the model according to their own cultivation characteristics.
5. Conclusions
The prediction model of fruit-bearing branch bending of L. barbarum was obtained through the finite element simulation test of branches. The experimental analysis shows that the prediction result of the cubic model is better than the quadratic model. The length of branches has a significant impact on the cubic and quadratic term coefficients of the prediction model, the growth angle of branches has a significant impact on the primary phase coefficient of the prediction model, and the constant term of the prediction model of different fruit-bearing branches has little change. The growth position of branches had no significant effect on the bending shape of branches.
The large deformation and sagging of fruit-bearing branches of L. barbarum is mainly caused by the loads of mature fruits and lower branches. Therefore, the longer the branch, the more nodes on the branch, the more fruits and branches growing on the branch, and the greater the bending deformation of the branch. The bending of fruit-bearing branches is an irreversible process of gradual development, and the branches reach the final shape in the full production stage. The fruit ripening sequence on the fruit-bearing branch is conducive to protecting the stability of the plant structure.
The branch shape prediction model better simulates the branch shape, but the coordinate error of the corresponding points is still large. Adding more factors, such as the phototaxis of branches, artificial pruning, and nutritional competition between branches, into the model to obtain a more accurate prediction model is the next step for this research.