Oil nozzle machining method and system, machining lathe and storage medium

By switching the tool during the oil nozzle processing, adjusting the position according to the posture information and correcting the tool, the problem of accuracy degradation caused by frequent movement is solved, and high-precision oil nozzle processing is achieved.

CN120244481APending Publication Date: 2025-07-04NINGBO XINGMA FUEL INJECTION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510640703.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-19
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, oil nozzle processing requires frequent movement of the parts to be processed, resulting in a decrease in processing accuracy.

Method used

The tool is switched to turn and drill the machining middleware at one time, and the position of the part to be processed is adjusted by using the difference between the current attitude information and the preset attitude information. The tool shape and position are corrected by generating a spatial deviation amount, and the appropriate feeding method is selected to improve the accuracy.

Benefits of technology

The oil nozzle processing is achieved without switching the lathe, which improves the processing accuracy, ensures the accuracy of tool position and shape, and reduces the impact of processing abnormal points.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120244481A_ABST
    Figure CN120244481A_ABST
Patent Text Reader

Abstract

The invention relates to an oil nozzle machining method and system, a machining lathe and a storage medium, and relates to the field of precision machining.The method comprises the steps that in response to detection that a to-be-machined part enters a clamp, the clamp is tightened, and current posture information of the to-be-machined part is obtained; detecting whether the current attitude information meets preset attitude information or not; if yes, the first tool is moved to a first station; the to-be-machined part is turned through the first cutter, and a machined middleware is obtained; the used cutter is switched from the first cutter to the second cutter; the second cutter is moved to a second station; the machining middleware is drilled through a second cutter, and a finished oil nozzle is obtained; and if not, the position of the to-be-machined part is adjusted according to the difference between the current posture information and the preset posture information. The machining method has the effect of improving the machining precision of the oil nozzle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of precision machining, and particularly to a nozzle machining method, system, machining lathe, and storage medium. Background Art

[0002] A nozzle is a precision small hole or nozzle device used to control, inject, or convey liquids such as lubricating oil, fuel oil, and hydraulic oil, and is widely used in fields such as machinery, automobiles, aviation, and industrial equipment.

[0003] Related technologies need to perform turning processing on a workpiece to be machined on a turning lathe to obtain a machining intermediate. Then, the machining intermediate is transferred to a drilling lathe to perform drilling processing on the machining intermediate to obtain a finished nozzle.

[0004] In view of the above related technologies, during the machining process, the workpiece to be machined needs to be frequently moved, resulting in frequent repositioning, which affects the machining of the nozzle and causes a decrease in machining accuracy. Summary of the Invention

[0005] To improve the machining accuracy of nozzles, this application provides a nozzle machining method, system, machining lathe, and storage medium.

[0006] In a first aspect, this application provides a nozzle machining method, adopting the following technical solution: A nozzle machining method includes: In response to detecting that the workpiece to be machined enters the fixture, tighten the fixture and obtain the current attitude information of the workpiece to be machined; Detect whether the current attitude information meets the preset attitude information; If so, move the first tool to the first station; Perform turning processing on the workpiece to be machined through the first tool to obtain a machining intermediate; Switch the tool in use from the first tool to the second tool; Move the second tool to the second station; Perform drilling processing on the machining intermediate through the second tool to obtain a finished nozzle; If not, adjust the position of the workpiece to be machined according to the difference between the current attitude information and the preset attitude information.

[0007] By adopting the above technical solution, by switching the tool in use, turning processing and drilling processing are performed on the machining intermediate once to obtain a finished nozzle. The entire machining process can be achieved without switching the lathe in use, and moreover, the difference between the current attitude information and the preset attitude information is used to adjust the position of the workpiece to be machined to further improve the machining accuracy.

[0008] Optionally, obtain the first form information and the first position information of the second tool, where the first form information is used to describe the shape of the second tool, and the first position information is used to represent the position of the second tool in the machining lathe; Obtain the spatial deviation amount of the second tool according to the first form information and the standard form information, and the first position information and the standard position information; Correct the second tool according to the spatial deviation amount.

[0009] By adopting the above technical solution, after switching the first tool to the second tool, a spatial deviation amount is generated according to the first form information and the position information of the second tool, and the second tool is corrected by using the spatial deviation amount. Thus, the shape and position of the second tool are ensured to be accurate to improve the machining accuracy.

[0010] Optionally, compare the first form information with the standard form information to obtain the defective part on the second tool; If the defective part is located at the machining part of the second tool, calculate the form similarity between the defective part and the machining part; Generate tool replacement information when the form similarity is greater than a preset similarity threshold; When the form similarity is not greater than the preset similarity threshold, calculate the coordinate difference between the first position information and the standard position information to obtain the spatial deviation amount.

[0011] By adopting the above technical solution, the first form information can be compared to obtain the defective part on the second tool, and tool update or tool position adjustment can be selected according to the defective part. Thus, a solution corresponding to the defective part is provided, and the machining accuracy is further increased.

