Design and Testing of Accurate Dicing Control System for Fruits and Vegetables

: It is hard to control the dicing size of current fresh-cutting devices for fruits and vegetables precisely, and this can be inﬂuenced by complex working environments. This paper looks at traditional three-dimensional fresh-cutting machines and, apart from analyzing the force-and-motion equation to determine the minimum rotational speed of the roller, the cross-cutting tool’s independent drive system, the speed detection system of the material before dicing, and shaft-speed monitoring have also been analyzed in order to develop precise control technology for three-dimensional fruit and vegetable dicing by considering dicing input-speed detection and by ﬁne-tuning the cross-cutting tool’s dicing speed. Performance tests are carried out on the prototype before and after improvement. The results show that when the size of carrots and potatoes was 11 mm × 10 mm × 10 mm and 11 mm × 10 mm × 12 mm, the slice thickness and strip thickness error before improvement were 20% and 5%, respectively. Due to the structural limitations, the slice error was large, but the strip error as ideal. The dicing error was greater than 15% due to the different damping coefﬁcients of the materials and the variable speed movement. After the adjustment, the overall dicing error was less than 10%, and the accuracy and stability were higher.


Introduction
The fresh cutting of fruits and vegetables, which mainly includes slicing, strip cutting, and dicing, is an important part of fresh product production in the current fruit and vegetable production chain. With the development of urbanization, people are now moving towards efficient and fast-paced household lifestyles. An increasing need for fresh-cut fruits and vegetables is seen among residents, so the supply of them has been rising in markets, takeaway food outlets, and in logistics. At the same time, major catering enterprises need more fresh-cut fruits and vegetables to save time. Moreover, consumers are also picky about the shape of fresh-cut fruits and vegetables, as messy and irregular fruits or vegetables are less appealing. Therefore, high-precision fruit-and vegetable-cutting machinery is urgently needed to meet current market demand [1,2].
In the process of the modern manufacturing industry's progress from industry 4.0 to 5.0, people are now exploring technology for machine control and intelligence, trying to apply it to industries [3,4]. Filipescu A et al. [5] proposed a communication and control architecture with a flexible assembly and a maintenance-integrated production line based on complex autonomous systems. Morgan J et al. [6] reviewed the basic research on these topics; on the problems and challenges of reconfigurable systems (RMS); and on the related technologies and prospects of machine control and machine intelligence. Morgan's research showed readers the ability of next-generation industry 4.0 machines to demonstrate intelligence and reconfigurability. Massaro A et al. [7] designed an intelligent control and drive system of dicing tool are isolated by sealing structure, the working area of which generates no gas, liquid, or other pollution, making the machine structure compact.
When the machine is working, fruits and vegetables are placed into the roller, while the motor drives the roller rotation, causing the propeller to rotate the fruits and vegetables at a high speed and pushing the fruits and vegetables to the fixed location of the slicing tool to undergo slicing. Sliced fruits and vegetables enter the strip-cutting interface at a certain speed and are strip cut by a combination of the strip-cutting tool, gravity, and the corresponding friction. Finally, the strip-cut fruits and vegetables are diced in the discharge hole by the dicing tool. The cutting speed ratio is calculated according to the design of the three-dimensional cutting size requirements.

