CN110674564B - Main shaft attitude calculation method based on Labview - Google Patents

Main shaft attitude calculation method based on Labview Download PDF

Info

Publication number
CN110674564B
CN110674564B CN201910280859.5A CN201910280859A CN110674564B CN 110674564 B CN110674564 B CN 110674564B CN 201910280859 A CN201910280859 A CN 201910280859A CN 110674564 B CN110674564 B CN 110674564B
Authority
CN
China
Prior art keywords
axis
main shaft
spindle
coordinate
coordinate system
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.)
Active
Application number
CN201910280859.5A
Other languages
Chinese (zh)
Other versions
CN110674564A (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.)
Harbin University of Science and Technology
Original Assignee
Harbin University of Science and Technology
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 Harbin University of Science and Technology filed Critical Harbin University of Science and Technology
Priority to CN201910280859.5A priority Critical patent/CN110674564B/en
Publication of CN110674564A publication Critical patent/CN110674564A/en
Application granted granted Critical
Publication of CN110674564B publication Critical patent/CN110674564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a main shaft posture calculating method based on Labview, which mainly comprises a workbench, a main shaft, a A, C shaft multidirectional swinging head and a Labview program for calculating the main shaft posture; the workbench is mainly used for placing a workpiece to be processed, and the direction of the workbench is parallel to the horizontal plane; the main shaft is arranged on a A, C shaft multidirectional swinging head and mainly drives the cutter to perform cutting motion; A. the C-axis multidirectional swinging head can drive the main shaft to rotate in two directions of the A, C axis; the Labview program mainly calculates the corresponding relation between the A-axis rotation angle and the C-axis rotation angle and the main shaft posture, and can display the main shaft posture included angle and the main shaft nose end coordinate value in real time.

Description

Main shaft attitude calculation method based on Labview
Technical Field
The invention relates to the field of spindle attitude calculation methods, in particular to a spindle attitude calculation method based on Labview.
Background
The five-axis linkage machine tool has flexible cutting mode and strong adaptability, and is a main development direction of future machine tools. The conventional A, C-axis multidirectional swinging head is used for a five-axis linkage machine tool, can realize translation in three linear directions of X, Y, Z and rotation around two axes of A, C, and can realize five-coordinate movement of a cutting spindle mounted on the five-axis multidirectional swinging head.
Disclosure of Invention
In view of the above problems, the present invention aims to provide a Labview-based spindle attitude calculation method.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
the main shaft posture calculating method based on Labview is characterized by comprising a workbench, a main shaft, a A, C shaft multidirectional swinging head and a Labview program for calculating the main shaft posture; the workbench is used for placing a processed workpiece, and the direction of the processed workpiece is parallel to the horizontal plane; the main shaft is arranged on the A, C shaft multidirectional swinging head and mainly drives the cutter to perform cutting motion; the A, C shaft swings in multiple directions, and can drive the main shaft to rotate in two directions of A, C shafts; the Labview program mainly calculates the corresponding relation between the A-axis rotation angle and the C-axis rotation angle and the main shaft posture, and can display the main shaft posture included angle and the main shaft nose end coordinate value in real time, and the program mainly comprises the following steps: the control is input by the axis A and the axis C, the control is input by the axis C, the control is displayed by the attitude included angle of the main shaft, and the control is displayed by the coordinate value of the central point of the nose end of the main shaft; the A-axis corner input control is used for inputting the angle of the main shaft rotating around the A axis; the C-axis corner input control is used for inputting the rotation angle of the main shaft around the C axis; the spindle attitude included angle display control is used for displaying an included angle between the spindle center line and the working plane; and the coordinate of the central point of the spindle nose displays the coordinate value of the central point of the spindle nose.
Due to the adoption of the technical scheme, the invention has the following advantages:
1. the invention relates to a method for calculating the attitude included angle of a main shaft, which has no principle error in algorithm and can calculate the coordinate value of the center of the nose end of the main shaft in a coordinate system.
2. The invention can display the main shaft attitude included angle and the coordinate value of the main shaft nose center point in real time based on the Labview development platform.
3. The method is suitable for general A, C-axis multidirectional swinging, and the calculation method is widely applicable.
Description of the drawings:
the invention is further illustrated by the following examples in conjunction with the accompanying drawings:
FIG. 1: A. the position relation between the C-axis multidirectional swinging head and the working plane, and the initialization state of the multidirectional swinging head;
fig. 2: the A-axis coordinate system and the C-axis coordinate system are schematic diagrams, and are the basis of main shaft angle calculation;
fig. 3: a front panel of Labview program for human-machine interaction;
fig. 4: the Labview program is a program block diagram mainly for executing the arithmetic function.
Detailed Description
Specific constructions and embodiments of the present invention are further described below with reference to the drawings.
The system composition of the present invention is shown in fig. 1 and 3.
The Labview program front panel consists of an A-axis corner input control, a C-axis corner input control, a main shaft nose X-axis coordinate display control, a main shaft nose Y-axis coordinate display control, a main shaft nose Z-axis coordinate display control and a main shaft attitude included angle display control.
The implementation method specifically comprises the following steps:
1) And establishing a space rectangular coordinate system with an intersection point of an A axis and a C axis as a coordinate origin O, an A axis and a C axis as ZA axis and ZC axis respectively, and a straight line perpendicular to the A axis and the C axis as an X axis, wherein the space rectangular coordinate system is a C axis coordinate system OXCYCZC and an A axis coordinate system OXAYAZA respectively.
2) Recording the coordinate n of the nose end of the spindle in the C-axis coordinate system and the coordinate m of the tail end of the spindle in the C-axis coordinate system in the initialized state, and establishing the direction vector of the spindleAnd normal vector of the table perpendicular to the Z-axis +.>
3) Establishing a principal axis direction vectorRotation matrix with a-axis and C-axis rotation angles θa and θc: by using space coordinate transformation, the main axis direction vector along with theta A and theta can be obtained C The changing rotation matrix is respectively as follows:
4) The included angle between the A axis and the C axis is set as alpha, and a coordinate relation between the C axis coordinate system OXCYCZC and the A axis coordinate system OXAYAZA is established:
5) Let the principal axis direction vector after the change beEstablishing a principal axis direction vector>Relation between the rotation angle theta A of the axis A and the rotation angle theta C of the axis C:
6) Establishing a relation between the spindle attitude included angle and the A, C axis rotation angle by taking the spindle attitude included angle as theta:
step 5, under the condition of knowing A, C shaft rotation angles, obtaining the coordinates of the nose end of the main shaft in a coordinate system;
and step 6, under the condition of A, C shaft rotation angles, obtaining a main shaft attitude included angle.
The working process of the invention is as follows:
when the device works, firstly, a program running button is clicked, then corresponding angles are input in the A-axis corner input control and the C-axis corner input control, meanwhile, the X-axis coordinate display control of the spindle nose end, the Y-axis coordinate display control of the spindle nose end, and the Z-axis coordinate display control of the spindle nose end and the main spindle attitude included angle display control display corresponding numerical values.

Claims (1)

