Rapid generation method and adjustment method for machining programs of four-cylinder crankshafts
By developing a four-cylinder crankshaft machining program application software, and using modules for setting shape, machining, and roundness parameters to generate and adjust CNC programs, the problems of complex and inefficient crankshaft machining program generation have been solved. This has enabled rapid generation and adjustment, improved machining accuracy and efficiency, and met the high-performance requirements of modern engines.
Patent Information
- Application Number
- CN202511517667.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-23
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2045-10-23
AI Technical Summary
Existing CNC programs for crankshaft machining are complex and inefficient, making it difficult to meet the high-performance requirements of modern engines. Furthermore, programs need to be rewritten when the shape changes, which poses risks of downtime and programming errors.
Develop application software for machining four-cylinder crankshafts, including modules for setting external parameters, machining parameters, roundness parameters, and compensation parameters. The software generates and adjusts CNC machining programs through these modules, and optimizes the programs using error detection and compensation parameters, enabling rapid generation and adjustment.
It enables rapid generation and adjustment of crankshaft machining programs, improves machining accuracy and efficiency, meets the high-performance requirements of modern engines, and reduces downtime and the risk of programming errors.
Smart Images

Figure CN120993831B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of crankshaft machining, and more particularly to a rapid generation method of a four-cylinder crankshaft machining program and a machining program adjustment method. BACKGROUND
[0002] At present, the generation of a crankshaft machining numerical control program mainly adopts two methods: one is manual programming of a machining program, and the other is using computer numerical control programming software to program a numerical control machining program. The machining program programmed by the above two methods cannot guarantee that the workpiece machining can meet the machining standard due to the machining error of a machine tool, and the related parameter settings of the programmed program need to be repeatedly modified according to the completed workpiece result to achieve qualified workpiece machining, resulting in a complex and low-efficiency machining program generation process. In addition, when the shape size of the machined crankshaft changes, a new numerical control machining program needs to be manually programmed or generated by using computer numerical control programming software. The above two numerical control machining program generation methods have the risk of programming errors when a new crankshaft numerical control machining program is reprogrammed. SUMMARY
[0003] The present application aims to provide a rapid generation method of a four-cylinder crankshaft machining program and a machining program adjustment method, to realize rapid generation of a crankshaft machining program, improve the precision, efficiency and automation level of crankshaft machining, and ensure that the machined crankshaft can meet the high performance requirements of modern engines.
[0004] To achieve the above-mentioned purpose, in a first aspect, the present application provides a rapid generation method of a four-cylinder crankshaft machining program, comprising:
[0005] S1: developing a four-cylinder crankshaft machining program application software, wherein the four-cylinder crankshaft machining program application software comprises an appearance parameter setting module, a machining parameter setting module, a roundness parameter setting module, a compensation parameter setting module and a main program setting module;
[0006] S2: inputting workpiece appearance parameters through the appearance parameter setting module and generating an appearance parameter subroutine;
[0007] S3: inputting workpiece machining parameters through the machining parameter setting module and generating a machining parameter subroutine;
[0008] S4: inputting connecting rod neck roundness parameters through the roundness parameter setting module and generating a roundness parameter subroutine;
[0009] S5: adding the profile parameter subroutine, the machining parameter subroutine and the roundness parameter subroutine into the main program through the main program setting module to generate the workpiece machining program for the first time, and machining the workpiece based on the workpiece machining program generated for the first time;
[0010] S6: measuring the workpiece profile data after machining, calculating the error value between the workpiece profile data and the crankshaft set profile data, and judging whether the error value meets the set error range, if yes, executing step S9, otherwise executing step S7;
[0011] S7: inputting corresponding profile compensation parameters, machining compensation parameters and roundness compensation parameters through the compensation parameter setting module, and generating corresponding compensation parameter subroutines;
[0012] S8: adding the compensation parameter subroutine into the main program through the main program setting module to generate the workpiece machining program again for parameter compensation machining of the workpiece, and returning to step S6 after machining the workpiece;
[0013] S9: taking the current workpiece machining program as the final machining program to complete the generation of the four-cylinder crankshaft machining program.
[0014] Optionally, in step S2, the profile parameter subroutine is used to generate a three-dimensional model of the four-cylinder crankshaft.
[0015] The input workpiece profile parameters include diameter parameters, length parameters and position parameters of the connecting rod journal, the main shaft journal, the balance disc and the signal disc.
[0016] Optionally, in step S2, when the workpiece profile parameters are input, the diameter parameters, length parameters and position parameters of the connecting rod journal, the main shaft journal, the balance disc and the signal disc are replaced by variables, and the parameters are converted into specific numerical values.
[0017] Optionally, before step S3 is executed, it further includes calculating the lathe machining parameters according to the size parameters of the tool disc, the blank, the machined part and the machine tool, and determining the coordinate points of machining.
[0018] Optionally, in step S3, the input machining parameters include process parameters of the corresponding machining parts of the connecting rod journal, the main shaft journal, the balance disc and the signal disc.
[0019] Optionally, the process parameters include offset value X, offset value Z, offset value CH, offset value U, offset value W, offset value CG, tool disc diameter, rough milling shaft neck R0, fine milling shaft neck F0, electric spindle SP1 speed, electric spindle SP2 speed, C feed speed, cutting angle, cutting distance, starting angle and ending angle.
[0020] Optionally, in step S3, the input connecting rod journal roundness parameters include roundness parameters of each connecting rod journal planing surface divided into eight arc cylindrical surfaces.
[0021] Optionally, in step S6, the workpiece shape data after processing is measured, the error value between the workpiece shape data and the crankshaft set shape data is calculated, and it is judged whether the error value meets the set error range, including:
[0022] The actual workpiece after processing is measured to obtain the shape and position parameters of the actual workpiece, the measured shape and position parameters are compared with the pre-set size and position parameters, the size and position error values of each part of the workpiece are obtained, and it is judged whether the set shape error range is met through the corresponding error values.
[0023] Optionally, in step S7, the compensation parameter setting module includes a shape compensation parameter submodule, a processing compensation parameter submodule and a roundness compensation parameter submodule.
[0024] According to the workpiece parts whose error values exceed the set error range, the corresponding shape compensation parameters, processing compensation parameters and roundness compensation parameters are input through the shape compensation parameter submodule, the processing compensation parameter submodule and the roundness compensation parameter submodule, and the shape compensation parameter subroutine, the processing compensation parameter subroutine and the roundness compensation parameter subroutine are generated respectively.
[0025] In a second aspect, the present application provides a method for quickly adjusting four-cylinder crankshaft machining programs, which is used to adjust the machining program generated by the method for quickly generating four-cylinder crankshaft machining programs in the first aspect, including:
[0026] When the shape size of the machined crankshaft changes, the shape parameters corresponding to the size change parts of the machined crankshaft compared with the previously machined crankshaft are obtained;
[0027] The original shape parameter subroutine is modified through the shape parameter setting module, the workpiece shape parameters corresponding to the size change parts are input, and the shape parameter subroutine is saved;
[0028] The original processing parameter subroutine is modified through the processing parameter setting module, the workpiece processing parameters corresponding to the size change parts are input, and the processing parameter subroutine is saved;
[0029] The original roundness parameter subroutine is modified through the roundness parameter setting module, the connecting rod journal roundness parameters corresponding to the size change parts are input, and the roundness parameter subroutine is saved;
[0030] The modified shape parameter subroutine, processing parameter subroutine and roundness parameter subroutine are added to the main program through the main program setting module, and the crankshaft machining program is regenerated.
[0031] The beneficial effects of the present application are that:
[0032] The rapid generation method of the machining program of the present application firstly develops a four-cylinder crankshaft machining program application software, based on the four-cylinder crankshaft machining program application software, firstly inputs the workpiece contour parameters through the contour parameter setting module, and generates a contour parameter subroutine, then inputs the workpiece machining parameters through the machining parameter setting module, and generates a machining parameter subroutine, and then inputs the connecting rod neck roundness parameters through the roundness parameter setting module, and generates a roundness parameter subroutine, then the contour parameter subroutine, the machining parameter subroutine and the roundness parameter subroutine are added to the main program through the main program setting module, the workpiece machining program is generated for the first time, and the workpiece is machined based on the workpiece machining program generated for the first time, after the workpiece is machined for the first time, the machining data after the workpiece is machined is compared with the workpiece contour error preset value, it is determined whether the workpiece machining program is completed, if the preset requirement is met, the workpiece machining program is generated, if not, the workpiece contour compensation parameter, the machining compensation parameter and the roundness compensation parameter are input through the compensation parameter setting module, the compensation parameter is input and the machining is completed, and then the determination step is returned again, after the determination, if the preset value is met, the workpiece machining step is completed, otherwise, the compensation parameter is input repeatedly until the preset requirement is met, the present application can shorten the three-dimensional modeling of the crankshaft, the setting of the machining parameters and the setting time of the workpiece roundness parameters, and can quickly generate the crankshaft machining program, through the present application, the contour parameter generation step can be used to replace the traditional modeling step. Further, when the contour size of the machined crankshaft changes, the data corresponding to the part where the contour size changes can be directly modified, so that the workpiece machining program can be quickly modified.
[0033] The method of the present application has other characteristics and advantages, which will be apparent or will be set out in detail in the drawings and subsequent detailed description incorporated herein, which together serve to explain the specific principles of the present application. BRIEF DESCRIPTION OF DRAWINGS
[0034] The above and other objects, features and advantages of the present application will become more apparent from the following detailed description thereof taken in conjunction with the accompanying drawings, in which like reference characters designate like elements throughout the several views.
[0035] Figure 1 A step flow chart of a rapid generation method of a four-cylinder crankshaft machining program is shown in one embodiment of the present application.
[0036] Figure 2 A machining parameter setting module software interface diagram in one embodiment of the present application is shown.
[0037] Figure 3 Fig. 1 shows a software interface diagram of the compensation parameter setting module in one embodiment of the present application.
[0038] Figure 4 Fig. 2 shows a software interface diagram of the main program setting module in one embodiment of the present application.
[0039] Figure 5 Fig. 3 shows a schematic diagram of the crankshaft profile parameters in one embodiment of the present application.
[0040] Figure 6 Fig. 4 shows a schematic diagram of the connecting rod neck roundness partition in one embodiment of the present application. DETAILED DESCRIPTION
[0041] The present application will be described in more detail by referring to the attached drawings. Although the preferred embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so as to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art. Embodiment 1
[0042] As shown in the drawings, the present embodiment provides a method for fast generation of four-cylinder crankshaft machining program, comprising: Figure 1
[0043] S1: developing a four-cylinder crankshaft machining program application software, the four-cylinder crankshaft machining program application software comprising a profile parameter setting module, a machining parameter setting module, a roundness parameter setting module, a compensation parameter setting module and a main program setting module;
[0044] Specifically, a four-cylinder crankshaft machining program application software is developed, which is used for fast generation of four-cylinder crankshaft machining program, and the application software comprises a profile parameter setting module, a machining parameter setting module, a roundness parameter setting module, a compensation parameter setting module and a main program setting module, etc.; wherein the profile parameter setting module is used for inputting the profile parameters of the crankshaft and generating a profile parameter subroutine for fast generation of a three-dimensional model of the crankshaft; the software interface of the machining parameter setting module is shown in Fig. 2, which is used for inputting the machining parameters of the machine tool and generating corresponding machining parameter subroutines based on the input machining parameters; the roundness parameter setting module is used for inputting the roundness parameters of the plurality of connecting rod necks of the crankshaft and generating a roundness parameter subroutine, which is used for controlling the connecting rod neck roundness in the machining process; the software interface of the compensation parameter setting module is shown in Fig. 3, which is used for inputting the compensation parameters of the connecting rod necks and generating a compensation parameter subroutine; the main program setting module is used for inputting the main program parameters of the four-cylinder crankshaft machining program and generating a main program subroutine, which is used for controlling the machining process of the four-cylinder crankshaft. Figure 2 Figure 3 As shown, the machining compensation parameters, the contour compensation parameters and the roundness compensation parameters can be input through the compensation parameter setting module, and corresponding parameter compensation sub-programs are generated, which are used to compensate the relevant parameters in the machining process, so that the machined crankshaft workpiece meets the workpiece standard. The software interface of the main program setting module is as shown in Figure 4 As shown, the machining compensation parameters, the contour compensation parameters and the roundness compensation parameters can be input through the compensation parameter setting module, and corresponding parameter compensation sub-programs are generated, which are used to compensate the relevant parameters in the machining process, so that the machined crankshaft workpiece meets the workpiece standard. The software interface of the main program setting module is as shown in
[0045] S2: Input the workpiece contour parameters through the contour parameter setting module, and generate a contour parameter sub-program;
[0046] In this step, the contour parameter sub-program is used to generate a three-dimensional model of the four-cylinder crankshaft.
[0047] The input workpiece contour parameters include the diameter parameters, length parameters and position parameters of the connecting rod neck, main shaft neck, balance disc and signal disc of the crankshaft.
[0048] When the workpiece contour parameters are input, the diameter parameters, length parameters and position parameters of the connecting rod neck, main shaft neck, balance disc and signal disc of the crankshaft are replaced by variables, and the parameters are converted into specific numerical values.
[0049] Specifically, the diameter parameters, length parameters and position parameters corresponding to the connecting rod neck, main shaft neck, balance disc and signal disc of the crankshaft can be set separately to generate the contour parameters of the crankshaft, Figure 5 The contour parameter diagram of the four-cylinder crankshaft is shown, wherein the positions of the various parts of the crankshaft are defined by the d1-d4 and D1-D4 distance parameters, d0r-d5r and d0r3 are the diameters of the shafts, d1l-d4l are the widths of the shaft parts, D1R-D4R are the diameters of the connecting rod necks, D1L-D4L are the widths of the connecting rod necks, r1-r6 are the chamfers at the shaft connections, R1-R4 are the chamfers of the connecting rod necks, and C1 and C2 represent the chamfers at the two ends of the crankshaft.
[0050] In the specific implementation process, the size parameters and position parameters of the various parts of the crankshaft are replaced by variables; the various parts of the crankshaft include the main shaft neck, connecting rod neck, balance disc and signal disc, and the diameter, length and positioning parameters of the above four parts are all replaced by variables, which are converted into specific numerical values when the parameters are input.
[0051] Preferably, before step S3 is performed, it further includes: calculating the machine tool turning parameters according to the size parameters of the tool disc, blank, machined part and machine tool, and determining the coordinate points for machining.
[0052] S3: Input the workpiece machining parameters through the machining parameter setting module, and generate a machining parameter sub-program;
[0053] In this step, the input processing parameters include: connecting rod neck, main shaft neck, balance disc, signal disc corresponding to the processing site process parameters. The process parameters include: offset value X, offset value Z, offset value CH, offset value U, offset value W, offset value CG, cutter diameter, rough milling shaft neck R0, fine milling shaft neck F0, electric spindle SP1 speed, electric spindle SP2 speed, C feed speed, cutting angle, cutting distance, starting angle and ending angle.
[0054] In the implementation process, according to the size parameters of the cutter, the blank, the machined part and the machine tool, the turning parameters are calculated, and the coordinate points of the machining are determined; The process parameters corresponding to the machining sites of the connecting rod neck, the main shaft neck, the balance disc and the signal disc can be set separately without considering the sequence, which includes offset value X, offset value Z, offset value CH, offset value U, offset value W, offset value CG, cutter diameter, rough milling shaft neck R0, fine milling shaft neck F0, SP1 speed, SP2 speed, C feed speed, cutting angle, cutting distance, starting angle, ending angle.
[0055] S4: Input the connecting rod neck roundness parameters through the roundness parameter setting module, and generate a roundness parameter subroutine;
[0056] In this step, the input connecting rod neck roundness parameters include the roundness parameters of each connecting rod neck planing and cutting surface divided into eight arc cylindrical surfaces.
[0057] In the specific implementation process, as shown in Figure 6 Each connecting rod neck planing and cutting surface is divided into eight arc cylindrical surfaces (1-8 segments in the figure), each arc surface corresponds to a roundness parameter, and the shape accuracy of each segment arc is controlled through processing, so as to achieve the purpose of overall arc accuracy.
[0058] S5: Add the external shape parameter subroutine, the processing parameter subroutine and the roundness parameter subroutine to the main program through the main program setting module, generate the workpiece processing program for the first time, and process the workpiece based on the workpiece processing program generated for the first time;
[0059] S6: Measure the workpiece shape data after processing, calculate the error value between the workpiece shape data and the crankshaft set shape data, and determine whether the error value meets the set error range, if yes, execute step S9, otherwise execute step S7;
[0060] In this step, the workpiece shape data after processing is measured, the error value between the workpiece shape data and the crankshaft set shape data is calculated, and it is determined whether the error value meets the set error range, including:
[0061] The actual workpiece after processing is measured to obtain the shape and position parameters of the actual workpiece, the measured shape and position parameters are compared with the pre-set size and position parameters, the size and position error values of each part of the workpiece are obtained, and whether the set shape error range is met is determined through the corresponding error values.
[0062] Specifically, the detection and measurement results generated by the workpiece processing detection step can be used to determine whether the workpiece after processing is qualified, and the measurement output results can be used to generate the parameter setting of the shape and compensation step. In the specific implementation process, the shape and position parameters of the actual workpiece after processing are compared with the pre-set size and position parameters, and the shape parameters of the workpiece parts with error exceeding the error range are re-inputted to compensate the values for re-correction and supplementary processing.
[0063] S7: Input the corresponding shape compensation parameters, processing compensation parameters and roundness compensation parameters through the compensation parameter setting module, and generate the corresponding compensation parameter subprograms;
[0064] In this step, the compensation parameter setting module includes a shape compensation parameter submodule, a processing compensation parameter submodule and a roundness compensation parameter submodule.
[0065] According to the workpiece parts with error exceeding the set error range, the corresponding shape compensation parameters, processing compensation parameters and roundness compensation parameters are inputted through the shape compensation parameter submodule, the processing compensation parameter submodule and the roundness compensation parameter submodule, and the shape compensation parameter subprogram, the processing compensation parameter subprogram and the roundness compensation parameter subprogram are generated respectively.
[0066] Optionally, the shape and compensation parameter step can correspondingly generate the output compensation parameters of the shape parameter step, the processing parameter step and the roundness parameter step, or a step can be created to complete the establishment of the compensation parameters.
[0067] S8: The compensation parameter subprograms are added to the main program through the main program setting module, and the workpiece processing program is generated again to perform parameter compensation processing on the workpiece. After the workpiece is processed, the step S6 is returned.
[0068] S9: The current workpiece processing program is taken as the final processing program, and the generation of the four-cylinder crankshaft processing program is completed.
[0069] The method is based on the established four-cylinder crankshaft machining program application software, first input the workpiece shape parameters, then input the workpiece machining parameters, and finally input the workpiece roundness parameters; after the above three steps of parameter input, the machining program is generated for the first time; after the first machining of the workpiece, the machining data after the machining is compared with the preset value of the workpiece shape error, and according to the determination steps, it is determined whether the workpiece machining program is completed, and if the preset requirements are met, the workpiece machining program is generated, if not, the workpiece shape compensation parameters, machining compensation parameters and roundness compensation parameters need to be input; after inputting the compensation parameters and completing the machining, the determination step is returned again, and after the determination, if the preset value is met, the workpiece machining step is completed, otherwise the compensation parameters are input repeatedly until the preset requirements are met. Example 2
[0070] The embodiment provides a rapid adjustment method of four-cylinder crankshaft machining program, which is used for adjusting the machining program generated by the method of example 1, comprising:
[0071] When the shape size of the machined crankshaft changes, the shape parameters corresponding to the size change part of the machined crankshaft compared with the previously machined crankshaft are obtained;
[0072] The original shape parameter subroutine is modified by the shape parameter setting module, the workpiece shape parameters corresponding to the size change part are input, and the shape parameter subroutine is saved;
[0073] The original machining parameter subroutine is modified by the machining parameter setting module, the workpiece machining parameters corresponding to the size change part are input, and the machining parameter subroutine is saved;
[0074] The original roundness parameter subroutine is modified by the roundness parameter setting module, the connecting rod neck roundness parameters corresponding to the size change part are input, and the roundness parameter subroutine is saved;
[0075] The modified shape parameter subroutine, machining parameter subroutine and roundness parameter subroutine are added to the main program by the main program setting module, and the crankshaft machining program is regenerated.
[0076] Specifically, when the shape size of the machined crankshaft changes, the corresponding data in the shape size parameter that changes can be directly modified; the machining parameter only needs to modify the parameter of the size change part to complete the modification again; the workpiece roundness parameter needs to modify the part of the size position change to complete the modification; after the above three steps of modification, the crankshaft machining program is regenerated.
[0077] Based on the above, the method for quickly generating and adjusting the four-cylinder crankshaft machining program can shorten the setting time of three-dimensional modeling, machining parameter setting and workpiece roundness parameter setting, can quickly generate and modify the crankshaft machining program, and application of the method can improve the precision, efficiency and automation level of crankshaft machining, and ensure that the machined crankshaft can meet the high performance requirements of modern engines.
[0078] The above has described various embodiments of the application, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes are obvious to those skilled in the art without departing from the scope and spirit of the described embodiments.
Claims
1. A method for quick generation of a machining program for a four-cylinder crankshaft, characterized in that, The method comprises the following steps: S1: developing a four-cylinder crankshaft machining program application software, which comprises an outline parameter setting module, a machining parameter setting module, a roundness parameter setting module, a compensation parameter setting module and a main program setting module; S2: inputting workpiece outline parameters through the outline parameter setting module and generating an outline parameter subroutine; The outline parameter subroutine is used to generate a three-dimensional model of the four-cylinder crankshaft; the input workpiece outline parameters comprise diameter parameters, length parameters and position parameters corresponding to each part of the connecting rod journal, main shaft journal, balance disc and signal disc of the crankshaft; S3: inputting workpiece machining parameters through the machining parameter setting module and generating a machining parameter subroutine; S4: inputting connecting rod journal roundness parameters through the roundness parameter setting module and generating a roundness parameter subroutine; the input connecting rod journal roundness parameters comprise roundness parameters of each connecting rod journal planing surface divided into eight arc cylindrical surfaces; S5: adding the outline parameter subroutine, the machining parameter subroutine and the roundness parameter subroutine to the main program through the main program setting module, generating a workpiece machining program for the first time, and machining the workpiece based on the workpiece machining program generated for the first time; S6: measuring the workpiece outline data after machining is completed, calculating error values between the workpiece outline data and crankshaft set outline data, and judging whether the error values meet a set error range; if yes, step S9 is executed; otherwise, step S7 is executed; S7: inputting corresponding outline compensation parameters, machining compensation parameters and roundness compensation parameters through the compensation parameter setting module and generating corresponding compensation parameter subroutines; The compensation parameter setting module comprises an outline compensation parameter submodule, a machining compensation parameter submodule and a roundness compensation parameter submodule; according to the workpiece parts whose error values exceed the set error range, corresponding outline compensation parameters, machining compensation parameters and roundness compensation parameters are input through the outline compensation parameter submodule, the machining compensation parameter submodule and the roundness compensation parameter submodule respectively, and outline compensation parameter subroutines, machining compensation parameter subroutines and roundness compensation parameter subroutines are generated respectively; S8: adding the compensation parameter subroutines to the main program through the main program setting module, generating a workpiece machining program again for parameter compensation machining of the workpiece, and returning to step S6 after machining the workpiece; S9: taking the current workpiece machining program as a final machining program, and completing generation of the four-cylinder crankshaft machining program.
2. The method of claim 1, wherein, In step S2, when the workpiece outline parameters are input, the diameter parameters, length parameters and position parameters corresponding to each part of the connecting rod journal, main shaft journal, balance disc and signal disc of the crankshaft are replaced by variables, and the parameters are converted into specific numerical values.
3. The method of claim 1, wherein, Before step S3 is executed, the following step is further included: calculating machine tool turning machining parameters and determining machining coordinate points according to size parameters of a tool disc, a blank, a machined part and a machine tool.
4. The method of claim 3, wherein, In step S3, the input machining parameters comprise process parameters corresponding to the machining parts of the connecting rod journal, main shaft journal, balance disc and signal disc.
5. The method of claim 4, wherein, The process parameters include: bias value X, bias value Z, bias value CH, bias value U, bias value W, bias value CG, cutter diameter, rough milling journal R0, finish milling journal F0, electric spindle SP1 speed, electric spindle SP2 speed, C feed speed, cutting angle, cutting distance, starting angle and ending angle.
6. The method of claim 1, wherein, In step S6, the workpiece shape data after processing is measured, the error value between the workpiece shape data and the crankshaft set shape data is calculated, and it is judged whether the error value meets the set error range, comprising: The actual workpiece after processing is measured to obtain the shape and position parameters of the actual workpiece, the measured shape and position parameters are compared with the pre-set size and position parameters, the size and position error values of each part of the workpiece are obtained, and it is judged whether the set shape error range is met through the corresponding error values.
7. A method for rapid adjustment of a machining program for a four-cylinder crankshaft, for adjusting a machining program generated by the method according to any one of claims 1 to 6, characterized in that Comprising: When the shape size of the processed crankshaft changes, the shape parameters corresponding to the size change part of the processed crankshaft compared with the previously processed crankshaft are obtained; The original shape parameter subroutine is modified by the shape parameter setting module, the workpiece shape parameters corresponding to the size change part are input, and the shape parameter subroutine is saved; The original machining parameter subroutine is modified by the machining parameter setting module, the workpiece machining parameters corresponding to the size change part are input, and the machining parameter subroutine is saved; The original roundness parameter subroutine is modified by the roundness parameter setting module, the connecting rod journal roundness parameters corresponding to the size change part are input, and the roundness parameter subroutine is saved; The modified shape parameter subroutine, machining parameter subroutine and roundness parameter subroutine are added to the main program by the main program setting module, and the crankshaft machining program is regenerated.
Citation Information
Patent Citations
Numerical control chamfering parametric programming processing method based on motion card
CN110968042A
Numerical control equipment processing method based on standardized and structured programming of numerical control program
CN116088423A
Post-processing system for turning and milling composite machine tool, electronic equipment and storage medium
CN119883221A