Design of Minimum Rotational Speed for Fruits and Vegetables Cut by Centrifugal Force
In the process of fruit and vegetable slicing, apart from ensuring the cutting force of the tool, fruits and vegetables should be close to the inner shell of the roller to prevent the fruits and vegetables from jumping, affecting the precision of the slicing. The centrifugal cutting force of fruits and vegetables [19,20] is expressed in Figure 1. According to the force analysis at the cutting position in Figure 1, the dynamic balance equation without cutting force is: G· sin(2π − α − γ) + T 1 = T 2 · sin(β + γ) + F + u s ·T 2 · cos(β + γ) G· cos(α + γ) + T 2 · cos(β + γ) = u d ·T 1 + u s ·T 2 · sin(β + γ) where G is the fruit and vegetable dead weight, N; T 1 is the tangential force exerted by the inner wall of the roller on the fruits and vegetables, N; T 2 is the normal baffle force on the fruits and vegetables, N; f 1 is the friction force on the contact surface between the fruits and vegetables and the inner wall of the roller, N; f 2 is the friction force between the fruits and vegetables and the baffle, N; F is the centrifugal force on the fruits and vegetables, N; α is the rotation angle of the fruits and vegetables rotating clockwise along the X-axis to the position to be cut, rad; β is the included angle between the baffle and the center of the circle, rad; γ is the included angle between the center of gravity of the fruits or vegetables and the other end of the baffle to the center of the circle, rad; u s is the static friction coefficient between the fruits and vegetables and the baffle; and u d is the dynamic friction coefficient between the fruits or vegetables and the inner wall of the roller. It can be derived from Equation (1) that where T 1 is the resultant balance force exerted by the fruits and vegetables, and F is the centrifugal force exerted by the fruits and vegetables, which is calculated as follows: As shown in Equation (2), when T 1 ≥ 0, the fruits and vegetables will cling to the wall of the roller. With the change in the rotation angle, when T 1 = 0, the corresponding critical value of ω 1 is different. Therefore, when one circle is rotating, the critical minimum rotational speed set at each position can be found. By choosing one of the largest values from the set, the minimum angular speed ω 1min satisfying the design requirements can be found. The minimum speed expression is as follows: The minimum rotational speed n 1min is as follows: where β, γ, R 1, and D are the fixed design values, and u s is the friction coefficient being tested. The speed changes with the variable α. In this paper, the maximum value n 1max = max(n 1min (α))(0 ≤ α ≤ 2π) is selected as the lower limit of the design. Matlab was used to simulate and solve the curves, as shown in Figure 2. According to the value of the lowest angular speed, the highest position n of the minimum rotational speed curve can be solved as follows:

Stress and Motion Analysis of Sliced Fruits and Vegetables
After fruits and vegetables have been cut by slicing tools, the sliced material will enter the downward transport mechanism and will arrive at the working area of the stripcutting tool via the effects of gravity and friction. Then, after being strip cut, the material is subjected to the downward slope friction, which gradually increases and then decreases with changes in the contact area. Until the material is completely strip cut, the speed of the sliced material is invariable under the combination of the variable friction of the slicing tool, the invariable gravity, and the slope friction of different friction coefficients (the water content and the distribution of components are different). Changes in this speed can be significantly influenced by the environment (humidity, temperature, material water content, and material fiber or starch, etc.), which cannot be calculated precisely. However, it is certain that the output speed of the strip material and the initial speed of the sliced material entering the slope is different. According to this feature, this research intends to design a material-conveying speed detection system to estimate the average output speed of strip materials, providing an optimal equation for dicing section shape with important parameters, guiding the precise operation of the cross-cutting tool, and improving dicing precision.

The Analysis of Section Shapes and Parameters of Dicing
In Jian-ping Hu's study [8], when fruits and vegetables move along the strip-cutting tool and the slicing output channel, assuming that fruits and vegetables move downward at a uniform speed and that the increased discharge distance per unit time is ∆s, as the factor of increasing speed caused by friction is not taken into account, the dicing size is always larger than the preset size, and the exceeding error is relatively large. In this paper, the speed of the added strip materials increases, which is caused by friction. As such, a fine-tuned model of the relative speed between the dicing tool and the strip-cutting tool is obtained, which is shown below.
As shown in Figure 3, the material moves downwards along the slicing tool. It moves at a variable speed through the friction cutting mechanism via the disc tool. The nose of the dicing tool cuts the material at point A. When the tool nose turns at angle ∅ towards point B through the tool shaft, point E in the material moves downwards at the distance of EB along the slicing tool. In the same way, when the nose of the dicing tool turns to point C, the corresponding point F in the material moves downwards at the distance of FC. Therefore, the curve AEF is the shape of the cutting line of the dicing section. The coordinate system in the figure above is constructed with the center of the dicing tool's axis as the origin. The equation for the dicing section's AEF is as follows: where h is the vertical distance from the center of the dicing tool to the back of the slicing tool, mm; d is the thickness of the sliced material, mm; R 3 is the radius of gyration of the dicing tool's nose, mm; ϕ is the angle that the dicing tool turns towards when cutting the material, rad; β is the angle between line AO and line AM, rad; v 2 = (ω 1 + ∆ω)·R 1 is the average speed detected by two pairs of photoelectric sensors after the material is cut, which is close to the real output speed, m/s; the angle between line AO and AM is β = arcsin h−d R 3 ; and the chord length is AB = 2R 3 sin ϕ 2 . According to the literature [8], the main factors that influence the dicing section's shape are the rotational speed of the centrifugal cutting roller ω 1 and the rotational speed of the dicing tool ω 3 . In this paper, the material moves at a variable speed during the strip-cutting process. The rotational speed ω 2 can accelerate or decelerate the material. Therefore, this paper intends to take the value of ω 1 ω 2 from Hu's study as a reference, while the detected average speed of the discharged strip materials is v 2 . Plane-coordinate fitting is carried out in Equation (1) to obtain the optimal symmetrical dicing arc surface, and finally, ω 3 is adjusted.

