CN113414491A - Hairpin motor stator copper wire visual identification method and welding process - Google Patents

Hairpin motor stator copper wire visual identification method and welding process Download PDF

Info

Publication number
CN113414491A
CN113414491A CN202110811441.XA CN202110811441A CN113414491A CN 113414491 A CN113414491 A CN 113414491A CN 202110811441 A CN202110811441 A CN 202110811441A CN 113414491 A CN113414491 A CN 113414491A
Authority
CN
China
Prior art keywords
welding
copper wire
stator copper
end faces
pins
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110811441.XA
Other languages
Chinese (zh)
Other versions
CN113414491B (en
Inventor
曾凡林
陈峰州
贾卫东
海振国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yueke Intelligent Manufacturing Wuxi Co ltd
Original Assignee
Yueke Intelligent Manufacturing Wuxi Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yueke Intelligent Manufacturing Wuxi Co ltd filed Critical Yueke Intelligent Manufacturing Wuxi Co ltd
Priority to CN202110811441.XA priority Critical patent/CN113414491B/en
Publication of CN113414491A publication Critical patent/CN113414491A/en
Application granted granted Critical
Publication of CN113414491B publication Critical patent/CN113414491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K26/00Working by laser beam, e.g. welding, cutting or boring
    • B23K26/20Bonding
    • B23K26/21Bonding by welding
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K26/00Working by laser beam, e.g. welding, cutting or boring
    • B23K26/02Positioning or observing the workpiece, e.g. with respect to the point of impact; Aligning, aiming or focusing the laser beam
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K26/00Working by laser beam, e.g. welding, cutting or boring
    • B23K26/70Auxiliary operations or equipment
    • B23K26/702Auxiliary equipment

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Plasma & Fusion (AREA)
  • Mechanical Engineering (AREA)
  • Manufacture Of Motors, Generators (AREA)

Abstract

The invention discloses a hairpin motor stator copper wire visual identification method, which comprises the following steps: s1, acquiring original pictures of the end faces of all pins of the stator copper wire by using an industrial camera; s2, calibrating the center points of the end faces of all the pins of the stator copper wire, and fitting the center points of the end faces of the two pins to be welded into a straight line through a wiring tool and recording the straight line as L1; s3, calibrating two adjacent sides of a joint seam of the end surfaces of two pins to be welded, and respectively fitting into two straight lines which are respectively marked as L2 and L3; s4, respectively fitting the intersection points of the straight line L1 and the straight line L2 and the intersection points of the straight line L3, respectively marking as A, B, and calculating the length and the coordinates of the weld joint of the end faces of the two pins to be welded according to the distance between A, B two points; s5, generating welding tracks of the end faces of all the pins of the stator copper wire according to the welding seam coordinates of the end faces of all the pins calculated in S4; the invention can complete the identification of all welding spot positions in the required beat, avoids the conditions of deviation and omission of welding spots and solves the problem of poor real-time identification effect of the welding spot positions.

Description

Hairpin motor stator copper wire visual identification method and welding process
Technical Field
The invention belongs to the technical field of production of hairpin motor stator copper wires, and relates to a hairpin motor stator copper wire visual identification method and a welding process.
Background
The Hairpin permanent magnet synchronous motor (hair pin motor) is gradually applied to the domestic driving motor market in a large scale, and compared with the traditional winding type motor, the hair pin permanent magnet synchronous motor has the advantage that the volume of the motor is smaller under the same power due to the characteristic that a stator copper wire of the hair pin motor is flat, and is the development direction of the next generation of new energy automobile driving motor. However, due to the complex manufacturing process, the number of manufacturers capable of mass production in the Chinese market is small at present, and particularly, the number of the hair-clamping motors with more than 8 layers belongs to high-end products in China and even in the whole world. The hairpin motor stators with more than 8 layers are provided with hundreds of welding spots, the identification of all welding positions is required to be completed in a required beat, the identification result cannot be deviated or omitted, the positions of all single welding spots on each stator are different due to the elastic deformation of copper wires, the high requirement is provided for the real-time identification of the welding positions, the welding efficiency is low, and therefore the hairpin motor stator copper wire visual identification method and the welding process are provided.
Disclosure of Invention
Aiming at the problems, the invention provides a hairpin motor stator copper wire visual identification method and a welding process, which well solve the problems of deviation and omission in welding spot identification, poor real-time identification effect and low welding efficiency in the prior art.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows: a hairpin motor stator copper wire visual identification method comprises the following steps:
s1, acquiring original pictures of the end faces of all pins of the stator copper wire by using an industrial camera;
s2, calibrating the center points of the end faces of all pins of the stator copper wire in the original picture, and fitting the center points of the end faces of the two pins contacting to-be-welded into a straight line through a wiring tool, and marking as L1;
s3, calibrating two adjacent sides of a joint seam of the end faces of two pins to be welded in the original picture, and respectively fitting into two straight lines which are respectively marked as L2 and L3;
s4, respectively fitting the intersection points of the straight line L1, the straight line L2 and the straight line L3, respectively marking as A, B, and calculating the length and the coordinate of the weld joint of the end faces of the two pins to be welded according to the distance between A, B two points;
and S5, generating welding tracks of all the pin end faces of the stator copper wire according to the welding seam coordinates of all the pin end faces calculated in the S4.
Further, in the step S2, a spot tool is used to calibrate the center points of the end faces of all the pins of the stator copper wire.
Further, in step S3, a CogFindLineTool is used, and a gray threshold range is set to calibrate two adjacent sides of the joint seam of the end surfaces of the two pins to be welded.
Further, the step S4 further includes the following steps:
s41, finding out the pixel coordinates (X) of the point A and the point B by adopting a CogIntersectLineLineTool tool1,Y1)、(X2,Y2) And the angle θ between the line L1 and the line L2 or the line L3;
s42, and then according to the pixel coordinate (X) in step S411,Y1)、(X2,Y2) Calculating the length L of the welding seam and the coordinates (X, Y) of the welding seam of the end surfaces of the two pins by the included angle theta and the following formula;
coordinate of welding point is X ═ X1+X2)/2;Y=(Y1+Y2)/2;
The length of the weld joint is
Figure BDA0003166488100000021
Further, in the step S5, a two-dimensional arc tool is used to generate the welding tracks of the end faces of all the pins of the stator copper wire.
Further, in step S41, a cogintersectlinetool is used to calculate the distance between point a and point B for determining the size and offset of the weld.
The invention also provides a welding process of the stator copper wire of the hairpin motor, which is characterized in that the stator copper wire pin end face is welded by using the hairpin motor stator copper wire visual identification method, and the welding process comprises the following steps:
t1, clamping and positioning the stator copper wire to be welded by a tool;
t2, identifying welding tracks of all pin end faces of the stator copper wire by adopting the hairpin motor stator copper wire visual identification method;
and T3, welding all welding points on the welding track by using a servo laser welding device.
Further, the trajectory of the laser welding on each welding point in the step T3 is an ellipse.
Compared with the prior art, the invention has the following beneficial effects:
according to the visual identification method for the stator copper wire of the hairpin motor, the weld coordinates and the weld lengths of the end faces of all pins of the stator copper wire can be calculated, the identification of all welding spot positions can be completed in required beats, the situations of deviation and omission of welding spots are avoided, and the problem of poor real-time identification effect of the welding spot positions is solved.
According to the welding process of the hairpin motor stator copper wire, all welding point positions can be identified in required beats, all welding points are welded in sequence according to the generated welding tracks, and the welding process is high in welding efficiency and process stability.
Drawings
FIG. 1 is a schematic diagram of a hairpin machine stator copper wire visual identification method of the invention;
FIG. 2 is a diagram of the effect of the hairpin motor stator copper wire after being identified by the visual identification method of the invention;
FIG. 3 is a welding point welding track diagram in the hairpin motor stator copper wire welding process.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the method for visually identifying the stator copper wire of the hairpin machine according to the invention comprises the following steps:
s1, acquiring original pictures of the end faces of all pins of the stator copper wire by using an industrial camera;
s2, calibrating the central points of the end faces of all pins of the stator copper wire in the original picture by using a spot tool in Cognex Vision Pro software, and fitting the central points of the end faces of the two pins contacting to-be-welded into a straight line by using a connecting line tool, wherein the straight line is marked as L1;
s3, calibrating two adjacent sides of a joint seam of end faces of two pins to be welded in an original picture by adopting a CogFindLineTool tool and setting a gray threshold range, and respectively fitting into two straight lines which are respectively marked as L2 and L3; setting the gray threshold range as 220-255; the brightness of the light reflected by the end face of the normal copper wire pin is very strong, namely the gray value is very large and is close to 255, and the area outside the end face of the pin is darker and is generally lower than 220;
s4, respectively fitting the intersection points of the straight line L1, the straight line L2 and the straight line L3, respectively marking as A, B, and calculating the length and the coordinate of the weld joint of the end faces of the two pins to be welded according to the distance between A, B two points;
and S5, generating welding tracks of all the pin end faces of the stator copper wire according to the welding seam coordinates of all the pin end faces calculated in the S4.
When the technical scheme is used, the visual identification method for the stator copper wire of the hairpin motor can calculate the weld coordinates and the weld lengths of the end faces of all pins of the stator copper wire, can complete the identification of the positions of all welding points in required beats, avoids the occurrence of deviation and omission of the welding points, and solves the problem of poor real-time identification effect of the positions of the welding points.
In this embodiment, the step S4 further includes the following steps:
s41, finding out the pixel coordinates (X) of the point A and the point B by adopting a CogIntersectLineLineTool tool1,Y1)、(X2,Y2) And the angle θ between the line L1 and the line L2 or the line L3;
s42, and then according to the pixel coordinate (X) in step S411,Y1)、(X2,Y2) Calculating the length L of the welding seam and the coordinates (X, Y) of the welding seam of the end surfaces of the two pins by the included angle theta and the following formula;
coordinate of welding point is X ═ X1+X2)/2;Y=(Y1+Y2)/2;
The length of the weld joint is
Figure BDA0003166488100000041
And meanwhile, a CogIntersectLineLineTool tool is adopted to calculate the distance between the point A and the point B so as to judge the size and the offset of the welding line, for the pin with a larger welding line and without the welding line, the coordinate point of the pin is directly eliminated, the coordinate point of the normal welding line is directly collected, the welding track generated by the normal welding point can be directly welded, the welding point with the larger welding line and without the welding line needs to be checked and corrected, the identification accuracy is improved, and the deviation is avoided.
In this embodiment, in step S5, a two-dimensional arc tool is used to generate welding tracks of end faces of all pins of the stator copper wire.
The invention also provides a welding process of the stator copper wire of the hairpin motor, which utilizes the stator copper wire vision identification method of the hairpin motor to weld the end surface of the pin of the stator copper wire and comprises the following steps:
t1, clamping and positioning the stator copper wire to be welded by a tool;
t2, identifying welding tracks of all pin end faces of the stator copper wire by adopting the hairpin motor stator copper wire visual identification method;
and T3, welding all welding points on the welding track by using a servo laser welding device.
Preferably, a galvanometer is installed in the servo laser welding equipment, the galvanometer and the welding track are combined to calibrate the operation area, and a laser welding head in the servo laser welding equipment is controlled by a servo motor to move to the left position of each welding point in the welding track to weld the end faces of the copper wire pins; specifically, the welding track at each welding point is elliptical, and the elliptical welding track is adopted to enable the copper bodies at the periphery and four corners of the end face of each pin to be just dissolved in the welding line, so that the copper bodies are not excessively welded to the outside of each pin, and welding spots are round and full; high welding efficiency and high process stability.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that various changes in the embodiments and/or modifications of the invention can be made, and equivalents and modifications of some features of the invention can be made without departing from the spirit and scope of the invention.

