CN109909807B - Method for realizing automatic scanning height measurement in numerical control system - Google Patents
Method for realizing automatic scanning height measurement in numerical control system Download PDFInfo
- Publication number
- CN109909807B CN109909807B CN201910267482.XA CN201910267482A CN109909807B CN 109909807 B CN109909807 B CN 109909807B CN 201910267482 A CN201910267482 A CN 201910267482A CN 109909807 B CN109909807 B CN 109909807B
- Authority
- CN
- China
- Prior art keywords
- workpiece
- control system
- numerical control
- height measurement
- scanning
- 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
Links
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Laser Beam Processing (AREA)
- Automatic Control Of Machine Tools (AREA)
Abstract
The invention also relates to a method for realizing automatic scanning height measurement in the numerical control system, which comprises the following steps: (1) the numerical control system generates a scanning track in advance; (2) and the numerical control system performs scanning height measurement. By adopting the method for realizing automatic scanning height measurement in the numerical control system, the problems of low efficiency, large error, easy damage to workpieces and the like of the traditional contact type height measurement can be effectively solved by using the automatic scanning height measurement. High energy acquisition, very much elevation point information, is measured using auto-scanning. The surface information of the workpiece can be better obtained, the Z-axis height during machining can be more accurately adjusted, the distance from the tool bit to the surface of the workpiece is ensured to be constant, and better cutting quality is ensured.
Description
Technical Field
The invention relates to the field of automatic control, in particular to the field of automatic height measurement of machine tools, and particularly relates to a method for realizing automatic scanning height measurement in a numerical control system.
Background
The height measurement function is used for measuring the height difference of the surface of the workpiece, so that the height difference of the tool bit from the surface of the workpiece is constant during automatic machining, and the automatic machining can achieve a better machining effect. The traditional height measurement function generally adopts a contact height measurement mode, namely, in the height measurement process, the Z axis descends at the position of a height measurement point until a height measurement signal (IO signal) is obtained, and finally the height value of a single height measurement point is determined.
For a machined workpiece like a rock plate, the surface of the workpiece is a two-dimensional curved surface or an irregular curved surface. The whole height measurement process usually needs to measure dozens of height measurement points and execute repeated operation for many times, so that the process is very complicated and the efficiency is low abnormally. And the height gauge acquires the height value in a contact manner, so that the measurement error ratio is large, and the processed workpiece is easy to deform.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for realizing automatic scanning height measurement in a numerical control system with high efficiency, small error and low loss.
In order to achieve the above purpose, the method for realizing automatic scanning height measurement in the numerical control system of the invention is as follows:
the method for realizing automatic scanning height measurement in the numerical control system is mainly characterized by comprising the following steps of:
(1) the numerical control system generates a scanning track in advance;
(2) and the numerical control system performs scanning height measurement.
Preferably, the step (1) specifically comprises the following steps:
(1.1) scanning the information of the processed workpiece by preset parameters of a numerical control system;
and (1.2) forming a scanning track through latticed point taking according to the workpiece information and the scanning information.
Preferably, the workpiece information in the step (1.2) includes a workpiece coordinate value at a lower left corner of the workpiece, an original long dimension of the workpiece, and an original wide dimension of the workpiece; the scanning information comprises a scanning direction and a scanning interval.
Preferably, the step (2) specifically comprises the following steps:
(2.1) the numerical control system obtains a reference value;
(2.2) the numerical control system collects the height measurement data;
(2.3) calculating to obtain workpiece information according to the height measurement point data, and determining the Z value of each point on the workpiece;
and (2.4) the numerical control system calculates the Z value of each point of the machining tool path according to the obtained workpiece surface information and adjusts the Z-axis coordinate in the automatic machining process.
Preferably, the step (2.1) specifically comprises the following steps:
(2.1.1) moving the cutter head at the starting position of the scanning track to the height measurement safety height, popping up a height measurement cylinder, starting a sensor to project light, and enabling the cutter head to move downwards along the Z-axis;
(2.1.2) moving the tool bit for a fixed distance to reach the reference point position, and reading the Z-axis mechanical position and the feedback value of the sensor at the moment as the reference value.
Preferably, the step (2.2) specifically comprises the following steps:
(2.2.1) the tool bit moves at a high speed along the scanning track, and the feedback value of the sensor of the height measurement point is collected near the height measurement point;
(2.2.2) the numerical control system calculates the Z value of the height measuring point through the feedback value of the sensor and the reference value, and collects the Z value data of all the height measuring points.
Preferably, in the step (2.3), the workpiece information is calculated by a linear area fitting algorithm according to the height measurement data.
Preferably, in the step (2.3), the workpiece information is calculated according to a weighted average of Z values at 4 points of the grid.
Preferably, in the step (2.4), the distance between the tool bit and the surface of the workpiece is kept unchanged in the process of calculating the Z value of each point of the machining tool path and adjusting the Z-axis coordinate in the automatic machining process.
By adopting the method for realizing automatic scanning height measurement in the numerical control system, the problems of low efficiency, large error, easy damage to workpieces and the like of the traditional contact type height measurement can be effectively solved by using the automatic scanning height measurement. High energy acquisition, very much elevation point information, is measured using auto-scanning. The surface information of the workpiece can be better obtained, the Z-axis height during machining can be more accurately adjusted, the distance from the tool bit to the surface of the workpiece is ensured to be constant, and better cutting quality is ensured.
Drawings
Fig. 1 is a schematic diagram of a scanning track of a method for realizing automatic scanning height measurement in a numerical control system of the invention.
Fig. 2 is a schematic overall flow chart of a method for realizing automatic scanning height measurement in the numerical control system of the invention.
Detailed Description
In order to more clearly describe the technical contents of the present invention, the following further description is given in conjunction with specific embodiments.
Referring to fig. 1 and 2, the method for implementing automatic scanning height measurement in the numerical control system of the present invention includes:
(1) the numerical control system generates a scanning track in advance;
(1.1) scanning the information of the processed workpiece by preset parameters of a numerical control system;
(1.2) forming a scanning track through latticed point taking according to the workpiece information and the scanning information;
(2) the numerical control system scans and measures the height;
(2.1) the numerical control system obtains a reference value;
(2.1.1) moving the cutter head at the starting position of the scanning track to the height measurement safety height, popping up a height measurement cylinder, starting a sensor to project light, and enabling the cutter head to move downwards along the Z-axis;
(2.1.2) moving the tool bit for a fixed distance to reach the position of a reference point, and reading the mechanical position of the Z axis and the feedback value of the sensor at the moment as the reference value;
(2.2) the numerical control system collects the height measurement data;
(2.2.1) the tool bit moves at a high speed along the scanning track, and the feedback value of the sensor of the height measurement point is collected near the height measurement point;
(2.2.2) the numerical control system calculates Z values of the height measuring points through the feedback values of the sensors and the reference values, and collects Z value data of all the height measuring points;
(2.3) calculating to obtain workpiece information according to the height measurement point data, and determining the Z value of each point on the workpiece;
and (2.4) the numerical control system calculates the Z value of each point of the machining tool path according to the obtained workpiece surface information and adjusts the Z-axis coordinate in the automatic machining process.
As a preferred embodiment of the present invention, the workpiece information in step (1.2) includes workpiece coordinate values of a lower left corner of the workpiece, an original long dimension of the workpiece, and an original wide dimension of the workpiece; the scanning information comprises a scanning direction and a scanning interval.
In a preferred embodiment of the present invention, in the step (2.3), workpiece information is calculated by a linear area fitting algorithm based on the height measurement point data.
As a preferred embodiment of the present invention, in the step (2.3), the workpiece information is obtained by calculating a weighted average of Z values at 4 points of the grid.
In a preferred embodiment of the present invention, in the step (2.4), the distance between the tool tip and the surface of the workpiece is kept constant during the process of calculating the Z value of each point of the machining tool path and adjusting the Z-axis coordinate in the automatic machining process.
In the specific implementation mode of the invention, the invention aims to solve the problems of high measurement, low efficiency, large error, easiness in damaging the workpiece and the like of the traditional contact type for cutting the workpiece such as the rock plate. The invention provides an automatic scanning height measurement function, which can automatically generate a scanning track according to preset workpiece information. When the height measurement is carried out, a reference value is automatically obtained at the starting point of a scanning track, after the reference value is successfully obtained, high-speed continuous motion scanning is carried out along a preset track, accurate height information is fed back through a laser sensor, and then the information of the machined surface is obtained, and the cutter head is constant to the surface of a workpiece during automatic machining. The whole process is continuous and quick, the working time is shortened, and the height measurement efficiency is improved. The laser sensor is used for obtaining the height value, the relative contact type height measurement is realized, the precision is greatly improved, and meanwhile, the damage to the workpiece is also avoided.
Firstly, generating a scanning track in advance.
1. Presetting parameters, and scanning information of a processed workpiece, wherein the information comprises a coordinate value of the workpiece at the lower left corner of the workpiece and the original length and width dimensions of the workpiece. Information of the scan, scan direction and scan pitch.
2. And adopting a latticed point taking and S-shaped connecting line to form a scanning track according to the workpiece information and the scanning information. As shown in fig. 1, red is a scanning track, height measurement points are marked, and a rectangular frame is a workpiece.
Second, scanning height measuring process
1. And acquiring a benchmark. At the starting position of the scanning track, the cutter head moves to the height measurement safety height, the height measurement cylinder pops up, the sensor is turned on to project light, and then the Z axis moves downwards. And after the upper limit is separated, moving for a fixed distance to reach the position of a reference point, and reading the mechanical position of the Z axis and the feedback value of the sensor at the moment to serve as the reference.
2. And collecting height measurement data. And (3) moving at a high speed along the scanning track, collecting sensor feedback values of the height measuring points near the height measuring points, solving the Z values of the height measuring points with the reference values until the movement is finished, and collecting Z value data of all the height measuring points.
3. And obtaining the surface information of the workpiece according to the obtained height measurement point data. And obtaining workpiece information through a linear area fitting algorithm or a weighted average algorithm according to Z values of 4 points of the grid. The Z value of each point on the workpiece is determined.
4. And adjusting the Z-axis coordinate during automatic processing. And according to the obtained workpiece surface information, the Z value of each point of the machining tool path is calculated, and the constant distance from the tool bit to the workpiece surface is ensured.
By adopting the method for realizing automatic scanning height measurement in the numerical control system, the problems of low efficiency, large error, easy damage to workpieces and the like of the traditional contact type height measurement can be effectively solved by using the automatic scanning height measurement. High energy acquisition, very much elevation point information, is measured using auto-scanning. The surface information of the workpiece can be better obtained, the Z-axis height during machining can be more accurately adjusted, the distance from the tool bit to the surface of the workpiece is ensured to be constant, and better cutting quality is ensured.
In this specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
Claims (2)
1. A method for realizing automatic scanning height measurement in a numerical control system is characterized by comprising the following steps:
(1) the numerical control system generates a scanning track in advance;
(2) the numerical control system scans and measures the height;
the step (1) specifically comprises the following steps:
(1.1) scanning the information of the processed workpiece by preset parameters of a numerical control system;
(1.2) forming a scanning track through latticed points according to the processing workpiece information and the scanning information;
the processed workpiece information in the step (1.2) comprises workpiece coordinate values of the lower left corner of the workpiece, the original long size of the workpiece and the original wide size of the workpiece; the scanning information comprises a scanning direction and a scanning interval;
the step (2) specifically comprises the following steps:
(2.1) the numerical control system obtains a reference value;
(2.2) the numerical control system collects the height measurement data;
(2.3) obtaining workpiece surface information according to the obtained height measurement point data, obtaining workpiece information through a linear area fitting algorithm or a weighted average algorithm according to Z values of 4 points on the grid, and determining the Z value of each point on the workpiece;
(2.4) the numerical control system calculates the Z value of each point of the machining tool path according to the obtained workpiece surface information, and adjusts the Z-axis coordinate in the automatic machining process;
the step (2.1) specifically comprises the following steps:
(2.1.1) moving the cutter head at the starting position of the scanning track to the height measurement safety height, popping up a height measurement cylinder, starting a sensor to project light, and enabling the cutter head to move downwards along the Z-axis;
(2.1.2) moving the tool bit for a fixed distance to reach the position of a reference point, and reading the mechanical position of the Z axis and the feedback value of the sensor at the moment as the reference value;
the step (2.2) specifically comprises the following steps:
(2.2.1) the tool bit moves at a high speed along the scanning track, and the feedback value of the sensor of the height measurement point is collected near the height measurement point;
(2.2.2) the numerical control system calculates the Z value of the height measuring point through the feedback value of the sensor and the reference value, and collects the Z value data of all the height measuring points.
2. The method for realizing automatic scanning height measurement in a numerical control system according to claim 1, wherein the distance from the tool bit to the surface of the workpiece is kept unchanged during the process of calculating the Z value of each point of the machining tool path and adjusting the Z-axis coordinate in the automatic machining process in the step (2.4).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910267482.XA CN109909807B (en) | 2019-04-03 | 2019-04-03 | Method for realizing automatic scanning height measurement in numerical control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910267482.XA CN109909807B (en) | 2019-04-03 | 2019-04-03 | Method for realizing automatic scanning height measurement in numerical control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109909807A CN109909807A (en) | 2019-06-21 |
CN109909807B true CN109909807B (en) | 2021-11-12 |
Family
ID=66968565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910267482.XA Active CN109909807B (en) | 2019-04-03 | 2019-04-03 | Method for realizing automatic scanning height measurement in numerical control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109909807B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110370082A (en) * | 2019-08-09 | 2019-10-25 | 上海维宏智能技术有限公司 | High method and corresponding numerical-control processing method are surveyed in scanning |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201318831A (en) * | 2011-11-01 | 2013-05-16 | Horng Terng Automation Co Ltd | Automatic altimeter apparatus of splitting machine and altimetry method thereof |
JP6300120B2 (en) * | 2015-12-28 | 2018-03-28 | 株式会社ニイガタマシンテクノ | Control data generation method and control data generation apparatus |
CN206869554U (en) * | 2017-04-25 | 2018-01-12 | 山东派克诺尔机器有限公司 | Band surveys high numerical control positioning system automatically |
CN207963823U (en) * | 2018-02-10 | 2018-10-12 | 无锡戴卡轮毂制造有限公司 | A kind of new type auto height measuring device |
CN208269823U (en) * | 2018-05-10 | 2018-12-21 | 东莞市亿方数码科技有限公司 | A kind of automatic height measurement device |
CN109099849A (en) * | 2018-09-03 | 2018-12-28 | 苏州欣汇电智能装备技术有限公司 | To penetrating laser-measured height mechanism and to penetrating laser-measured height method |
-
2019
- 2019-04-03 CN CN201910267482.XA patent/CN109909807B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109909807A (en) | 2019-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10678208B2 (en) | Method of measurement on a machine tool | |
CN108031844B (en) | Material increasing and decreasing composite manufacturing method for online layer-by-layer detection | |
EP3095539B1 (en) | In-process monitoring of powder bed additive manufacturing apparatus and method therefor | |
CN103707132B (en) | A kind of perception position based on tool setting gage outfit is the Digit Control Machine Tool presetting cutter method of ball | |
CN109903342B (en) | Laser in-situ processing equipment and method based on scanning galvanometer | |
CN109332886B (en) | A kind of laser processing and device of unlimited breadth | |
CN108287522B (en) | Multi-platform-based automatic on-line detection method | |
CN109909807B (en) | Method for realizing automatic scanning height measurement in numerical control system | |
CN111069973B (en) | Method and device for quickly aligning complex-shape casting | |
CN116909211A (en) | Intelligent regulation and control method and system for high-precision numerical control machine tool | |
CN108340035A (en) | Hole depth determines method and calculating control system, electrode machining device | |
CN108073131B (en) | Mirror milling skin appearance error real-time non-contact measurement and compensation device and skin thickness accurate control method | |
CN116442005A (en) | PCD contour milling cutter positioning method based on line laser | |
CN105466352A (en) | Non-contact curved surface scanning system | |
CN110270885A (en) | The on-line checking repair system synchronous with micro-structure Ultra-precision Turning and method | |
JP6397776B2 (en) | Calibration jig, calibration method, and laser processing machine | |
CN210100765U (en) | Automatic scanning, measuring and analyzing device for shape of engineering tire wound tread | |
CN102830718B (en) | Automatic accurate positioning method for large workpiece | |
CN112496342A (en) | High-precision cross-time continuous printing control device and method for selective laser melting | |
JP2020199611A (en) | Machine tool and machine tool control method | |
CN117806231B (en) | Machine tool operation and machining control system and method based on Internet of things | |
CN103144038A (en) | Grinding wheel follow-up type cutting tool bar processing control system | |
CN117620315A (en) | Intelligent removing system and method for additive manufacturing part support | |
CN110370082A (en) | High method and corresponding numerical-control processing method are surveyed in scanning | |
CN116774647B (en) | Intelligent mechanical numerical control management system based on data analysis |
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 | ||
CB02 | Change of applicant information |
Address after: 201108 4th floor, 29 Lane 1277, zhuanxing East Road, Minhang District, Shanghai Applicant after: SHANGHAI WEIHONG ELECTRONIC TECHNOLOGY Co.,Ltd. Applicant after: SHANGHAI WEIHONG INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: No. 1590 Shanghai-Hangzhou Highway, Fengxian District, Shanghai, 2010 Applicant before: SHANGHAI WEIHONG ELECTRONIC TECHNOLOGY Co.,Ltd. Applicant before: SHANGHAI WEIHONG INTELLIGENT TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |