For the dual peg-in-hole compliance assembly task of upper and lower double-hole structural micro-devices, a skill-learning method is proposed. This method combines offline training in a simulation space and online training in a realistic space. In this paper, a dual peg-in-hole model is built according to the results of a force analysis, and contact-point searching methods are provided for calculating the contact force. Then, a skill-learning framework is built based on deep reinforcement learning. Both expert action and incremental action are used in training, and a reward system considers both efficiency and safety; additionally, a dynamic exploration method is provided to improve the training efficiency. In addition, based on experimental data, an online training method is used to optimize the skill-learning model continuously so that the error caused by the deviation in the offline training data from reality can be reduced. The final experiments demonstrate that the method can effectively reduce the contact force while assembling, improve the efficiency and reduce the impact of the change in position and orientation.
In this paper, we investigate the theory of energy distribution when divergent light undergoes harmonic conversion in KDP crystals, and based on this theory, we design and construct a precision measuring instrument for the detuning angle of (KDP) Crystals (MIDC). The device can obtain the detuning angle of the crystal by a single measurement with an average measurement error of 72.78 urad. At the same time, it also has the function of scanning the full aperture of the crystals. Using the MIDC, it is possible to quickly measure the KDP crystal at a single point and quickly scan the crystal detuning angle at full aperture. In addition, we conduct a theoretical study on the variation of detuning angle caused by gravity-influencing factors under online conditions, propose an optimization formula for the offline measurement results of detuning angle, and calculate the optimized values of detuning angle for two kinds of crystals under 45° online conditions. We finally study the error source of the MIDC device, analyze the trend of the influence of positioning errors of the crystal and optical elements on the detuning angle measurement results, and provide theoretical support for the error monitoring and correction of MIDC.