Claims (8)

1. A hairpin machine stator copper wire visual identification method is characterized by comprising the following steps:
s1, acquiring original pictures of the end faces of all pins of the stator copper wire by using an industrial camera;
s2, calibrating the center points of the end faces of all pins of the stator copper wire in the original picture, and fitting the center points of the end faces of the two pins contacting to-be-welded into a straight line through a wiring tool, and marking as L1;
s3, calibrating two adjacent sides of a joint seam of the end faces of two pins to be welded in the original picture, and respectively fitting into two straight lines which are respectively marked as L2 and L3;
s4, respectively fitting the intersection points of the straight line L1, the straight line L2 and the straight line L3, respectively marking as A, B, and calculating the length and the coordinate of the weld joint of the end faces of the two pins to be welded according to the distance between A, B two points;
and S5, generating welding tracks of all the pin end faces of the stator copper wire according to the welding seam coordinates of all the pin end faces calculated in the S4.
2. The method for visually identifying stator copper wires of a hairpin machine according to claim 1, wherein a spot tool is used to calibrate the center points of all pin end faces of stator copper wires in step S2.
3. The method for visually recognizing the stator copper wire of the hairpin motor according to claim 1, wherein in step S3, a CogFindLineTool is used, and a gray threshold range is set to calibrate the adjacent two sides of the joint seam of the end faces of the two pins to be welded.
4. The method for visually identifying hairpin motor stator copper wires as claimed in claim 1, wherein said step S4 further comprises the steps of:
s41, finding out the pixel coordinates (X) of the point A and the point B by adopting a CogIntersectLineLineTool tool1,Y1)、(X2,Y2) And the angle θ between the line L1 and the line L2 or the line L3;
s42, and then according to the pixel coordinate (X) in step S411,Y1)、(X2,Y2) Calculating the length L of the welding seam and the coordinates (X, Y) of the welding seam of the end surfaces of the two pins by the included angle theta and the following formula;
coordinate of welding point is X ═ X1+X2)/2;Y=(Y1+Y2)/2;
The length of the weld joint is
Figure FDA0003166488090000011
5. The method for visually recognizing stator copper wires of a hairpin machine according to claim 1, wherein in step S5, welding tracks of all pin end faces of stator copper wires are generated by using a two-dimensional arc tool.
6. The method as claimed in claim 4, wherein in step S41, a CogIntersectLineLineTool tool is used to calculate the distance between point A and point B for determining the size and offset of the weld.
7. A hairpin machine stator copper wire welding process is characterized in that the stator copper wire pin end face is welded by the hairpin machine stator copper wire visual identification method of any one of claims 1 to 6, and the process comprises the following steps:
t1, clamping and positioning the stator copper wire to be welded by a tool;
t2, identifying welding tracks of all pin end faces of the stator copper wire by adopting the hairpin motor stator copper wire visual identification method;
and T3, welding all welding points on the welding track by using a servo laser welding device.
8. The hairpin stator copper wire welding process of claim 7 wherein the trajectory of the laser weld at each weld point in the step T3 is elliptical.
CN202110811441.XA 2021-07-16 2021-07-16 Visual identification method and welding process for stator copper wires of hairpin motor Active CN113414491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110811441.XA CN113414491B (en) 2021-07-16 2021-07-16 Visual identification method and welding process for stator copper wires of hairpin motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110811441.XA CN113414491B (en) 2021-07-16 2021-07-16 Visual identification method and welding process for stator copper wires of hairpin motor