Improved Design Scheme of Three-Dimensional Dicing Machine
The improved design scheme of this machine can mainly be divided into two parts: the first part is the main components, including the combination of the slicing, strip-cutting, and dicing tools, feeding the silo and frame, and the other part is the electrical control system for the tool speed and the tool rotation. Among them, the slicing and strip-cutting components share one power supply that is equipped with one control system, and the dicing component is equipped with a separate control system.
Firstly, the design requirements are as follows: • Suitable for slicing, strip cutting, and dicing all kinds of fresh fruits and vegetables.
The design for the whole machine is described below. It can be seen from Figure 4 that fruits or vegetables first enter the feed inlet, and then, the propeller rotates, so the fruits and vegetables are loaded into the slicing component. Then, the sliced fruits and vegetables enter the disc tool's operation area and are cut into strips. After that, the strips of fruits and vegetables fall into the cross-cutting tool's operation area, are diced according to the tool size, and, finally, are discharged through the discharge port.
The rotary dicing device is driven by a three-phase AC variable-frequency asynchronous motor. A material sensor is installed before and after the discharge channel, and the output end of the material sensor is connected to the controlled end of the three-phase AC variable-frequency asynchronous motor through the control circuit. In this way, the control circuit can easily obtain the output speed of the material, which is cut into strips according to the signal difference between the front and rear material sensors, and can control the rotational speed of the rotary dicing device according to the corresponding setting requirements to realize precise size control during dicing in a closed-loop control mode.
It can be seen from Figure 5 that transmission sensor 1 is matched with receiver 1 and that transmission sensor 2 is matched with receiver 2. The two sets of sensors are located between the adjacent disc cutting tools and on the lower side. The two sets of sensors are distributed along the direction of the material at certain intervals. The speed can be calculated and analyzed based on the differences between the two groups of sensing signals. 3. cross-cutting tool assembly; 4. disc tool assembly; 5. slicing outlet; 6. propeller shell and valve assembly; 7. motor 1; 8. propeller drive assembly; 9. tension wheel; 10. disc tool drive assembly; 11. cross-cutting drive assembly; 12. motor 2 output wheels; 13. L-type double-sided toothed synchronous belt 1; 14. L-type double-sided toothed synchronous belt 2. Finally, the calculation principle of the real-time change in the driving parameters of the cross-cutting tool is as follows: In this machine, motor 1 works at 2.2 kW and is driven by a gear belt. According to the transmission ratio, the propeller's transmission wheel and the disc cutting tool's transmission wheel are driven. Motor 2, which works at 0.75 kW, is selected to drive the cross-cutting tool's transmission wheel through a synchronous belt.
In this machine, motors 1 and 2 output synchronous wheels with 32 teeth. The diameter of the propeller is 400 mm and has a synchronous wheel of 112 teeth. The diameter of the disc cutting tool is 100 mm, and the synchronous wheel has 28 teeth. The diameter of the cross-cutting tool is 220 mm, and the synchronous wheel has 27 teeth. According to the transmission mode before the modification of the plan, motor 1 drives the propeller and the disc tool. When motor 1 rotates at 680 rpm, the propeller rotates at 194 rpm, and the disc tool rotates at 777 rpm. According to the settings before the modification of the plan, the cross-cutting tool speed is 806 r/min and is output by motor 2, which has asynchronous wheel with 32 teeth, so the output speed of motor 2 can be preset at 806 r/min. In the following section, we will modify the output speed of motor 2 based on the actual detection speed.

