A method and apparatus for detasseling corn

By using a multi-sensor sensing module to identify the three-dimensional point cloud information of the tassels and functional leaves of corn plants, and combining this with chassis motion information to plan the working height trajectory, the problem of complete removal of tassels and damage to functional leaves in existing corn detasseling equipment has been solved, achieving precise corn detasseling operation.

CN123166102APending Publication Date: 2026-11-27SHIHEZI UNIVERSITY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611650969.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-23
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing corn detasseling equipment is unable to effectively reduce damage to functional leaves while ensuring complete removal of tassels. This is mainly because the detection method only focuses on the top of the plant or the tassel itself, which cannot reflect the local spatial relationship between the ears and leaves. Furthermore, the undulations of the field surface cause the machinery to move around, exacerbating the deviation in the detection position.

Method used

The system employs a multi-sensor sensing module, including a binocular vision camera and an inertial measurement unit, to identify local three-dimensional point cloud information of the tassel and functional leaves. Combined with a wheel speed encoder, it estimates the chassis motion information and plans the operating height trajectory of the flexible leaf-separating guide device and the tassel-pulling wheel assembly. This ensures that the guide device accurately enters the gap between the tassel and leaves and guides the outer side of the functional leaves, avoiding accidental pinching or cutting.

Benefits of technology

By accurately identifying the spatial relationship between the tassel and functional leaves and compensating for deviations caused by surface undulations, the complete extraction of the tassel was achieved, while reducing the risk of damage to the functional leaves.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123166102A_ABST
    Figure CN123166102A_ABST
Patent Text Reader

Abstract

The application discloses a corn detasseling method and device, and relates to the technical field of agricultural machinery, and mainly reduces functional leaf damage while ensuring complete removal of tassels. The main technical scheme of the application is as follows: local three-dimensional point cloud information of tassels and two-side functional leaves is recognized by using image information of a corn plant; according to motion information of a wheel speed encoder and an inertial measurement unit, pose changes of a mobile chassis to a predicted contact time are estimated to update the local three-dimensional point cloud information, and predicted local three-dimensional point cloud information is obtained; a tassel projection area and a functional leaf projection area are calculated to calculate a transverse net gap; according to the transverse net gap, fixed opening parameters and an effective working range, a target extraction position is determined; according to the relative position of the target extraction position and a guide device, a predicted travel distance of the mobile chassis and a motion capability of a profiling mechanism, a working height trajectory is planned to control the profiling mechanism to ascend and descend, so that the guide device reaches the target extraction position and a tassel is extracted according to a tassel extraction wheel assembly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of agricultural machinery technology, and in particular to a method and apparatus for detasseling corn. Background Technology

[0002] Maize is an important food crop and seed crop. Seed production is a crucial step in agricultural production, and detasseling is a key process in seed maize production. Its purpose is to remove the tassels of the female parent before pollen is released, ensuring the female parent receives pollen from the male parent and achieving hybrid seed production. The integrity of the tassel removal and the protection capacity of the functional leaves directly affect seed yield and quality.

[0003] Corn detasseling equipment is used to perform detasseling operations. In current actual operations, corn detasseling equipment typically operates according to the following process: The machine moves along the direction of the corn row. The separating and guiding component first contacts the plant, separating adjacent plants and straightening and guiding the target plant to the central channel. Subsequently, the position of the plant top is obtained using infrared or other methods, and some solutions use cameras to collect images to detect the height of the plant top. The control system controls the lifting adjustment device to adjust the detasseling component to the corresponding height based on the detected plant height, so that the clamping wheel or cutter is aligned with the tassel. While the separating and guiding component supports and guides the plant, the detasseling component clamps and removes or cuts the tassel, thereby completing the detasseling operation of a single plant or an entire row of plants.

[0004] However, existing detection methods primarily focus on the top of the plant or the tassel itself. The tassel, located in the upper part of the plant, is often intertwined with and obscured by the functional leaves on both sides. Relying solely on plant height or tassel position makes it difficult to reflect the local spatial morphology and relative positional relationship between the tassel and the functional leaves. Furthermore, the unevenness of the field surface causing machine movement and changes in vehicle posture further exacerbate the discrepancy between the detected position and the actual contact position of the detasseling component. This makes it difficult to ensure complete removal of the tassel and avoid damage to functional leaves, easily leading to problems such as missed or residual tassels, or the detasseling component accidentally clamping or cutting functional leaves. Simultaneously, current methods rely solely on passively guiding the feeding via a guide structure or adjusting the working components according to plant height. With the guide device and the tassel-removing wheel in fixed relative positions and the working components only able to move up and down as a whole, improper entry of the guide tip into the gap between the tassel and leaves may occur, increasing the risk of functional leaves being clamped or entangled. In summary, existing corn detasseling machines cannot effectively reduce damage to functional leaves while ensuring complete removal of the tassel. Summary of the Invention

[0005] In view of the above problems, the present invention provides a method and apparatus for detasseling maize, the main purpose of which is to effectively reduce damage to functional leaves while ensuring the complete removal of tassels.

[0006] To solve the above-mentioned technical problems, the present invention proposes the following solution: In a first aspect, the present invention provides a method for detasseling corn, applied to corn detasseling equipment. The corn detasseling equipment includes a mobile chassis, a multi-sensor sensing module, a flexible leaf-splitting guide device, a tassel-removing wheel assembly, an electric cylinder-driven contouring mechanism, and a main controller. The flexible leaf-splitting guide device is located in front of the tassel-removing wheel assembly, and the flexible leaf-splitting guide device and the tassel-removing wheel assembly maintain a fixed relative position. The electric cylinder-driven contouring mechanism is used to drive the flexible leaf-splitting guide device and the tassel-removing wheel assembly to rise and fall as a whole. The method includes: The image information of corn plants in the working area is acquired by the binocular vision camera in the multi-sensor perception module, and the tassel and the functional leaves on both sides of the tassel in the corn plant are identified according to the image information. The local three-dimensional point cloud information of the tassel and the functional leaves on both sides at the time of image acquisition is determined respectively. The motion information of the mobile chassis is acquired using the wheel speed encoder and inertial measurement unit in the multi-sensor sensing module. Based on the motion information, the relative displacement and attitude change of the mobile chassis from the image acquisition time to the expected contact time between the flexible leaf-splitting guide device and the corn plant are estimated. Based on the relative displacement and attitude change, the local three-dimensional point cloud information of the tassel and the functional leaves on both sides is updated to the expected contact time to obtain the expected local three-dimensional point cloud information. The expected local three-dimensional point cloud information is projected onto the horizontal-vertical plane along the direction of the machine's movement to obtain the tassel projection area and the functional leaf projection area corresponding to the tassel and the functional leaf on both sides, respectively. The horizontal net gap between the tassel and the functional leaf on both sides is calculated based on the tassel projection area and the functional leaf projection area. Based on the lateral net gap, the fixed opening parameters of the flexible leaf-splitting guide device, and the effective working range of the tassel-extracting wheel assembly, the target extraction position that meets the requirement of complete tassel extraction from the corn plant is determined. Based on the relative position of the target extraction position and the flexible leaf-splitting guide device, the expected travel distance of the mobile chassis, and the motion capability of the electric cylinder-driven contouring mechanism, the working height trajectory of the flexible leaf-splitting guide device and the male-pulling wheel assembly as a function of time is planned. According to the working height trajectory, the electric cylinder-driven contouring mechanism controls the overall lifting and lowering of the flexible leaf-splitting guide device and the tassel-pulling wheel assembly, so that the flexible leaf-splitting guide device reaches the target extraction position and enters the gap between the tassel and the functional leaves on both sides of the corn plant, guiding the functional leaves on both sides outward, so that the tassel enters the effective working range of the tassel-pulling wheel assembly, and the tassel-pulling wheel assembly extracts the tassel.

[0007] Secondly, the present invention provides a corn detasseling device, applied to corn detasseling equipment. The corn detasseling equipment includes a mobile chassis, a multi-sensor sensing module, a flexible leaf-splitting guide device, a tassel-removing wheel assembly, an electric cylinder-driven contouring mechanism, and a main controller. The flexible leaf-splitting guide device is located in front of the tassel-removing wheel assembly, and the flexible leaf-splitting guide device and the tassel-removing wheel assembly maintain a fixed relative position. The electric cylinder-driven contouring mechanism is used to drive the flexible leaf-splitting guide device and the tassel-removing wheel assembly to lift and lower as a whole. The device includes: The first acquisition unit is used to acquire image information of corn plants in the working area collected by the binocular vision camera in the multi-sensor perception module, and to identify the tassel and the functional leaves on both sides of the tassel in the corn plant according to the image information, and to determine the local three-dimensional point cloud information of the tassel and the functional leaves on both sides at the time of image acquisition. The second acquisition unit is used to acquire the motion information of the mobile chassis collected by the wheel speed encoder and inertial measurement unit in the multi-sensor perception module, and based on the motion information, estimate the relative displacement and attitude change of the mobile chassis from the image acquisition time to the expected contact time between the flexible leaf-splitting guide device and the corn plant, and update the local three-dimensional point cloud information of the tassel and the functional leaves on both sides obtained by the first acquisition unit to the expected contact time based on the relative displacement and the attitude change, so as to obtain the expected local three-dimensional point cloud information. The gap calculation unit is used to project the expected local three-dimensional point cloud information obtained by the second acquisition unit onto the horizontal-vertical plane along the machine's forward direction, to obtain the tassel projection area and the functional leaf projection area corresponding to the tassel and the functional leaves on both sides, respectively, and to calculate the horizontal net gap between the tassel and the functional leaves on both sides based on the tassel projection area and the functional leaf projection area. The position determination unit is used to determine the target extraction position that meets the requirement of complete extraction of the male tassels of the corn plant based on the lateral net gap obtained by the gap calculation unit, the fixed opening parameters of the flexible leaf-splitting guide device, and the effective working range of the male tassel extraction wheel assembly. The trajectory determination unit is used to plan the working height trajectory of the flexible leaf-splitting guide device and the male-pulling wheel assembly as the working height changes over time, based on the relative position of the target extraction position and the flexible leaf-splitting guide device determined by the position determination unit, the expected travel distance of the mobile chassis, and the motion capability of the electric cylinder-driven contouring mechanism. The extraction control unit is used to control the electric cylinder-driven contouring mechanism to raise and lower the flexible leaf-splitting guide device and the tassel-extracting wheel assembly as a whole, based on the working height trajectory determined by the trajectory determination unit. This allows the flexible leaf-splitting guide device to reach the target extraction position and enter the gap between the tassel and the functional leaves on both sides of the corn plant, guiding the functional leaves on both sides outwards so that the tassel enters the effective working range of the tassel-extracting wheel assembly, whereby the tassel-extracting wheel assembly extracts the tassel.

[0008] To achieve the above objectives, according to a third aspect of the present invention, a storage medium is provided, the storage medium including a stored program, wherein, when the program is executed, the device on which the storage medium is located controls the execution of the corn detasseling method of the first aspect.

[0009] To achieve the above objectives, according to a fourth aspect of the present invention, a processor is provided for running a program, wherein the program executes the corn demasting method of the first aspect described above.

[0010] By utilizing the above technical solution, the present invention provides a method and apparatus for detasseling corn. This method uses a binocular vision camera to acquire image information of corn plants in the working area, and identifies the tassels and functional leaves on both sides of the tassels based on the image information. It determines the local three-dimensional point cloud information of the tassels and the functional leaves on both sides at the time of image acquisition, thereby obtaining the local spatial morphology and relative positional relationship between the tassels and the functional leaves on both sides. This overcomes the shortcomings of existing detection methods that only focus on the top of the plant or the tassel itself and cannot reflect the local spatial relationship between the ears and leaves. Furthermore, by using a wheel speed encoder and an inertial measurement unit to acquire the motion information of the moving chassis, the method estimates the time from the time of image acquisition to the expected contact between the flexible leaf-separating and guiding device and the corn plant. The relative displacement and attitude changes are measured, and based on this, the local three-dimensional point cloud information of the tassel and the functional leaves on both sides is updated to the expected contact time, resulting in expected local three-dimensional point cloud information. This can compensate for the deviation between the detected position and the actual contact position caused by the bumps in the field surface and the changes in the vehicle's attitude. This makes the position information used for subsequent operational decisions closer to the actual state when the flexible leaf-splitting guide device actually reaches the plant. By projecting the expected local three-dimensional point cloud information along the direction of the machine's movement onto the horizontal-vertical plane, the projection areas of the tassel and the functional leaves are obtained. Based on these, the lateral net gap between the tassel and the functional leaves on both sides is calculated, which can quantitatively characterize the space on both sides of the tassel that the flexible leaf-splitting guide device can enter. The allowance for maneuver provides a basis for subsequent judgment on whether the guiding device can safely enter the gap between the panicles and leaves. Based on the lateral net gap, the fixed opening parameters of the flexible leaf-splitting guiding device, and the effective working range of the tassel-removing wheel assembly, the target extraction position that meets the requirement of complete tassel extraction is determined. This allows for the selection of a suitable extraction position while considering both the opening size of the guiding device and the working range of the tassel-removing wheel, avoiding improper entry of the guiding device's tip into the gap between the panicles and leaves, which could result in clamping or entanglement of functional leaves. Based on the relative position of the target extraction position and the flexible leaf-splitting guiding device, the expected travel distance of the moving chassis, and the motion capability of the electric cylinder-driven contouring mechanism, the working height trajectory of the flexible leaf-splitting guiding device and the tassel-removing wheel assembly over time is planned, ensuring that the working components reach the target extraction position... The process is smooth and transitions smoothly to avoid collisions or misalignments between the guide device and functional leaves due to sudden height changes. The contour-following mechanism driven by the electric cylinder, controlled by the operating height trajectory, raises and lowers the flexible leaf-splitting guide device and the tassel-pulling wheel assembly as a whole. This allows the flexible leaf-splitting guide device to reach the target extraction position and enter the gap between the tassel and the functional leaves on both sides. It guides the functional leaves on both sides outward, allowing the tassel to enter the effective operating range of the tassel-pulling wheel assembly, where the tassel-pulling wheel assembly extracts the tassel. Under the condition that the relative positions of the guide device and the tassel-pulling wheel are fixed, the guide device can be accurately inserted into the gap between the ears and leaves and the functional leaves can be guided outward by actively planning the operating height. This ensures that the tassel is extracted completely while reducing the risk of the functional leaves being accidentally pinched or cut.

[0011] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0012] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 A flowchart of a corn demasting method provided by an embodiment of the present invention is shown; Figure 2 This diagram illustrates the composition of a corn demasting device according to an embodiment of the present invention. Figure 3 A block diagram of another corn demasting device provided in an embodiment of the present invention is shown. Detailed Implementation

[0013] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0014] The present invention provides a corn detasseling method applied to corn detasseling equipment, including a mobile chassis, a multi-sensor sensing module, a flexible leaf-separating and guiding device, a tassel-removing wheel assembly, an electric cylinder-driven contouring mechanism, and a main controller.

[0015] The multi-sensor perception module consists of a binocular vision camera, a wheel speed encoder, and an inertial measurement unit. The binocular vision camera is used to acquire images of the work area, the wheel speed encoder is used to provide chassis travel speed and short-term displacement estimation, and the inertial measurement unit is used to acquire chassis angular velocity and acceleration information to assist in estimating chassis attitude changes. The sensors transmit the acquired data to the main controller.

[0016] The flexible leaf-splitting guide device is fixedly installed in front of the tasseling reel assembly. It consists of flexible belts arranged symmetrically on the left and right sides in a triangular outline to form the guide surface. A central channel for the tassel to enter is formed between the two guide surfaces. The front ends of the left and right guide surfaces enter the gap between the tassel and the corresponding functional leaf, respectively. The relative motion generated by the machine's forward movement gradually guides the leaf to the outside and maintains the necessary ear-leaf interval at the working position of the tasseling reel.

[0017] The guide device and the male-collecting wheel assembly are fixed in relative positions and are mounted together on the electric cylinder-driven contouring mechanism. The electric cylinder only drives the overall lifting and lowering of the working components. The guide opening and the effective working range of the male-collecting wheel are stored in the main controller as pre-calibrated fixed geometric parameters.

[0018] The main controller receives data from a binocular vision camera, a wheel speed encoder, and an inertial measurement unit. Based on the image information, it identifies the tassel and functional leaves on both sides and determines their local three-dimensional point cloud information. Based on the data from the wheel speed encoder and the inertial measurement unit, it estimates the relative displacement and attitude change of the chassis from the image acquisition time to the expected contact time. It updates the local three-dimensional point cloud information to the expected contact time, calculates the lateral clearance through projection, and determines the target extraction position by combining the guide opening parameters and the effective working range of the tassel extraction wheel. It plans the trajectory of the working height changing over time and sends control commands to the electric cylinder to drive the contouring mechanism to perform lifting and lowering actions, realizing coordinated control of the approach, leaf separation, extraction, and withdrawal processes.

[0019] Next, based on Figure 1 This invention provides a method for demasking corn, the specific steps of which are as follows: Figure 1 As shown, it includes: 101. Acquire image information of corn plants in the working area using the binocular vision camera in the multi-sensor perception module, and identify the tassel and functional leaves on both sides of the tassel in the corn plant according to the image information, and determine the local three-dimensional point cloud information of the tassel and the functional leaves on both sides at the time of image acquisition.

[0020] 102. Acquire the motion information of the mobile chassis collected by the wheel speed encoder and inertial measurement unit in the multi-sensor sensing module, and estimate the relative displacement and attitude change of the mobile chassis from the image acquisition time to the expected contact time between the flexible leaf-splitting guide device and the corn plant based on the motion information. Update the local three-dimensional point cloud information of the tassel and the functional leaves on both sides to the expected contact time based on the relative displacement and attitude change, and obtain the expected local three-dimensional point cloud information.

[0021] In practical applications, the images, wheel speed, and inertial measurement data need to be based on a unified spatial and temporal reference in order to convert the identified plant position into the relative position between the two when the working component comes into contact with the plant.

[0022] Under this premise, a machine coordinate system is first established, with the machine's forward direction as the X-axis, the horizontal direction as the Y-axis, and the vertical direction as the Z-axis. The coordinate transformation relationship between the binocular vision camera, the inertial measurement unit, and the working components is calibrated. The coordinate transformation relationship is the rotation and translation parameters between the coordinate system of each component and the machine coordinate system. The image, wheel speed, and inertial measurement data are then time-aligned based on the timestamp. The timestamp is the time marker of the data sampling time. Time alignment means unifying the interpolation of data from different sampling frequencies to the same time.

[0023] In step 101, the binocular vision camera acquires image information of the corn plants in the working area. The image information includes left and right images captured simultaneously by the left and right cameras. The binocular vision camera sends the image information to the main controller. The main controller identifies the tassels and functional leaves on both sides of the tassels in the corn plants based on the image information, that is, it classifies the left and right images pixel by pixel, segments the tassel region and the left and right functional leaf regions, and then reconstructs the local point cloud by combining the parallax information. The parallax is the pixel difference between the imaging positions of the same spatial point in the left and right images. The main controller performs stereo matching image by image. The parallax is calculated, and the depth of each pixel is calculated based on the trigonometric relationship that parallax is inversely proportional to depth. The depth is then back-projected into three-dimensional coordinates. The three-dimensional coordinates corresponding to the tassel region and the functional leaf region are collected into a local point cloud. The local point cloud is a set of spatial points that characterize the surface shape of the tassel and the functional leaves on both sides. The spatial position, main axis direction, and shape range of the tassel, as well as the spatial boundaries and distribution of the left and right functional leaves, are obtained from the local point cloud. The local point cloud is then transformed to the machine coordinate system according to the coordinate transformation relationship, thereby determining the local three-dimensional point cloud information of the tassel and the functional leaves on both sides at the time of image acquisition.

[0024] In step 102, the wheel speed encoder and the inertial measurement unit collect motion information of the moving chassis. The motion information is information that characterizes the translation and rotation state of the chassis, including the chassis speed converted from the wheel speed pulses output by the wheel speed encoder, and the chassis angular velocity and acceleration output by the inertial measurement unit. The wheel speed encoder and the inertial measurement unit send the motion information to the main controller.

[0025] Since the local three-dimensional point cloud information determined in step 101 represents the position of the tassel and the functional leaves on both sides in the machine coordinate system at the time of image acquisition, and the contact between the flexible leaf-separating and guiding device and the plant occurs at the expected contact time, the movement of the chassis between the two times may cause the machine coordinate system to change relative to the plant. If the point cloud at the time of image acquisition is directly used, the position calculated later will not match the actual position at the time of contact. Therefore, the main controller integrates the wheel speed encoder and inertial measurement information, first calculates the expected contact time to define the calculation period, then calculates the amount of chassis movement within the period, and finally uses the amount of movement to update the point cloud to the expected contact time.

[0026] When calculating the expected contact time, the main controller obtains the distance between the plant and the machine along the forward direction from the coordinates of the tassel and functional leaf point cloud along the X-axis in the local three-dimensional point cloud information. Then, it subtracts the position of the front end of the flexible leaf-separating and guiding device along the X-axis, which is determined by the coordinate transformation relationship, to obtain the distance that the chassis still needs to travel. Dividing this distance by the chassis traveling speed in the motion information, the time required from the image acquisition time to contact with the plant is obtained. The image acquisition time plus this time is the expected contact time. The time period from the image acquisition time to the expected contact time is the time period used for subsequent integration.

[0027] When calculating the chassis motion during this period, the main controller extracts the chassis speed and angular velocity from the motion information. The chassis speed is integrated over time to obtain the chassis translation along the X, Y, and Z axes. This translation constitutes the relative displacement of the moving chassis from the image acquisition time to the expected contact time. The chassis angular velocity is integrated over time to obtain the chassis rotation angle around the X, Y, and Z axes. This rotation angle constitutes the attitude change of the moving chassis from the image acquisition time to the expected contact time.

