Next Article in Journal
How to Prepare High-Level Massive Online Open Courses for the Metaverse: Tools and Needs
Previous Article in Journal
Real-Time Safety Warning System for Lifting Operations in Construction Sites
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Algorithm for Determining the Singularity-Free and Interference-Free Workspace of a Robotic Platform for Fruit Harvesting †

BSTU named after V.G. Shukhov, 46 Kostyukova Street, Belgorod 308012, Russia
*
Author to whom correspondence should be addressed.
Presented at the 15th International Conference “Intelligent Systems” (INTELS’22), Moscow, Russia, 14–16 December 2022.
Eng. Proc. 2023, 33(1), 33; https://doi.org/10.3390/engproc2023033033
Published: 19 June 2023
(This article belongs to the Proceedings of 15th International Conference “Intelligent Systems” (INTELS’22))

Abstract

:
This paper proposes a robotic system for fruit harvesting, which includes a mobile platform with a fruit basket, on which a parallel platform is installed, and in the center of the moving platform a telescopic link is installed for harvesting fruit from trees. Numerical algorithms are developed for determining the workspace of platforms with a parallel structure, represented as an ordered set of integers, and for transferring constraints from the platform orientation coordinate space to the end-effector coordinate space. The limits of the workspace are the permissible ranges of rod lengths and the condition that there are no singularities or link interference. The results of modeling are presented.

1. Introduction

The last few years have shown a sharp increase in demand for intelligent robots capable of performing complex tasks without any human intervention in almost all sectors of the national economy, including the agricultural industry. A lot of research is devoted to the development of autonomous robots for harvesting, identifying and removing weeds, spraying chemicals, etc. To date, several such robots have been developed, but most of them harvest fruits in ways that damage either the fruit or the tree, or both. In recent years, a number of results have been obtained in the field of robotic harvesting of fruits and vegetables. In [1], the optimization of robotic harvesting was performed by accurately determining the position of tomato fruits. In [2], an autonomous system is proposed for harvesting most types of crops with peduncles. A geometric approach was applied to obtain the cut point of the stem, based on the determination of the bounding box of the fruit using a neural network. The proposed architecture of the picking robot has two main modules: a module for detecting a point suitable for cutting on the stem and a gripping module that clamps the fruit and cuts the stem. In the article in [3], a prototype of a robot for picking apples was developed and tested. The robot was tested using a spin–pull apple picking pattern. The success rate for harvesting with the spin–pull scheme was 47.37% in the field and 78% in a simulated orchard, with a harvest cycle time of 4 s. The level of stem damage in the field garden was 11.11%. The developed picking prototype realized the task of picking apples, with a competitively short harvest cycle time. In [4], mathematical modeling of mechanical output link connections was carried out by analyzing the movement of the harvest, whereby the coordinates of the target fruits were parsed and analyzed in the context of a mathematical model for accurate location and harvesting. An autonomous system that harvest most types of agricultural fruit crops is discussed in [2]. The proposed grip is attached to a robot that uses the Robot Operation System. The installation was tested in laboratory conditions on various artificial plants. The method of apple harvesting using vacuum cups is discussed in [5]. The mechanical arm has four suction cups that deform over the surface of the apple. The parameters of the mechanical arm were determined, and laboratory tests were carried out. The article in [6] proposes a progressive analytical approach to the design and optimization of a citrus harvesting machine with a canopy. The approach was formulated using finite element methods (FEM) to find the optimal design parameters of the machine. The design parameters were determined in terms of the configuration (or stiffness) of the shaking rods and two operating parameters: the shaking frequency and the shaking amplitude. The formulated methodology consists of determining the properties of wood, the statistical modeling of tree branches, developing mechanical models, and performing optimization using FEM modeling. The proposed methodology uses quantitative estimation of objective functions, as well as Pareto search methods to find optimal constructions. In this study, three sets of device parameters were proposed to minimize tree damage and maximize fruit removal. These optimal parameters were proposed based on the configuration and distribution of the branches and fruits of a medium-sized tree.
Workspace determination is an important issue for robot design. Geometric and discrediting methods are used to determine the workspace. Geometric methods provide an accurate description, but they are applicable only to the simplest robots (some planar and the simplest spatial ones). The result obtained is an accurate analytical description of the workspace. Disadvantages: it is difficult to take into account all the constraints, and the result obtained is difficult to apply when planning the trajectory. A relatively simple definition of the workspace is possible for some robots, such works were carried out by Clavel [7] and Di Gregorio [8] for the Delta robot, Alizade [9] and Arun [10] for spherical robots, and Husty [11] for planar parallel robots. Discretization methods consist of determining a certain number of acceptable robot positions that form grid nodes. The calculation process is extremely time-consuming, but the results are easy to apply to trajectory planning. This method has been developed by many researchers, especially the work of Chablat [12]. In [13], we consider the non-uniform covering method for approximating the set of solutions to a system of nonlinear inequalities, as well as the application of this method to determine the workspace of some types of planar robots. In this paper, we solve the problem of determining the workspace of a robotic platform for fruit harvesting using the method of non-uniform covering and converting the covering set into a partially ordered set of integers [14].