Strip-Cutting Output Speed Detection and Dicing Speed for Fine-Tuning System Design
Firstly, the schematic design of the speed detection and dicing speed fine-tuning system is presented below.
This paper takes PLC as the field data processing equipment for the processor, and designs the circuit which matches the control in detail, including the power supply, alarm, sensor, interface converter, etc. as shown in Figure 6. As shown in Figure 6, the slave hardware adds two sets of transmission photoelectric sensors with a fixed distance s to realize the average speed detection of the material displacement of s distance. In order to ensure that the detection is not disturbed, the installation distance s of the two sets of sensors is required to be less than the minimum distance of strip material. The calculation logic is shown in Figure 6.
The selection of the specific components of the slave machine needs to be further screened, and the hardware performance should be examined in combination with actual needs. The hardware selection is as follows: PLC selects Mitsubishi FX2N-48MR-001, 24 points input, 24 points output, which meets the system requirements, and FX2N-48MR-001 comes with a transformer, which should be connected to an external 50 Hz, 220 V AC power supply; the power supply module uses DC24V to supply power to the sensor, and the model is SZCK-623-1; the communication interface chip selects RS484S_CTM8251T that matches the 485 trunk The output mode is asynchronous half-duplex differential output, the transmission rate is faster, 300~115.2 KBPS; the transmission sensor 1, 2, namely the transmission type photoelectric sensor, choose CX-412A-C05. The power supply voltage of the two sets of sensors is DC24V. Motor 1 selects YE3-112M-6, a three-phase AC asynchronous motor controlled by a 2.2 KW inverter, with a rated speed of 935 r/min. Motor 2 selects YE2-80M2-4, a three-phase AC asynchronous motor controlled by a 0.75 KW inverter, with a rated speed of 1390 r/min. The interface design of the upper computer adopts XinJie TG765-MT touch screen.
The system's software design is as follows: According to the system requirements, a flow chart of the main program of the slave machine is shown in Figure 7. As is shown in Figure 7, the main program of the slave machine is mainly composed of the slave machine itself and the sensors' data communication subroutine, timing subroutine, speed detection and inverter 2 control, and lower computer communication subroutine. Among them, the timing subroutine and the lower computer communication subroutine are shown in Figures 7 and 8.  A flow chart showing the design of the timing subroutine is shown in Figure 8. As shown in Figure 8, signal 1 represents the signal change in transmission sensor 1, and signal 2 represents the signal change in transmission sensor 2. When the material enters sensor 1 and covers the receiver, the signal is reduced, and the timer starts to count, waiting for the next command; when the material initially enters sensor 2 and the signal is reduced, the timer stops. At this point, the displayed time is the time required for the material to run the straight-line distance s; when sensor 2's signal is pulled up, it will exit directly; when the signal of sensor 1 is pulled up, the timer is reset.
Finally, in order to ensure the accuracy and reliability of data interaction between the upper and lower computers, MODBUS-RTU protocol is adopted. Based on the Xinjie TG765-mt touch screen and the xc2-42t PLC core hardware platform, serial port communication compatible with MODBUS-RTU is realized through RS232. The communication between PLC and the actuator through the 485 bus is realized by the same protocol.
An electrical control diagram of the drive motor is shown in Figure 9. It can be seen from Figure 9 that the inverter controls the forward and reverse rotation and speed of the motor, while other switches control the start and stop processes of the motor, and motor 2's control circuit is the same as above. In summary, according to the independent power supply of the cross-cutting tool, the early prototype was improved in two aspects: system mechanism improvement and control system design. The improved prototype is shown in Figure 10.

