The present invention belongs to the field of fruit tree harvesting in agriculture and forestry, and specifically relates to a binocular-vision-based method for tracking fruit space attitude and fruit space motion, which is used in the study of fruit motion states in the field of fruit vibration harvesting.
Fruit harvesting is the most time-consuming and laborious part of fruit production. For dried fruits such as red dates, walnuts, and ginkgo, the most effective harvesting method is mechanical vibration harvesting. The harvesting effect of its vibration harvesting machinery is related to many factors, including the growth characteristics of fruit trees and the working parameters of mechanical vibration. The research on the vibratory harvesting of forest fruits is more about viewing the tree itself as a second-order system, detecting the relationship between excitation and response, and measuring the overall stiffness and damping ratio of the tree. In recent years, more detailed research has been carried out in China and a simplified mechanical model of tree trunk and branch vibration has been established. Through experiments and theoretical calculations, it is believed that the cantilever straight beam model is more accurate, which provides a theoretical basis for the research of vibratory harvesting machinery. However, there are still gaps in the research on the movement of fruits during the vibration harvesting process, in order to explain the principle of vibratory fruit dropping in more detail, it is necessary to study the movement of fruits.
The technical problem to be solved by the present invention is to provide a binocular-vision-based method for tracking fruit space attitude and fruit space motion in response to the above-mentioned shortcomings of the prior art. This binocular-vision-based method for tracking fruit space attitude and fruit space motion method is aimed at the research of fruit movement state in the field of forest fruit vibration harvesting, which can better track the movement of fruit.
In order to achieve the above-mentioned technical objectives, the technical solutions adopted by the present invention are:
a binocular-vision-based method for tracking fruit space attitude and fruit space motion, comprising:
(1) marking three feature points C3 on a surface of a fruit;
(2) establishing a connected base coordinate system by taking a junction of the fruit and a fruit stem as an origin, a X axis, a Y axis, and a Z axis of the connected base coordinate system are marked as a X connected-axis, a Y connected-axis and a Z connected-axis, respectively, and the origin of the connected base coordinate system is marked as O1, an end point of the unit vector in a positive direction of the X connected-axis is marked as X1, an end point of the unit vector in a positive direction of the Y connected-axis is marked as Y1, an end point of the unit vector in a positive direction of the Z connected-axis is marked as Z1;
(3) establishing a public reference base coordinate system;
(4) statically photographing the three feature points on the surface of the fruit and connected base coordinate system points Z1 established at the junction of the fruit and the fruit stem, using Phantom software to store the photographed images, and using TEMA software to process the feature points and connected base coordinate system points Z1 in the images, acquiring a absolute coordinate of the feature points C3 and the connected base coordinate system points Z1, and then acquiring an inherit relationship between the feature points and the connected base coordinate system;
(5) photographing the fruit dynamic motion, using Phantom software to store each frame of the image in the photographed video, using TEMA software to process the feature points in the images to acquiring the absolute coordinate of the feature points on the fruit surface, according to an inherent relationship between the feature points and the connected base coordinate system, the absolute coordinate of each frame of image corresponding to the connected base coordinate system points Z1 at each moment being calculated by inverse rotation transformation, and calculating an angle between the vector {right arrow over (O1Z1)} at each moment and the Z axis in the public reference base coordinate system through the space vector angle formula, and the angle representing a swing posture of the fruit;
(6) rotating the {right arrow over (O1Z1)} at each moment to a position that coincides with the Z axis in the public reference base coordinate system, and calculating an angle between the rotated {right arrow over (O1X1)} and the X axis in the public reference base coordinate system, the angle representing a twisting posture of the fruit; and
(7) setting moments corresponding to two adjacent frames to t+1 moment and t moment, and calculating a displacement of the point O1 along the X axis, Y axis and Z axis of the public reference base coordinate system at t+1 moment and t moment respectively, calculating an instantaneous speed along the X axis, an instantaneous speed along the Y axis, and an instantaneous speed along the Z axis of the fruit at t moment according to the displacement, calculating an instantaneous acceleration along the X axis, an instantaneous acceleration along the Y axis and an instantaneous acceleration along the Z axis of the fruit at t moment according to the instantaneous speed, calculating a swing angular displacement of the fruit in a time interval between the two adjacent frames of images, sequentially calculating a swing angular speed of the fruit at t moment and a swing angular acceleration of the fruit at t moment via the swing angular displacement, and calculating a torsion angular speed of the fruit at t moment and a torsion angular acceleration of the fruit at t moment according to the torsion angular degree from t moment to t+1 moment.
As a further improved technical solution for the present invention, the step (2) includes:
establishing the connected base coordinate system by taking a junction of the fruit and the fruit stem as the origin, and taking a line between the junction of the fruit and the fruit stem and a center point of the fruit as a center line, the center line being the Z axis of the connected base coordinate system, which being marked as the Z connected-axis, taking a direction from the central point pointing to the joining point as the positive direction of the Z connected-axis, establishing the X axis and Y axis of the connected base coordinate system on a plane perpendicular to the Z axis of the connected base coordinate system, and marking them as X connected-axis and Y connected-axis respectively; marking the origin of the connected base coordinate system as O1, marking the end point of the unit vector in the positive direction of the X connected-axis as X1, marking the end point of the unit vector in the positive direction of the Y1 connected-axis as Y1, and marking the end point of the unit vector in the positive direction of the Z connected-axis as Z1.
As a further improved technical solution for the present invention, the absolute coordinates are spatial coordinates in the public reference base coordinate system, and the unit vectors of the coordinate axis of the public reference base coordinate system are:
Z=(0 0 1)T.
As a further improved technical solution for the present invention, the step (4) includes:
(A) under static conditions, using two high-speed cameras to statically photograph the three feature points on the surface of the fruit and the points Z1 of the connected base coordinate system established at the junction of the fruit and the fruit stem, using Phantom software to store the photographed images, and using TEMA software to process the feature points C3 and the connected base coordinate system points Z1 in the images, acquiring the absolute coordinate of the feature points C3 and the absolute coordinate of the connected base coordinate system points Z1;
(b) creating vectors {right arrow over (C1C2)} and {right arrow over (C1C3)} via absolute coordinate, unitizing {right arrow over (C1C2)} and {right arrow over (C1C3)}, creating vector vector vector {right arrow over (C1Y1)} and vector {right arrow over (C1Z1)};
(c) doing a vector product of unitized {right arrow over (C1C2)} and {right arrow over (C1C3)} to get: {right arrow over (Y)}={right arrow over (C1C2)}×{right arrow over (C1C3)}, doing a vector product of {right arrow over (X)}={right arrow over (C1C2)} and {right arrow over (Y)} to get: {right arrow over (Z)}={right arrow over (X)}× {right arrow over (Y)}, thus, establishing a coordinate system Cxyz by taking feature point C1 as an origin, the coordinate axis vector of the coordinate system Cxyz is: {right arrow over (XC
calculating angles γx between the vector {right arrow over (XC
calculating angles γy between the vector {right arrow over (YC
calculating angles γz between the vector {right arrow over (ZC
the coordinates of point O1 under the coordinate system Cxyz are obtained by formula (2):
wherein, {right arrow over (C1O1)}=(xO
similarly,
can be obtained, wherein the coordinates of
are the coordinates of points Z1 under the coordinate system Cxyz;
the coordinates of
are the coordinates of points Z1 under the coordinate system Cxyz, that is, representing the inherent relationship between the feature point and the connected base coordinate system.
As a further improved technical solution for the present invention, the step (5) includes:
(a) using two high-speed cameras to photograph the fruit dynamic motion, using Phantom software to store each frame of image of the photographed video, using TEMA software to process the feature points in the images, and obtaining the absolute coordinate of the feature points on the surface of the fruit;
(b) calculating angles γx
and the X axis, Y axis, and Z axis of the public reference base coordinate system at t moment through the calculation formula of the space vector angle, calculating angles γy
and me x axis, Y axis and Z axis of the public reference base coordinate system, calculating angles γz
and the X axis, Y axis and Z axis of the public reference base coordinate system, wherein,
are the coordinate axis vector of the coordinate system Cxyz established by taking the feature point C1 in one frame of image corresponding to the t moment as an origin, then the coordinate conversion matrix is:
the coordinates of point O1 in the public reference base coordinate system, that is, the absolute coordinate is:
wherein ( ZO
are the coordinate of point O1 in the coordinate system Cxyz; similarly, calculating the absolute coordinate of the points X1, Y1, Z1 under t moment;
each frame of image is independent of each other, and corresponds to a moment respectively, and solves the absolute coordinates of the points Z1 of the connected base coordinate system frame by frame;
calculating the angle θ between the vector {right arrow over (O1Z1)} at each moment and the Z axis in the public reference base coordinate system through the space vector angle formula:
wherein {right arrow over (O1Z1)}=(xz
As a further improved technical solution for the present invention, the step (6) includes:
(a) using the axis rotation matrix to rotate {right arrow over (O1Z1)} at the moment corresponding to a certain frame of image to a position that coincides with the Z axis in the public reference base coordinate system, calculating the angle between the rotated {right arrow over (O1X1)} and the X axis in the public reference base coordinate system, the angle represents a twisting posture of the fruit at the moment corresponding to the frame image, detail as follows:
the Z connected-axis direction vector of the frame of image is: ={right arrow over (O1Z1)}=(xz
calculating the angle ψ between the projection of the Z connected-axis in the X axis and Y axis of the public reference base coordinate system and the Y axis of the public reference base coordinate system:
calculating the axis rotation matrix:
the absolute coordinate of the rotated point X1 is consistent with the coordinate of the rotated vector {right arrow over (O1X1)}, and the rotated vector {right arrow over (O1X1)} is:
wherein, is the vector {right arrow over (O1X1)} before the {right arrow over (O1Z1)} of the frame of image is rotated;
the torsion angular degree is:
the torsion angular degree is the angle between the rotated vector {right arrow over (O1X1)} and the X axis in the public reference base coordinate system, which represents the torsion posture of the fruit at the moment corresponding to the frame image,
wherein is the unit vector of the X axis in the public reference base coordinate system;
(b) Similarly, in (a) of step (6), calculating the twisting posture of the fruit at each moment corresponding to each frame image; and
As a further improved technical solution for the present invention, the step (7) includes:
(a) setting moments corresponding to two adjacent frames of images to t+1 moment and t moment, based on the point O1 of the connected base coordinate system in adjacent two frames of images, and calculating the displacement of the point O1 along the X axis of the public reference base coordinate system at t+1 moment and t moment respectively:
S
x
=x
O
−x
O
(12);
wherein xO
S=√{square root over (Sx2+Sy2+Sz2)} (13);
(b) using the average speed of the point O1 moving along the X axis of the public reference base coordinate system from t moment to t+1 moment to express the instantaneous speed vx(t) of the fruit along the X axis at t moment:
wherein Δt is the interval time between two frames of images; similarly, the instantaneous speed vy (t) of the fruit along the Y axis of the public reference base coordinate system at t moment and the instantaneous speed vz (t) of the fruit along the Z axis of the public reference base coordinate system at t moment can be obtained, then the combined speed of the fruit at t moment is:
v=√{square root over (vx (t)2+Vy (t)2+vz (t)2)} (15);
(c) using the acceleration of the point O1 moving along the X axis of the public reference base coordinate system from t moment to t+1 moment to express the instantaneous acceleration ax(t) of the fruit along the X axis at the t moment:
wherein vx (t+1) is the instantaneous speed of the fruit along the X axis at t+1 moment, and vx(t) is the instantaneous speed of the fruit along the X axis at t moment; similarly, the instantaneous acceleration ay (t) of the fruit along the Y axis of the public reference base coordinate system at t moment and the instantaneous acceleration az (t) of the fruit along the Z axis of the public reference base coordinate system at t moment can be obtained; then the combined acceleration of the fruit at t moment is:
a=√{square root over (ax (t)2+ay (t)2+az (t)2)} (17);
(d) using the angle from the Z connected-axis at t moment to the Z connected-axis at t+1 moment to represent the swing angular displacement of the fruit in Δt:
wherein
is the direction vector of Z connected-axis at t moment, that is t moment vector {right arrow over (O1Z1)};
is the direction vector of Z connected-axis at t+1 moment, that is t+1 moment vector {right arrow over (O1Z1)};
(e) using the average swing angular speed from t moment to t+1 moment to express the t swing angular speed ωθ
(f) using the amount of change of the swing angular speed from t moment to t+1 moment to express the swing angular acceleration aθ
(g) using the axis rotation matrix to rotate the Z connected-axis at t moment and the Z connected-axis at t+1 moment to the position that coincides with the Z connected-axis in the public reference base coordinate system, using formula (6) to formula (10) in step (a) in step (6) to calculate the rotated vector {right arrow over (O1X1)} at t moment and the rotated vector {right arrow over (O1X1)} at t+1 moment, then the torsion angular degree from t moment to t+1 moment is:
wherein
is the rotated vector {right arrow over (O1X1)} at t moment,
is the rotated vector {right arrow over (O1X1)} at t+1 moment;
the torsion angular speed of the fruit at t moment is:
and
the torsion angular acceleration of the fruit at t moment is:
The beneficial effect of the present invention is: when the inertial force generated by the vibration of vibrating fruit picking exceeds the separation force between the fruit and the fruit stem, the fruit is separated from the fruit branch or the fruit stem at the weakest connection point to complete the picking. The effect of fruit separation ultimately depends on the maximum inertial force generated when the fruit vibrates. Inertial force comes from acceleration, so acceleration response is one of the most important characteristics in fruit tree dynamics. This method can construct the trajectory of the fruit in the vibration process through the relationship between the conjoined base at the junction of the fruit stem and the fruit, and then solve the displacement, speed and acceleration of fruit at each moment, which is beneficial to explore the law of fruit movement. And the present invention can also obtain the swing posture and the torsion posture in the process of fruit vibration. This method is aimed at the study of fruit movement status in the field of fruit vibration harvesting, and can better track the movement of fruits.
Various other features and attendant advantages of the present invention will be more fully appreciated from the following detailed description when considered in connection with the accompanying drawings in which like reference characters designate like or corresponding parts throughout the several views, and wherein:
The following further describes the specific implementation of the present invention based on
This embodiment provides a binocular-vision-based method for tracking fruit space attitude and fruit space motion.
Mark three feature points C3 on the surface of the fruit.
Establish a method for setting the fruit posture in space. The fruit is regarded as a rigid body, which does not deform in any state, and the fruit is regarded as a standard rotating body. establishing the connected base coordinate system by taking a junction of the fruit and the fruit stem as the origin, and taking a line between the junction of the fruit and the fruit stem and a center point of the fruit as a center line, the center line being the Z axis of the connected base coordinate system, which being marked as the Z connected-axis, taking a direction from the central point pointing to the joining point as the positive direction of the Z connected-axis, establishing the X-axis and Y-axis of the connected base coordinate system on a plane perpendicular to the Z-axis of the connected base coordinate system, and marking them as X connected-axis and Y connected-axis respectively; marking the origin of the connected base coordinate system as O1, marking the end point of the unit vector in the positive direction of the X connected-axis as X1, marking the end point of the unit vector in the positive direction of the Y connected-axis as Y1, and marking the end point of the unit vector in the positive direction of the Z connected-axis as Z1. Using this method, the movement of the fruit in space can be decomposed into translation, swinging around the junction of the fruit stem and the fruit, and twisting around the centerline. Using this method, the movement of the fruit in space can be decomposed into translation, swinging around the junction of the fruit stem and the fruit, and twisting around the centerline. Using this method, the movement of the fruit in space can be decomposed into translation, swinging around the junction of the fruit stem and the fruit, and torsion movement around the centerline.
Establish a public reference base coordinate system, the unit vector of the coordinate axis of the public reference base coordinate system is:
Z=(0 0 1)T.
The absolute coordinates described in this article are all spatial coordinates in the public reference base coordinate system. The vectors described in this article are all vectors in the public reference base coordinate system.
Since the feature points on the fruit surface tracked by the binocular camera cannot directly reflect the spatial posture of the fruit, this embodiment invented a method for creating a fixed relationship between the conjoined base and the feature points on the fruit surface. First, using two high-speed cameras 1-1 (M310, VEO 410) to statically photograph the three feature points on the surface of the fruit and the points Z1 of the connected base coordinate system established at the junction of the fruit and the fruit stem, using Phantom software to store the photographed images, and using TEMA software to process the feature points and the connected base coordinate system points Z1 in the images, export the spatial absolute coordinate of the feature points C3 and the points Z1 of the connected base coordinate system and then establish an inherent relationship between the feature points and the connected base coordinate system. Referring to
(a) under static conditions, using two high-speed cameras (M310, VEO 410) to statically photograph the three feature points C3 on the surface of the fruit and the points Z1 of the connected base coordinate system established at the junction of the fruit and the fruit stem, using Phantom software to store the photographed images, and using TEMA software to process the feature points C3 and the connected base coordinate system points Z1 in the images, acquiring the absolute coordinate of the feature points C3 and the absolute coordinate of the connected base coordinate system points Z1; the absolute coordinate of feature point C2 is ( zC
absolute coordinate of feature point C3 is ( zC
(b) creating vectors {right arrow over (C1C2)} and {right arrow over (C1C3)} via absolute coordinate, unitizing {right arrow over (C1C2)} and {right arrow over (C1C3)}, {right arrow over (C1C2)} and {right arrow over (C1C3)} are:
{right arrow over (C1C2)}=(XC
is the coordinate of the point O1 of the connected base coordinate system in the public reference base coordinate system; and use the same method to create vector vector {right arrow over (C1Y1)} and vector {right arrow over (C1Z1)};
(c) doing a vector product of unitized {right arrow over (C1C2)} and {right arrow over (C1C3)} to get: {right arrow over (Y)}={right arrow over (C1C2)}× {right arrow over (C1C3)}, doing a vector product of {right arrow over (X)}={right arrow over (C1C2)} and {right arrow over (Y)} to get: {right arrow over (Z)}={right arrow over (X)}×{right arrow over (Y)}, thus, establishing a coordinate system Cxyz by taking feature point C1 as an origin, the coordinate axis vector of the coordinate system Cxyz is: XC
wherein p2 respectively correspond to the X coordinate, Y coordinate, and Z coordinate of the space vector;
the coordinate conversion matrix is:
the coordinates of point O1 under the coordinate system Cxyz are obtained by formula (2):
wherein, {right arrow over (C1O1)}=(xO
similarly,
wherein the coordinates corresponding to
are the coordinates of points X1, Z1 under the coordinate system Cxyz; the vector {right arrow over (C1X1)}, the vector {right arrow over (C1Y1)}, and the vector {right arrow over (C1Z1)} are all obtained from the above-mentioned step (b); the coordinates corresponding to
are use coordinates of points Z1 under the feature point coordinate system Cxyz, that is, it represents the inherent relationship between the feature point and the connected base coordinate system. The inherent relationship in this embodiment is:
The fruit space motion process is divided into translation, swing and torsion, and the motion process is shown in
(a1) Use two high-speed cameras 1-1 to photograph fruit dynamic motion, use Phantom software to store each frame of image of the photographed video, use TEMA software to process the feature point in the image, and export the absolute coordinate of the feature point on the fruit surface frame by frame;
(b1) Follow the above-mentioned steps (b) and (c) to establish a coordinate system Cxyz by taking the feature point C1 in one frame of image corresponding to t moment as an origin;
are the coordinate axis vector of the coordinate system Cxyz established by taking the feature point C1 in one frame of image corresponding to t moment as an origin;
calculating angles γx
and the X axis, Y axis, and Z axis of the public reference base coordinate system at t moment through the calculation formula of the space vector angle, calculating angles γy
and the X axis, Y axis and Z axis of the public reference base coordinate system, calculating angles γz
and the X axis, Y axis and Z axis of the public reference base coordinate system, then the coordinate conversion matrix at t moment is:
the coordinates of point O1 in the public reference base coordinate system, that is, the absolute coordinate is:
wherein ( zO
are the coordinate of point O1 in the coordinate system Cxyz; similarly, calculating the absolute coordinate of the points Z1 under t moment;
wherein, the vector corresponding to the absolute coordinate of point X1 at t moment is equal to the vector corresponding to the absolute coordinate of point C1 at t moment plus the vector of At−1 multiplied by the coordinates of point X1 under the coordinate system Cxyz; the absolute coordinate calculation method of point Y1 and point Z1 can be deduced by analogy;
each frame of image is independent of each other, and corresponds to a moment respectively, and solves the absolute coordinates of the points Z1 of the connected base coordinate system at each moment frame by frame; calculate the angle θ between the vector {right arrow over (O1Z1)} at each moment and the Z axis in the public reference base coordinate system through the space vector angle formula:
wherein {right arrow over (O1Z1)}=(xz
(c1) using the axis rotation matrix to rotate {right arrow over (O1Z1)} (that is, Z connected-axis) at the moment corresponding to a certain frame of image to a position that coincides with the Z axis in the public reference base coordinate system, calculating the angle between the rotated {right arrow over (O1X1)} and the X axis in the public reference base coordinate system, the angle represents a twisting posture of the fruit at the moment corresponding to the frame image, detail as follows:
the Z connected-axis direction vector of the frame of image is: ={right arrow over (O1Z1)}=(xz
calculating the angle ψ between the projection of {right arrow over (O1Z1)} (that is, Z connected-axis) in the X axis and Y axis of the public reference base coordinate system and the Y axis of the public reference base coordinate system:
calculating the axis rotation matrix:
the absolute coordinate of the rotated point X1 is consistent with the coordinate of the rotated vector {right arrow over (O1X1)}, and the rotated vector {right arrow over (O1X1)} is:
wherein, is the vector {right arrow over (O1X1)} before the {right arrow over (O1Z1)} of the frame of image is rotated;
the torsion angular degree is:
the torsion angular degree is the angle between the rotated vector {right arrow over (O1X1)} and the X axis in the public reference base coordinate system, which represents the torsion posture of the fruit at the moment corresponding to the frame image, wherein is the unit vector of the X axis in the public reference base coordinate system.
(d1) Similarly, in step (c1), calculating the twisting posture of the fruit at each moment corresponding to each frame image.
A study method of fruit space motion, the space motion of fruit needs to use public reference base coordinates to express its absolute motion. Setting the moments corresponding to two adjacent frames of images to t+1 moment and t moment, based on the point O1 of the connected base coordinate system in adjacent two frames of images, and calculating the displacement of point O1 along the X axis, Y axis and Z axis of the public reference base coordinate system at t+1 moment and t moment respectively. calculating an instantaneous speed along the X axis, an instantaneous speed along the Y axis, and an instantaneous speed along the Z axis of the fruit at t moment according to the displacement, calculating an instantaneous acceleration along the X axis, an instantaneous acceleration along the Y axis and an instantaneous acceleration along the Z axis of the fruit at t moment according to the instantaneous speed, calculating a swing angular displacement of the fruit in the time interval between two adjacent frames of images, sequentially calculating a swing angular speed of the fruit at t moment and a swing angular acceleration of the fruit at t moment via the swing angular displacement, and calculating the torsion angular speed of the fruit at t moment and the torsion angular acceleration of the fruit at t moment according to the torsion angular degree from t moment to t+1 moment. The fruit space motion process is divided into translation, swing and torsion, and the motion process is shown in
Wherein, the instantaneous speed moving along the X Y Z axis, the instantaneous acceleration moving along the X Y Z axis, the swing angular displacement, the swing angular speed, and the swing angular acceleration within the frame time interval, the torsion angular degree, the torsion angular speed, and the torsion angular acceleration within the frame time interval all indicate the tracked fruit space motion status. The specific calculation method is as follows:
(a2) setting moments corresponding to two adjacent frames of images to t+1 moment and t moment, based on the point O1 of the connected base coordinate system in adjacent two frames of images, and calculating the displacement of the point O1 along the X axis of the public reference base coordinate system at t+1 moment and t moment respectively:
S
x
=x
O
−x
O
(12);
S=√{square root over (Sx2+Sy2+Sz2)} (13);
(b2) using the average speed of the point O1 moving along the X axis of the public reference base coordinate system from t moment to t+1 moment to express the instantaneous speed vx(t) of the fruit along the X axis at t moment:
wherein Δt is the interval time between two frames of images; similarly, the instantaneous speed vy (t) of the fruit along the Y axis of the public reference base coordinate system at t moment and the instantaneous speed vz (t) of the fruit along the Z axis at t moment can be obtained, then the combined speed of the fruit at t moment is:
v=√{square root over (vx (t)2+Vy (t)2+vz (t)2)} (15);
(c2) using the acceleration of the point O1 moving along the X axis of the public reference base coordinate system from t moment to t+1 moment to express the instantaneous acceleration ax(t) of the fruit along the X axis at the t moment:
wherein vx (t+1) is the instantaneous speed of the fruit along the X axis at t+1 moment, and vx(t) is the instantaneous speed of the fruit along the X axis at t moment; similarly, the instantaneous acceleration ay (t) of the fruit along the Y axis of the public reference base coordinate system at t moment and the instantaneous acceleration az (t) of the fruit along the Z axis of the public reference base coordinate system at t moment can be obtained; then the combined acceleration of the fruit at t moment is:
a=√{square root over (ax (t)2+ay (t)2+az (t)2)} (17);
(d2) since there are too many solving moments, this embodiment lists the positions of the connected base coordinate system of adjacent t+1 moment and t moment corresponding to two adjacent frames of images to indicate the swing and twist of the fruit. For convenience of representation, the origins of the conjoined base coordinates of two adjacent moments are overlapped, as shown in
wherein
is the direction vector of Z connected-axis at t moment, that is t moment vector {right arrow over (O1Z1)};
is the direction vector of Z connected-axis at t+1 moment, that is t+1 moment vector {right arrow over (O1Z1)};
(e2) using the average swing angular speed from t moment to t+1 moment to express the t swing angular speed ωθ
(f2) using the amount of change of the swing angular speed from t moment to t+1 moment to express the swing angular acceleration aθ
(g2)
similarly, in formula (10) of step (c1), the vector {right arrow over (O1X1)} rotated at t moment is:
wherein
is the vector {right arrow over (O1X1)} before the Z connected-axis rotation at t moment;
is the vector {right arrow over (O1X1)} after the Z connected-axis rotation at t moment; T2
the torsion angular speed degree of the fruit from t moment to t+1 moment is:
wherein
is the rotated vector {right arrow over (O1X1)} at t moment,
is the rotated vector {right arrow over (O1X1)} at t+1 moment;
the torsion angular speed of the fruit at t moment is:
the torsion angular acceleration of the fruit at t moment is:
When the inertial force generated by the vibration of vibrating fruit picking exceeds the separation force between the fruit and the fruit stem, the fruit is separated from the fruit branch or the fruit stem at the weakest connection point to complete the picking. The effect of fruit separation ultimately depends on the maximum inertial force generated when the fruit vibrates. Inertial force comes from acceleration, so acceleration response is one of the most important characteristics in fruit tree dynamics. This method can construct the trajectory of the fruit in the vibration process through the relationship between the conjoined base at the junction of the fruit stem and the fruit, and then solve the displacement, speed and acceleration of fruit at each moment, which is beneficial to explore the law of fruit movement. The binocular-vision-based method for tracking fruit space attitude and fruit space motion, the system and analysis software for taking fruit vibration photography belong to the prior art, such as binocular cameras and spatial position synthesis software.
The scope of protection of the present invention includes, but is not limited to, the above-mentioned embodiments. The scope of protection of the present invention is subject to the claims. Any substitutions, modifications, and improvements that can be easily conceived by those skilled in the art made to the present invention fall within the scope of protection of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201811438358.7 | Nov 2018 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2020/074017 | 1/23/2020 | WO | 00 |