[0012] Optionally, obtain the current machining parameters of the second tool, where the current machining parameters include the position parameter, the speed parameter, and the direction parameter of the second tool; Detect whether there are abnormal machining parameters in the current machining parameters; If so, generate a machining correction strategy according to the abnormal machining parameters; Adjust the feed mode of the second tool according to the machining correction strategy; If not, keep the feed mode of the second tool; Obtain the real-time image of the feed surface corresponding to the machining intermediate piece; Generate the feed mode of the second tool according to the real-time image.

[0013] By adopting the above technical solution, it is determined whether to adjust the machining correction strategy according to whether there are abnormalities in the current machining parameters of the second tool. Then, the tool feeding mode of the second tool is generated based on the real-time image of the tool feeding surface, so as to ensure the accuracy of the tool feeding mode of the second tool and improve the machining accuracy.

[0014] Optionally, identify the machining abnormal points in the real-time image; Obtain the abnormal positions of the machining abnormal points on the tool feeding surface; Obtain the morphological information of the machining abnormal points; Generate the tool feeding positions of the second tool according to the abnormal positions and the morphological information; Obtain the tool feeding speed according to the morphological information; Obtain the tool feeding mode based on the tool feeding positions and the tool feeding speed.

[0015] By adopting the above technical solution, the abnormal positions and morphological information are obtained by using the machining abnormal points in the real-time image, and the tool feeding positions and tool feeding speed are obtained through the abnormal positions and morphological information. Finally, the tool feeding mode is obtained through the tool feeding positions and tool feeding speed. Therefore, the tool feeding mode can design a tool feeding mode corresponding to the machining abnormal points and process the machining abnormal points existing on the machining intermediate piece, so as to ensure the machining accuracy.

[0016] Optionally, obtain the distance information from the abnormal positions to the center point of the machining intermediate piece; Set the position offset direction according to the distance information; Determine the position offset amount in a preset displacement mapping table according to the morphological information; Determine the tool feeding positions with the center position of the tool feeding surface as the standard according to the position offset amount and the position offset direction.

[0017] By adopting the above technical solution, the tool feeding positions are obtained by using the position offset amount and the position offset direction. When the second tool works according to the tool feeding positions, the second tool can process and remove the machining abnormal points, thereby ensuring the machining accuracy.

[0018] Optionally, determine the abnormal types of the machining abnormal points according to the morphological information; Extract the height information of the machining abnormal points from the morphological information Obtain the speed reduction ratio based on the abnormal types and the height information; Reduce the tool feeding speed according to the speed reduction ratio.

[0019] By adopting the above technical solution, the abnormal type of the machining abnormal point is determined by using the morphological information, and the feed rate is obtained based on the abnormal type and the height information of the machining abnormal point. When the second tool operates at the feed rate, the influence of the machining abnormal point on the second tool can be minimized, thereby ensuring the machining accuracy.

[0020] In a second aspect, the present application provides an injector machining system, adopting the following technical solution: An injector machining system includes: An acquisition module for acquiring the current attitude information, the first morphological information, the first position information, the current machining parameters, and the real-time image; A memory for storing the program of the injector machining method; A processor, and the program in the memory can be loaded and executed by the processor to implement the injector machining method.

[0021] By adopting the above technical solution, the machining intermediate is subjected to turning and drilling processes at one time by switching the tools used, and the finished injector is obtained. The entire machining process can be realized without switching the lathe used, and the difference between the current attitude information and the preset attitude information is also used to adjust the position of the workpiece to be machined to further improve the machining accuracy.

[0022] In a third aspect, the present application provides a machining lathe, adopting the following technical solution: A machining lathe includes a memory and a processor, and a computer program capable of being loaded and executed by the processor to implement any one of the above injector machining methods is stored on the memory.

[0023] In a fourth aspect, the present application provides a computer storage medium, which can store the corresponding program and is characterized by being convenient for realizing the improvement of the machining accuracy of the injector, adopting the following technical solution: A computer-readable storage medium stores a computer program capable of being loaded and executed by the processor to implement any one of the above injector machining methods.

[0024] In summary, the present application includes at least one of the following beneficial technical effects: 1. By switching the tools used, the machining intermediate is subjected to turning and drilling processes at one time to obtain the finished injector. The entire machining process can be realized without switching the lathe used, and the difference between the current attitude information and the preset attitude information is also used to adjust the position of the workpiece to be machined to further improve the machining accuracy; 2. After switching the first tool to the second tool, a spatial deviation amount is generated according to the first morphological information and the position information of the second tool, and the second tool is corrected by using the spatial deviation amount. Thus, the morphology and position of the second tool are ensured to be accurate to improve the machining accuracy; 3. Select whether to adjust the machining correction strategy based on whether there is an abnormality in the current machining parameters of the second tool. Then, generate the feed mode of the second tool based on the real-time image of the feed surface, so as to ensure the accuracy of the feed mode of the second tool and improve the machining accuracy. Description of the Drawings