Publications (2)

Publication Number Publication Date
CN113414491A true CN113414491A (en) 2021-09-21
CN113414491B CN113414491B (en) 2023-07-14

Family

ID=77721269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110811441.XA Active CN113414491B (en) 2021-07-16 2021-07-16 Visual identification method and welding process for stator copper wires of hairpin motor

Country Status (1)

Country Link
CN (1) CN113414491B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118196067A (en) * 2023-05-05 2024-06-14 苏州卡门哈斯激光技术有限责任公司 Visual positioning detection method for welding flat copper wire motor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0584859A1 (en) * 1992-08-10 1994-03-02 Koninklijke Philips Electronics N.V. Discharge lamps with composite electrodes and method of installation of these electrodes in the lamps
CN101252112A (en) * 2007-02-21 2008-08-27 株式会社新川 Semiconductor device and wire bonding method
CN101249587A (en) * 2008-04-07 2008-08-27 北京工业大学 Device for reducing 1420 aluminum lithium alloy laser beam welding air holes
CN102179598A (en) * 2011-03-31 2011-09-14 中国科学院自动化研究所 Method and device for centering initial welding positions of flat narrow welding lines and tracking welding lines
CN111322954A (en) * 2020-03-19 2020-06-23 北京神工科技有限公司 Assembly tool pose measuring method and device, storage medium and electronic equipment
CN112621034A (en) * 2020-12-10 2021-04-09 北京博清科技有限公司 Welding gun positioning method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0584859A1 (en) * 1992-08-10 1994-03-02 Koninklijke Philips Electronics N.V. Discharge lamps with composite electrodes and method of installation of these electrodes in the lamps
CN101252112A (en) * 2007-02-21 2008-08-27 株式会社新川 Semiconductor device and wire bonding method
CN101249587A (en) * 2008-04-07 2008-08-27 北京工业大学 Device for reducing 1420 aluminum lithium alloy laser beam welding air holes
CN102179598A (en) * 2011-03-31 2011-09-14 中国科学院自动化研究所 Method and device for centering initial welding positions of flat narrow welding lines and tracking welding lines
CN111322954A (en) * 2020-03-19 2020-06-23 北京神工科技有限公司 Assembly tool pose measuring method and device, storage medium and electronic equipment
CN112621034A (en) * 2020-12-10 2021-04-09 北京博清科技有限公司 Welding gun positioning method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118196067A (en) * 2023-05-05 2024-06-14 苏州卡门哈斯激光技术有限责任公司 Visual positioning detection method for welding flat copper wire motor

Also Published As

Publication number Publication date
CN113414491B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
KR20200085274A (en) Active laser vision welding seam tracking system and welding seam position detection method
CN102211245B (en) Spot welding system and dressing determination method
US8688274B2 (en) Robot positioning method and calibration method
CN107253190A (en) The device and its application method of a kind of high precision machines people trick automatic camera calibration
WO2019184223A1 (en) Method for soldering label onto bar
CN110449783B (en) Robot welding device and method for acquiring welding seam track
Chen et al. A robust visual servo control system for narrow seam double head welding robot
CN115042175B (en) Method for adjusting tail end gesture of mechanical arm of robot
CN112847353A (en) Multi-segment welding seam track correction method based on offline programming software
CN108907526A (en) A kind of weld image characteristic recognition method with high robust
CN113414491B (en) Visual identification method and welding process for stator copper wires of hairpin motor
CN112643207B (en) Laser automatic derusting system and method based on computer vision
CN114378822A (en) Method for adjusting terminal pose of robot mechanical arm based on vision
CN114757903A (en) Optical device chip packaging gold wire defect detection method
WO2024119672A1 (en) Mover position calibration method for direct-drive transmission system, and related apparatus
CN114088738A (en) High-precision defect detection method and device for annular welding seam
WO1994000269A1 (en) Robot for welding
CN107932502A (en) A kind of SCARA method for planning track of robot based on binocular stereo vision
CN118397105A (en) Positioning calibration teaching method and system based on machine vision traversal
CN101954557A (en) Two-dimensional location information extracting method for structured light welding line image tracking
CN117655489A (en) Automatic spot welding guiding method and system based on machine vision
CN117876358A (en) Welding path planning method, device, computer equipment and storage medium
KR20130045557A (en) Method of calibrating coordinate system in laser vision sensor
JP2020028904A (en) Detection device of positional deviation of coil
CN207205562U (en) A kind of laser welding defocus amount determining device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant