CN116400641A - Cam processing precision compensation method, system, equipment and storage medium - Google Patents
Cam processing precision compensation method, system, equipment and storage medium Download PDFInfo
- Publication number
- CN116400641A CN116400641A CN202310289570.6A CN202310289570A CN116400641A CN 116400641 A CN116400641 A CN 116400641A CN 202310289570 A CN202310289570 A CN 202310289570A CN 116400641 A CN116400641 A CN 116400641A
- Authority
- CN
- China
- Prior art keywords
- data
- processing
- compensation
- cam
- shaft encoder
- 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.)
- Pending
Links
- 238000012545 processing Methods 0.000 title claims abstract description 298
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000003860 storage Methods 0.000 title claims abstract description 15
- 238000003754 machining Methods 0.000 claims abstract description 81
- 238000005259 measurement Methods 0.000 claims description 27
- 238000012795 verification Methods 0.000 claims description 11
- 238000004519 manufacturing process Methods 0.000 abstract description 8
- 239000000463 material Substances 0.000 abstract description 7
- 238000013461 design Methods 0.000 description 6
- 230000005477 standard model Effects 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/404—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for compensation, e.g. for backlash, overshoot, tool offset, tool wear, temperature, machine construction errors, load, inertia
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/33—Director till display
- G05B2219/33133—For each action define function for compensation, enter parameters
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
Abstract
The invention discloses a cam processing precision compensation method, a system, equipment and a storage medium, wherein the method comprises the steps of acquiring first rotary shaft encoder data and first radial shaft encoder data; processing the first rotary shaft encoder data and the first radial shaft encoder data to obtain first machining error compensation data; performing compensation processing on the first cam part according to the first processing error compensation data to obtain a compensation processing program; and carrying out compensation processing on all cam parts in the same batch based on the compensation processing program. Because the processing consistency of the cams is relatively good, the reliability of batch processing is quite high, the requirements on cam processing equipment are relatively low, namely, the high-precision processing requirements can be met without using high-precision equipment, the difficulty of cam processing is greatly reduced, the material purchasing cost of the cam processing equipment and the processing production cost of cam products are greatly reduced, and the method can be widely applied to the cam processing industry.
Description
Technical Field
The present invention relates to the field of cam processing technologies, and in particular, to a method, a system, an apparatus, and a storage medium for compensating cam processing precision.
Background
Cam mechanisms are a common type of transmission mechanism and are used more widely, particularly in automata, semi-automata and various production automation lines. At present, in cam processing, as the rotating shaft of the cam is in rotary motion, the radial shaft of the grinding wheel is in linear motion, meanwhile, as the heavy grinding wheel is arranged on the radial shaft, the difference of motion inertia between the rotating shaft and the radial shaft is large, and the matching is difficult, especially, the lift variation of cam processing molded lines at various angles is different, the motion of the two shafts is difficult to synchronize in processing, so that the actual processing molded line error of the cam is large, and the cam processing equipment controlled by a common numerical control system cannot ensure the synchronous precision of the rotating shaft and the radial shaft, so that the molded line precision of the cam is difficult to ensure, the molded line error of the cam is large, and the cam can only be used for rough processing finally.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides a cam machining precision compensation method, which solves the problems of overlarge machining error and insufficient precision of cam molded lines.
The invention also provides a cam processing precision compensation system, a cam processing precision compensation method and device and a computer readable storage medium.
The cam processing precision compensation method according to the embodiment of the first aspect of the invention comprises the following steps:
acquiring first rotary shaft encoder data representing rotary shaft position measurement values at a plurality of rotation angles when the first cam part is not subjected to compensation processing and first radial shaft encoder data representing radial shaft position measurement values at a plurality of rotation angles when the first cam part is not subjected to compensation processing;
processing the first rotary shaft encoder data and the first radial shaft encoder data to obtain first machining error compensation data, wherein the first machining error compensation data represents a machining error value under each rotation angle when the first cam part is subjected to uncompensated machining;
performing compensation processing on the first cam part according to the first processing error compensation data to obtain a compensation processing program;
and carrying out compensation processing on all cam parts in the same batch based on the compensation processing program.
The cam processing precision compensation method provided by the embodiment of the invention has at least the following beneficial effects:
the first cam part is subjected to uncompensated processing to obtain first rotary shaft encoder data and first radial shaft encoder data, the first processing error compensation data can be obtained after data processing, the first cam part can be further subjected to compensated processing by utilizing the first processing error compensation data, and finally a compensated processing program is obtained, so that the first cam part is used as a standard model for processing precision compensation design in the whole process, and the method can be applied to cam part processing in batches. Because the processing consistency of the cam is relatively good, the cam processing precision compensation method of the embodiment of the invention has quite high reliability in batch processing, and meanwhile, the requirement on cam processing equipment is relatively low, namely, the high-precision processing requirement can be met without using high-precision equipment, the difficulty of cam processing is greatly reduced, the material purchasing cost of the cam processing equipment and the processing production cost of cam products are greatly reduced, and the cam processing precision compensation method can be widely applied to the cam processing industry.
According to some embodiments of the invention, the processing the first rotary shaft encoder data and the first radial shaft encoder data to obtain first machining error compensation data includes the steps of:
obtaining first radial axis theoretical data according to the first rotary axis encoder data, wherein the first radial axis theoretical data represent radial axis position theoretical values without errors under each rotation angle;
and obtaining the first machining error compensation data according to the first radial axis encoder data and the first radial axis theoretical data.
According to some embodiments of the invention, the compensating processing of the first cam part according to the first processing error compensation data to obtain a compensating processing program includes the following steps:
setting PID parameters of a servo controller according to the first processing error compensation data;
performing compensation processing on the first cam part under the currently set PID parameters, and acquiring second rotary shaft encoder data and second radial shaft encoder data, wherein the second rotary shaft encoder data represents rotary shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part, and the second radial shaft encoder data represents radial shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part;
processing the second rotary shaft encoder data and the second radial shaft encoder data to obtain second machining error compensation data, wherein the second machining error compensation data represents a machining error value under each rotation angle during the compensation machining of the first cam part;
when the second processing error compensation data is larger than the error threshold data, adjusting PID parameters and carrying out compensation processing on the first cam part again;
and when the second machining error compensation data is smaller than the error threshold data, determining the currently set PID parameters to obtain the compensation machining program.
According to some embodiments of the invention, the processing of the second rotary shaft encoder data and the second radial shaft encoder data to obtain second machining error compensation data comprises the steps of:
obtaining second radial axis theoretical data according to the second rotary axis encoder data;
and obtaining the second machining error compensation data according to the second radial axis encoder data and the second radial axis theoretical data.
A cam process accuracy compensation system according to an embodiment of the second aspect of the present invention includes:
the data acquisition module is used for acquiring first rotary shaft encoder data and first radial shaft encoder data, wherein the first rotary shaft encoder data represents rotary shaft position measurement values under a plurality of rotation angles when the first cam part is not subjected to compensation processing, and the first radial shaft encoder data represents radial shaft position measurement values under a plurality of rotation angles when the first cam part is not subjected to compensation processing;
and the data processing module is used for processing the first rotary shaft encoder data and the first radial shaft encoder data to obtain first machining error compensation data, wherein the first machining error compensation data represents a machining error value under each rotation angle when the first cam part is subjected to uncompensated machining.
The programming generation module is used for carrying out compensation processing on the first cam part according to the first processing error compensation data so as to obtain a compensation processing program;
and the compensation processing module is used for carrying out compensation processing on all cam parts in the same batch based on the compensation processing program.
The cam machining precision compensation system provided by the embodiment of the invention has at least the following beneficial effects:
the first cam part is subjected to uncompensated processing to obtain first rotary shaft encoder data and first radial shaft encoder data, the first processing error compensation data can be obtained after data processing, the first cam part can be further subjected to compensated processing by utilizing the first processing error compensation data, and finally a compensated processing program is obtained, so that the first cam part is used as a standard model for processing precision compensation design in the whole process, and the method can be applied to cam part processing in batches. Because the processing consistency of the cam is relatively good, the cam processing precision compensation system provided by the embodiment of the invention has relatively high reliability in batch processing, and meanwhile, the requirement on cam processing equipment is relatively low, namely, the high-precision processing requirement can be met without using high-precision equipment, the difficulty of cam processing is greatly reduced, the material purchasing cost of the cam processing equipment and the processing production cost of cam products are greatly reduced, and the cam processing precision compensation system can be widely applied to the cam processing industry.
According to some embodiments of the invention, the data processing module comprises:
the first data processing unit is used for obtaining first radial axis theoretical data according to the first rotary axis encoder data, wherein the first radial axis theoretical data represent radial axis position theoretical values without errors under each rotation angle;
the second data processing unit is used for obtaining the first machining error compensation data according to the first radial axis encoder data and the first radial axis theoretical data;
according to some embodiments of the invention, the programming generation module includes:
the parameter setting unit is used for setting PID parameters of the servo controller according to the first processing error compensation data;
the compensation verification acquisition unit is used for carrying out compensation processing on the first cam part under the currently set PID parameters, and acquiring second rotary shaft encoder data and second radial shaft encoder data, wherein the second rotary shaft encoder data represents rotary shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part, and the second radial shaft encoder data represents radial shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part;
the compensation verification processing unit is used for processing the second rotary shaft encoder data and the second radial shaft encoder data to obtain second machining error compensation data, wherein the second machining error compensation data represents a machining error value under each rotation angle during the compensation machining of the first cam part;
the first data judging unit is used for adjusting PID parameters and carrying out compensation processing on the first cam part again when the second processing error compensation data is larger than the error threshold value data;
and the second data judging unit is used for determining the currently set PID parameters to obtain the compensation machining program when the second machining error compensation data is smaller than the error threshold data.
According to some embodiments of the invention, the compensation verification processing unit comprises:
the first data processing subunit is used for obtaining second radial axis theoretical data according to the second rotary axis encoder data;
and the second data processing subunit is used for obtaining the second machining error compensation data according to the second radial axis encoder data and the second radial axis theoretical data.
According to an embodiment of the third aspect of the present invention, a cam processing precision compensation method apparatus includes:
the rotary shaft encoder is arranged on the rotary shaft of the cam part;
the radial shaft encoder is arranged on a radial shaft of the cam part;
the servo motor is respectively connected with the rotary shaft and the radial shaft;
the servo controller is electrically connected with the servo motor;
and the main controller is respectively and electrically connected with the rotary shaft encoder, the radial shaft encoder and the servo controller and is used for executing the cam processing precision compensation method according to any one of the embodiments of the first aspect of the invention.
The cam processing precision compensation method and the device have at least the following beneficial effects:
the first cam part is subjected to uncompensated processing to obtain first rotary shaft encoder data and first radial shaft encoder data, the first processing error compensation data can be obtained after data processing, the first cam part can be further subjected to compensated processing by utilizing the first processing error compensation data, and finally a compensated processing program is obtained, so that the first cam part is used as a standard model for processing precision compensation design in the whole process, and the method can be applied to cam part processing in batches. Because the processing consistency of the cam is relatively good, the cam processing precision compensation equipment provided by the embodiment of the invention has relatively high reliability in batch processing, and meanwhile, the requirement on the cam processing equipment is relatively low, namely, the high-precision processing requirement can be met without using high-precision equipment, the difficulty of cam processing is greatly reduced, the material purchasing cost of the cam processing equipment and the processing production cost of cam products are greatly reduced, and the cam processing precision compensation equipment can be widely applied to the cam processing industry.
A computer-readable storage medium according to an embodiment of the fourth aspect of the present invention stores computer-executable instructions for causing a computer to execute the cam process accuracy compensation method according to the embodiment of the first aspect of the present invention.
It is to be understood that the advantages of the fourth aspect compared with the related art are the same as those of the first aspect compared with the related art, and reference may be made to the related description in the first aspect, which is not repeated herein.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
FIG. 1 is a flow chart of a cam process accuracy compensation method of one embodiment of the present invention;
FIG. 2 is a schematic diagram of cam processing according to one embodiment of the invention;
FIG. 3 is a schematic diagram of cam tooling accuracy compensation according to one embodiment of the present invention;
FIG. 4 is a schematic diagram of a cam tooling accuracy compensation system according to one embodiment of the present invention.
Reference numerals:
a data acquisition module 100;
a data processing module 200;
a programming generation module 300;
compensating the process module 400.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
In the description of the present invention, the description of first, second, etc. is for the purpose of distinguishing between technical features only and should not be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, it should be understood that the direction or positional relationship indicated with respect to the description of the orientation, such as up, down, etc., is based on the direction or positional relationship shown in the drawings, is merely for convenience of describing the present invention and simplifying the description, and does not indicate or imply that the apparatus or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
In the description of the present invention, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present invention can be determined reasonably by a person skilled in the art in combination with the specific content of the technical solution.
The following description of the embodiments of the present invention will be made with reference to the accompanying drawings, in which it is apparent that the embodiments described below are some, but not all embodiments of the invention.
Referring to fig. 1, a flowchart of a cam processing precision compensation method according to an embodiment of the present invention is shown, and the method includes the following steps:
acquiring first rotary shaft encoder data and first radial shaft encoder data, wherein the first rotary shaft encoder data represents rotary shaft position measurement values under a plurality of rotation angles when the first cam part is not subjected to compensation processing, and the first radial shaft encoder data represents radial shaft position measurement values under a plurality of rotation angles when the first cam part is not subjected to compensation processing;
processing the first rotary shaft encoder data and the first radial shaft encoder data to obtain first machining error compensation data, wherein the first machining error compensation data represents machining error values under each rotation angle when the first cam part is subjected to uncompensated machining;
performing compensation processing on the first cam part according to the first processing error compensation data to obtain a compensation processing program;
and carrying out compensation processing on all cam parts in the same batch based on the compensation processing program.
Specifically, as shown in fig. 1, first, the rotational axis position measurement value and the radial axis position measurement value, i.e., the first rotational axis encoder data and the first radial axis encoder data, at a plurality of rotational angles during the normal processing of the first cam member are acquired without any precision compensation processing, specifically, may be acquired by sampling at intervals, for example, in some embodiments, every 1ms, so that the relevant values at a plurality of rotational angles may be acquired over time.
Further, referring to fig. 2, it can be appreciated that in an ideal case, the principle of cam processing is: the rotating shaft of the cam processing rotates around O, the radial shaft of the grinding wheel moves horizontally and radially, and the rotating shaft and the radial shaft move according to the set cam curve, so that corresponding cam molded lines can be ground, and as can be seen from fig. 2, the positions of the abrasive dust are in a tangential state. With continued reference to fig. 3, it can be seen that when the high-precision machining of the cam is not achieved, a certain error interval exists between the cam and the grinding wheel, so that by acquiring the first rotary shaft encoder data and the first radial shaft encoder data, the actual positions of the cam and the grinding wheel during rough machining can be determined, and data processing can be performed subsequently to obtain error data, so that the cam part can be compensated subsequently.
It can be understood that after the compensation processing is performed on the first cam part, a general compensation processing program can be determined according to the compensation processing, so that compensation processing can be performed on all cam parts in the same batch.
In this embodiment, the first cam part is subjected to uncompensated processing to obtain the first rotary shaft encoder data and the first radial shaft encoder data, and the first processing error compensation data is obtained after the data processing, and the first cam part is further subjected to compensated processing by using the first processing error compensation data, and finally a compensated processing program is obtained, so that the first cam part is used as a standard model for the design of processing precision compensation in the whole process, and the method can be applied to cam part processing in batches. Because the processing consistency of the cam is relatively good, the cam processing precision compensation method of the embodiment of the invention has quite high reliability in batch processing, and meanwhile, the requirement on cam processing equipment is relatively low, namely, the high-precision processing requirement can be met without using high-precision equipment, the difficulty of cam processing is greatly reduced, the material purchasing cost of the cam processing equipment and the processing production cost of cam products are greatly reduced, and the cam processing precision compensation method can be widely applied to the cam processing industry.
In some embodiments, processing the first rotary shaft encoder data and the first radial shaft encoder data to obtain first machining error compensation data includes the steps of:
obtaining first radial axis theoretical data according to the first rotary axis encoder data, wherein the first radial axis theoretical data represents a radial axis position theoretical value without error under each rotation angle;
and obtaining first machining error compensation data according to the first radial axis encoder data and the first radial axis theoretical data.
Specifically, referring to fig. 3, it can be understood that the first radial axis theoretical data can be calculated by using the first rotation axis encoder data acquired by measurement through the correlation principle, and further, difference calculation is performed between the first radial axis encoder data and the corresponding numerical value of the first radial axis theoretical data at each rotation angle, that is, it can be seen from fig. 3 that e=p2—p1 can be calculated for each rotation angle, so as to finally obtain the first machining error compensation data.
In some embodiments, the first cam part is compensation processed according to the first processing error compensation data to obtain a compensation processing program, comprising the steps of:
setting PID parameters of the servo controller according to the first processing error compensation data;
performing compensation processing on the first cam part under the currently set PID parameters, and acquiring second rotary shaft encoder data and second radial shaft encoder data, wherein the second rotary shaft encoder data represents rotary shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part, and the second radial shaft encoder data represents radial shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part;
processing the second rotary shaft encoder data and the second radial shaft encoder data to obtain second machining error compensation data, wherein the second machining error compensation data represents machining error values of the first cam part under each rotation angle during compensation machining;
when the second processing error compensation data is larger than the error threshold data, adjusting PID parameters and carrying out compensation processing on the first cam part again;
and when the second machining error compensation data is smaller than the error threshold data, determining the currently set PID parameters to obtain the compensation machining program.
Specifically, it will be appreciated that the cam is complementarily processed, mainly by providing a servo controller for controlling the position of the rotary shaft and the radial shaft, and the PID parameters are set accordingly according to the calculated first processing error compensation data. When the compensation processing is started, the system automatically carries out error compensation on the first part at each rotation angle according to the set PID parameters, and meanwhile, the processing error requirement can be met by setting the PID parameters once, so that the second rotary shaft encoder data and the second radial shaft encoder data are required to be acquired, the second processing error compensation data can be obtained after the data processing, and then the second processing error compensation data are judged. If the error requirement is met, the processing under the current PID parameters can be determined to realize high-precision processing, so that a compensation processing program is correspondingly generated; if the error requirement is not met, the PID parameters are adjusted and compensation processing is carried out again, and the steps are repeated until the error requirement is met and finally adjusted PID parameters are determined, so that a compensation processing program is obtained. In actual processing, the error requirement is generally satisfied by adjusting the PID parameters one to two times. Also, in some embodiments, in subsequent batch processing, if an out-of-tolerance processing error is detected, the PID parameters may be readjusted for correction.
In some embodiments, processing the second rotary shaft encoder data and the second radial shaft encoder data to obtain second machining error compensation data includes the steps of:
obtaining second radial axis theoretical data according to the second rotary axis encoder data;
and obtaining second machining error compensation data according to the second radial axis encoder data and the second radial axis theoretical data.
Specifically, it can be understood that the processing procedure of the second rotary shaft encoder data and the second radial shaft encoder data is the same as the calculation principle of the processing procedure of the first rotary shaft encoder data and the first radial shaft encoder data, and therefore will not be described herein.
In addition, as shown in fig. 4, the embodiment of the invention further provides a cam processing precision compensation system, which comprises: the system comprises a data acquisition module 100, a data processing module 200, a programming generation module 300 and a compensation processing module 400. The data acquisition module 100 is configured to acquire first rotary shaft encoder data and first radial shaft encoder data, where the first rotary shaft encoder data represents rotary shaft position measurement values under a plurality of rotation angles when the first cam part is not subjected to compensation processing, and the first radial shaft encoder data represents radial shaft position measurement values under a plurality of rotation angles when the first cam part is not subjected to compensation processing; the data processing module 200 is configured to process the first rotary shaft encoder data and the first radial shaft encoder data to obtain first machining error compensation data, where the first machining error compensation data represents a machining error value at each rotation angle when the first cam part is not subjected to compensation machining; the programming generation module 300 is configured to perform compensation processing on the first cam part according to the first processing error compensation data, so as to obtain a compensation processing program; the compensation processing module 400 is configured to perform compensation processing on all cam parts in the same batch based on a compensation processing program.
Specifically, referring to fig. 4, it can be understood that the cam processing precision compensation system in the embodiment of the present application is used to implement a cam processing precision compensation method, and the cam processing precision compensation system in the embodiment of the present application corresponds to the foregoing cam processing precision compensation method, and the specific processing procedure refers to the foregoing cam processing precision compensation method and is not repeated herein.
In this embodiment, the first cam part is subjected to uncompensated processing to obtain the first rotary shaft encoder data and the first radial shaft encoder data, and the first processing error compensation data is obtained after the data processing, and the first cam part is further subjected to compensated processing by using the first processing error compensation data, and finally a compensated processing program is obtained, so that the first cam part is used as a standard model for the design of processing precision compensation in the whole process, and the method can be applied to cam part processing in batches. Because the processing consistency of the cam is relatively good, the cam processing precision compensation system provided by the embodiment of the invention has relatively high reliability in batch processing, and meanwhile, the requirement on cam processing equipment is relatively low, namely, the high-precision processing requirement can be met without using high-precision equipment, the difficulty of cam processing is greatly reduced, the material purchasing cost of the cam processing equipment and the processing production cost of cam products are greatly reduced, and the cam processing precision compensation system can be widely applied to the cam processing industry.
In some embodiments, the data processing module 200 includes: the first data processing unit and the second data processing unit. The first data processing unit is used for obtaining first radial axis theoretical data according to the first rotary axis encoder data, wherein the first radial axis theoretical data represent radial axis position theoretical values without errors under each rotation angle; the second data processing unit is used for obtaining first machining error compensation data according to the first radial axis encoder data and the first radial axis theoretical data.
In some embodiments, the programming generation module 300 includes: the system comprises a parameter setting unit, a compensation verification acquisition unit, a compensation verification processing unit, a first data judging unit and a second data judging unit. The parameter setting unit is used for setting PID parameters of the servo controller according to the first processing error compensation data; the compensation verification acquisition unit is used for carrying out compensation processing on the first cam part under the currently set PID parameters, and acquiring second rotary shaft encoder data and second radial shaft encoder data, wherein the second rotary shaft encoder data represents rotary shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part, and the second radial shaft encoder data represents radial shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part; the compensation verification processing unit is used for processing the second rotary shaft encoder data and the second radial shaft encoder data to obtain second machining error compensation data, wherein the second machining error compensation data represents a machining error value under each rotation angle during the compensation machining of the first cam part; the first data judging unit is used for adjusting PID parameters and carrying out compensation processing on the first cam part again when the second processing error compensation data is larger than the error threshold value data; the second data judging unit is used for determining the currently set PID parameters to obtain the compensation machining program when the second machining error compensation data is smaller than the error threshold data.
In some embodiments, the compensation verification processing unit includes: a first data processing subunit and a second data processing subunit. The first data processing subunit is used for obtaining second radial axis theoretical data according to the second rotary axis encoder data; the second data processing subunit is configured to obtain second machining error compensation data according to the second radial axis encoder data and the second radial axis theoretical data.
In addition, the embodiment of the invention also provides cam processing precision compensation equipment, which comprises the following components: the rotary shaft encoder, the radial shaft encoder, the servo motor, the servo controller and the main controller. The rotary shaft encoder is arranged on the rotary shaft of the cam part; the radial shaft encoder is arranged on a radial shaft of the cam part; the servo motor is connected with the rotary shaft and the radial shaft respectively; the servo controller is electrically connected with the servo motor; the main controller is respectively and electrically connected with the rotary shaft encoder, the radial shaft encoder and the servo controller and is used for executing the cam processing precision compensation method according to any one of the embodiments of the invention.
Specifically, it will be appreciated that the rotary shaft encoder may collect rotary shaft position information of the cam, and the radial shaft encoder may collect radial shaft position information of the cam, and obtain rotary shaft encoder data and radial shaft encoder data respectively under time interval sampling, and transmit the data and the data to the main controller, and specifically write the data into the data buffer. And calling the data buffer area by the main controller to obtain processing error compensation data after processing, and writing the processing error compensation data into the part parameter file. When the processing compensation is carried out, the main controller can correspondingly set PID parameters according to the processing error compensation data in the part parameter file, so that the servo controller is controlled to drive the servo motor to carry out the work under the compensation processing, and meanwhile, the main controller acquires the processing error compensation data during the compensation processing to carry out error judgment, and finally, the compensation processing program can be determined.
In this embodiment, the first cam part is subjected to uncompensated processing to obtain the first rotary shaft encoder data and the first radial shaft encoder data, and the first processing error compensation data is obtained after the data processing, and the first cam part is further subjected to compensated processing by using the first processing error compensation data, and finally a compensated processing program is obtained, so that the first cam part is used as a standard model for the design of processing precision compensation in the whole process, and the method can be applied to cam part processing in batches. Because the processing consistency of the cam is relatively good, the cam processing precision compensation equipment provided by the embodiment of the invention has relatively high reliability in batch processing, and meanwhile, the requirement on the cam processing equipment is relatively low, namely, the high-precision processing requirement can be met without using high-precision equipment, the difficulty of cam processing is greatly reduced, the material purchasing cost of the cam processing equipment and the processing production cost of cam products are greatly reduced, and the cam processing precision compensation equipment can be widely applied to the cam processing industry.
Furthermore, embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions that are executed by one or more control processors to cause the one or more control processors to perform a cam process accuracy compensation method in the above-described method embodiments, for example, to perform the method of fig. 1 described above.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present invention.
Claims (10)
1. The cam machining precision compensation method is characterized by comprising the following steps of:
acquiring first rotary shaft encoder data representing rotary shaft position measurement values at a plurality of rotation angles when the first cam part is not subjected to compensation processing and first radial shaft encoder data representing radial shaft position measurement values at a plurality of rotation angles when the first cam part is not subjected to compensation processing;
processing the first rotary shaft encoder data and the first radial shaft encoder data to obtain first machining error compensation data, wherein the first machining error compensation data represents a machining error value under each rotation angle when the first cam part is subjected to uncompensated machining;
performing compensation processing on the first cam part according to the first processing error compensation data to obtain a compensation processing program;
based on the compensation process program, and carrying out compensation processing on all cam parts in the same batch.
2. The method of claim 1, wherein said processing said first rotary shaft encoder data and said first radial shaft encoder data to obtain first machining error compensation data comprises the steps of:
obtaining first radial axis theoretical data according to the first rotary axis encoder data, wherein the first radial axis theoretical data represent radial axis position theoretical values without errors under each rotation angle;
and obtaining the first machining error compensation data according to the first radial axis encoder data and the first radial axis theoretical data.
3. The cam process accuracy compensating method according to claim 1 or 2, wherein the compensating process is performed on the first cam part based on the first process error compensating data to obtain a compensating process program, comprising the steps of:
setting PID parameters of a servo controller according to the first processing error compensation data;
performing compensation processing on the first cam part under the currently set PID parameters, and acquiring second rotary shaft encoder data and second radial shaft encoder data, wherein the second rotary shaft encoder data represents rotary shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part, and the second radial shaft encoder data represents radial shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part;
processing the second rotary shaft encoder data and the second radial shaft encoder data to obtain second machining error compensation data, wherein the second machining error compensation data represents a machining error value under each rotation angle during the compensation machining of the first cam part;
when the second processing error compensation data is larger than the error threshold data, adjusting PID parameters and carrying out compensation processing on the first cam part again;
and when the second machining error compensation data is smaller than the error threshold data, determining the currently set PID parameters to obtain the compensation machining program.
4. A cam machining accuracy compensation method according to claim 3, wherein said processing said second rotary shaft encoder data and said second radial shaft encoder data to obtain second machining error compensation data comprises the steps of:
obtaining second radial axis theoretical data according to the second rotary axis encoder data;
and obtaining the second machining error compensation data according to the second radial axis encoder data and the second radial axis theoretical data.
5. A cam process accuracy compensation system, comprising:
the data acquisition module is used for acquiring first rotary shaft encoder data and first radial shaft encoder data, wherein the first rotary shaft encoder data represents rotary shaft position measurement values under a plurality of rotation angles when the first cam part is not subjected to compensation processing, and the first radial shaft encoder data represents radial shaft position measurement values under a plurality of rotation angles when the first cam part is not subjected to compensation processing;
the data processing module is used for processing the first rotary shaft encoder data and the first radial shaft encoder data to obtain first machining error compensation data, wherein the first machining error compensation data represent machining error values under each rotation angle when the first cam part is subjected to uncompensated machining;
the programming generation module is used for carrying out compensation processing on the first cam part according to the first processing error compensation data so as to obtain a compensation processing program;
and the compensation processing module is used for carrying out compensation processing on all cam parts in the same batch based on the compensation processing program.
6. The cam process accuracy compensation system of claim 5, wherein the data processing module comprises:
the first data processing unit is used for obtaining first radial axis theoretical data according to the first rotary axis encoder data, wherein the first radial axis theoretical data represent radial axis position theoretical values without errors under each rotation angle;
and the second data processing unit is used for obtaining the first machining error compensation data according to the first radial axis encoder data and the first radial axis theoretical data.
7. The cam process accuracy compensation system of claim 5 or 6, wherein the programming module comprises:
the parameter setting unit is used for setting PID parameters of the servo controller according to the first processing error compensation data;
the compensation verification acquisition unit is used for carrying out compensation processing on the first cam part under the currently set PID parameters, and acquiring second rotary shaft encoder data and second radial shaft encoder data, wherein the second rotary shaft encoder data represents rotary shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part, and the second radial shaft encoder data represents radial shaft position measurement values under a plurality of rotation angles during the compensation processing of the first cam part;
the compensation verification processing unit is used for processing the second rotary shaft encoder data and the second radial shaft encoder data to obtain second machining error compensation data, wherein the second machining error compensation data represents a machining error value under each rotation angle during the compensation machining of the first cam part;
the first data judging unit is used for adjusting PID parameters and carrying out compensation processing on the first cam part again when the second processing error compensation data is larger than the error threshold value data;
and the second data judging unit is used for determining the currently set PID parameters to obtain the compensation machining program when the second machining error compensation data is smaller than the error threshold data.
8. The cam process accuracy compensation system according to claim 7, wherein the compensation verification processing unit includes:
the first data processing subunit is used for obtaining second radial axis theoretical data according to the second rotary axis encoder data;
and the second data processing subunit is used for obtaining the second machining error compensation data according to the second radial axis encoder data and the second radial axis theoretical data.
9. A cam processing precision compensation device comprises a cam processing precision compensation device, characterized by comprising the following steps:
the rotary shaft encoder is arranged on the rotary shaft of the cam part;
the radial shaft encoder is arranged on a radial shaft of the cam part;
the servo motor is respectively connected with the rotary shaft and the radial shaft;
the servo controller is electrically connected with the servo motor;
and the main controller is respectively and electrically connected with the rotary shaft encoder, the radial shaft encoder and the servo controller and is used for executing the cam processing precision compensation method according to any one of claims 1 to 4.
10. A computer-readable storage medium storing computer-executable instructions for causing a computer to execute the cam process accuracy compensation method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310289570.6A CN116400641A (en) | 2023-03-22 | 2023-03-22 | Cam processing precision compensation method, system, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310289570.6A CN116400641A (en) | 2023-03-22 | 2023-03-22 | Cam processing precision compensation method, system, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116400641A true CN116400641A (en) | 2023-07-07 |
Family
ID=87008398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310289570.6A Pending CN116400641A (en) | 2023-03-22 | 2023-03-22 | Cam processing precision compensation method, system, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116400641A (en) |
-
2023
- 2023-03-22 CN CN202310289570.6A patent/CN116400641A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107992103B (en) | Control system and method of rotary table | |
KR20140089382A (en) | Control system, and position estimation method to be used in control system | |
JP2017024134A (en) | Workpiece positioning apparatus for positioning workpiece | |
EP1293852B1 (en) | Method of compensating profile data, and numerical controller and machine tool for practicing the method | |
CN115732380B (en) | Wafer eccentricity adjustment method, device and storage medium | |
CN111521212A (en) | Magnetic encoder correction system and method, control terminal and readable storage medium | |
CN114172414B (en) | Method and device for determining initial electrical angle of servo motor and readable storage medium | |
JP3570051B2 (en) | Non-circular workpiece processing equipment | |
CN116400641A (en) | Cam processing precision compensation method, system, equipment and storage medium | |
CN111380499A (en) | Method and device for detecting rotation angle | |
CN105403190A (en) | Displacement detection system of stepping machine | |
CN114888745B (en) | Ring part clamping and aligning method and system for preventing zero quick-change primary and secondary disc installation errors | |
CN110244222B (en) | Limit origin positioning method and device of motor, terminal equipment and storage medium | |
US20230025149A1 (en) | Horizontal correction method for detection platform, electronic device, and storage medium | |
CN116125854A (en) | Method and device for controlling operation of brake system, device and medium | |
CN115378315A (en) | Method and device for compensating error of reverse clearance of stepping motor, household appliance and medium | |
CN114545862A (en) | Clamp operation point location determination method, device, equipment and storage medium | |
CN114753072A (en) | Embroidery machine embroidery frame power-off protection control method, system and device | |
CN113064178B (en) | Three-dimensional point cloud data acquisition method and device based on two-dimensional laser scanner | |
CN110926503A (en) | MEMS gyroscope calibration method capable of resisting stronger magnetic field interference | |
CN112285735B (en) | System for automatically calibrating angular resolution of single-line laser radar | |
KR102032403B1 (en) | Apparatus for aligning semiconductor wafer using captured image and method thereof | |
CN116639531B (en) | Rotary table rotation control method and system based on encoder | |
CN107708923A (en) | A kind of orientation trouble method, numerical control device and Digit Control Machine Tool | |
CN116388617A (en) | Hall signal-based motor phase searching method, device, equipment and storage medium |
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 |