1. The main shaft posture calculating method based on Labview is characterized by comprising a working plane, a main shaft, a A, C shaft multidirectional swinging head and a Labview program for calculating the posture of the main shaft, wherein the working plane is a plane for placing a workpiece, and the direction of the working plane is parallel to a horizontal plane; the main shaft is arranged on the A, C shaft multidirectional swinging head and mainly drives the cutter to perform cutting motion; the A, C shaft swings in multiple directions, and can drive the main shaft to rotate in two directions of A, C shafts; the Labview program calculates the corresponding relation between the A-axis rotation angle and the C-axis rotation angle and the main shaft posture, and can display the main shaft posture included angle and the main shaft nose end coordinate value in real time;
the Labview program is characterized by comprising the following steps: the control is input by the axis A and the axis C, the control is input by the axis C, the control is displayed by the attitude included angle of the main shaft, and the control is displayed by the coordinate value of the central point of the nose end of the main shaft; the A-axis corner input control is used for inputting the angle of the main shaft rotating around the A axis; the C-axis corner input control is used for inputting the rotation angle of the main shaft around the C axis; the spindle attitude included angle display control is used for displaying an included angle between the spindle center line and the working plane; the spindle nose center point coordinates display the coordinate values of the spindle nose center point;
the main shaft attitude calculation method of Labview specifically comprises the following steps:
step 1, the intersection point of the A axis and the C axis is the origin of coordinates O, and the A axis and the C axis are respectively used as Z A Axis and Z C An axis, and a straight line perpendicular to the A axis and the C axis is taken as an X axis to establish a space rectangular coordinate system which is respectively taken as a C axis coordinate system OX C Y C Z C And an A-axis coordinate system OX A Y A Z A
Step 2, recording the coordinate n of the nose end of the spindle in the C-axis coordinate system and the coordinate m of the tail end of the spindle in the C-axis coordinate system in the initialized state, and establishing a direction vector of the spindleAnd normal vector of the table perpendicular to the Z-axis +.>
Step 3, establishing a main shaft sideVector of directionAngle theta along with A axis and C axis A And theta C By using space coordinate transformation, the principal axis direction vector along with theta can be obtained A And theta C The changing rotation matrix is respectively as follows:
step 4, setting the included angle between the A axis and the C axis as alpha, and establishing a C axis coordinate system OX C Y C Z C And an A-axis coordinate system OX A Y A Z A Coordinate relation between:
step 5, setting the changed main axis direction vector asEstablishing a principal axis direction vector>Angle theta along with axis A A And C-axis rotation angle theta C Is a relation of (2)
Step 6, establishing a relation between the spindle attitude included angle and the A, C axis rotation angle by setting the spindle attitude included angle as theta:
step 5, under the condition of knowing A, C shaft rotation angles, obtaining the coordinates of the nose end of the main shaft in a coordinate system;
and step 6, under the condition of A, C shaft rotation angles, obtaining a main shaft attitude included angle.
CN201910280859.5A 2019-04-09 2019-04-09 Main shaft attitude calculation method based on Labview Active CN110674564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910280859.5A CN110674564B (en) 2019-04-09 2019-04-09 Main shaft attitude calculation method based on Labview

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910280859.5A CN110674564B (en) 2019-04-09 2019-04-09 Main shaft attitude calculation method based on Labview

Publications (2)

Publication Number Publication Date
CN110674564A CN110674564A (en) 2020-01-10
CN110674564B true CN110674564B (en) 2024-02-02

Family

ID=69068553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910280859.5A Active CN110674564B (en) 2019-04-09 2019-04-09 Main shaft attitude calculation method based on Labview

Country Status (1)