Test and Analysis of Specification Cutting Machine before Improvement
Experiments on carrots and potatoes with respect to slicing, strip cutting, and dicing were conducted. The results are shown in Figure 11. The statistical results of the test data are shown in the table below. During the slicing test, the gap between the edge-cutting tool of the roller and the wall of the feeding barrel was set to 11 mm, and the maximum slicing thickness was 11 mm. The speed of the drive motor was 680 r/min, so the speed of the propeller was 194 r/min. Under these conditions, the statistical output results of carrots and potatoes are shown in the table below. It can be seen from Table 1 that the overall error of carrot slicing is about 19.3% smaller, and that that of potato slicing is about 18.8% smaller. In the combined test implementing slicing and strip cutting, the gap between the edge-cutting tool of the roller and the wall of the feeding barrel was set to 11 mm, the maximum slice thickness was 11 mm, and the disc cutter was set to 10 mm. The speed of the drive motor was 680 r/min, so the speed of the propeller and the disc tool was 194 r/min and 777 r/min, respectively. In this case, the statistical output results are shown in the table below.
It can be seen from Table 2 that the comprehensive error of carrot slicing is 14.9% smaller and that the error of strip cutting is 1.7% smaller. The comprehensive error of potato slicing is 18.5% smaller, and the comprehensive error of strip cutting is 4% smaller. Due to the limitation of the tool gap and the size of the conveying cavity, the size of the material after being sliced and cut into strips is smaller, which is in line with reality.
In the test combining slicing, strip cutting, and dicing, the gap between the edgecutting tool of the roller and the wall of the feeding barrel was set to 11 mm, the maximum slice thickness was set to 11 mm, the disc cutting tool was set to 10 mm, and the preset size of the cross-cutting tool was 10 mm. The speed of the drive motor was 680 r/min, so the speed of the propeller, disc tool, and cross-cutting tool was 194 r/min, 777 r/min, and 806 r/min, respectively. Under these conditions, the statistics of the carrot and potato output results are shown in the table below. It can be seen from Table 3 that the carrot slicing thickness is 16.1% smaller, the stripcutting thickness is 2.6% smaller, and the dicing thickness is 13.4% larger; the potato slicing thickness is 21.1% smaller, the strip-cutting thickness is 3% smaller, and the dicing thickness is 19.3 % larger. The test analysis is shown below. The slicing analysis will be discussed first. It can be seen from Figure 4 that there is a certain gap between the slicing tool and the other side of the guide plate, which is adjustable. The gap is the set slicing thickness. Under the dual action of the propeller and the inner wall of the roller, relative movements can be observed in the fruits and vegetables as well as in the slices, causing fruits or vegetables separated from the slices and to be discharged along the gap. The inner wall of the cylinder is arc-shaped, while ideal slices are straight lines. The contact position of the propeller and the roller is inconsistent, resulting in the sliced material not being completely parallel on both sides, meaning that the curve may change. On the other hand, the discharge gap is set, and the thickness of the sliced fruits or vegetables is less than or equal to the gap thickness. There is no better solution for the error caused by the above structure, but in order to optimize the work quality, it is necessary to control the rotation speed of the roller, increasing the centrifugal force on fruits or vegetables to avoid loosening and resulting in greater errors. As shown in Tables 1-3, the combined errors of the carrot and potato slices are −19.3%, −14.9%, and −16.1% and −18.8%, −18.5, and −21.1%, respectively. This relative error rate will gradually decrease as the slice thickness increases, but it cannot be eliminated.
The strip-cutting analysis will be considered next. It can be seen from Figure 4 that the sliced material slides down along the inclined plane through the discharge channel, where the material is subjected to gravity, reverse friction, and the downward friction force of disc cutting tool. During strip cutting, the size comes from the gap distribution of the blades in the disc tool. Therefore, by adjusting the blade gap, the strip-cutting size can be controlled. By analyzing structure and motion law, the systematic error of strip cutting is very small and can be ignored. Therefore, the strip-cutting size is theoretically very close to the disc blade gap. While the size of the both ends of sliced fruits or vegetables is not controllable, affected by the shape of fruits or vegetables, which is an uncontrollable error from fruits or vegetables. The combined error of carrot and potato cutting is −1.7%, −2.6%; −4%, −3%, respectively.
Finally, we will discuss the details of the dicing analysis. According to the analysis of the dicing mechanism of fruits and vegetables in the first section above, the shape of the dicing section is affected by various parameters, such as the feed speed of the fruits vegetables, the speed of the cross-cutting tool, and the shape of the cutting tool. By establishing the curve equation of the dicing section, the curve of the dicing section is symmetrical, and the rotation speed of the cross-cutting tool is determined by combining the rotational speed of the cylinder and the disc cutting tool.
However, through the experiments, it was found that the actual error of the dicing size is relatively large. According to the cross-sectional equation, it was found that the feed speed of the material is equal to the output speed of the sliced material when the actual material is moving at a variable speed, which is caused by the uncontrollable friction coefficient, as the friction coefficient is related to water content and the proportion of the internal components of the material. The test results in Table 3 show that the combined error of carrot and potato dicing is 13.4% and 19.3%, respectively.
In summary, the dicing tool can be individually closed-loop controlled, and related experiments are carried out below.

