Optimization and Experimental Study of an Intelligent Bamboo-Splitting Machine Charging Manipulator

A nonautomatic bamboo-splitting machine must charge with material and change tools manually. However, manual charging is very dangerous. An intelligent bamboo-splitting machine can feed automatically and change tools intelligently and has broad application prospects. A charging manipulator is an important part of an intelligent bamboo-splitting machine. *e size of the manipulator was optimized here using a genetic algorithm. *e capture rate, centering rate, and dynamic characteristics of an intelligent bamboo-splitting machine charging manipulator, in which key factors were considered, were experimentally studied. First, three different manipulators, with arm lengths at 210, 220, and 230mm, were developed. *en, the bamboo materials were divided into three gradients (60–85, 85–110, and 110–135mm) according to diameter ranges. Accelerators were used to measure the manipulator arm dynamic characteristics, and a high-speed charge-coupled device was used to record the grasping process. Experimental results showed that the manipulator capture rate with an arm length of = 220mm was as high as 100%, but that of manipulators with arm lengths of = 210 and 230mm was 96 and 98.67%, respectively. *us, the manipulator with a 220mm arm length showed better performance than the other two manipulators. Trend curves of the influence of material diameter on capture time were similar to an exponential function.


Introduction
Asia Pacific, America, and Africa are the main distribution areas of bamboo in the world [1]. In Asia, bamboo plants are mainly distributed in China, India, and other developing countries. Bamboo grows rapidly and has good mechanical properties, such that it can be processed into many kinds of daily necessities. e production process of bamboo products is shown in Figure 1. Bamboo material is split into pieces by a bamboo-splitting machine. en, it is drawn into a silk from by a wire-drawing machine, dried, and finally processed into products, such as toothpicks and chopsticks.
us, a bamboo-splitting machine plays an important role in bamboo processing. A nonautomatic bamboo-splitting machine must charge with material and change tools manually. However, manual charging is very dangerous. An intelligent bamboo-splitting machine can feed and charge automatically and can change tools reliably and therefore has broad application prospects. A charging manipulator is an important part of an intelligent bamboo-splitting machine.
As an important part in many kinds of intelligent machinery, many studies have been conducted regarding various manipulators, such as a flexible manipulator [2,3]. Peng et al. have studied an apple internal-quality-grading manipulator [4]. Li et al. have designed a kind of transplanting manipulator [5]. Wan et al. have carried out dimensional synthesis of a parallel manipulator using a particle swarm optimization algorithm [6]. A reconfigurable 6-degree-of-freedom (DOF) manipulator has been optimized [7], in which three performance criteria have been combined using the weighted-sum approach and optimization was carried out using the sequential simplex method. Mandur and Budman have discussed a method for updating mechanism model parameters using state measurements [8,9]. Okazaki et al. have developed a 6-DOF manipulator driven by McKibben artificial muscles [10]. A P-4R (prismatic-four-rotational-joint) has been proposed to measure a high-temperature steel cylinder robotic system [11]. Abe has built a dynamic model for a planar flexible-rigid manipulator by assumed mode method (AMM) [12]. Abe defined trajectories as cubic splines and used particle swarm optimization (PSO) to optimize the spline control points. Trajectory functions have been defined as high order polynomials for planar flexible manipulators [13]. A 7-DOF manipulator has been designed, actuated entirely by antagonistic McKibben artificial muscle pairs [14]. Ahmad et al. have proposed a PD-type fuzzy logic controller for tip angular position control in a flexible joint manipulator [15]. Nikdel et al. have also developed a fuzzy approach based on the parallel distributed compensation technique in controlling a flexible joint robot [16].
A genetic algorithm, analytical approach, and linearleast-square (LLS) method are widely used in mechanism design. For example, Li and Xu have used a genetic algorithm to optimize a planar 3-DOF parallel manipulator [17]. Gao et al. have applied a genetic algorithm based on the Pareto front approach to synthetize a 6-DOF parallel manipulator [18]. A genetic algorithm has also been adopted to optimize the parameters of cubic polynomials, in which four cubic polynomials are used to describe angular velocities of a flexible manipulator's two joints [19]. Chen et al. have proposed an analytical approach to determine the redundant parameters for the calibration of serial manipulators [20]. A manipulator has been studied using an electrostatic model [21]. An approach to consider the bearing's contribution to the manipulator dynamics has been introduced [22]. Liu et al. studied an elliptical boundary model method detecting object for intelligent machinery [23,24]. Bucolo et al. studied control methods of imperfect dynamical systems [25,26]. e complex characteristics of bamboo-splitting processes make it expensive to devise an accurate mechanism. An empirical model in which a certain degree of expertise is required is somewhat easier and more suitable for mechanism design. In this paper, the charging manipulator of an intelligent bamboo-splitting machine was optimized using a genetic algorithm, and a series of experiments was conducted to study key performance characteristics, such as capture rate, centering rate, and dynamic characteristics.

