The invention belongs to the technical field of
robot application, and particularly relates to an acupoint recognition and mechanical arm control method for assisting expectoration, which uses a lightweight Inverted Residual
convolution module containing depth separable
convolution and residual connection to carry out high-precision recognition on 13 acupoints on the back, and on the basis of RGB three-channel image input, the acupoint recognition and mechanical arm control method for assisting expectoration is realized. A spine central axis channel is added, and a user-defined
loss function including MSE loss, spine symmetry constraint and acupoint position constraint is designed to optimize the
deep learning model, so that the accuracy and symmetry of acupoint recognition are further improved; after identification is completed, the
system combines an improved near-end strategy optimization
reinforcement learning algorithm and a visual
servo technology to design a self-defined reward function which comprehensively considers distance reward, angle reward, cross punishment and target completion reward. And a
voice coil motor of an end
effector of the mechanical arm is guided to approach the target
acupuncture point and align with the normal of the back of the
human body, so that accurate control and
dynamic motion planning of the
voice coil motor are realized, and auxiliary
sputum excretion actions are effectively executed.