[0028] When updating the point cloud, since the chassis translates according to relative displacement and rotates according to attitude change, the machine coordinate system has undergone the same translation and rotation relative to the plant. The main controller applies translation in the opposite direction to the relative displacement and rotation in the opposite direction to the attitude change to the local three-dimensional point cloud information to counteract the change in the machine coordinate system. This allows the point cloud to express the position of the tassel and the functional leaves on both sides in the machine coordinate system at the expected contact time. Thus, the local three-dimensional point cloud information of the tassel and the functional leaves on both sides is updated to the expected contact time, and the expected local three-dimensional point cloud information is obtained.

[0029] As the integration error accumulates over time, the main controller repeatedly executes steps 101 and 102 with the input of new images, uses the latest images to redetermine the local three-dimensional point cloud information and recalculate the expected contact time, so that the time period used for each integration is kept short, and the target position is continuously corrected to reduce the deviation of the working position caused by the movement and attitude changes of the machine.

[0030] 103. Project the expected local three-dimensional point cloud information onto the horizontal-vertical plane along the direction of the machine's movement to obtain the tassel projection area and the functional leaf projection area corresponding to the tassel and the functional leaf on both sides, respectively. Calculate the net horizontal gap between the tassel and the functional leaf on both sides based on the tassel projection area and the functional leaf projection area.

[0031] In practical applications, whether the front end of the flexible leaf-splitting guide device can enter the gap between the tassel and the functional leaves on both sides depends on the spatial margin in the horizontal and vertical directions. However, the expected local three-dimensional point cloud information is a three-dimensional representation, and this margin cannot be directly compared. It needs to be converted into a two-dimensional region relationship on the horizontal-vertical plane before calculation. Under this premise, in step 103, the main controller projects the expected local three-dimensional point cloud information along the machine's forward direction onto the horizontal-vertical plane, obtaining the tassel projection area and the functional leaf projection area corresponding to the tassel and the functional leaves on both sides, respectively. Based on the tassel projection area and the functional leaf projection area, the net horizontal gap between the tassel and the functional leaves on both sides is calculated, specifically including the following sub-steps: Step 1031: Project the expected local three-dimensional point cloud information corresponding to the tassel and the functional leaves on both sides onto the horizontal-vertical plane along the direction of the machine's movement to obtain the tassel projection area and the functional leaf projection area. Each point in the local three-dimensional point cloud information has the coordinates of the machine's movement direction, the horizontal coordinates and the vertical coordinates, as well as the plant affiliation information. The plant affiliation information is used to characterize the maize plant to which each point in the expected local three-dimensional point cloud information belongs. Step 1032: Select multiple working heights as candidate working heights within the reachable height range limited by the lifting stroke of the electric cylinder driven contouring mechanism, and for each candidate working height, extract the two sides of the male ear in the horizontal direction from the male ear projection area, and use them as the left projection boundary and the right projection boundary of the male ear, respectively. Step 1033: For each candidate operation height, extract the edge of the left functional leaf near the tassel from the functional leaf projection area as the inner boundary of the left functional leaf projection, and extract the edge of the right functional leaf near the tassel as the inner boundary of the right functional leaf projection. Each projection boundary is taken from the same local section. Step 1034: Taking the lateral positive direction pointing to the right side of the machine as a reference, the difference in lateral coordinates between the left projection boundary of the tassel and the inner projection boundary of the left functional leaf is taken as the left lateral net gap, and the difference in lateral coordinates between the inner projection boundary of the right functional leaf and the right projection boundary of the tassel is taken as the right lateral net gap, thus obtaining the lateral net gap between the tassel and the functional leaves on both sides corresponding to each candidate operation height.

[0032] In sub-step 1031, the main controller first filters out points belonging to the current target corn plant from the expected local 3D point cloud information based on the plant affiliation information, so as to exclude points from adjacent plants from being included in the calculation; then, it performs projection along the machine's forward direction X on the filtered points, and the projection is performed according to the projection operator: Execution, in which The projection operator represents the projection along the machine's forward direction X. The coordinates of a point in the machine coordinate system are the machine's forward direction coordinates, horizontal coordinates, and vertical coordinates. After projection, the machine's forward direction coordinate x is discarded, while the horizontal coordinate y and vertical coordinate z are retained. After projection, the points of the tassel converge on the horizontal-vertical plane to form the tassel projection area. After projection, the points of the left and right functional leaves converge to form the functional leaf projection area. The two areas respectively represent the occupancy range of the tassel and functional leaves in the horizontal and vertical directions.

[0033] In step 1032, the lifting stroke is the vertical range in which the electric cylinder-driven contouring mechanism drives the flexible leaf-splitting guide device and the tassel-pulling wheel assembly to lift as a whole. The achievable height range is the height interval that the working components can reach within the lifting stroke limit. The main controller selects multiple working heights as candidate working heights at preset intervals within the achievable height range to compare the space margin between the ears and leaves at different heights. For each candidate working height, the main controller extracts the two sides of the tassel in the horizontal direction from the tassel projection area within the effective contact height zone corresponding to the candidate working height, that is, within the vertical range where the front end of the flexible leaf-splitting guide device and the tassel-pulling wheel assembly actually work at that height. The side edge with the smaller horizontal coordinate is used as the left projection boundary of the tassel, and the side edge with the larger horizontal coordinate is used as the right projection boundary of the tassel.

[0034] In step 1033, for each candidate operating height, the main controller extracts the edge of the left functional leaf near the tassel from the functional leaf projection area as the inner boundary of the left functional leaf projection and extracts the edge of the right functional leaf near the tassel as the inner boundary of the right functional leaf projection within the same effective contact height zone. Each projection boundary is taken from the same local section, which refers to the same vertical local range within the effective contact height zone under the same candidate operating height, so that the left projection boundary of the tassel, the right projection boundary of the tassel, the inner boundary of the left functional leaf projection, and the inner boundary of the right functional leaf projection are obtained at the same position, avoiding boundary misalignment comparison.

[0035] In step 1034, the main controller is positioned with the positive lateral direction pointing to the right side of the machine, i.e., the positive Y-axis of the machine coordinate system points to the right side of the machine; the left and right projected boundaries of the tassel are denoted as follows: The inner boundaries of the left functional leaf projection and the right functional leaf projection are respectively The superscript plus or minus sign is only for boundary marking; therefore, the left lateral clearance is... Right-side lateral clearance They are respectively: (Formula 1) That is, the main controller uses the difference in lateral coordinates between the left projection boundary of the tassel and the inner projection boundary of the left functional leaf as the left lateral net gap, and the difference in lateral coordinates between the inner projection boundary of the right functional leaf and the right projection boundary of the tassel as the right lateral net gap. Since the positive lateral direction points to the right side of the machine, the lateral coordinates of the inner boundary of the left functional leaf projection are... The lateral coordinates of the left projection boundary of the male ear are smaller than Difference The value is positive, and its size is equal to the lateral margin between the left functional leaf and the tassel that allows the left guide surface of the flexible leaf-separating guide device to enter. The same applies to the right side. The difference is... This is equal to the lateral clearance between the right functional leaf and the tassel, which allows the right guide surface to enter. The main controller repeats steps 1032 to 1034 for each candidate operation height to obtain the lateral net gap between the tassel and the functional leaves on both sides corresponding to each candidate operation height, including the left lateral net gap and the right lateral net gap.

[0036] It should be noted that the "current corn plant" refers to the target corn plant that the flexible leaf-splitting guide device is about to contact, and the tassel-extracting reel assembly is about to extract its tassels. Although multiple corn plants exist simultaneously within the field of view of the binocular vision camera, the main controller can identify them based on the position of each cluster of points in the machine's coordinate system: first, plants located in the working row are screened out according to the horizontal coordinate; then, the distance between each plant and the front end of the flexible leaf-splitting guide device is compared according to the coordinate along the machine's forward direction. The plant located in front of the guide device and closest to it is identified as the "current corn plant," and the other plants are not included in the calculation. As the moving chassis advances, after the extraction of this plant is completed, the main controller updates the next closest plant as the "current corn plant," and so on, switching between plants one by one.

[0037] Through sub-steps 1031 to 1034, the expected local 3D point cloud information is projected onto the horizontal-vertical plane along the machine's forward direction, allowing the local spatial morphology and relative positional relationship between the tassel and the functional leaves on both sides to be expressed in the form of a two-dimensional region. This overcomes the insufficiency of relying solely on plant height or tassel position to reflect the local spatial relationship between ears and leaves. The point cloud is filtered using plant affiliation information to ensure that the projection area comes only from the current target corn plant, avoiding the inclusion of leaves from neighboring plants that could cause underestimation of the gap. Multiple candidate operating heights are selected within the reachable height range limited by the lifting stroke and extracted separately. The boundary is calculated and the lateral net gap is calculated so that the calculation results cover the entire height that the working component can reach, reflecting the change of the ear-leaf gap with height, and providing a direct basis for determining the target extraction position. Each projected boundary is taken from the same local section to ensure that the boundaries at the same height correspond to each other, avoiding misjudgment of gap caused by misaligned extraction. The lateral coordinate difference is used to directly characterize the lateral margin that the guide surface can enter, so that it can be used to determine whether the fixed opening of the flexible leaf-splitting guide device can safely enter the ear-leaf gap, thereby reducing the risk of functional leaves being clamped or entangled while ensuring the complete extraction of the tassel.

[0038] The reason for determining multiple candidate operation heights is that the vertical interlacing and shading relationship between the tassel and the functional leaves on both sides changes with height. The lateral net gap at different heights on the same corn plant is not the same, and the clamping part is a section extending along the main axis of the tassel. The upper, middle or lower part of this section can be clamped, corresponding to multiple feasible alignment heights. If only a single height is taken, it is impossible to know the change of gap with height. It is also possible to misjudge the plant as unoperable because the height does not meet the conditions for the guide front to enter or the functional leaves to avoid, or to miss feasible heights with greater margin. Only by selecting multiple candidate operation heights within the reachable height range, calculating the lateral net gaps for each and verifying them one by one, can we obtain the extractable area composed of all feasible heights, and select the one with the largest margin as the target extraction position to provide the endpoint height for trajectory planning in step 105.

[0039] 104. Based on the transverse net clearance, the fixed opening parameters of the flexible leaf-separating guide device, and the effective working range of the tassel-extracting reel assembly, determine the target extraction position that meets the requirement of complete tassel extraction from the corn plant.

[0040] In practical applications, the flexible leaf-splitting guide device and the tassel-pulling wheel assembly maintain a fixed relative position and can only be raised and lowered as a whole. The fixed front opening and the effective working range of the tassel-pulling wheel are both fixed geometric parameters. Once a candidate extraction position is selected, the method by which the guide front enters the ear-leaf gap and the method by which the tassel is clamped are simultaneously determined. Therefore, before determining the target extraction position, each candidate extraction position needs to be verified to ensure it simultaneously meets the requirements of complete tassel extraction and functional leaf protection. Under this premise, in step 104, the main controller determines the target extraction position that meets the requirement of complete tassel extraction of the maize plant based on the lateral net gap, the fixed opening parameters of the flexible leaf-splitting guide device, and the effective working range of the tassel-pulling wheel assembly. This specifically includes the following sub-steps: Step 1041: Obtain plant-side information of corn plants, including the tassel morphology obtained based on the expected local three-dimensional point cloud information, the clampable part of the tassel determined according to the tassel morphology, and the lateral net gap. Step 1042: Obtain the machine-side parameters of the corn detasseling equipment. The machine-side parameters include the pre-calibrated fixed opening parameters, effective working range, calibrated extraction stroke requirements, and lifting stroke and lifting speed limits of the electric cylinder-driven contouring mechanism. The fixed opening parameters include the shape and size of the fixed front opening of the flexible leaf-splitting guide device, the effective occupancy width of the left and right guide front ends of the flexible leaf-splitting guide device, and the preset left and right clearance margins. The effective working range includes the effective clamping area of ​​the detasseling wheel assembly and the clamping and entanglement danger area. Step 1043: Based on the morphology of the tassel, the clamping position, the effective clamping area, and the extraction stroke requirements, determine the range of candidate extraction positions that meet the requirements for complete extraction of the tassel of the maize plant. Step 1044: Based on the morphology of the male spike and the fixed opening parameters, perform male spike entry verification on each candidate extraction position in the candidate extraction position range to obtain the male spike entry verification result. Step 1045: Based on the transverse net clearance and fixed opening parameters, perform the guide front end entry verification to obtain the guide front end entry verification result; Step 1046: Perform extraction area matching verification based on the clampable parts, effective clamping area and extraction stroke requirements to obtain extraction area matching verification results; Step 1047: Perform functional leaf avoidance verification based on the expected local 3D point cloud information corresponding to the functional leaves on both sides and the clamping and entanglement danger areas to obtain the functional leaf avoidance verification result. Step 1048: Perform mechanism reachability verification based on lifting stroke and lifting speed limits to obtain mechanism reachability verification results; Step 1049: Determine the set of candidate extraction locations that satisfy the following criteria: tassel entry verification result, guide front entry verification result, extraction area matching verification result, functional leaf avoidance verification result, and mechanism reachability verification result. Then, determine the target extraction location from the extraction location.

[0041] In step 1041, the main controller acquires plant-side information: the morphology of the tassel is composed of the spatial position, main axis direction and shape range of the tassel point cloud in the expected local three-dimensional point cloud information; the clamping part is determined according to the morphology of the tassel, which is the section on the main axis of the tassel whose shape and size are suitable for being clamped by the tassel-pulling wheel assembly and which has no branches blocking it; the lateral net gap is the left lateral net gap and the right lateral net gap corresponding to each candidate operation height obtained in step 103.

[0042] In step 1042, the main controller reads the pre-calibrated machine-side parameters from the memory, including the pre-calibrated fixed opening parameters, effective working range, calibrated extraction stroke requirements, and lifting stroke and lifting speed limits of the electric cylinder-driven contouring mechanism. The fixed opening parameters include the shape and size of the fixed front opening of the flexible leaf-splitting guide device, the effective occupancy width of the left and right guide front ends of the flexible leaf-splitting guide device, and the preset left and right gap margins. The effective working range includes the effective clamping area of ​​the male-pulling wheel assembly and the clamping and entanglement danger area.

[0043] The shape and size of the fixed front opening are the outline shape and opening size of the central channel entrance formed by the left and right guide surfaces at the entrance; the effective width occupied by the front ends of the left and right guide surfaces. The width of the envelope occupied by the front ends of the left and right guides in the lateral direction; left gap margin. Right clearance margin The necessary margin is reserved between the front end of the guide and the tassel and leaves; the effective clamping area is the space in which the tassel-pulling wheel assembly can reliably clamp the tassel, and the clamping and entanglement danger area is the space in which the tassel-pulling wheel assembly may clamp or entangle the leaves; the extraction stroke requirement is the minimum stroke or time required to complete one tassel extraction, as calibrated; the lifting stroke and lifting speed limits are the maximum height range and maximum lifting speed of the entire working assembly driven by the electric cylinder-driven contouring mechanism.

[0044] In step 1043, the main controller determines the candidate extraction position range based on the morphology of the tassel, the grippable part, the effective gripping area, and the extraction stroke requirements. For the tassel itself, the grippable part is spatially aligned with the effective gripping area, ensuring the grippable part falls into the effective gripping area. The required extraction stroke is reserved at the aligned position. This leads to the deduction of the appropriate height range for the operating component. This value is then intersected with the candidate operating heights from step 103 to obtain the candidate extraction position range that satisfies the requirement for complete tassel extraction, denoted as [missing information]. This range only ensures that the tassel itself can be completely clamped and pulled out. It does not take into account factors such as the entry of the guide grain, the avoidance of the functional leaves, and the accessibility of the mechanism. Further screening is required through subsequent verification. That is, only candidate extraction positions that meet all the verification conditions of tassel entry, guide grain gap, tassel pulling action, leaf avoidance, and mechanism accessibility are considered as extractable areas.

[0045] In step 1044, the main controller performs a tassel entry verification, which verifies whether the position and shape of the target tassel match the fixed front opening when it enters the guiding device, and whether it can reach the effective working area of ​​the tassel-pulling wheel along the central channel. The main controller compares the tassel's shape with the shape and size of the fixed front opening based on its morphology, verifying whether the tassel's dimensions in the horizontal and vertical directions are smaller than the corresponding opening dimensions, and whether the tassel's main axis direction is consistent with the extension direction of the central channel, ensuring that the tassel can reach the effective clamping area along the central channel of the fixed front opening after entering the opening. If both conditions are met, the tassel entry verification result is satisfied; otherwise, it is not satisfied. This condition is denoted as... .

[0046] In step 1045, the main controller performs a check on the front end of the guide: First, with the lateral direction pointing to the right side of the machine as the reference, the functional leaves on both sides are marked as left functional leaves if they are located to the left of the tassel, and right functional leaves if they are located to the right of the tassel; then, preliminary screening is performed based on the necessary condition of gap width, that is, the left lateral net gap corresponding to the height of the candidate extraction position is checked. Is it greater than or equal to the effective width of the left guide and the front end? Left clearance margin The sum of the two, and the right-side lateral clearance. Is it greater than or equal to the effective width of the right guide and front end? Right clearance margin sum: (Formula 2) After meeting the width condition, it is still necessary to verify whether the guide front end is actually located within the corresponding gap. Specifically, the main controller places the outer envelope of the left and right guide front ends in the horizontal-vertical plane within the horizontal coordinate interval corresponding to the candidate extraction position. It verifies whether the left guide front end is actually located within the gap between the tassel and the left functional leaf, and whether the right guide front end is actually located within the gap between the tassel and the right functional leaf, while maintaining necessary margins between the outer envelope and the tassel and leaf. If both the width and position conditions are met, the guide front end is considered satisfied in the verification result; otherwise, it is considered unsatisfied. This condition is denoted as... .

[0047] In step 1046, the main controller performs an extraction area matching verification: It verifies whether the clampable part enters the effective clamping area, i.e., compares the spatial coordinates of the clampable part at the candidate extraction position with the range of the effective clamping area; and verifies whether the action stroke or action time provided by the tassel-pulling wheel assembly at the candidate extraction position meets the extraction action stroke requirements. The action stroke is the relative displacement provided by the tassel-pulling wheel assembly from clamping the tassel to the tassel detaching from the plant, and the action time is the time obtained by dividing the action stroke by the chassis travel speed. If both conditions are met, the extraction area matching verification result is satisfied; otherwise, it is not satisfied. This condition is denoted as... .

[0048] In step 1047, the main controller performs functional leaf avoidance verification: based on the expected local 3D point cloud information corresponding to the functional leaves on both sides, the functional leaf point cloud is translated laterally outward to the corresponding position outside the guide surface according to the guiding action of the guide surface, determining the position of the functional leaves on both sides after being guided outward by the flexible leaf guiding device; verifying whether this position is outside the clamping and entanglement danger zone, and verifying whether the minimum distance between the functional leaves on both sides and the clamping and entanglement danger zone during extraction is always greater than or equal to the preset avoidance interval, which is the pre-calibrated minimum distance at which the functional leaves are allowed to approach the clamping and entanglement danger zone; if both are true, the functional leaf avoidance verification result is satisfied; otherwise, it is not satisfied. This condition is denoted as .

[0049] In step 1048, the main controller performs a mechanism reachability check: It checks whether the height difference between the candidate extraction position and the current working height of the flexible leaf-splitting guide device and the male-collecting wheel assembly is within the lifting stroke; and determines the remaining time from the current moment to the expected contact moment when the flexible leaf-splitting guide device reaches the candidate extraction position based on the motion information. The required lifting speed is obtained by dividing the height difference by the remaining time, and it is checked whether the required lifting speed does not exceed the lifting speed limit. If both conditions are met, the mechanism reachability check result is satisfied; otherwise, it is not satisfied. This condition is denoted as... .

[0050] In step 1049, the main controller defines the set of candidate extraction points that satisfy all of the above conditions as the extractable region: (Formula 3) in, This is the extractable region. To satisfy the requirement of complete extraction, the range of candidate extraction points, i.e. the range of candidate extraction locations determined in step 1043, For each candidate point, that is, each candidate extraction position within the range of candidate extraction positions; ∧ represents logical AND; , , , and These represent the conditions for tassel entry, guide gap, tassel removal action, leaf avoidance, and mechanism accessibility, respectively. When all conditions are met, the candidate point belongs to the extractable region. The main controller selects the candidate extraction position with the largest lateral net gap and avoidance interval margin in the extractable region as the target extraction position; if the extractable region is an empty set, it is determined that the current corn plant does not meet the extraction conditions, the current working height is maintained, and steps 1041 to 1049 are re-executed after a new image is input.

[0051] It should be noted that the selection of the target extraction location from the extractable area is performed among different candidate extraction locations on a single corn plant, rather than among multiple corn plants. The reason for selecting among different candidate extraction locations on a single corn plant is that the clampable part of the tassel is a segment extending along the main axis. The alignment of the clampable part into the effective clamping area is not unique; the upper, middle, or lower part of this segment can be clamped, corresponding to multiple different operating heights. At the same time, the lateral net gap and the distance between the functional leaves and the clamping and entanglement danger zone vary with height. Therefore, there are usually more than one location on the same corn plant that simultaneously meets the five verification conditions, but rather constitute a single extractable area. The margin for the guide tassel to enter the gap between the ears and leaves and the margin for the functional leaves to avoid it are different at different locations within this area. Only by comparing the margins of each location and selecting the one with the largest margin as the target extraction location can the risk of the functional leaves being clamped or entangled be further reduced while ensuring the complete extraction of the tassel. Therefore, the selection is performed among different candidate extraction locations on the same corn plant, rather than among multiple corn plants.

[0052] Through steps 1041 to 1049, plant-side information and machine-side parameters are first obtained respectively. Then, each candidate extraction position in the candidate extraction position range is sequentially checked for tassel entry, guide front entry, extraction area matching, functional leaf avoidance, and mechanism reachability. The set of candidate extraction positions that meet all five checks is determined as the extractable area. This ensures that the determination of the target extraction position reflects the local spatial morphology between the tassel and the functional leaves on both sides, the margin of the guide front entering the ear leaf gap, the clamping capacity of the tassel extraction wheel assembly, the functional leaf avoidance requirements, and the motion capability of the contouring mechanism. This overcomes the shortcomings of existing methods that rely solely on plant height or tassel position to adjust the operating components and the improper entry of the guide front into the ear leaf gap. Thus, it ensures complete removal of the tassel while reducing damage to the functional leaves.