2. Mathematical Model of RS

Consider the design of a fruit harvesting robotic system (RS) for harvesting fruit, the 3D model of which is shown in Figure 1a. The RS includes a mobile platform with a basket for picking fruit, on which a parallel mechanism is installed [15]. In the center of the moving platform, a telescopic link is installed for accessing fruits at high altitude.
The parallel mechanism consists of three drive RRPS-type kinematic chains and a central kinematic chain with a spherical joint rigidly connected to the fixed and movable platforms. Thus, the required rotation of the movable platform in all axes relative to the joint center C is provided by changing the lengths  l i  of the  A i B i  rods. The fixed platform  A 1 A 2 A 3  and the moving platform  B 1 B 2 B 3  of the mechanism are regular triangles with radii  R 1  and  R 2 , respectively.
The input coordinates are the lengths of the drive links  l 1 , l 2 , l 3 , the output coordinates are the coordinates of the point P of the end-effector  x p , y p , z p . The point P is located at a distance  l t  from the center of the moving platform. Workspace determination has two stages. The first stage is determining the set of acceptable values of the angular coordinates of the moving platform relative to the joint C. The second stage is determinng the set of coordinates P of the end-effector for these values. The coordinates of P in the moving coordinate system  X 2 , Y 2 , Z 2 :
P ( 2 ) = [ 0 0 ( l c 2 + l t ) 1 ] T
The coordinates of the point P can be calculated in the fixed coordinate system  X 1 Y 1 Z 1
P = M 2 _ 1 P ( 2 )
where M is the transition matrix from the moving coordinate system  X 2 Y 2 Z 2  to the stationary system  X 1 Y 1 Z 1 , which includes displacements along the  X 1 , Y 1 , Z 1  axis and rotation using Euler angles  α , β , γ , taking into account the orientation of the platform.
M 2 _ 1 = C α C γ C β S α S γ C α S γ C β C γ S α S α S β O C γ S α + C α C β S γ C α C β C γ S α S γ C α S β O S β S γ C γ S β C β l c 1 0 0 0 1
where  C a = cos α , S a = sin α , C β = cos β , S β = sin β , C γ = cos γ , S γ = sin γ .
After the transformation, taking into account (1)–(3), we obtain
P = S α S β ( l c 2 + l t ) C α S β ( l c 2 + l t ) l c 1 + C β ( l c 2 + l t ) 1
Let us introduce restrictions on the geometrical parameters of the mechanism
l m i n l t l m a x
where  l m i n , l m a x  are determined by the design parameters of the mechanism;  l i  is the length of the i-th rod
l i = x B i x A i 2 + y B i y A i 2 + z B i z A i 2
where  x A i , y A i , z A i , and  x B i , y B i , z B i  are the coordinates of the centers of the joints  A i  and  B i , respectively, in the fixed  X 1 , Y 1 , Z 1  coordinate system. We can now define the coordinates of the joints  B i  in the moving coordinate system  X 2 Y 2 Z 2 .
B 1 ( 2 ) = R 2 0 l c 2 1 , B 2 ( 2 ) = 0.5 R 2 0.5 3 R 2 l c 2 1 , B 3 ( 2 ) = 0.5 R 2 0.5 3 R 2 l c 2 1
Let us express the coordinates of the joints  B i  in the  X 1 , Y 1 , Z 1  coordinate system, taking into account (3) and (7)
B 1 = M 2 1 B 1 ( 2 ) = R 2 C a C γ C β S a S γ + l c 2 S a S β R 2 C γ S a + C a C β S γ l c 2 C a S β l c 1 + R 2 S β S γ + l c 2 C β 1 ,
B 2 = M 2 1 B 2 ( 2 ) = 0.5 R 2 C a C γ C β S a S γ 3 C a S γ 3 C β C γ S a + l c 2 S a S β 0.5 R 2 C γ S a + C a C β S γ + 3 C a C β C γ 3 S a S γ l c 2 C a S β l c 1 + 0.5 R 2 S β S γ + 3 C γ S β + l c 2 C β 1 ,
B 3 = M 2 1 B 3 ( 2 ) = 0.5 R 2 C β S a S γ + 3 C a S γ + 3 C β C γ S a C a C γ + l c 2 S a S β 0.5 R 2 3 S a S γ C γ S a C a C β S γ 3 C a C β C γ l c 2 C a S β l c 1 0.5 R 2 S β S γ + 3 C γ S β + l c 2 C β 1 ,
We define the coordinates of the joints  A t  in the fixed coordinate system  X 1 Y 1 Z 1 :
A 1 = R 2 0 0 1 , A 2 = 0.5 R 2 0.5 3 R 2 0 1 , A 3 = 0.5 R 2 0.5 3 R 2 0 1 .
Thus, substituting (8)–(11) in (6), we obtain an analytical dependence of the form  l i = f ( α , β , γ ) .
At the same time, we should take into account the presence of singularities in the mechanism, which significantly increase the dynamic loads on the links and cause the robot to lose control. We consider the method proposed in [16] to determine singularities, based on the analysis of the Jacobi matrix, whose determinant has the form
det J A = l 1 α l 1 β l 1 γ l 2 α l 2 β l 2 γ l 3 α l 3 β l 8 γ ,
where  l i  is defined taking into account the formulas (6), (8)–(11). Due to the cumbersome nature of the obtained formulas for each of the elements of the determinant, we give only the first one
l 1 α = 2 s 1 s 2 R 1 2 s 1 s 2 2 l c 1 + l c 2 C β + R 2 S β S γ 2 + s 2 R 1 2 + s 1 2 0.5
where  s 1 = R 2 C γ S α + C α C β S γ l c 2 C α S β , s 2 = R 2 C α C γ C β S α S γ + l c 2 S α S β
The condition for the presence of singularities has the form  det J A = 0 . It is necessary to ensure that the determinant of the Jacobi matrix is constant in sign to exclude singularities from the workspace. One of the following conditions must be added (5): det ( J A ) < 0  or det ( J A ) > 0 , depending on the sign of the determinant.
We should also take into account the restriction associated with ensuring the orientation of the platform at which the telescopic link is directed up, since the orientation of the platform at which the telescopic link is directed down is not excluded by condition (5).
z p > l c 1
The exclusion of link interference can be taken into account using the method described earlier by the authors in [17]. Thus, taking into account the link interference and other restrictions in accordance with (5), (12), and (14), the workspace in the coordinate space of the orientation of the moving platform of the parallel mechanism can be determined. The covering set of the workspace is obtained using the methods described in [13], and then transformed into a partially ordered set of integers [14].