Test and Analysis of Improved-Specification Cutting Machine
Using the improved prototype shown in Figure 10, on 3 June 2021, a dicing test was carried out at Jiangsu LiGong Fruit and Vegetable Machinery Co., Ltd.(Wuxi, China) The drive motor 1 was set to drive the slicing and strip-cutting mechanism, and the speed was determined to be 935 r/min. Drive motor 2 was set to drive the cross-cutting tool, and the speed was determined to be 1390 r/min. This test mainly aimed to achieve the 10 mm dicing requirement in the early stage of the experiment. Through the detection of the material-dicing conveyor speed and by displaying the decision value of the drive speed of the cross-cutting tool, the frequency of drive motor 2 was manually adjusted in order to compare the change in the dicing error before and after the prototype was improved. In addition, for 12 mm dicing, the dicing results were compared to those for the above-mentioned 10 mm dicing.
For the dicing test with the cross-cutting tool size preset to 10 mm, based on the test results and preset parameters before the improvement of the prototype, according to the output speed of drive motor 1, 680 r/min, the frequency of motor 1 was set to 36.36 Hz, and according to the output speed of the cross-cutting tool, 806 r/min, the frequency of motor 2 was set to 28.99 Hz. The carrot's movement speed, 0.07 m/s, and the potato's movement speed, 0.0696 m/s, were obtained from the sensor detection results. The frequency of the drive motor was adjusted from 2 to 30 Hz and 31 Hz for carrot and potato, respectively. The detection interface is shown in Figure 12. It can be seen from Tables 4 and 5 that the error of carrots ranges from −3% to 12%, and the average error is 3.3%; the error of potatoes ranges from 5% to 13%, and the average error is 9%. After fine-tuning motor 2, the average error rate is controlled within 10%.  As for the dicing test, where the cross-cutting tool had a preset size of 12 mm, the speed of each tool was set according to the previous theoretical calculations, and the setting principles were consistent with the preset parameters before the improvement of the prototype. The frequency ratio and the rated full scale of drive motor 1 were set to 35.05 Hz and 50 Hz, respectively, so the output speed of motor 1 was 655 r/min, the propeller was set to 187 r/min, and the disc tool was set to 749 r/min; the frequency ratio and the rated full scale of drive motor 2 were set to 25.09 Hz and 50 Hz, respectively, so the actual output speed of drive motor 2 was 697.5 r/min. The size of the toothed-belt output wheel of motor 2 was the same as that of the toothed-belt wheel driven by the power shaft of the cross-cutting tool, so the speed of cross-cutting tool was 697.5 r/min. Under these conditions, the diced thickness statistics for carrot and potato are shown in Tables 6 and 7. According to the analysis of sensor detection data, the average output speed of carrot dicing is 0.0661 m/s, and the average output speed of potato dicing is 0.0672 m/s. The system automatically fine tunes the speed of drive motor 2 during carrot dicing, as the frequency ratio is adjusted to 25.19 r/min, and the actual output speed is 700 r/min. In addition, the system fine tunes the frequency ratio of drive motor 2 during potato dicing to adjust the frequency ratio to 25.29 r/min; the actual output speed of the drive motor 2 is 703 r/min, and the cross-cutting tool is 703 r/min. Under these conditions, the statistics demonstrating the thickness of diced carrot and potato are shown in Tables 8 and 9. For Tables 6 and 7 and for Tables 8 and 9, three groups of average slip value filtering methods were used to obtain the variation trends in the average thickness error of the dicing process. After average filtering, the error data were reduced from 10 groups to 8 groups, as shown in Table 10. From Table 10, the error range of carrots changes from 1.1% to 7.5% before adjustment to −3.1% to 2.9% after adjustment; the error range of potato dicing changes from 2.2% to 7.5% before adjustment to 0.3~5% after adjustment. The experiment found that due to the different damping coefficients of the two contexts, the damping of carrot is smaller than that of potato, and the overall movement is decelerated. Therefore, the increase in the frequency of carrot dicing is slightly lower than that of potato, which effectively improves the accuracy and stability of dicing. Compared to the dicing error of dicing with the preset size of 10 mm, the dicing error of dicing with the preset size of 12 mm is relatively decreased due to the increase in the base number. However, based on the speed measurements obtained from the system, the dicing size error of both vegetables can be controlled within 10% after fine-tuning the speed of the cross-cutting tool. The comparative error results before and after adjustment can be seen in Table 11.

