CN110674564A - Main shaft attitude calculation method based on Labview - Google Patents
Main shaft attitude calculation method based on Labview Download PDFInfo
- Publication number
- CN110674564A CN110674564A CN201910280859.5A CN201910280859A CN110674564A CN 110674564 A CN110674564 A CN 110674564A CN 201910280859 A CN201910280859 A CN 201910280859A CN 110674564 A CN110674564 A CN 110674564A
- Authority
- CN
- China
- Prior art keywords
- main shaft
- axis
- rotation angle
- attitude
- shaft
- 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
Links
- 238000004364 calculation method Methods 0.000 title description 6
- 238000000034 method Methods 0.000 claims abstract description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Landscapes
- Numerical Control (AREA)
Abstract
The invention relates to a method for calculating a spindle attitude based on Labview, which mainly comprises a workbench, a spindle, A, C-axis multidirectional swinging heads and a Labview program for calculating the spindle attitude; 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 the A, C shaft multidirectional swinging head and mainly drives the cutter to carry out cutting movement; A. the C-axis multidirectional swing 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 attitude, and can display the main shaft attitude included angle and the main shaft nose end coordinate value in real time.
Description
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 is flexible in cutting mode and high in adaptability, and is the main development direction of future machine tools. The conventional A, C-shaft multidirectional swinging head is used for a five-shaft linkage machine tool, can realize translation in three linear directions of X, Y, Z and rotation around two shafts of A, C, can realize five-coordinate motion of a cutting spindle arranged on the swinging head, is mainly used for high-precision machining due to flexible and changeable five-coordinate motion, and can meet the requirement of high-precision cutting only by accurately predicting the corresponding relation between the posture of the spindle and the rotary angle of A, C two shafts.
Disclosure of Invention
In view of the above problems, the present invention provides a method for calculating a spindle attitude based on Labview.
In order to achieve the purpose, the invention adopts the following technical scheme:
a principal axis attitude calculation method based on Labview is characterized by comprising a workbench, a principal axis, A, C axis multidirectional swinging heads and a Labview program for calculating the principal axis attitude; a workpiece to be processed is placed on the workbench, and the direction of the workpiece to be processed is parallel to the horizontal plane; the main shaft is arranged on the A, C shaft multidirectional swinging head and mainly drives a cutter to perform cutting motion; the A, C shaft multidirectional swinging head can drive the main shaft to rotate in two directions of the A, C shaft; the Labview program mainly calculates the corresponding relation between the A-axis rotation angle and the C-axis rotation angle and the main shaft attitude, and can display the main shaft attitude included angle and the main shaft nose coordinate value in real time, and the program mainly comprises: the device comprises an A-axis angle input control, a C-axis angle input control, a main shaft attitude included angle display control and a main shaft nose end coordinate value display control; the A-axis rotation angle input control is used for inputting the rotation angle of the main shaft around the A axis; the C-axis rotation angle input control is used for inputting the rotation angle of the main shaft around the C axis; the main shaft posture included angle display control is used for displaying an included angle between a main shaft central line and a working plane; and the coordinate of the central point of the nose end of the main shaft displays the coordinate value of the central point of the nose end of the main shaft.
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, and the algorithm has no principle error and can calculate the coordinate value of the nose center of the main shaft in a coordinate system.
2. The invention can display the coordinate values of the main shaft attitude included angle and the nose center point of the main shaft in real time based on a Labview development platform.
3. The invention is suitable for the general A, C shaft multidirectional swing, and the calculation method is widely applicable.
Description of the drawings:
the invention is further illustrated with reference to the following figures and examples:
FIG. 1: A. the position relation between the shaft C and the working plane, and the initialization state of the multi-directional swing head;
FIG. 2 is a drawing: the schematic diagrams of an A-axis coordinate system and a C-axis coordinate system are used as the basis for calculating the angle of the main shaft;
FIG. 3: a front panel of a Labview program for human-computer interaction;
FIG. 4 is a drawing: and a program block diagram of the Labview program mainly executes an operation function.
Detailed Description
The following further describes specific structures and embodiments of the present invention with reference to the drawings.
The system of the present invention is shown in fig. 1 and 3.
The front panel of the Labview program consists of an A-axis angle input control, a C-axis angle 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 mode specifically comprises the following steps:
1) a cross point of an A axis and a C axis is taken as a coordinate origin O, the A axis and the C axis are taken as a ZA axis and a ZC axis respectively, 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 taken as a C axis coordinate system OXYCZC and an A axis coordinate system OXAYZA respectively.
2) Recording the coordinate n of the nose end of the main shaft under the C-axis coordinate system and the coordinate m of the tail end of the main shaft under the C-axis coordinate system in the initialization state, and establishing the direction vector of the main shaftAnd normal vector of the table perpendicular to the Z axis
3) Establishing a principal axis direction vectorRotation matrix with A-axis and C-axis angles θ A and θ C: by using space coordinate transformation, the following theta A and theta of the direction vector of the main shaft can be obtainedCThe varied rotation matrices are:
4) setting an included angle between the axis A and the axis C as alpha, and establishing a coordinate relation between a C-axis coordinate system OXYCZC and an A-axis coordinate system OXAYACA:
5) let the principal axis direction vector after the change beEstablishing a principal axis direction vectorThe relation between the A-axis rotation angle theta A and the C-axis rotation angle theta C is as follows:
6) and establishing a relation between the main shaft attitude angle and the A, C shaft angle by taking the main shaft attitude angle as theta:
in the step 5, under the condition that the shaft rotation angle is known A, C, the coordinate of the nose end of the main shaft in a coordinate system is obtained;
in step 6, under the condition that the shaft rotation angle is already A, C, the main shaft attitude included angle is obtained.
The working process of the invention is as follows:
when the numerical control machine works, a program running button is clicked, corresponding angles are input in an A-axis angle input control and a C-axis angle input control, and meanwhile, a control is displayed in an X-axis coordinate of a spindle nose end, a control is displayed in a Y-axis coordinate of the spindle nose end, and a corresponding numerical value is displayed by a Z-axis coordinate display control of the spindle nose end and a spindle attitude included angle display control.
Claims (2)
1. The method for calculating the main shaft posture based on Labview is characterized by comprising a working plane, a main shaft, A, C shaft multidirectional swinging heads and a Labview program for calculating the main shaft posture; the working plane is a plane for placing a workpiece, and the direction of the working plane is parallel to the horizontal plane; the main shaft is arranged on the A, C shaft multidirectional swinging head and mainly drives a cutter to perform cutting motion; the A, C shaft multidirectional swinging head can drive the main shaft to rotate in two directions of the A, C shaft; the Labview program mainly calculates the corresponding relation between the A-axis rotation angle and the C-axis rotation angle and the main shaft attitude, and can display the main shaft attitude included angle and the main shaft nose coordinate value in real time.
2. The Labview program of claim 1, consisting essentially of: the device comprises an A-axis angle input control, a C-axis angle input control, a main shaft attitude included angle display control and a main shaft nose end coordinate value display control; the A-axis rotation angle input control is used for inputting the rotation angle of the main shaft around the A axis; the C-axis rotation angle input control is used for inputting the rotation angle of the main shaft around the C axis; the main shaft posture included angle display control is used for displaying an included angle between a main shaft central line and a working plane; and the coordinate of the central point of the nose end of the main shaft displays the coordinate value of the central point of the nose end of the main shaft.
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 true CN110674564A (en) | 2020-01-10 |
CN110674564B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111336899A (en) * | 2020-03-13 | 2020-06-26 | 清华大学 | Machine tool spindle head attitude angle multi-value measuring tool and measuring method |
Citations (10)
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 |
-
2019
- 2019-04-09 CN CN201910280859.5A patent/CN110674564B/en active Active
Patent Citations (10)
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)
Title |
---|
庄嘉兴: "数控系统测试平台设计与双驱同步控制技术研究", no. 08, pages 022 - 426 * |
陈雪华 等: "基于LabVIEW 的切削力采集和建模系统", vol. 31, no. 5, pages 783 - 786 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111336899A (en) * | 2020-03-13 | 2020-06-26 | 清华大学 | Machine tool spindle head attitude angle multi-value measuring tool and measuring method |
Also Published As
Publication number | Publication date |
---|---|
CN110674564B (en) | 2024-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101744962B1 (en) | System for processing wood member using multi-articulated robot | |
CN107598919B (en) | Two-axis positioner calibration method based on five-point calibration method | |
CN107471882B (en) | A kind of processing of robots control system of large volume workpiece engraving | |
CN111409067B (en) | Automatic calibration system and calibration method for robot user coordinate system | |
US20180043529A1 (en) | Multiaxial robot | |
CN108549319B (en) | Universal post-processing method for double-turntable five-axis numerical control machine tool | |
CN102091967A (en) | Method for smoothing feed speed of multi-axis numerical control (NC) machining | |
CN110851919B (en) | Inclined hole machining method | |
JP5670517B2 (en) | Impeller with wings composed of surfaces made of straight elements and method of machining the same | |
CN115302527A (en) | Automatic drilling and riveting equipment with double robots | |
CN110674564B (en) | Main shaft attitude calculation method based on Labview | |
CN108068122A (en) | A kind of large ship groove face processing unit (plant) and localization method | |
CN107942942B (en) | Inclined coordinate system establishing method applied to intersected inclined planes of machine tool equipment | |
CN113579766B (en) | Six-degree-of-freedom serial-parallel hybrid numerical control machine tool and post-processing method thereof | |
CN105058168A (en) | Multi-coordinate machining center combination method based on vision and movable mechanical arm | |
Yu et al. | Post-processing algorithm of a five-axis machine tool with dual rotary tables based on the TCS method | |
CN110883499B (en) | Program generation method and device for machining inclined plane for multi-axis machine tool | |
US11065760B2 (en) | Multiaxial robot with cover | |
CN106934108B (en) | Method for evaluating dynamic error transfer characteristics of parallel configuration spindle head | |
CN109773581B (en) | Method for applying robot to reappear machining | |
CN107830826B (en) | Two-axis swinging head system and error detection method of two-axis swinging head | |
CN207992793U (en) | A kind of blade groover control system based on CNC | |
CN105182905A (en) | Vision-based large structural member mobile manipulator multi-coordinate machining center realizing method | |
CN110561387A (en) | Method for measuring rotatable workpiece in industrial robot system and using base coordinate | |
JP6587842B2 (en) | Curved cutting 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 |