3. Transferring Constraints to the Coordinate Space of the End-Effector

We can calculate the set of positions of the end-effector using formula (4). In this case, the telescopic link due to extension is an interval
l t , m i n l t l t , m a x
Using the representation of the workspace as a partially ordered set of integers, we define set B of coordinates of the end-effector P in the space of integers. For this purpose, an algorithm is developed based on a modification of Bresenham’s algorithm [18]. In [19], a modification of the algorithm was proposed for the three-dimensional case, but the coordinates of the beginning and end of the segments belong to the space of integers, which leads to a displacement of the segment and set B (Figure 2). Cells that intersect the orthosis are highlighted in red for coordinates represented as integers, yellow for coordinates represented as real numbers, and orange for both cases. As you can see from the figure, the application of integer coordinates does not allow us to accurately determine set B.
We modify Bresenham’s algorithm, taking into account the use of initial data belonging to the three-dimensional space of real numbers (coordinates  x 1 , y 1 , z 1 y 1 , z 1  of the end-effector at  l t , m i n  and  x 2 , y 2 z 2  at  l t , m a x ) . In this case, the coordinates must correspond to the covering set of the workspace, represented as a partially ordered set of integers, respectively. They must be obtained taking into account the accuracy of the approximation  δ  using formula (4)
x 1 = s a S β l c 2 + l t , min Δ , y 1 = c a S β l c 2 + l t , min Δ , z 1 = l c 1 + C β l c 2 + l t , min Δ
x 2 = s a S β l c 2 + l t , max Δ , y 2 = c a S β l c 2 + l t , max Δ , z 2 = l c 2 + C β l c 2 + l t , max Δ
The pseudocode of the modified Bresenham algorithm proposed by the authors is presented in [20].