Discussion and Conclusions
In view of the unstable features of material-cutting accuracy, an independent control plan for material-cutting speed detection and for cutting drive is proposed. A materialcutting speed detection system and an independent driving system for a cross-cutting tool is put forward, and technical equipment for accurate control during the three-dimensional cutting of fruits and vegetables is developed.
Before the prototype was improved, the preset slicing requirement was 11 mm under the same conditions, and the slicing errors of carrots and potatoes were limited by the system structure. The slicing errors of carrots and potatoes were −19.3%, −14.9%, and −16.1% and −18.8%, −18.5%, and −21.1%, respectively. The relative error decreased with the increase in slice thickness, but it could not be eliminated. The preset cutting requirement was 10 mm, and the cutting errors of carrot and potato were −1.7% and −2.6%, and −4% and −3%, respectively, and were limited by structure, leading to a smaller size; however, the error rate was acceptable. The preset cutting size was 10 mm, and the cutting errors of carrot and potato were 13.4% and 19.3%, respectively. Carrots have less of a damping effect than potatoes, so the whole material moves at a decreasing speed.
A cutting performance test was implemented using the improved prototype, with the aim of achieving the cutting requirement of 10 mm under the experimental conditions before the improvement. The experimental results show that the error range of carrot is −3~12%, and the average error is 3.3%. The error range of potato is 5~13%, with an average error of 9%. The average error was controlled within 10% after fine-tuning with motor 2. According to the 12 mm cutting requirement, the preset output speeds of motor 1 and motor 2 are 655 rpm and 697.5 rpm, respectively. The cutting speeds of carrot and potato detected by the system were 0.0661 m/s and 0.0672 m/s, respectively, and the precision-adjustment calculations for the speed of motor 2 resulted in 700 r/min and 703 r/min, respectively, so the carrot error changed from 1.1% to 1.1% before adjustment, and the diced potato error changed from 2.2% to 7.5% before adjustment to 0.3~5% after adjustment. Compared to the preset cutting error of 10 mm, the preset cutting error of 12 mm was relatively reduced due to the increase in the cardinal numbers. However, after measuring the speed of the system, fine-tuning the speed of the cross-cutting tool can ensure that the dimensional error of cutting is controlled within 10%.
Generally speaking, based on traditional three-dimensional fresh-cutting machines, apart from the analysis of force and motion equations to determine the minimum rotational speed of the roller, a cross-cutting tool independent from the drive system, the material required before the implementation of dicing speed detection system, and shaft-speed monitoring have been implemented in this paper in detail to develop precise dicing control. Contrast experiments were carried out on the prototype before and after improvements. The overall dicing error shows great improvement (from 15% down to 10%) as well as improved performance in other areas (such as accuracy and stability).
This research is applicable to other food processing equipment with millimeter precision. In the near future, we want to introduce infrared velocity measurement technology to achieve micron-level machine-accuracy control. Future develops will guarantee velocity measurement and high-speed data processing technology.