[0025] Figure 1 is a schematic flowchart of a nozzle machining method provided by an embodiment of the present application.

[0026] Figure 2 is a schematic flowchart of a correction method for a second tool provided by an embodiment of the present application.

[0027] Figure 3 is a schematic flowchart of a calculation method for a spatial deviation amount provided by an embodiment of the present application.

[0028] Figure 4 is a schematic flowchart of a first method for generating a feed mode provided by an embodiment of the present application.

[0029] Figure 5 is a schematic flowchart of a second method for generating a feed mode provided by an embodiment of the present application.

[0030] Figure 6 is a schematic flowchart of a method for generating a feed position provided by an embodiment of the present application.

[0031] Figure 7 is a schematic flowchart of a method for generating a feed speed provided by an embodiment of the present application.

[0032] Figure 8 is a schematic structural diagram of a nozzle machining system provided by an embodiment of the present application. Detailed Embodiments

[0033] In order to make the objectives, technical solutions and advantages of the present application clearer, the following further describes the present application in detail with reference to the Figures 1 to 8 accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0034] An embodiment of the present application discloses a nozzle machining method. Refer to Figure 1 , the method includes: Step S101: In response to detecting that the workpiece to be machined enters the fixture, tighten the fixture and obtain the current attitude information of the workpiece to be machined.

[0035] The workpiece to be machined refers to unprocessed metal raw materials. For example, the workpiece to be machined is a cylinder of a preset size, and the workpiece to be machined is made of a preset metal.

[0036] Optionally, it is determined whether the workpiece to be processed enters the fixture through a photoelectric sensor or a vision sensor. For example, the area where the fixture is located is detected by a vision sensor. If the vision sensor detects an object entering the vision sensor, it is determined whether the object is the workpiece to be processed. If so, it is confirmed that the workpiece to be processed enters the fixture. If not, it is confirmed that the workpiece to be processed does not enter the fixture. Further, after confirming that the workpiece to be processed enters the fixture, it is also necessary to detect whether the workpiece to be processed completely enters the fixture. If so, the fixture is tightened.

[0037] The current pose information includes the actual position and angle data of the workpiece to be processed. The actual position is used to describe the relative position relationship between the workpiece to be processed and the fixture. The angle data refers to the angle difference of the workpiece to be processed relative to the standard angle, and the standard angle refers to the included angle between the workpiece to be processed and the horizontal plane when the workpiece to be processed is placed in the fixture according to the design standard.

[0038] Optionally, a laser scanner or an industrial camera is used to obtain the current pose information of the workpiece to be processed.

[0039] Step S102: Detect whether the current pose information meets the preset pose information.

[0040] The preset pose information includes a standard position and a standard angle. Among them, the standard position refers to the relative position relationship between the workpiece to be processed and the fixture when the workpiece to be processed is placed in the fixture according to the design standard. The standard position and the standard angle can be manually input by the technician.

[0041] Optionally, the distance difference between the actual position and the standard position is calculated to obtain the first difference; the angle difference between the angle data and the standard angle is calculated to obtain the second difference. If the first difference is less than the preset distance difference threshold and the second difference is less than the preset angle difference threshold, it is considered that the current pose information meets the preset pose information. If the first difference is not less than the preset distance difference threshold or the second difference is not less than the preset angle difference threshold, it is considered that the current pose information does not meet the preset pose information.

[0042] If the current pose information meets the preset pose information, steps S103 to S107 are executed; If the current pose information does not meet the preset pose information, step S108 is executed.

[0043] Step S103: If so, move the first tool to the first station.

[0044] The first tool is a cutting tool. The first station corresponds to the starting point of the turning process.

[0045] Step S104: Use the first tool to perform turning on the workpiece to be processed to obtain an intermediate processed part.

[0046] The intermediate processed part represents the workpiece to be processed after turning.

[0047] Exemplarily, a first cutting tool is used to perform a turning process on a workpiece to be machined according to preset turning parameters, and an intermediate machined part is obtained. Among them, the turning parameters include cutting speed, cutting feed rate, and cutting depth.

[0048] Step S105: Switch the cutting tool from the first cutting tool to the second cutting tool.

[0049] The second cutting tool is a drilling tool. Exemplarily, both the first cutting tool and the second cutting tool are arranged on a tool base, and a switching mechanism is arranged at the bottom of the tool base, and the switching mechanism can adjust the cutting tool used by the machining lathe.

[0050] Step S106: Move the second cutting tool to the second working position.

[0051] The second working position corresponds to the starting point of the drilling process.

[0052] Step S107: Perform a drilling process on the intermediate machined part through the second cutting tool to obtain a finished nozzle.