4. Simulation Results

Let us perform a computational experiment. For this purpose, a software package was developed in the C++programming language. Parallel calculations were implemented using the OpenMP library. The visualization of link interference was performed using a developed Python script (Matplotlib and JSON libraries). The visualization of three-dimensional results was performed by exporting an ordered set of integers describing the work domain to the STL format. Simulation was performed for the following parameters:  R 1  = 300 mm,  R 2  = 200 mm,  l m i n  = 360 mm,  l m a x  = 600 mm,  l c 1  = 500 mm,  l c 2  = 0 mm,  l t , m i n  = 500 mm, link diameter  D l i n k  = 20 mm, and minimum angle between links  ϕ m i n = 10 . The workspace in the coordinate space  α , β , γ  of the moving platform orientation, without taking into account singularities, is shown in Figure 3a. Figure 3b shows the workspace in the coordinate space of the end-effector  x P , y P , z P .
The workspace was determined both with the positivity condition (Figure 4a and Figure 5a) of the determinant and with the negativity condition (Figure 4b and Figure 5b) to select the sign in the sign-constant condition of the determinant of the Jacobi matrix, in order to exclude singularities.
Figure 4 and Figure 5 show that the workspace in the coordinate space ( α , β , γ ) is divided into two parts, but the workspace in the coordinate space ( x P , y P , z P ) practically coincides for different signs of the Jacobi matrix determinant. In both cases, the central zone in which the determinant of the Jacobi matrix is zero is excluded from the workspace. Thus, if the design of the RS gripper and fixing of the fruit harvesting tube will ensure fruit harvesting at any orientation of the end-effector, then both the condition of positivity and negativity of the determinant of the Jacobi matrix can be chosen. It is revealed that for the given initial data for modeling, there is no link interference. We will increase the ranges of changes in the length of the rods while maintaining the ratio  l m i n / l m a x  = 0.6 to ensure sufficient space inside the rod to accommodate ball–screw pairs. When the dimensions are increased to  l m i n  = 420 mm,  l m a x  = 700 mm, there is interference of the central kinematic chain on the moving platform (Figure 6).
Increasing the length of the rods allows us to increase the volume of the workspace, but it is important to exclude the interference zones of links from the workspace.

5. Conclusions

Effective numerical methods and algorithms for determining the workspace in the coordinate space of the orientation of the moving platform and the position of the end-effector, taking into account the singularities and interference of the links, are developed and tested for the proposed platform, which is part of the RS for fruit harvesting. It is revealed that if the design of the RS gripper and fixing of the fruit harvesting tube ensures fruit harvesting at any orientation of the end-effector, then both conditions of positivity and negativity of the determinant of the Jacobi matrix can be chosen to exclude singularities. It is shown that the presence of link interference depends on the value of the range of changes in the length of the rods. As part of future research, the task of optimizing the geometric parameters of the platform will be performed, taking into account the compactness of the design and providing the required workspace.

Author Contributions

Conceptualization, E.G., A.V. and D.M.; methodology, D.M.; software, D.M.; validation, L.R. and E.G.; formal analysis, D.M.; investigation, A.V. and D.M.; data curation, D.M. and E.G.; writing—original draft preparation, A.V. and D.M.; writing—review and editing, L.R. and E.G.; visualization, A.V.; supervision, L.R. and E.G.; project administration, E.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by grant of the Russian Science Foundation No. 22-19-20153, https://rscf.ru/project/22-19-20153/ (accessed on 29 July 2022) and the Government of the Belgorod Region, Agreement No. 4.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Rong, J.; Wang, P.; Wang, T.; Hu, L.; Yuan, T. Fruit pose recognition and directional orderly grasping strategies for tomato harvesting robots. Comput. Electron. Agric. 2022, 202, 107430. [Google Scholar] [CrossRef]
  2. Zhang, T.; Huang, Z.; You, W.; Lin, J.; Tang, X.; Huang, H. An Autonomous Fruit and Vegetable Harvester with a Low-Cost Gripper Using a 3D Sensor. Sensors 2020, 20, 93. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Hu, G.; Chen, C.; Chen, J.; Sun, L.; Sugirbay, A.; Chen, Y.; Jin, H.; Zhang, S.; Bu, L. Simplified 4-DOF manipulator for rapid robotic apple harvesting. Comput. Electron. Agric. 2022, 199, 107177. [Google Scholar] [CrossRef]
  4. Lin, H.; Cai, K.; Chen, H.; Zeng, Z. Optimization design of fruit picking end-effector based on its grasping model. INMATEH-Agric. Eng. 2015, 47, 81–90. [Google Scholar]
  5. Wang, M.; Yan, B.; Zhang, S.; Pan, F.; Zeng, P.; Shi, S.; Yang, F. Development of a Novel Biomimetic Mechanical Hand Based on Physical Characteristics of Apples. Agriculture 2022, 12, 1871. [Google Scholar] [CrossRef]
  6. Gupta, S.; Ehsani, R.; Kim, N. Optimization of a Citrus Canopy Shaker Harvesting System: Mechanistic tree damage and Fruit Detachment Models. Trans. ASABE 2016, 59, 761–776. [Google Scholar]
  7. Clavel, R. Conception d’un Robot Parallele Rapide a 4 Degres de Liberte. Ph.D. Thesis, EPFL, Lausanne, Switzerland, 1991. [Google Scholar]
  8. Di Gregorio, R.; Zanforlin, R. Workspace analytic determination of two similar translational parallel manipulators. Robotica 2003, 21, 555–566. [Google Scholar] [CrossRef]
  9. Alizade, R.; Tagiyev, N.; Duffy, J. A forward and reverse displacement analysis of an in-parallel spherical manipulator. Mech. Mach. Theory 1994, 29, 125–137. [Google Scholar] [CrossRef]
  10. Arun, V. Determination of the workspace of the 3-dof double-octahedral variable-geometry-truss manipulator. In Proceedings of the 22nd Biennial Mechanisms Conference, Scottsdale, AZ, USA, 13–16 September 1992; American Society of Mechanical Engineers: New York, NY, USA, 1992; pp. 493–500. [Google Scholar]
  11. Husty, M. On the workspace of planar three-legged platforms. World Autom. Congr. 1996, 3, 339–344. [Google Scholar]
  12. Chablat, D.; Wenger, P. Moveability and collision analysis for fully parallel manipulators. In Proceedings of the 12th RoManSy, Paris, France, 6–9 July 1998; pp. 61–68. [Google Scholar]
  13. Evtushenko, Y.; Posypkin, M.; Rybak, L.; Turkin, A. Approximating a solution set of nonlinear inequalities. J. Glob. Optim. 2018, 71, 129–145. [Google Scholar] [CrossRef]
  14. Rybak, L.; Malyshev, D.; Gaponenko, E. Optimization Algorithm for Approximating the Solutions Set of Nonlinear Inequalities Systems in the Problem of Determining the Robot Workspace. In Communications in Computer and Information Science; Springer International Publishing: Cham, Switzerland, 2020; pp. 27–37. [Google Scholar]
  15. Merlet, J.-P. Parallel Robots, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2007. [Google Scholar]
  16. Gosselin, C.; Angeles, J. Singularity analysis of closed-loop kinematic chains. IEEE Trans. Robot. Autom. 1990, 6, 281–290. [Google Scholar] [CrossRef]
  17. Behera, L.; Rybak, L.; Malyshev, D.; Gaponenko, E. Determination of Workspaces and Intersections of Robot Links in a Multi-Robotic System for Trajectory Planning. Appl. Sci. 2021, 11, 4961. [Google Scholar] [CrossRef]
  18. Rogers, D. Procedural Elements for Computer Graphics; Computer Science Series; McGraw-Hill, Inc.: New York, NY, USA, 1985. [Google Scholar]
  19. Line3d-3D Bresenham’s (a 3D Line Drawing Algorithm). Available online: ftp://ftp.isc.org/pub/usenet/comp.sources.unix/volume26/line3d (accessed on 29 July 2022).
  20. Malyshev, D.; Cherkasov, V.; Rybak, L.; Diveev, A. Synthesis of trajectory planning algorithms using evolutionary optimization algorithms. Commun. Comput. Inf. Sci. 2022, 1739, 153–167. [Google Scholar]
Figure 1. Conceptual design of the RS for fruit harvesting: (a) 3D model, (b) design scheme of the robotic platform.
Figure 1. Conceptual design of the RS for fruit harvesting: (a) 3D model, (b) design scheme of the robotic platform.
Engproc 33 00033 g001
Figure 2. Offset of a segment of the trajectory depending on the initial data.
Figure 2. Offset of a segment of the trajectory depending on the initial data.
Engproc 33 00033 g002
Figure 3. Platform workspace: (a) in coordinates ( α , β , γ ), (b ( x p , y p , z P ) , mm* 10 3 .
Figure 3. Platform workspace: (a) in coordinates ( α , β , γ ), (b ( x p , y p , z P ) , mm* 10 3 .
Engproc 33 00033 g003
Figure 4. The workspace of the platform in coordinates ( α , β , γ ): (a) with a negative sign of the determinant of the Jacobi matrix, (b) with a positive sign.
Figure 4. The workspace of the platform in coordinates ( α , β , γ ): (a) with a negative sign of the determinant of the Jacobi matrix, (b) with a positive sign.
Engproc 33 00033 g004
Figure 5. The workspace of the platform in coordinates  ( x p , y p , z P ) , mm* 10 3 : (a) with a negative sign of the determinant of the Jacobi matrix, (b) with a positive sign.
Figure 5. The workspace of the platform in coordinates  ( x p , y p , z P ) , mm* 10 3 : (a) with a negative sign of the determinant of the Jacobi matrix, (b) with a positive sign.
Engproc 33 00033 g005
Figure 6. Examples of interference between a central chain and a moving platform.
Figure 6. Examples of interference between a central chain and a moving platform.
Engproc 33 00033 g006
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

Malyshev, D.; Rybak, L.; Gaponenko, E.; Voloshkin, A. Algorithm for Determining the Singularity-Free and Interference-Free Workspace of a Robotic Platform for Fruit Harvesting. Eng. Proc. 2023, 33, 33. https://doi.org/10.3390/engproc2023033033

AMA Style

Malyshev D, Rybak L, Gaponenko E, Voloshkin A. Algorithm for Determining the Singularity-Free and Interference-Free Workspace of a Robotic Platform for Fruit Harvesting. Engineering Proceedings. 2023; 33(1):33. https://doi.org/10.3390/engproc2023033033

Chicago/Turabian Style

Malyshev, Dmitry, Larisa Rybak, Elena Gaponenko, and Artem Voloshkin. 2023. "Algorithm for Determining the Singularity-Free and Interference-Free Workspace of a Robotic Platform for Fruit Harvesting" Engineering Proceedings 33, no. 1: 33. https://doi.org/10.3390/engproc2023033033

Article Metrics

Back to TopTop