Composition of an Intelligent Bamboo-Splitting Machine.
In general, an intelligent bamboo-splitting machine includes a feeding mechanism, charging manipulator, tool changer, and control mechanism ( Figure 2). A local structure of an intelligent bamboo-splitting machine was developed for this study, where (1) is the charging manipulator, (2) represents the feeding mechanism, (3) represents the frame, (4) represents the pushing mechanism, and (5) represents the automatic tool changer (Figure 3). e feeding mechanism (2) fed bamboo materials and concurrently measured diameters automatically and continuously, the charging manipulator (1) grasped material accurately, the pushing mechanism (5) pushed materials continuously to the tool, and the automatic tool changer (5) changed tools automatically according to material diameter. e workflow chart of this intelligent bamboo-splitting machine is shown in Figure 4. During operation, the tool was first reset. During feeding, the bamboo diameter was measured using a laser beam sensor. e machine then selected the tool automatically according to the measured diameter. At the end of the feeding process, the bamboo arrived at the tray and was picked up by the charging manipulator, grasped, and centered. en, it was pushed into the tool by the pushing mechanism.

Manipulator Design and Optimization.
e manipulator structure has a great influence on its stability and motion performance, and thus it was necessary to obtain the ideal motion performance through optimization. In the process of optimization, the working space of the manipulator needed to be maximized, but its flexibility and stability needed to satisfy the working requirements.
Two optional structures of the manipulator are shown in Figures 5(a) and 5(b). As the sizes of big and small arms are the same, the workspace of these two manipulators is drawn together with the solid lines in Figure 5(c) representing the manipulator of Figure 5(a), and the dotted line represents that of Figure 5(b) after movement. It was obvious that, under the condition of the arm and joints sizes being the same, the target trajectory of the mechanism shown in Figure 5(a) was larger than that in Figure 5 erefore, the charging manipulator in Figure 5(a) was adopted.
e manipulator in the configuration grasped the target object through an up and down movement of a pneumatic cylinder and rotations of the shoulder, elbow, and wrist joints. Due to the limitation of the overall size of the intelligent bamboo-splitting machine, the working path of the manipulator fingers must meet formula (1) to grasp the target object.
To make the manipulator reach the maximum target trajectory with minimized size, the objective function is written as   Journal of Robotics e optimization function must be subject to formula (1) to reduce the manipulator weight and ensure that the manipulator is lighter and more flexible. e ranges of a, b, c, d, θ 1 , and θ 2 were from 0 to 300 mm, 0 to 400 mm, 0 to 500 mm, 0 to 300 mm, 0 to π/2, and 0 to 3π/4, respectively.
is size optimization problem was solved using a multivariable genetic algorithm, and the algorithm flow is shown in Figure 7. A set of initial values satisfying the conditions was selected to start the optimization process. e initial population number was set as 50, the maximum evolution generation was set as 100, the crossover probability was set at 0.7, the mutation probability was set at 0.01, and the termination condition was set such that the average changes of fitness function were less than 10 −2 .
e algorithm actually evolved 97 generations, with the optimized result of these parameters for a, b, and d equal to 190, 220, and 220 mm, respectively ( Figure 8). e total length of rods c and d needed to meet c + d sin θ 2 ≥ 600 because 0°≤ θ 2 ≤ 3π/4, 0°sin θ 2 ≤ 1. erefore, c + d ≥ 600, when c + d � 600, such that the object function was minimized, and the length of rod c was 380 mm.

Optimized Charging Manipulator.
e structure of the optimized charging manipulator is shown in Figure 9. It mainly included a cylinder (1), five hinges (10), two big arms (6), two small arms (7), two wrist joints (8), a V-shaped finger (11), and two U-shaped fingers (9). It had four columns (3), two upper beams (2), and two bottom beams (4). e cylinder (1) was mounted on upper beam (2) using bolts. Component (10) acted as a shoulder, which was mounted at the end of cylinder piston. One end of big arm (6) was connected with component (10) and another end connected with small arm (7) a through hinge. e upper end of small arm (7) was mounted on a hinge, which was also mounted on a rotation axis. V-shaped fingers (11) and U-shaped fingers (9) were mounted on the bottom end of small arm (7). In the process of charging, bamboo was picked up by U-shaped fingers (9). Next, the sample was urged to the front of the pushing mechanism before touching V-shaped fingers (11). en, it was caught and tightly fastened between the U-shaped (9) and V-shaped fingers (11).

Materials.
e test samples were bamboo of different diameters felled at the end of September 2019 at Nankun    Figure 10. e sample diameters were a key parameter in this study and equal to the average of the diagonal outer diameters of both sample ends, measured using a caliper.

Methods.
A previous study has demonstrated that when the length of big arm was between 200 and 240 mm, the manipulator could grasp bamboo materials of common diameters. erefore, three manipulators, with big arm lengths of 210, 220, and 230 mm, were developed for this trial  and comparison. Hereinafter, those three manipulators were referred to as manipulators A, B, and C, respectively.