[0053] 105. Based on the relative position of the target extraction location and the flexible leaf-splitting guide device, the expected travel distance of the moving chassis, and the motion capability of the electric cylinder-driven contouring mechanism, plan the working height trajectory of the flexible leaf-splitting guide device and the male-extracting wheel assembly as the working height changes over time.

[0054] In practical applications, once the target extraction location is determined, the operating components need to transition from the current operating height to the operating height corresponding to the target extraction location before the flexible leaf-splitting guide device contacts the plant. The flexible leaf-splitting guide device and the tassel-pulling wheel assembly maintain a fixed relative position and can only be raised and lowered as a whole. Raising or lowering too early or too late will result in the guide front entering the gap between the panicle leaves in an inappropriate position. At the same time, the chassis travel speed varies with the undulations of the field surface. The trajectory planned based solely on the travel distance cannot be directly used as the control input for the electric cylinder and needs to be converted into a trajectory that varies with time.

[0055] Under this premise, in step 105, the main controller plans the working height trajectory of the flexible leaf-splitting guide device and the ram-pulling wheel assembly as the working height changes over time, based on the relative position of the target extraction position and the flexible leaf-splitting guide device, the expected travel distance of the moving chassis, and the motion capability of the electric cylinder-driven contouring mechanism. This specifically includes the following sub-steps: Step 1051: Based on the relative position of the target extraction position and the flexible leaf-splitting guide device, determine the target working height that the flexible leaf-splitting guide device and the male seed extraction wheel assembly should reach at each distance within the expected travel distance, and obtain the lifting trajectory of the working height as the travel distance changes. Each target working height is within the reachable height range limited by the lifting stroke of the electric cylinder driven contouring mechanism. Step 1052: Estimate the relationship between the travel distance of the mobile chassis and time based on the motion information, and convert the lifting trajectory into a working height trajectory that changes with time based on the relationship.

[0056] In step 1051, the main controller determines the total height difference based on the relative position between the target extraction position and the flexible leaf-splitting guide device. This total height difference, specifically the vertical component of the relative position, is the difference between the working height corresponding to the target extraction position and the current working height. The expected travel distance of the mobile chassis is used as the range for completing the lifting and lowering. The main controller then uses the total height difference and the expected travel distance to deduce the target working height at each travel distance. The endpoint condition is that the target extraction position should be reached at the end of the expected travel distance. The total height difference is distributed from the endpoint to the starting point according to the proportion of each travel distance to the expected travel distance. The target working height at each travel distance is equal to the working height at the endpoint minus the height difference distributed between that travel distance and the endpoint. To ensure a smooth vertical speed when the guide head enters the gap between the panicles, the distribution ratio of each segment can be determined by minimizing the rate of change at both ends. The main controller then verifies the motion capability of the electric cylinder-driven contouring mechanism: based on the chassis travel speed in the motion information, the difference in target working height at adjacent travel distances is converted into lifting speed, and it is verified that it does not exceed the lifting speed limit. If it does, the distribution ratio of the corresponding segment is reduced and the calculation is reversed. It is also verified that each target working height is within the reachable height range limited by the lifting stroke. If it exceeds the limit, the height is cut off to the boundary of the reachable height range.

[0057] This yields the trajectory of the working height as the travel distance changes, expressed as h = h(s), where s is the forward displacement of the machine, and h(s) is the target working height that changes with the forward displacement.

[0058] In step 1052, the main controller estimates the relationship between the travel distance of the mobile chassis and time based on the motion information. That is, it integrates the chassis travel speed in the motion information with time from the current moment to obtain the relationship between the forward displacement and time, s=s(t), where s(t) is the forward displacement obtained by chassis motion estimation. Then, s(t) is substituted into the lifting trajectory, and the target working height at each moment is calculated according to h(t)=h[s(t)]. The lifting trajectory is converted into a working height trajectory that changes with time, where t is time and h(t) is the corresponding working height command, which is used in step 106 to control the contouring mechanism driven by the electric cylinder to perform overall lifting of the flexible leaf guide device and the seed-collecting wheel assembly.

[0059] Step 1051 uses the total height difference and the expected travel distance to deduce the target working height at each travel distance, ensuring that the working component transitions to the target extraction position before the guide device contacts the plant. The distribution method with small change rates at both ends allows the guide front end to smoothly enter the gap between the panicles and leaves. The verification of the lifting speed and the achievable height range ensures that the trajectory can be actually executed by the contouring mechanism. Step 1052 converts the lifting trajectory into the working height trajectory based on the change relationship between the chassis travel distance and time, ensuring that the lifting and lowering correspond to the actual travel position of the chassis. Even when the speed fluctuates, the lifting and lowering are still performed according to the position, reducing the deviation between the detection position and the actual contact position. This allows the guide front end to enter the gap between the panicles and leaves according to the planned path and guides the functional leaves to move outward, reducing the risk of the functional leaves being pinched or entangled.

[0060] 106. The contouring mechanism driven by the electric cylinder, controlled by the working height trajectory, raises and lowers the flexible leaf-splitting guide device and the tassel-pulling wheel assembly as a whole, so that the flexible leaf-splitting guide device reaches the target extraction position and enters the gap between the tassel and the functional leaves on both sides of the corn plant, guiding the functional leaves on both sides outward, so that the tassel enters the effective working range of the tassel-pulling wheel assembly, and the tassel-pulling wheel assembly extracts the tassel.

[0061] In practical applications, the working height trajectory must be transformed into continuous control actions of the electric cylinder, and the flexible leaf-separating guide device and the tassel-pulling wheel assembly must maintain the correct relative relationship at each stage of contact with the plant in order to protect the functional leaves while completing the tassel extraction.

[0062] Under this premise, in step 106, the main controller controls the electric cylinder-driven contouring mechanism to raise and lower the flexible leaf-splitting guide device and the tassel-pulling wheel assembly as a whole according to the working height trajectory, so that the flexible leaf-splitting guide device reaches the target extraction position and enters the gap between the tassel and the functional leaves on both sides of the corn plant, guides the functional leaves on both sides to the outside, so that the tassel enters the effective working range of the tassel-pulling wheel assembly, and the tassel-pulling wheel assembly extracts the tassel.

[0063] The main controller reads the current working height command h(t) from the working height trajectory according to the control cycle and sends it to the electric cylinder-driven contouring mechanism. The electric cylinder drives the contouring mechanism according to the height command, which in turn drives the flexible leaf-splitting guide device and the tassel-pulling wheel assembly to rise and fall as a whole. The main controller divides the working process into four stages according to the relative relationship between the flexible leaf-splitting guide device and the corn plant: approach, leaf splitting, extraction, and exit, and controls them as follows.

[0064] During the approach phase, from the current moment to the expected contact moment, the main controller adjusts the working height in advance according to the working height trajectory, so that the front end of the left and right guide ears are aligned with the gaps between the corresponding ear leaves, that is, the front end of the left guide ear is aligned with the gap between the tassel and the left functional leaf, and the front end of the right guide ear is aligned with the gap between the tassel and the right functional leaf, and the tassel is placed within the allowable entry range of the central channel, that is, the position of the tassel in the horizontal-vertical plane falls into the central channel entrance range enclosed by the fixed front end opening.

[0065] During the leaf separation stage, starting from the expected contact moment, as the machine moves forward, the front ends of the left and right guide leaves enter the gap, and the flexible guide surface contacts the functional leaf. The contact guiding effect of the flexible guide surface is used to gradually guide the leaf outward. During this stage, the main controller continuously outputs height commands according to the working height trajectory to keep the lifting and lowering continuous and avoid the leaf from being hooked or excessively squeezed due to sudden height changes during the contact process.

[0066] During the extraction phase, when the target extraction position enters the effective clamping area of ​​the male-pulling wheel assembly as the plant moves relative to the machine, and the leaf avoidance conditions are met, the main controller controls the male-pulling wheel assembly to start and execute extraction control. During extraction, the main controller maintains an appropriate working height according to the working height trajectory, so that the guide surface continues to separate the functional leaves from the clamping and entanglement dangerous areas.

[0067] During the exit phase, after the tassels are extracted, the main controller controls the working components to gradually detach from the plant according to the relative motion formed by the continued advancement of the machine and the necessary height adjustment. Before the functional leaves leave the clamp and are rolled into the danger zone, the separating function of the guiding device is maintained, that is, the working height is not changed to the position where the guiding surface is separated from the outside of the functional leaves.

[0068] Step 106 executes the constrained and optimized operating height trajectory according to the control cycle, and divides the operation process into four stages: approach, leaf separation, extraction, and withdrawal. This ensures that the front ends of the left and right guide ears align with the gap between the panicle leaves before contacting the plant, and after contact, they continuously and smoothly enter the gap and guide the functional leaves outward, avoiding sudden height changes that could cause the leaves to hook or be excessively squeezed. Extraction is only initiated when the target extraction position enters the effective clamping area and the leaf avoidance conditions are met. During extraction, the operating height is maintained to separate the functional leaves from the clamping and entanglement danger areas, ensuring the complete extraction of the tassel while preventing the functional leaves from being accidentally clamped or entangled. The separating function of the guide ear device is maintained until the functional leaves leave the danger area, allowing the operating components to gradually detach from the plant and reducing damage to the functional leaves during the withdrawal process.

[0069] In some optional implementations, it can be considered that in practical applications, the functional leaves extend along the machine's forward direction and may be curved or drooping. The leaves of adjacent corn plants within the field of view may also overlap with the leaves of the current corn plant on the projection surface. If the inner boundary is extracted using the entire functional leaf projection area, the edges of adjacent plant leaves may be mistakenly taken as the boundary. Under this premise, in step 103, after the main controller obtains the tassel projection area and the functional leaf projection area, it also executes: The main controller divides the functional leaf projection area into multiple longitudinal segments along the machine's forward direction based on the coordinates of each point in the expected local 3D point cloud information. The functional leaf projection area is formed by projecting each point in the functional leaf point cloud, with each projection point corresponding to a point in the point cloud. The main controller retains the machine's forward direction coordinates for each point during projection. The main controller divides the machine's forward direction coordinates into multiple continuous intervals according to a preset segment length, grouping projection points whose coordinates fall within the same interval into the same longitudinal segment. This results in multiple longitudinal segments arranged sequentially along the machine's forward direction. Each longitudinal segment represents the cross-sectional shape of the functional leaf in the corresponding forward direction segment on the horizontal-vertical plane. The main controller distinguishes between multiple longitudinal segments corresponding to different corn plants based on plant affiliation information. Thus, by dividing the longitudinal segments along the machine's forward direction and differentiating them according to plant affiliation information, the calculation of the lateral clearance is based solely on the leaf morphology of the current corn plant within the segment about to be contacted, reducing boundary misjudgments caused by projection overlap.