[0053] Exemplarily, a second cutting tool is used to perform a drilling process on a workpiece to be machined according to preset drilling parameters, and a finished nozzle is obtained. Among them, the drilling parameters include drilling speed, drilling feed rate, and drilling depth.

[0054] Step S108: If not, adjust the position of the workpiece to be machined according to the difference between the current posture information and the preset posture information.

[0055] If the current posture information does not meet the preset posture information, it means that the workpiece to be machined located in the fixture does not meet the standard, and the position of the workpiece to be machined in the fixture needs to be adjusted.

[0056] By adopting the above technical solution, by switching the cutting tool used, a turning process and a drilling process are performed on the intermediate machined part once to obtain a finished nozzle. The entire machining process can be realized without switching the lathe used, and moreover, the difference between the current posture information and the preset posture information is used to adjust the position of the workpiece to be machined to further improve the machining accuracy.

[0057] In the following embodiments, after switching the cutting tool from the first cutting tool to the second cutting tool, the position of the second cutting tool needs to be adjusted to ensure the accuracy of the position of the second cutting tool. Therefore, the embodiments of the present application disclose a correction method for the second cutting tool. Refer to Figure 2 , the method includes: Step S201: Obtain the first form information and the first position information of the second cutting tool. The first form information is used to describe the outer shape of the second cutting tool, and the first position information is used to represent the position of the second cutting tool in the machining lathe.

[0058] It should be noted that this embodiment is executed before using the second tool.

[0059] Optionally, obtain a tool image of the second tool through an industrial camera. Identify the shape of the second tool from the tool image to obtain the first shape information.

[0060] Optionally, obtain the first position information through the tool base corresponding to the second tool.

[0061] Step S202: Obtain the spatial deviation amount of the second tool according to the first shape information and the standard shape information, and the first position information and the standard position information.

[0062] The standard shape information refers to the standard shape of the second tool. The standard shape information is a preset empirical value.

[0063] The standard position information refers to the standard position of the second tool. The standard position information is a preset empirical value.

[0064] Exemplarily, compare the first shape information with the standard shape information to obtain the shape difference of the second tool. Calculate the difference between the first position information and the standard position information to obtain the position difference of the second tool. Combine the shape difference and the position difference to obtain the spatial deviation amount of the second tool.

[0065] Step S203: Correct the second tool according to the spatial deviation amount.

[0066] Exemplarily, the spatial deviation amount includes the shape difference and the position difference of the second tool. According to the shape difference, adjust the second tool so that the shape difference is less than a preset difference threshold. According to the position difference, adjust the position coordinates of the second tool.

[0067] By adopting the above technical solution, after switching the first tool to the second tool, generate a spatial deviation amount according to the first shape information and position information of the second tool, and use the spatial deviation amount to correct the second tool. Thus, ensure the accurate shape and position of the second tool to improve the machining accuracy.

[0068] In the following embodiments, the spatial deviation amount is an important parameter for determining how to correct the second tool, so it is necessary to appropriately calculate the spatial deviation amount. Therefore, this application embodiment discloses a calculation method for the spatial deviation amount. Refer to Figure 3 , the method includes: Step S301: Take the standard shape information as a reference, perform data comparison on the first shape information to obtain the defective part on the second tool.

[0069] The defective part refers to the position corresponding to the wear or notch on the second tool.

[0070] Exemplarily, the standard form information and the first form information are point cloud data. The point cloud data includes the spatial positions of each point on the second tool surface, the adjacent relationship between each point on the second tool surface, and the classification label of each point on the second tool surface. The classification label is used to describe the position of each point on the second tool. For example, the classification label divides the points on the second tool surface into a machining part and a non-machining part.

[0071] Exemplarily, the standard form information and the first form information are recorded in the form of a data group. The aforementioned data group is used to describe the shape of the second tool surface, and the data group includes the position coordinates of each point on the second tool surface. Compare the first form information with the standard form information to determine the different position coordinates in the first form information and the standard form information. Obtain the defective part on the second tool according to the position coordinates.

[0072] Step S302: If the defective part is located in the machining part of the second tool, calculate the form similarity between the defective part and the machining part.

[0073] The machining part refers to the part of the second tool that directly participates in drilling, or the area that comes into contact with the machining medium and removes materials. For example, when the second tool is a drill bit, the machining part is the chisel edge and the spiral groove on the drill bit.

[0074] Exemplarily, if the standard form information and the first form information are point cloud data, then calculate the average distance from each point in the first form information to the nearest point in the standard form information. Normalize the average distance and map it to a specific interval to obtain the form similarity. Among them, the specific interval is [0, 1].

[0075] Exemplarily, align each point in the first form information and the standard form information, and convert the first form information and the standard form information into the same coordinate system, so that as many points as possible in the first form information and the standard form information have the same position coordinates. After alignment, take out the first point position from the first form information, take out the second point position corresponding to the first point position from the standard form information, and calculate the maximum distance between the first point position and the second point position. Map the maximum distance to a specific interval to obtain the form similarity.