Grasp Reliability and Accuracy Test.
e rate and centering rates were two parameters used to determine the grasping reliability and accuracy. Samples were divided into three gradients: 60-85, 85-110, and 110-135 mm according to diameter differences. If a sample was tightly captured between V-shaped and U-shaped fingers, the grasp was successful. erefore, the capture rate was calculated by the number of successfully grasped samples divided by the total number of grasped samples.
If the distance between tool and sample centerlines was less than or equal to 5 mm, the charging was accurate enough for useful production. Otherwise, the charging failed. us, the centering rate was computed by the number of successfully charged samples divided by the number of total charged samples. To estimate whether the charging was successful or not, a laser pointer was installed at the tool head center. At the end of every charging test, the distance between the laser light point and the center of the bamboo sample was measured using a caliper.

Dynamic Characteristic Test.
To analyze the instantaneous movement of samples, a mercury series mer-030-120gx-pdes Poe Ethernet interface CCD was used to capture images of the grasping process. Its acquisition frequency was at 20 frames per second. Four images are shown in Figure 11, including before grasping (Figure 11(a)), a manipulator touching a sample (Figure 11(b)), a manipulator grasping a sample (Figure 11(c)), and after grasping was finished (Figure 11(d)).
A piezoelectric accelerometer (Chengke CT1010SLFP) was installed on manipulator wrist joint to detect its acceleration. e sampling frequency of the accelerometer was set as 1 kHz, and the measured voltages of acceleration signals, termed V x , V y , and V z , were converted into X, Y, and Z axis accelerations, termed a x , a y , and a z , through a USB-6001 acquisition card, and input into a computer using USB 2.0 port (Figure 12).
An expression used to calculate the magnitude of the acceleration vector a r was obtained using (3), which was obtained in terms of its components a x , a y , and a z , using the Pythagorean theorem.
where Med |a r | i represents the median of the resultant acceleration peaks for grasping the i sample and n represents the quantity of data in a group. An example of X, Y, and Z axis accelerations detected by the accelerometer is shown in Figure 13. e magnitude of acceleration vectors calculated from the accelerations in Figure 13 is shown in Figure 14. By analyzing the acceleration curve, the start and end time points of the grasp were found. Furthermore, the total period of grasp process was calculated using the following equation: where n is the sampled acceleration signal number from being a sample picked up to grasped firmly and f is the sampling frequency of the accelerometer.

Grasp Reliability and Accuracy Test.
Experimental results for the capture and centering rates of manipulators A, B, and C are shown in Table 1. e average capture rate of manipulators A, B, and C were 96, 100, and 98.67%, and their centering rates were at 87.52, 90.45, and 88.35%, respectively. In general, the average capture rate for grasping samples of 85-110 mm diameter was the highest and that for grasping samples of 60-85 mm diameter was the lowest. ere results also demonstrated that the capture rate of manipulator B was as high as 100%, and therefore manipulator B was the most suitable for this intelligent bamboosplitting machine. e average centering rate of this experiment was <91%. e captured images showed that the   Figure 15, which demonstrated that capture time decreased with sample diameter. No significant capture time differences were observed among these three manipulators in grasping samples with diameters between 105.1 and 114.4 mm. e trend curves of the influence of sample diameter on average capture time were similar to exponential curves; the fitted curve expressions are listed in Table 2.
No matter which manipulator was used for grasping, the average acceleration decreased with decreased sample diameter ( Figure 16). e longer the big arm was, the greater the average acceleration became. e trend curves of the influence of the sample diameter on the average acceleration were also similar to exponential curves; the fitted curve expressions are listed in Table 3.

Discussion.
e longer the big arm was, the larger the grasping force of the manipulator was, and the faster the grasping speed was. Captured images showed that in grasping with manipulator C, small samples always slipped in the groove of U-shaped fingers acting at high speed, and some samples stuck between U and V-shaped fingers at wrong positions.
us, the capture rate of manipulator C grasping samples of diameters between 60 and 85 mm was only 96%. If the big arm was too short, the grasping force became too small to grasp small materials, which also explained why the average centering rate of manipulator A was the lowest.
When picked up by U-shaped fingers, big samples can barely slide, being captured firmly and quickly. erefore, the required time for grasping big samples was shorter. If the big arm was too short, the grasping force became insufficient and materials vibrated in U-shaped fingers with a large amplitude. is explained why the required time for manipulator A for capturing samples was the longest.
e captured images showed that small samples vibrated violently in U-shaped fingers. Due to the size limitation of U-shaped fingers, the vibration space of large samples was limited. As the big arm became longer, the grasping force became larger and the instantaneous grasping acceleration became larger.
is explained why the detected average acceleration of manipulator C was the highest.

Conclusions
Experiment results showed that the average capture rate of manipulator B was 100%, and its average centering rate was 90.45%. erefore, it grasped samples with different diameters successfully. e size of manipulator B was also equal to our calculated optimal size. ese    e trend curves of the influence of sample diameter on average grasping time were similar to exponential curves, and the fitted curve expression of manipulator B was t � 2.8384e −0.038d . e trend curves of sample diameter influence on the average acceleration were also similar to exponential curves, and the fitted curve expression of manipulator B was a � 24.472d −0.17 .

Data Availability
e processed data required to reproduce these findings cannot be shared at this time as the data also form part of an ongoing study.

Conflicts of Interest
e authors declare that they have no conflicts of interest.