Abstract:Aiming to address the imbalance between the shell-breaking rate and the high-quality kernel rate caused by random loading directions and cracking clearance during the mechanical walnut cracking process, a directional shell-breaking method synergizing machine vision and automatic control was proposed for Yunnan deep-grooved walnuts.Firstly, based on physical characteristic tests of the walnuts, the optimal shell-breaking direction was determined.Subsequently, guided by Hertzian contact theory, a customized concave shell-breaking indenter was designed, featuring a 20° concave angle, a 24 mm outer end-face diameter, and arrayed annular ribs on its surface.Secondly, to improve the perception of minute features, an improved YOLO v8n Pose pose estimation model was developed by introducing a lightweight shared detail-enhanced convolutional detection (LSDECD) head.Trained specifically on the suture endpoints of deep-grooved walnuts, a mean average precision ( mAP50 95 ) of 83.4% for bounding boxes and 99.5% for keypoints was achieved by the improved model.Furthermore, an ultra-high training frame rate of 322.6 f / s was demonstrated, with a real-time detection speed of 103.7 f / s in practical application scenarios.Next, the angle between the line connecting the suture endpoints and the horizontal axis was calculated by using their pixel coordinates, which was then converted into a control signal to achieve angle-compensation control of the shell-breaking clamping arms.Finally, a two-factor experiment on contact mode and loading direction was conducted.The experimental results showed that under the optimal operating parameters, a shell-breaking rate of 93.81% and a high-quality kernel rate of 92.70% were obtained.Compared with random-direction cracking with a flat indenter,these two indicators were improved by 14.50 percentage points and 11.68 percentage points, respectively.Thekernel-shell separation quality was effectively improved by this research, providing theoretical support and technical references for the development of automated, continuous-conveying, directional shell-breaking equipment for deep-grooved walnuts.