[0076] Step S303: Generate tool replacement information when the form similarity is greater than the preset similarity threshold.

[0077] If the form similarity is greater than the preset similarity threshold, it means that the second tool has been severely worn. To ensure the machining accuracy of the nozzle size, the second tool needs to be replaced in time.

[0078] The preset similarity threshold is a preset empirical value, and relevant personnel can adjust the specific value of the preset similarity threshold according to the actual situation. For example, the preset similarity threshold is 98%.

[0079] The tool replacement information is used to prompt the staff to replace the second tool.

[0080] The tool replacement information includes at least one of text information, sound information, and light information.

[0081] Optionally, according to the lathe information of the processing lathe where the second tool is located, determine the technical person in charge corresponding to the processing lathe. Send the tool replacement information to the mobile terminal of the technical person in charge.

[0082] Step S304: When the shape similarity is not greater than the preset similarity threshold, calculate the coordinate difference between the first position information and the standard position information to obtain the spatial deviation amount.

[0083] If the shape similarity is not greater than the preset similarity threshold, it means that the wear of the second tool will not affect the processing of the nozzle and can continue to be used.

[0084] Both the first position information and the standard position information can represent the position of the second tool in the processing lathe. Therefore, the first position information and the standard position information can be represented in the form of three-dimensional coordinates, and the spatial deviation amount can be obtained by using the difference between the three-dimensional coordinates corresponding to the first position information and the standard position information.

[0085] By adopting the above technical solution, data comparison can be performed on the first form information to obtain the defective part on the second tool, and whether to update the tool or adjust the tool position can be selected according to the defective part. Thus, a solution corresponding to the defective part is provided, and the processing accuracy is increased.

[0086] In the following embodiments, during the feeding process of the second tool, it is necessary to pay attention to the state of the second tool in real time. If the second tool has an abnormality, corresponding measures need to be taken immediately to ensure the processing accuracy of the nozzle. Therefore, this application embodiment discloses a method for generating a feeding method one. Refer to Figure 4 , this method includes: Step S401: Obtain the current processing parameters of the second tool, where the current processing parameters include the position parameter, speed parameter, and direction parameter of the second tool.

[0087] The position parameter refers to the position coordinates of the second tool in the processing lathe. Exemplarily, the tool base of the second tool moves under the action of the servo motor and the lead screw. According to the rotation angle of the servo motor and the lead pitch of the lead screw, the indirect position coordinates of the second tool are obtained. The direct position coordinates of the second tool are obtained by using the position sensor on the processing lathe. The indirect position coordinates and the direct position coordinates are weighted to obtain the position parameter.

[0088] The speed parameter refers to the moving speed of the second tool. Exemplarily, the indirect moving speed is calculated based on the rotational speed of the servo motor. The direct moving speed is obtained using a speed sensor on the machining lathe. The indirect moving speed and the direct moving speed are weighted to obtain the speed parameter.

[0089] The direction parameter refers to the moving direction of the second tool. Exemplarily, the direction parameter is obtained using a speed sensor on the machining lathe.

[0090] Step S402: Detect whether there are abnormal machining parameters in the current machining parameters.

[0091] If there are abnormal machining parameters in the current machining parameters, then execute steps S403 to S404; If there are no abnormal machining parameters in the current machining parameters, then execute step S405.

[0092] Calculate the difference between the current machining parameters and the standard machining parameters to obtain a parameter difference. Determine whether there are abnormal machining parameters in the current machining parameters based on the relationship between the parameter difference and a preset parameter difference threshold.

[0093] The standard machining parameters are preset empirical values, and technicians can adjust the standard machining parameters according to the design standards of the nozzle.

[0094] Step S403: If so, generate a machining correction strategy based on the abnormal machining parameters.

[0095] Exemplarily, if the abnormal machining parameters include position parameters, calculate the position coordinate difference between the abnormal machining parameters and the standard machining parameters. The position coordinate difference includes the distance difference and direction deviation between the tool position corresponding to the abnormal machining parameters and the tool position corresponding to the standard machining parameters. Generate a machining correction strategy based on the aforementioned distance difference and direction deviation to align the position coordinates of the second tool with the standard machining parameters.

[0096] Exemplarily, if the abnormal machining parameters include speed parameters, calculate the moving speed difference between the abnormal machining parameters and the standard machining parameters. Generate a machining correction strategy based on the aforementioned moving speed difference to align the moving speed of the second tool with the standard machining parameters.

[0097] Exemplarily, if the abnormal machining parameters include direction parameters, calculate the moving direction angle difference between the abnormal machining parameters and the standard machining parameters. Generate a machining correction strategy based on the aforementioned moving direction angle difference to align the moving direction of the second tool with the standard machining parameters.

[0098] Step S404: Adjust the feed mode of the second tool according to the machining correction strategy.