[0070] In some alternative implementations, after the working height trajectory is planned, the chassis speed will still vary with the terrain, and the estimated positions of the tassels and functional leaves will be corrected with the input of new images. If the original trajectory is fixed, the trajectory endpoint and the timing of ascent and descent will deviate from the corrected target extraction position. Under this premise, in step 105, after the main controller converts the ascent and descent trajectory into a time-varying working height trajectory based on the changing relationship, it also executes: The main controller continuously updates the projected local 3D point cloud information and motion information of the tassel and the functional leaves on both sides. With the input of new images from the binocular vision camera, the main controller repeatedly executes steps 101 and 102 to re-identify the tassel and the functional leaves on both sides, reconstruct the local 3D point cloud information, and re-estimate the relative displacement and attitude changes to obtain updated projected local 3D point cloud information; at the same time, it receives the chassis speed, angular velocity, and acceleration newly output by the wheel speed encoder and the inertial measurement unit according to the control cycle as updated motion information.

[0071] The main controller corrects the unexecuted work height trajectory based on the updated predicted local 3D point cloud information and motion information. The main controller repeats steps 103 and 104 based on the updated predicted local 3D point cloud information, recalculating the lateral clearance, re-verifying and determining the corrected target extraction position; it re-integrates based on the updated motion information to obtain a new relationship between travel distance and time, then substitutes this new relationship into the corrected work height trajectory, replacing the unexecuted portion of the original trajectory; instructions executed before the current moment remain unchanged, ensuring continuous ascent and descent.

[0072] If the height difference and speed change between the corrected target extraction position and the original target extraction position are both less than the preset threshold, the main controller maintains the original operating height trajectory without further correction. By continuously updating and correcting the operating height trajectory that has not yet been executed, the trajectory endpoint and the timing of lifting and lowering follow the corrected target extraction position and the actual movement of the chassis, reducing trajectory deviations caused by plant estimation corrections and speed fluctuations, and ensuring that the flexible leaf-separating guide device enters the gap between the panicle leaves as planned.

[0073] In addition, when performing the embodiments of the present invention, it should be noted that before executing the operation height trajectory, the original three-dimensional point cloud can be used to check the overlap between the spatial motion envelope formed by the movement of the flexible leaf guide device and the tassel puller assembly along the trajectory and the point cloud of the tassel and functional leaves. During the verification, distinguish between the leaf guiding contact that is allowed to occur on the flexible guide surface and the leaf intrusion that is not allowed to occur in the dangerous area of ​​the tassel puller. Focus on checking the overlapping of the leaves, the hooking of the front end of the guide, and the rebound of the leaves during the extraction process. Furthermore, during the operation, the main controller continuously updates the position of the tassel, the distribution of leaves, and the short-term movement status of the chassis, and corrects the height trajectory that has not yet been executed. When the target deviates from the central channel, the gap between the tassel and the leaves is insufficient, the leaf avoidance conditions are not met, or the sensing information fails, the extraction action that has not yet been executed is canceled, and the observation and calculation are repeated. After the operation component passes the target plant, the main controller uses the subsequent observable images to verify the tassel residue and the state of the visible leaves, and records the target position, the selected extraction point, the operation height trajectory, and abnormal events for subsequent parameter correction.

[0074] Next, the implementation process of this invention will be summarized as follows: In this embodiment, the main controller executes the process uniformly. First, a machine coordinate system is established, and coordinate calibration and data time alignment are completed. As the chassis moves along the corn plant, a binocular vision camera identifies the tassels and functional leaves on both sides of each corn plant and reconstructs a local three-dimensional point cloud. Combined with the motion information from the wheel speed encoder and inertial measurement unit, the point cloud is updated to the expected contact time between the flexible leaf-separating guide device and the plant. For multi-plant collaboration, plants within the field of view are distinguished according to their affiliation information. The plant closest to the guide device is selected as the current corn plant, and calculations are performed only on it. After extraction, plants are switched sequentially. For height determination, the point cloud of the current plant is projected onto a horizontal-vertical plane along the forward direction. Within the reachable height range limited by the lifting stroke, multiple candidate operating heights are selected, and the horizontal net gap between the tassels and functional leaves on both sides at each height is calculated. This is combined with fixed opening parameters and the effective operating range. The candidate extraction positions are sequentially checked for tassel entry, guide front entry, extraction area matching, functional leaf avoidance, and mechanism reachability. Those that meet all the criteria are identified as extractable areas, and the one with the largest margin is selected as the target extraction position. In trajectory planning, the total height difference is determined by the relative position of the target extraction position and the guide device. The target working height at each distance is calculated by back-calculating the expected travel distance to obtain the lifting trajectory. Then, the trajectory is converted into the working height trajectory according to the relationship between the travel distance and time. In execution, the electric cylinder contouring mechanism is driven to lift and lower as a whole according to the control cycle, and the four stages of approach alignment, leaf guidance, extraction, and exit are completed sequentially. During the process, the point cloud and target extraction position are continuously updated with new images, and the trajectory that has not yet been executed is corrected. If the target deviates from the central channel, the gap is insufficient, the avoidance is not satisfied, or the perception fails, the extraction is canceled and the observation and calculation are recalculated. The tassel residue and leaf status are checked after the plant is planted and recorded for parameter correction.

[0075] Based on the above Figure 1As can be seen from the implementation method, the corn detasseling method provided by this invention uses a binocular vision camera to collect image information of corn plants in the working area, and identifies the tassels and functional leaves on both sides of the tassels based on the image information. It determines the local three-dimensional point cloud information of the tassels and the functional leaves on both sides at the time of image acquisition, thus obtaining the local spatial morphology and relative positional relationship between the tassels and the functional leaves on both sides. This overcomes the shortcomings of existing detection methods that only focus on the top of the plant or the tassels themselves and cannot reflect the local spatial relationship between the ears and leaves. Furthermore, by using a wheel speed encoder and an inertial measurement unit to collect the motion information of the moving chassis, it estimates the time from the image acquisition time to the expected contact time between the flexible leaf-separating and guiding device and the corn plant. The relative displacement and attitude changes are used to update the local 3D point cloud information of the tassel and the functional leaves on both sides to the expected contact time, resulting in expected local 3D point cloud information. This can compensate for the deviation between the detected position and the actual contact position caused by the bumps in the field surface and the changes in the vehicle's attitude. This makes the position information used for subsequent operation decisions closer to the actual state when the flexible leaf-splitting guide device actually reaches the plant. By projecting the expected local 3D point cloud information along the direction of the machine's movement onto the horizontal-vertical plane, the projection areas of the tassel and the functional leaves are obtained. Based on these, the lateral net gap between the tassel and the functional leaves on both sides can be calculated, which can quantitatively characterize the space on both sides of the tassel that the flexible leaf-splitting guide device can enter. The allowance provides a basis for subsequent judgment on whether the guiding device can safely enter the gap between the panicles and leaves. Based on the lateral net gap, the fixed opening parameters of the flexible leaf-splitting guiding device, and the effective working range of the tassel-removing wheel assembly, the target extraction position that meets the requirement of complete tassel extraction is determined. This allows for the selection of a suitable extraction position while considering both the opening size of the guiding device and the working range of the tassel-removing wheel, avoiding improper entry of the guiding tip into the gap between the panicles and leaves, which could result in clamping or entanglement of functional leaves. Based on the relative position of the target extraction position and the flexible leaf-splitting guiding device, the expected travel distance of the moving chassis, and the motion capability of the electric cylinder-driven contouring mechanism, the working height trajectory of the flexible leaf-splitting guiding device and the tassel-removing wheel assembly over time is planned, ensuring that the working components reach the target extraction position. The process is smooth and transitions smoothly to avoid collisions or misalignments between the guide device and functional leaves due to sudden height changes. The contour-following mechanism driven by the electric cylinder, controlled by the operating height trajectory, raises and lowers the flexible leaf-splitting guide device and the tassel-pulling wheel assembly as a whole. This allows the flexible leaf-splitting guide device to reach the target extraction position and enter the gap between the tassel and the functional leaves on both sides. It guides the functional leaves on both sides outward, allowing the tassel to enter the effective operating range of the tassel-pulling wheel assembly, where the tassel-pulling wheel assembly extracts the tassel. Under the condition that the relative positions of the guide device and the tassel-pulling wheel are fixed, the guide device can be accurately inserted into the gap between the ears and leaves and the functional leaves can be guided outward by actively planning the operating height. This ensures that the tassel is extracted completely while reducing the risk of the functional leaves being accidentally pinched or cut.

[0076] Furthermore, as a response to the above Figure 1 In addition to the method shown, this embodiment of the invention also provides a corn demasting device for the above-mentioned... Figure 1 The method shown is implemented accordingly. This device embodiment corresponds to the foregoing method embodiment. For ease of reading, this device embodiment will not repeat the details of the foregoing method embodiment, but it should be clear that the device in this embodiment can implement all the contents of the foregoing method embodiment. Figure 2 As shown, the device includes: The first acquisition unit 201 is used to acquire image information of corn plants in the working area collected by the binocular vision camera in the multi-sensor perception module, and to identify the tassel and the functional leaves on both sides of the tassel in the corn plant according to the image information, and to determine the local three-dimensional point cloud information of the tassel and the functional leaves on both sides at the time of image acquisition. The second acquisition unit 202 is used to acquire the motion information of the mobile chassis collected by the wheel speed encoder and inertial measurement unit in the multi-sensor perception module, and based on the motion information, estimate the relative displacement and attitude change of the mobile chassis from the image acquisition time to the expected contact time between the flexible leaf-splitting guide device and the corn plant, and update the local three-dimensional point cloud information of the tassel and the functional leaves on both sides obtained by the first acquisition unit 201 to the expected contact time based on the relative displacement and the attitude change, so as to obtain the expected local three-dimensional point cloud information. The gap calculation unit 203 is used to project the expected local three-dimensional point cloud information obtained by the second acquisition unit 202 onto the horizontal-vertical plane along the machine's forward direction to obtain the tassel projection area and the functional leaf projection area corresponding to the tassel and the functional leaves on both sides, respectively, and calculate the horizontal net gap between the tassel and the functional leaves on both sides based on the tassel projection area and the functional leaf projection area. The position determination unit 204 is used to determine the target extraction position that meets the requirement of complete extraction of the male tassels of the corn plant based on the lateral net gap obtained by the gap calculation unit 203, the fixed opening parameters of the flexible leaf-splitting guide device, and the effective working range of the male tassel extraction wheel assembly. The trajectory determination unit 205 is used to plan the working height trajectory of the flexible leaf-splitting guide device and the male-pulling wheel assembly as the working height changes over time, based on the relative position of the target extraction position and the flexible leaf-splitting guide device, the expected travel distance of the mobile chassis, and the motion capability of the electric cylinder-driven contouring mechanism, as determined by the position determination unit 204. The extraction control unit 206 is used to control the electric cylinder-driven contouring mechanism to raise and lower the flexible leaf-splitting guide device and the tassel-extracting wheel assembly as a whole, based on the working height trajectory determined by the trajectory determination unit 205. This allows the flexible leaf-splitting guide device to reach the target extraction position and enter the gap between the tassel and the functional leaves on both sides of the corn plant, guiding the functional leaves on both sides outwards, so that the tassel enters the effective working range of the tassel-extracting wheel assembly, whereby the tassel-extracting wheel assembly extracts the tassel.

[0077] Furthermore, the gap calculation unit 203 is specifically used for: The projected local 3D point cloud information is projected onto a horizontal-vertical plane along the machine's forward direction to obtain the tassel projection area and the functional leaf projection area corresponding to the tassel and the functional leaves on both sides, respectively. The net lateral gap between the tassel and the functional leaves on both sides is calculated based on the tassel projection area and the functional leaf projection area, including: The projected local three-dimensional point cloud information corresponding to the tassel and the functional leaves on both sides is projected onto the horizontal-vertical plane along the direction of the machine's movement to obtain the tassel projection area and the functional leaf projection area. Each point in the local three-dimensional point cloud information has machine movement direction coordinates, horizontal coordinates, vertical coordinates, and plant affiliation information. The plant affiliation information is used to characterize the maize plant to which each point in the projected local three-dimensional point cloud information belongs. Within the reachable height range defined by the lifting stroke of the electric cylinder-driven contouring mechanism, multiple working heights are selected as candidate working heights. For each candidate working height, the two sides of the male ear in the lateral direction are extracted from the male ear projection area and used as the left projection boundary and right projection boundary of the male ear, respectively. For each of the candidate operating heights, the edge of the left functional leaf near the tassel side is extracted from the functional leaf projection area as the inner boundary of the left functional leaf projection, and the edge of the right functional leaf near the tassel side is extracted as the inner boundary of the right functional leaf projection, wherein each projection boundary is taken from the same local section. Taking the lateral positive direction pointing to the right side of the machine as a reference, the difference in lateral coordinates between the left projection boundary of the tassel and the inner projection boundary of the left functional leaf is taken as the left lateral net gap, and the difference in lateral coordinates between the inner projection boundary of the right functional leaf and the right projection boundary of the tassel is taken as the right lateral net gap, thus obtaining the lateral net gap between the tassel and the functional leaves on both sides corresponding to each candidate operation height.

[0078] Furthermore, the position determination unit 204 is specifically used for: Obtain plant-side information of the corn plant, including the tassel morphology obtained based on the expected local three-dimensional point cloud information, the clampable part of the tassel determined according to the tassel morphology, and the lateral net gap. Obtain the implement-side parameters of the corn detasseling equipment. The implement-side parameters include the pre-calibrated fixed opening parameters, the effective working range, the calibrated extraction stroke requirements, and the lifting stroke and lifting speed limits of the electric cylinder-driven contouring mechanism. The fixed opening parameters include the shape and size of the fixed front opening of the flexible leaf-splitting guide device, the effective occupancy width of the left and right guide front ends of the flexible leaf-splitting guide device, and the preset left and right clearance margins. The effective working range includes the effective clamping area of ​​the detasseling wheel assembly and the clamping and entanglement danger area. Based on the morphology of the tassel, the clampable part, the effective clamping area, and the extraction stroke requirements, a range of candidate extraction positions that meet the requirement of complete extraction of the tassel from the corn plant are determined. Based on the morphology of the male spike and the fixed opening parameters, the male spike entry verification is performed on each candidate extraction position in the candidate extraction position range to obtain the male spike entry verification result. Based on the lateral clearance and the fixed opening parameters, the guide front end entry verification is performed to obtain the guide front end entry verification result. Based on the clampable part, the effective clamping area and the extraction stroke requirement, the extraction area matching verification is performed to obtain the extraction area matching verification result; Based on the expected local three-dimensional point cloud information corresponding to the functional leaves on both sides and the clamping and entanglement danger areas, functional leaf avoidance verification is performed to obtain functional leaf avoidance verification results. Based on the lifting stroke and the lifting speed limit, a mechanism reachability verification is performed to obtain the mechanism reachability verification result. The set of candidate extraction positions that satisfy the following criteria are determined as the extractable area of ​​the maize plant: the tassel entry verification result, the guide front entry verification result, the extraction area matching verification result, the functional leaf avoidance verification result, and the mechanism reachability verification result. The target extraction position is then determined from the extractable area.

[0079] Furthermore, the tassel entry verification includes: verifying whether the tassel matches the shape and size of the fixed front opening when it enters the flexible leaf-splitting guide device according to the tassel morphology, and verifying whether the tassel can reach the effective clamping area along the central channel of the fixed front opening; The verification of the guide front end includes: taking the lateral positive direction pointing to the right side of the machine as a reference, the functional leaves on both sides located to the left of the tassel are recorded as the left functional leaf, and those located to the right of the tassel are recorded as the right functional leaf; verifying whether the left lateral net gap corresponding to the height of the candidate extraction position is greater than or equal to the sum of the effective occupied width of the left guide front end and the left gap margin, and whether the right lateral net gap is greater than or equal to the sum of the effective occupied width of the right guide front end and the right gap margin, and verifying whether the left guide front end is actually located in the gap between the tassel and the left functional leaf, and whether the right guide front end is actually located in the gap between the tassel and the right functional leaf; The extraction area matching verification includes: verifying whether the clampable part enters the effective clamping area, and verifying whether the action stroke or action time that the male extraction wheel assembly can provide at the candidate extraction position meets the extraction action stroke requirements; The functional leaf avoidance verification includes: determining the position of the functional leaves on both sides after being guided outward by the flexible leaf guide device based on the expected local three-dimensional point cloud information corresponding to the functional leaves on both sides; verifying whether the position is outside the clamping and entanglement danger zone; and verifying whether the minimum distance between the functional leaves on both sides and the clamping and entanglement danger zone during extraction is always greater than or equal to a preset avoidance interval, wherein the avoidance interval is a pre-calibrated minimum distance at which the functional leaves are allowed to approach the clamping and entanglement danger zone. The mechanism reachability verification includes: verifying whether the height difference between the height of the candidate extraction position and the current working height of the flexible leaf-splitting guide device and the male-pulling wheel assembly is within the lifting stroke, determining the remaining time from the current moment to the expected contact moment when the flexible leaf-splitting guide device reaches the candidate extraction position based on the motion information, and verifying whether the required lifting speed calculated based on the height difference and the remaining time does not exceed the lifting speed limit.

[0080] Furthermore, the trajectory determination unit 205 is specifically used for: Based on the relative position of the target extraction position and the flexible leaf-splitting guide device, the target working height that the flexible leaf-splitting guide device and the male seed extraction wheel assembly should reach at each distance within the expected travel distance is determined, and the lifting trajectory of the working height as the travel distance changes is obtained. Each target working height is within the reachable height range limited by the lifting stroke of the electric cylinder-driven contouring mechanism. Based on the motion information, estimate the relationship between the travel distance of the mobile chassis and time, and convert the lifting trajectory into a working height trajectory that varies with time based on the relationship.

[0081] Furthermore, such as Figure 3As shown, after the gap calculation unit 203 obtains the tassel projection area and the functional leaf projection area, the device further includes a segmentation unit 207, which is specifically used for: Based on the coordinates of each point in the predicted local three-dimensional point cloud information along the direction of the machine's movement, the functional leaf projection area is divided into multiple longitudinal segments along the direction of the machine's movement. Based on the plant affiliation information, the multiple longitudinal segments corresponding to different corn plants are distinguished.

[0082] Furthermore, such as Figure 3 As shown, after the trajectory determination unit 205 converts the lifting trajectory into a working height trajectory that varies with time according to the changing relationship, the device further includes a trajectory correction unit 208, which is specifically used for: The system continuously updates the projected local three-dimensional point cloud information of the male spike and the functional leaves on both sides, as well as the motion information, and corrects the height trajectory of the operation that has not yet been performed based on the updated projected local three-dimensional point cloud information and the motion information.

[0083] Furthermore, embodiments of the present invention also provide a storage medium for storing a computer program, wherein the computer program, when running, controls the device where the storage medium is located to execute the above-described... Figure 1-2 The method for demasking corn described in the article.

[0084] Furthermore, embodiments of the present invention also provide a processor for running a program, wherein the program executes the above-described... Figure 1-2 The method for demasking corn described in the article.

[0085] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0086] It is understood that the relevant features in the above methods and apparatus can be referenced interchangeably. Furthermore, the terms "first," "second," etc., in the above embodiments are used to distinguish between embodiments and do not represent the superiority or inferiority of any particular embodiment.

[0087] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0088] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the invention.

[0089] In addition, the memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0090] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0091] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0092] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0093] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0094] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0095] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0096] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0097] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0098] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0099] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for detasseling corn, applied to corn detasseling equipment, the corn detasseling equipment comprising a mobile chassis, a multi-sensor sensing module, a flexible leaf-splitting and guiding device, a tassel-removing wheel assembly, an electric cylinder-driven contouring mechanism, and a main controller, wherein the flexible leaf-splitting and guiding device is located in front of the tassel-removing wheel assembly, the flexible leaf-splitting and guiding device and the tassel-removing wheel assembly maintain a fixed relative position, and the electric cylinder-driven contouring mechanism is used to drive the flexible leaf-splitting and guiding device and the tassel-removing wheel assembly to lift and lower as a whole, characterized in that... The method includes: The image information of corn plants in the working area is acquired by the binocular vision camera in the multi-sensor perception module, and the tassel and the functional leaves on both sides of the tassel in the corn plant are identified according to the image information. The local three-dimensional point cloud information of the tassel and the functional leaves on both sides at the time of image acquisition is determined respectively. The motion information of the mobile chassis is acquired using the wheel speed encoder and inertial measurement unit in the multi-sensor sensing module. Based on the motion information, the relative displacement and attitude change of the mobile chassis from the image acquisition time to the expected contact time between the flexible leaf-splitting guide device and the corn plant are estimated. Based on the relative displacement and attitude change, the local three-dimensional point cloud information of the tassel and the functional leaves on both sides is updated to the expected contact time to obtain the expected local three-dimensional point cloud information. The expected local three-dimensional point cloud information is projected onto the horizontal-vertical plane along the direction of the machine's movement to obtain the tassel projection area and the functional leaf projection area corresponding to the tassel and the functional leaf on both sides, respectively. The horizontal net gap between the tassel and the functional leaf on both sides is calculated based on the tassel projection area and the functional leaf projection area. Based on the lateral net gap, the fixed opening parameters of the flexible leaf-splitting guide device, and the effective working range of the tassel-extracting wheel assembly, the target extraction position that meets the requirement of complete tassel extraction from the corn plant is determined. Based on the relative position of the target extraction position and the flexible leaf-splitting guide device, the expected travel distance of the mobile chassis, and the motion capability of the electric cylinder-driven contouring mechanism, the working height trajectory of the flexible leaf-splitting guide device and the male-pulling wheel assembly as a function of time is planned. According to the working height trajectory, the electric cylinder-driven contouring mechanism controls the overall lifting and lowering of the flexible leaf-splitting guide device and the tassel-pulling wheel assembly, so that the flexible leaf-splitting guide device reaches the target extraction position and enters the gap between the tassel and the functional leaves on both sides of the corn plant, guiding the functional leaves on both sides outward, so that the tassel enters the effective working range of the tassel-pulling wheel assembly, and the tassel-pulling wheel assembly extracts the tassel.