Country Link
CN (1) CN110674564B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111336899B (en) * 2020-03-13 2021-08-06 清华大学 Machine tool spindle head attitude angle multi-value measuring tool and measuring method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001097901A2 (en) * 2000-06-22 2001-12-27 The Research Foundation Of The State University Of New York At Buffalo Micro-injection pump
KR20070105288A (en) * 2007-08-01 2007-10-30 순천대학교 산학협력단 Bearing fault diagnosis for diesel engine generator using labview
CN101859126A (en) * 2010-04-30 2010-10-13 西北工业大学 Five-coordinate numerical control machining cutter path changing method
CN102209941A (en) * 2008-09-18 2011-10-05 德塞拉北美公司 Systems and methods for machining materials
CN102354123A (en) * 2011-07-18 2012-02-15 北京航空航天大学 Cross-platform extendible satellite dynamic simulation test system
CN102357924A (en) * 2011-07-25 2012-02-22 南京大地水刀股份有限公司 Water cutting head attitude control mechanism using cut-in point as center
CN107450473A (en) * 2017-08-03 2017-12-08 南京航空航天大学 A kind of calculating of CFXYZA types five-axle number control machine tool rotary shaft geometric error, compensation and its verification method
CN108678732A (en) * 2018-05-10 2018-10-19 芜湖航飞科技股份有限公司 A kind of three-dimensional mapping device based on Beidou navigation technology
RO132942A0 (en) * 2018-05-30 2018-11-29 Institutul Naţional De Cercetare-Dezvoltare Aerospaţială "Elie Carafoli"- I.N.C.A.S. Bucureşti Installation for testing materials to water quenching rapid thermal shock
CN109238199A (en) * 2018-09-03 2019-01-18 清华大学 A kind of robot rotary shaft kinematic calibration method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001097901A2 (en) * 2000-06-22 2001-12-27 The Research Foundation Of The State University Of New York At Buffalo Micro-injection pump
KR20070105288A (en) * 2007-08-01 2007-10-30 순천대학교 산학협력단 Bearing fault diagnosis for diesel engine generator using labview
CN102209941A (en) * 2008-09-18 2011-10-05 德塞拉北美公司 Systems and methods for machining materials
CN101859126A (en) * 2010-04-30 2010-10-13 西北工业大学 Five-coordinate numerical control machining cutter path changing method
CN102354123A (en) * 2011-07-18 2012-02-15 北京航空航天大学 Cross-platform extendible satellite dynamic simulation test system
CN102357924A (en) * 2011-07-25 2012-02-22 南京大地水刀股份有限公司 Water cutting head attitude control mechanism using cut-in point as center
CN107450473A (en) * 2017-08-03 2017-12-08 南京航空航天大学 A kind of calculating of CFXYZA types five-axle number control machine tool rotary shaft geometric error, compensation and its verification method
CN108678732A (en) * 2018-05-10 2018-10-19 芜湖航飞科技股份有限公司 A kind of three-dimensional mapping device based on Beidou navigation technology
RO132942A0 (en) * 2018-05-30 2018-11-29 Institutul Naţional De Cercetare-Dezvoltare Aerospaţială "Elie Carafoli"- I.N.C.A.S. Bucureşti Installation for testing materials to water quenching rapid thermal shock
CN109238199A (en) * 2018-09-03 2019-01-18 清华大学 A kind of robot rotary shaft kinematic calibration method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
庄嘉兴.数控系统测试平台设计与双驱同步控制技术研究.《中国优秀硕士学位论文全文数据库工程科技Ⅰ辑》.2014,(第08期),第B022-426页. *
陈雪华 等.基于LabVIEW 的切削力采集和建模系统.《机械科学与技术》.2012,第31卷(第5期),第783-786页. *

Also Published As

Publication number Publication date
CN110674564A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
KR940003204B1 (en) Control robot
KR101744962B1 (en) System for processing wood member using multi-articulated robot
TWI689389B (en) Multiaxial robot
CN111409067B (en) Automatic calibration system and calibration method for robot user coordinate system
CN105643619B (en) A kind of industrial robot instrument posture control method of use framework description
CN107471882A (en) A kind of processing of robots control system of large volume workpiece engraving
US10684609B2 (en) Program code generating method for tilted plane machining by multi-axis machine tool and device thereof
CN110815189A (en) Robot rapid teaching system and method based on mixed reality
CN110674564B (en) Main shaft attitude calculation method based on Labview
US10126732B2 (en) Device for controlling machine tool
CN111823100A (en) Robot-based small-curvature polishing and grinding method
CN107942942B (en) Inclined coordinate system establishing method applied to intersected inclined planes of machine tool equipment
CN108068122A (en) A kind of large ship groove face processing unit (plant) and localization method
CN114012507A (en) Identification method for position-independent errors of double rotating shafts of cradle type five-axis machine tool
CN110883499B (en) Program generation method and device for machining inclined plane for multi-axis machine tool
CN102566495B (en) Guide type multiaxis numerically controlled machine tool kinematic parameter configuration method
CN109773581B (en) Method for applying robot to reappear machining
CN115302527A (en) Automatic drilling and riveting equipment with double robots
CN116330267A (en) Control method based on industrial robot wrist singular point calculation
CN207992793U (en) A kind of blade groover control system based on CNC
CN112743396A (en) Propeller back chipping machining machine tool and method
CN110561387A (en) Method for measuring rotatable workpiece in industrial robot system and using base coordinate
CN109277658A (en) A kind of multiaxis spark-erosion machine tool processing double shrouded wheel track postpositive disposal method
Guo Multi-degree-of-freedom robot arm motion simulation based on MATLAB
US20230305514A1 (en) Post-processing method for special seven-five axis linkage machine tool

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