[0099] After adjusting the feed mode of the second tool through the machining correction strategy, the feed mode of the second tool can be made to conform to the standard machining parameters, thereby ensuring the machining parameters of the nozzle.

[0100] Step S405: If not, then maintain the feed mode of the second tool.

[0101] If there are no abnormal machining parameters in the current machining parameters, it indicates that the feed mode of the second tool conforms to the standard machining parameters and there is no need to change the feed mode.

[0102] Step S406: Obtain a real-time image of the feed surface corresponding to the machining intermediate part.

[0103] The real-time image is an image including the feed surface on the machining intermediate part. For example, if the second tool needs to enter from a specific side of the machining intermediate part, this specific side is regarded as the feed surface.

[0104] Exemplarily, an industrial camera is provided on the machining lathe. The image of the feed surface is captured by the industrial camera to obtain a real-time image.

[0105] Step S407: Generate the feed mode of the second tool according to the real-time image.

[0106] The feed mode includes the feed position and the feed speed. The feed position refers to the position where the second tool first contacts the machining surface on the machining intermediate part. The feed speed refers to the speed at which the second tool first contacts the machining surface on the machining intermediate part.

[0107] By adopting the above technical solution, it is determined whether to adjust the machining correction strategy according to whether there are abnormalities in the current machining parameters of the second tool. Then, the feed mode of the second tool is generated based on the real-time image of the feed surface, thereby ensuring the accuracy of the feed mode of the second tool and improving the machining accuracy.

[0108] In the following embodiments, a method for generating a feed mode through a real-time image will be described. This method uses machining abnormal points to select the corresponding feed position and feed speed, thereby obtaining a better feed mode. Therefore, the embodiments of the present application disclose a second method for generating a feed mode. Refer to Figure 5 , this method includes: Step S501: Identify the machining abnormal points in the real-time image.

[0109] In this embodiment, the machining abnormal points are usually caused by burrs and protrusions on the feed surface. When manufacturing a nozzle, the presence of burrs and protrusions will directly affect the quality of drilling, such as the occurrence of hole deviation and increased burrs, which is not allowed for high-precision nozzles. The feed surface is circular.

[0110] Exemplarily, when performing drilling, the processing intermediate is located in the fixture and clamped by the fixture. The fixture rotates around its own axis and drives the processing intermediate to rotate simultaneously. At this time, the processing anomaly points on the feed surface will present a circular shape in the real-time image. Therefore, identify the circular region in the real-time image to obtain the processing anomaly points.

[0111] Step S502: Obtain the anomaly positions of the processing anomaly points on the feed surface.

[0112] Exemplarily, the processing anomaly points in the real-time image will present a circular shape. Therefore, the inner diameter and outer diameter of the circular region can be used to represent the anomaly positions.

[0113] Step S503: Obtain the morphological information of the processing anomaly points.

[0114] The morphological information is used to represent the external shape of the processing anomaly points.

[0115] Exemplarily, in the real-time image, obtain the inner diameter and outer diameter of the circular region. Calculate the difference between the inner diameter and the outer diameter, and add the difference to the morphological information.

[0116] Exemplarily, the real-time image also includes an image from a side view angle, that is, a side view of the feed surface. The maximum distance of the processing anomaly point from the feed surface can be obtained from the side view, and the maximum distance is added to the morphological information.

[0117] Step S504: Generate the feed position of the second tool according to the anomaly positions and the morphological information.

[0118] For the specific implementation of generating the feed position of the second tool, please refer to Figure 6 the embodiments shown, which will not be elaborated here.

[0119] Step S505: Obtain the feed speed according to the morphological information.

[0120] For the specific implementation of generating the feed speed of the second tool, please refer to Figure 7 the embodiments shown, which will not be elaborated here.

[0121] Step S506: Obtain the feed mode based on the feed position and the feed speed.

[0122] Control the second tool to perform feeding according to the feed position and the feed speed to obtain the feed mode.

[0123] By adopting the above technical solution, the abnormal position and shape information are obtained from the machining abnormal points in the real-time image, and the feed position and feed speed are obtained from the abnormal position and shape information. Finally, the feed mode is obtained from the feed position and feed speed. Therefore, the feed mode can be designed corresponding to the machining abnormal points and process the machining abnormal points existing on the machining intermediate piece, thereby ensuring the machining accuracy.

[0124] In the following embodiments, the feed position is generated from the abnormal position and shape information, so that when the second tool processes according to the feed position, the influence brought by the machining abnormal points can be reduced. Therefore, an embodiment of the present application discloses a method for generating a feed position. Referring to Figure 6 , the method includes: Step S601: Obtain the distance information from the abnormal position to the center point of the machining intermediate piece.

[0125] Exemplarily, the abnormal machining points are annular in the real-time image. Correspondingly, the abnormal position includes the inner diameter and outer diameter of the annular region. Therefore, the value of the inner diameter is used as the distance information.

[0126] Step S602: Set the position offset direction according to the distance information.

[0127] Exemplarily, when the distance information is greater than a preset distance threshold, it indicates that when the second tool contacts the feed surface, the distance between the machining abnormal point and the feed point of the second tool is far, and it will not affect the feed of the second tool. Therefore, the position offset direction is set to none.

[0128] Exemplarily, when the distance information is not greater than the preset distance threshold, it indicates that when the second tool contacts the feed surface, the machining abnormal point will contact the second tool and affect the machining of the second tool. Therefore, the feed position is adjusted and the position offset direction is set to the radial direction. Here, the radial direction is determined on the feed surface.

[0129] Step S603: Determine the position offset amount in a preset displacement mapping table according to the shape information.

[0130] The position offset amount is used to represent the distance between the updated feed position and the center position of the feed surface.

[0131] The shape information includes the difference between the inner diameter and outer diameter of the annular region and the maximum distance from the machining abnormal point to the feed surface.

[0132] The displacement mapping table is used to record the mapping relationship between the shape information and the position offset amount. The data in the displacement mapping table can be obtained by technicians repeatedly adjusting the position offset amount according to the shape information to make the actual size of the nozzle close to the design standard. Further, this step is only performed when it is determined that there is a displacement offset direction.

[0133] Step S604: Determine the tool entry position with the center position of the tool entry surface as the standard according to the position offset and the position offset direction.

[0134] Exemplarily, with the center position of the tool entry surface as the standard, offset the position offset in the position offset direction to obtain the tool entry position.

[0135] By adopting the above technical solution, the tool entry position is obtained by using the position offset and the position offset direction. When the second tool works according to the tool entry position, the second tool can process and remove the machining abnormal points, thereby ensuring the machining accuracy.

[0136] In the following embodiments, the tool entry speed is generated by the morphology information, so that when the second tool is machining according to the tool entry position, the influence brought by the machining abnormal points can be reduced. Therefore, the embodiments of the present application disclose a method for generating the tool entry speed. Refer to Figure 7 , the method includes: Step S701: Determine the abnormal type of the machining abnormal points according to the morphology information.

[0137] The abnormal type is used to represent the shape of the machining abnormal points from the side view angle. For example, the abnormal type includes but is not limited to at least one of blocky, stripy, curly, and flaky Step S702: Extract the height information of the machining abnormal points from the morphology information.

[0138] The height information refers to the maximum distance from the machining abnormal points to the tool entry surface. Alternatively, the height information refers to the average distance from the machining abnormal points to the tool entry surface.

[0139] Exemplarily, obtain the side view image of the machining abnormal points from the real-time image from the side view angle. Identify the distance values from each edge point on the machining abnormal points in the side view image to the tool entry surface. Take the maximum value among the aforementioned distances to obtain the height information.

[0140] Step S703: Obtain the speed reduction ratio based on the abnormal type and the height information.

[0141] Exemplarily, determine the speed mapping table corresponding to the abnormal type, where the speed mapping table corresponds to the abnormal type one by one. Determine the speed reduction ratio corresponding to the height information from the speed mapping table.

[0142] The speed mapping table is used to record the mapping relationship between the height information and the speed reduction ratio. The data in the speed mapping table can be obtained by technicians repeatedly adjusting the speed reduction ratio according to the height information to make the actual size of the nozzle close to the design standard.

[0143] Step S704: Reduce the tool entry speed according to the speed reduction ratio.

[0144] Reducing the feed rate can ensure that the second tool gradually cuts into the machining abnormal point, avoiding the influence of the machining abnormal point on the second tool.

[0145] By adopting the above technical solution, the abnormal type of the machining abnormal point is determined by using the morphological information, and the feed rate is obtained through the abnormal type and the height information of the machining abnormal point. When the second tool works at the feed rate, the influence of the machining abnormal point on the second tool can be reduced as much as possible, thereby ensuring the machining accuracy.

[0146] Based on the same inventive concept, an embodiment of the present application provides a nozzle machining system. Please refer to Figure 8 , the system includes: An acquisition module 801, configured to acquire current attitude information, first morphological information, first position information, current machining parameters, and a real-time image; A memory 802, configured to store a program of the above nozzle machining method; A processor 803, and the program in the memory can be loaded and executed by the processor to implement the above nozzle machining method.

[0147] By adopting the above technical solution, by switching the use of tools, the machining intermediate is subjected to turning processing and drilling processing at one time to obtain a finished nozzle. The entire machining process can be realized without switching the lathe used, and moreover, the difference between the current attitude information and the preset attitude information is used to adjust the position of the workpiece to be machined to further improve the machining accuracy.

[0148] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above division of each functional module is used as an example for illustration. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0149] An embodiment of the present application provides a computer-readable storage medium, storing a computer program that can be loaded and executed by a processor to implement the nozzle machining method.

