The invention relates to an intelligent
welding method for an electric melting
pipe fitting based on position detection, a storage medium and a terminal. The method comprises the steps that current monitoring is carried out, specifically, an actual relation curve between
welding time and
welding current in the
welding process is monitored in real time, and the actual relation curve and a standard relation curve are compared and analyzed;
insertion position judgement is carried out, specifically, if the actual welding current is smaller than the standard current or is not within the error range of the standard current, it is indicated that the inserted
pipe fitting is not inserted in place at the moment; and clearance position detection is carried out, specifically, the total actual resistance value R<actual> of a
resistance wire at the moment is calculated, and the clearance width of the inserted
pipe fitting is calculated by combining R / N and R<m> / N. According to the intelligent welding method, the storage medium and the terminal, the change of the current is calculated through the change of the temperature and the resistance in the
resistance wire welding process, the measurement of the resistance of the clearance width and the
insertion depth is realized, the specific values of the clearance width and the
insertion depth are calculated, whether the inserted
pipe fitting is inserted in place is judged, and therefore the welding quality of the
pipe fitting is greatly improved, and the service life of the
pipe fitting is greatly prolonged.