2. The method according to claim 1, characterized in that, The projected local 3D point cloud information is projected onto a horizontal-vertical plane along the machine's forward direction to obtain the tassel projection area and the functional leaf projection area corresponding to the tassel and the functional leaves on both sides, respectively. The net lateral gap between the tassel and the functional leaves on both sides is calculated based on the tassel projection area and the functional leaf projection area, including: The projected local three-dimensional point cloud information corresponding to the tassel and the functional leaves on both sides is projected onto the horizontal-vertical plane along the direction of the machine's movement to obtain the tassel projection area and the functional leaf projection area. Each point in the local three-dimensional point cloud information has machine movement direction coordinates, horizontal coordinates, vertical coordinates, and plant affiliation information. The plant affiliation information is used to characterize the maize plant to which each point in the projected local three-dimensional point cloud information belongs. Within the reachable height range defined by the lifting stroke of the electric cylinder-driven contouring mechanism, multiple working heights are selected as candidate working heights. For each candidate working height, the two sides of the male ear in the lateral direction are extracted from the male ear projection area and used as the left projection boundary and right projection boundary of the male ear, respectively. For each of the candidate operating heights, the edge of the left functional leaf near the tassel side is extracted from the functional leaf projection area as the inner boundary of the left functional leaf projection, and the edge of the right functional leaf near the tassel side is extracted as the inner boundary of the right functional leaf projection, wherein each projection boundary is taken from the same local section. Taking the lateral positive direction pointing to the right side of the machine as a reference, the difference in lateral coordinates between the left projection boundary of the tassel and the inner projection boundary of the left functional leaf is taken as the left lateral net gap, and the difference in lateral coordinates between the inner projection boundary of the right functional leaf and the right projection boundary of the tassel is taken as the right lateral net gap, thus obtaining the lateral net gap between the tassel and the functional leaves on both sides corresponding to each candidate operation height.

3. The method according to claim 1, characterized in that, Based on the lateral clearance, the fixed opening parameters of the flexible leaf-splitting guide device, and the effective working range of the tassel-extraction wheel assembly, the target extraction position that meets the requirement of complete tassel extraction from the maize plant is determined, including: Obtain plant-side information of the corn plant, including the tassel morphology obtained based on the expected local three-dimensional point cloud information, the clampable part of the tassel determined according to the tassel morphology, and the lateral net gap. Obtain the implement-side parameters of the corn detasseling equipment. The implement-side parameters include the pre-calibrated fixed opening parameters, the effective working range, the calibrated extraction stroke requirements, and the lifting stroke and lifting speed limits of the electric cylinder-driven contouring mechanism. The fixed opening parameters include the shape and size of the fixed front opening of the flexible leaf-splitting guide device, the effective occupancy width of the left and right guide front ends of the flexible leaf-splitting guide device, and the preset left and right clearance margins. The effective working range includes the effective clamping area of ​​the detasseling wheel assembly and the clamping and entanglement danger area. Based on the morphology of the tassel, the clampable part, the effective clamping area, and the extraction stroke requirements, a range of candidate extraction positions that meet the requirement of complete extraction of the tassel from the corn plant are determined. Based on the morphology of the male spike and the fixed opening parameters, the male spike entry verification is performed on each candidate extraction position in the candidate extraction position range to obtain the male spike entry verification result. Based on the lateral clearance and the fixed opening parameters, the guide front end entry verification is performed to obtain the guide front end entry verification result. Based on the clampable part, the effective clamping area and the extraction stroke requirement, the extraction area matching verification is performed to obtain the extraction area matching verification result; Based on the expected local three-dimensional point cloud information corresponding to the functional leaves on both sides and the clamping and entanglement danger areas, functional leaf avoidance verification is performed to obtain functional leaf avoidance verification results. Based on the lifting stroke and the lifting speed limit, a mechanism reachability verification is performed to obtain the mechanism reachability verification result. The set of candidate extraction positions that satisfy the following criteria are determined as the extractable area of ​​the maize plant: the tassel entry verification result, the guide front entry verification result, the extraction area matching verification result, the functional leaf avoidance verification result, and the mechanism reachability verification result. The target extraction position is then determined from the extractable area.

4. The method according to claim 3, characterized in that, The tassel entry verification includes: verifying whether the tassel matches the shape and size of the fixed front opening when it enters the flexible leaf-splitting guide device, based on the tassel morphology, and verifying whether the tassel can reach the effective clamping area along the central channel of the fixed front opening; The verification of the guide front end includes: taking the lateral positive direction pointing to the right side of the machine as a reference, the functional leaves on both sides located to the left of the tassel are recorded as the left functional leaf, and those located to the right of the tassel are recorded as the right functional leaf; verifying whether the left lateral net gap corresponding to the height of the candidate extraction position is greater than or equal to the sum of the effective occupied width of the left guide front end and the left gap margin, and whether the right lateral net gap is greater than or equal to the sum of the effective occupied width of the right guide front end and the right gap margin, and verifying whether the left guide front end is actually located in the gap between the tassel and the left functional leaf, and whether the right guide front end is actually located in the gap between the tassel and the right functional leaf; The extraction area matching verification includes: verifying whether the clampable part enters the effective clamping area, and verifying whether the action stroke or action time that the male extraction wheel assembly can provide at the candidate extraction position meets the extraction action stroke requirements; The functional leaf avoidance verification includes: determining the position of the functional leaves on both sides after being guided outward by the flexible leaf guide device based on the expected local three-dimensional point cloud information corresponding to the functional leaves on both sides; verifying whether the position is outside the clamping and entanglement danger zone; and verifying whether the minimum distance between the functional leaves on both sides and the clamping and entanglement danger zone during extraction is always greater than or equal to a preset avoidance interval, wherein the avoidance interval is a pre-calibrated minimum distance at which the functional leaves are allowed to approach the clamping and entanglement danger zone. The mechanism reachability verification includes: verifying whether the height difference between the height of the candidate extraction position and the current working height of the flexible leaf-splitting guide device and the male-pulling wheel assembly is within the lifting stroke, determining the remaining time from the current moment to the expected contact moment when the flexible leaf-splitting guide device reaches the candidate extraction position based on the motion information, and verifying whether the required lifting speed calculated based on the height difference and the remaining time does not exceed the lifting speed limit.

5. The method according to claim 1, characterized in that, Based on the relative position of the target extraction location and the flexible leaf-splitting guide device, the expected travel distance of the mobile chassis, and the motion capability of the electric cylinder-driven contouring mechanism, the working height trajectory of the flexible leaf-splitting guide device and the male-collecting wheel assembly as a function of time is planned, including: Based on the relative position of the target extraction position and the flexible leaf-splitting guide device, the target working height that the flexible leaf-splitting guide device and the male seed extraction wheel assembly should reach at each distance within the expected travel distance is determined, and the lifting trajectory of the working height as the travel distance changes is obtained. Each target working height is within the reachable height range limited by the lifting stroke of the electric cylinder-driven contouring mechanism. Based on the motion information, estimate the relationship between the travel distance of the mobile chassis and time, and convert the lifting trajectory into a working height trajectory that varies with time based on the relationship.

6. The method according to claim 2, characterized in that, After obtaining the projection regions of the tassel and the functional leaves, the method further includes: Based on the coordinates of each point in the predicted local three-dimensional point cloud information along the direction of the machine's movement, the functional leaf projection area is divided into multiple longitudinal segments along the direction of the machine's movement. Based on the plant affiliation information, the multiple longitudinal segments corresponding to different corn plants are distinguished.

7. The method according to claim 5, characterized in that, After converting the elevation trajectory into a time-varying work height trajectory based on the aforementioned change relationship, the method further includes: The system continuously updates the projected local three-dimensional point cloud information of the male spike and the functional leaves on both sides, as well as the motion information, and corrects the height trajectory of the operation that has not yet been performed based on the updated projected local three-dimensional point cloud information and the motion information.

8. A corn detasseling device, applied to corn detasseling equipment, the corn detasseling equipment comprising a mobile chassis, a multi-sensor sensing module, a flexible leaf-splitting guide device, a tassel-removing wheel assembly, an electric cylinder-driven contouring mechanism, and a main controller, wherein the flexible leaf-splitting guide device is located in front of the tassel-removing wheel assembly, the flexible leaf-splitting guide device and the tassel-removing wheel assembly maintain a fixed relative position, and the electric cylinder-driven contouring mechanism is used to drive the flexible leaf-splitting guide device and the tassel-removing wheel assembly to lift and lower as a whole, characterized in that... The device includes: The first acquisition unit is used to acquire image information of corn plants in the working area collected by the binocular vision camera in the multi-sensor perception module, and to identify the tassel and the functional leaves on both sides of the tassel in the corn plant according to the image information, and to determine the local three-dimensional point cloud information of the tassel and the functional leaves on both sides at the time of image acquisition. The second acquisition unit is used to acquire the motion information of the mobile chassis collected by the wheel speed encoder and inertial measurement unit in the multi-sensor perception module, and based on the motion information, estimate the relative displacement and attitude change of the mobile chassis from the image acquisition time to the expected contact time between the flexible leaf-splitting guide device and the corn plant, and update the local three-dimensional point cloud information of the tassel and the functional leaves on both sides obtained by the first acquisition unit to the expected contact time based on the relative displacement and the attitude change, so as to obtain the expected local three-dimensional point cloud information. The gap calculation unit is used to project the expected local three-dimensional point cloud information obtained by the second acquisition unit onto the horizontal-vertical plane along the machine's forward direction, to obtain the tassel projection area and the functional leaf projection area corresponding to the tassel and the functional leaves on both sides, respectively, and to calculate the horizontal net gap between the tassel and the functional leaves on both sides based on the tassel projection area and the functional leaf projection area. The position determination unit is used to determine the target extraction position that meets the requirement of complete extraction of the male tassels of the corn plant based on the lateral net gap obtained by the gap calculation unit, the fixed opening parameters of the flexible leaf-splitting guide device, and the effective working range of the male tassel extraction wheel assembly. The trajectory determination unit is used to plan the working height trajectory of the flexible leaf-splitting guide device and the male-pulling wheel assembly as the working height changes over time, based on the relative position of the target extraction position and the flexible leaf-splitting guide device determined by the position determination unit, the expected travel distance of the mobile chassis, and the motion capability of the electric cylinder-driven contouring mechanism. The extraction control unit is used to control the electric cylinder-driven contouring mechanism to raise and lower the flexible leaf-splitting guide device and the tassel-extracting wheel assembly as a whole, based on the working height trajectory determined by the trajectory determination unit. This allows the flexible leaf-splitting guide device to reach the target extraction position and enter the gap between the tassel and the functional leaves on both sides of the corn plant, guiding the functional leaves on both sides outwards so that the tassel enters the effective working range of the tassel-extracting wheel assembly, whereby the tassel-extracting wheel assembly extracts the tassel.

9. A storage medium, characterized in that, The storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the storage medium to perform the corn detasseling method as described in any one of claims 1 to 7.

10. A processor, characterized in that, The processor is used to run a program, wherein the program executes the corn detasseling method as described in any one of claims 1 to 7.