[0150] Computer storage media include, for example: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.

[0151] Based on the same inventive concept, an embodiment of the present application provides an intelligent terminal, including a memory and a processor. A computer program capable of being loaded and executed by the processor for the nozzle processing method is stored on the memory.

[0152] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above division of each functional module is used as an example. In practical applications, the above functions can be allocated to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described system, device, and unit can refer to the corresponding processes in the foregoing method embodiments and will not be repeated here.

[0153] The above are all the preferred embodiments of the present application. Without limiting the protection scope of the present application accordingly, any feature disclosed in this specification (including the abstract and drawings), unless specifically described, can be replaced by other equivalent or similar-purpose alternative features. That is, unless specifically described, each feature is only an example in a series of equivalent or similar features.

Claims

1. A method for machining a choke nozzle, characterized in that, The method includes: In response to detecting that the workpiece to be processed enters the fixture, tighten the fixture and obtain the current attitude information of the workpiece to be processed; Detect whether the current attitude information meets the preset attitude information; If so, move the first tool to the first station; Perform turning processing on the workpiece to be processed through the first tool to obtain an intermediate processed part; Switch the tool in use from the first tool to the second tool; Move the second tool to the second station; Perform drilling processing on the intermediate processed part through the second tool to obtain a finished nozzle; If not, adjust the position of the workpiece to be processed according to the difference between the current attitude information and the preset attitude information.

2. The nozzle processing method according to claim 1, wherein After switching the tool in use from the first tool to the second tool, it further includes: Obtain the first form information and the first position information of the second tool, where the first form information is used to describe the shape of the second tool, and the first position information is used to represent the position of the second tool in the lathe; Obtain the spatial deviation amount of the second tool according to the first form information and the standard form information, and the first position information and the standard position information; Correct the second tool according to the spatial deviation amount.

3. The nozzle processing method according to claim 2, characterized in that, The obtaining the spatial deviation amount of the second tool according to the first form information and the standard form information, and the first position information and the standard position information includes: Taking the standard form information as a reference, perform data comparison on the first form information to obtain the defective part on the second tool; If the defective part is located at the processing part of the second tool, calculate the form similarity between the defective part and the processing part; Generate tool replacement information when the form similarity is greater than the preset similarity threshold; When the form similarity is not greater than the preset similarity threshold, calculate the coordinate difference between the first position information and the standard position information to obtain the spatial deviation amount.

4. The nozzle processing method according to claim 1, characterized in that The method further includes: Obtain the current processing parameters of the second tool, where the current processing parameters include the position parameter, speed parameter and direction parameter of the second tool; Detect whether there are abnormal processing parameters in the current processing parameters; If so, generate a processing correction strategy according to the abnormal processing parameters; Adjust the feed mode of the second tool according to the processing correction strategy; If not, maintain the feed mode of the second tool; Obtain the real-time image of the feed surface corresponding to the intermediate processed part; Generate the feed mode of the second tool according to the real-time image.

5. The nozzle processing method according to claim 4, characterized in that, The generating the feed mode of the second tool according to the real-time image includes: Identify the processing abnormal points in the real-time image; Obtain the abnormal positions of the processing abnormal points on the feed surface; Obtain the form information of the processing abnormal points; Generate the feed position of the second tool according to the abnormal positions and the form information; Obtain the feed speed according to the form information; Obtain the feed mode based on the feed position and the feed speed.

6. The nozzle processing method according to claim 5, wherein The generating the feed position of the second tool according to the abnormal positions and the form information includes: Obtain the distance information from the abnormal position to the center point of the processing middleware; Set the position offset direction according to the distance information; Determine the position offset amount in a preset displacement mapping table according to the morphology information; Determine the feed position with the center position of the feed surface as the standard according to the position offset amount and the position offset direction.

7. The nozzle processing method according to claim 5, characterized in that, The obtaining the feed speed according to the morphology information includes: Determine the abnormal type of the processing abnormal point according to the morphology information; Extract the height information of the processing abnormal point from the morphology information; Obtain the speed reduction ratio based on the abnormal type and the height information; Reduce the feed speed according to the speed reduction ratio.

8. An oil nozzle processing system, characterized in that, The system is used to execute the nozzle processing method according to any one of claims 1 to 7, and the system includes: An acquisition module, configured to acquire current attitude information, first morphology information, first position information, current processing parameters, and real-time images; A memory, configured to store the program of the nozzle processing method; A processor, the program in the memory can be loaded and executed by the processor and implement the nozzle processing method.

9. A processing lathe, characterized in that, It includes a memory and a processor, and a computer program capable of being loaded and executed by the processor and implementing the nozzle processing method according to any one of claims 1 to 7 is stored on the memory.

10. A computer-readable storage medium, characterized in that, A computer program capable of being loaded and executed by the processor and implementing the nozzle processing method according to any one of claims 1 to 7 is stored.