A method and system for overhang disturbance feed and load reduction for deep cavity machining tools
Patent Information
- Application Number
- CN202611307313.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-09-25
AI Technical Summary
[0007]为解决现有深腔加工进给控制中难以关联深腔刀路位置、边界判定位置和加工状态数据,导致进给降载针对性不足且进给速度变化位置容易影响目标加工侧壁边界区域加工质量的问题,本申请提供如下技术方案:一种深腔加工刀具悬伸扰动进给降载方法,包括:
本申请获取深腔刀路数据、边界判定数据和加工状态数据后,将深腔刀路中的刀路位置、边界判定数据对应的刀路位置以及加工状态数据对应的悬伸状态和负载状态纳入同一处理链路,使进给降载不再仅依据经验参数或单一负载偏离判断结果进行整体调整,而是围绕深腔刀路中的具体刀路位置确定需要进行进给降载处理的刀路区段,从而提高深腔加工进给速度调整的针对性。
Smart Images

Figure CN122816094A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of machine tool processing control technology, and more specifically, to a method and system for overhang disturbance feed unloading of deep cavity machining tools. Background Technology
[0002] In deep cavity machining and deep groove sidewall machining scenarios, the machined objects such as mold cavities, mold cores, electrodes, and inspection fixtures often have local structures such as windows, annular grooves, thin-walled rib boundaries, areas near the gate, or sidewalls of positioning grooves. The target machining sidewall space for these structures is narrow, requiring the machining tool to enter the deep cavity area with a relatively long overhang to complete the sidewall machining. Because the overall rigidity decreases with the increased tool overhang, it is easily affected by spindle load fluctuations, feed axis load fluctuations, and changes in sidewall allowance during cutting, resulting in lateral tool deflection, vibration, or localized cutting instability, thus affecting the contour consistency and surface continuity of the target machined sidewall.
[0003] Existing deep cavity machining control methods typically set or adjust the feed rate based on machining experience, Computer-Aided Manufacturing (CAM) programming parameters, or the CNC system's operating load. For example, a lower feed rate is used throughout the deep cavity area, or the feed rate is reduced when the spindle load or feed axis load exceeds a set range. While these methods can reduce tool load to some extent, they usually only focus on the current machining load or the overall machining area, failing to adequately distinguish the boundary attributes corresponding to different toolpath positions within the deep cavity toolpath. They also struggle to determine whether feed rate changes are close to product boundaries, forming boundaries, product boundary determination locations, defect determination locations, or areas of interest for inspection.
[0004] Taking molds, cores, electrodes, or inspection fixtures related to precision plastic parts such as retainers as examples, local boundary areas in the target machined sidewalls not only affect the actual boundary of the part after molding, but also affect the stability of subsequent inspection in judging defects such as notches, burrs, abnormal glue gates, and boundary discontinuities. If the feed rate reduction point or recovery point falls near the product boundary, molding boundary, product boundary judgment position, defect judgment position, or inspection focus area, it is easy to form local texture changes, machining transition marks, or slight contour changes on the target machined sidewalls, which will adversely affect the molding quality of the product boundary and the subsequent inspection judgment results. If a conservative feed rate is adopted for the entire deep cavity sidewall to avoid the above problems, the machining efficiency will be reduced, and it will not be able to effectively handle the local toolpath positions where the long tool overhang and the load exceeds the set range.
[0005] Therefore, in the process of tool feed control for deep cavity machining, existing technologies still have the problem of difficulty in correlating the position of the deep cavity toolpath, the boundary position, and changes in the machining state. It is difficult to determine which toolpath positions in the deep cavity toolpath require deload adjustment, and it is also difficult to control the relationship between the feed rate change position and the product boundary, forming boundary, product boundary judgment position, defect judgment position, or area of interest for inspection. This results in insufficient targeting of feed rate adjustments in deep cavity machining, making it difficult to simultaneously address tool deload, sidewall machining quality, and the stability of subsequent inspection and judgment.
[0006] In view of this, this application proposes a method and system for overhang disturbance feed unloading of deep cavity machining tools to solve the above problems. Summary of the Invention
[0007] To address the problem in existing deep cavity machining feed control that it is difficult to correlate deep cavity toolpath position, boundary determination position, and machining status data, resulting in insufficient targeted feed deload and the easy impact of feed rate changes on the machining quality of the target sidewall boundary area, this application provides the following technical solution: a deep cavity machining tool overhang disturbance feed deload method, comprising: Acquire deep cavity toolpath data, boundary determination data, and machining status data; Position mapping is performed on boundary determination data and deep cavity toolpath data to obtain variable speed avoidance sections; By combining deep cavity toolpath data and machining status data, the overhang state and load state of the toolpath position in the deep cavity toolpath data are correlated and identified to obtain the section to be unloaded; By combining the variable speed avoidance section, the starting and ending positions of the section to be unloaded are adjusted for boundary avoidance to obtain unloaded boundary data; Based on the toolpath range defined by the load reduction boundary data, the feed rate in the deep cavity toolpath data is subjected to load reduction processing to obtain the feed load reduction result.
[0008] Furthermore, methods for obtaining the variable speed avoidance section include: Match the machining surface identifier in the deep cavity toolpath data with the target machining sidewall identifier in the boundary determination data, and group the toolpath point coordinates in the deep cavity toolpath data according to the matching results to obtain the sidewall toolpath set; By mapping the boundary position coordinates and the detection interest area in the boundary determination data to the toolpath position, the boundary mapping position and the interest area mapping range are obtained. By filtering the avoidance toolpath points based on the boundary mapping location, the mapping range of the area of interest, and the coordinates of the toolpath points in the sidewall toolpath set, candidate avoidance toolpath points are obtained. According to the machining sequence in the deep cavity toolpath data, the candidate toolpath points for avoidance are continuously merged to obtain the variable speed avoidance section.
[0009] Furthermore, methods for obtaining candidate toolpath points to avoid include: Calculate the toolpath distance between the boundary mapping position and the coordinates of the toolpath points in the sidewall toolpath set, and determine the toolpath points whose corresponding toolpath distance is less than or equal to the boundary avoidance distance as the boundary adjacent toolpath points; The coordinates of the toolpath points located within the mapping range of the region of interest are determined as the toolpath points of the region of interest; The boundary influence is calculated based on the cumulative length distance of the toolpath between the toolpath point coordinates, the boundary mapping position, and the mapping range of the region of interest, to obtain the boundary influence quantity. The coordinates of toolpath points whose corresponding boundary influence is greater than or equal to the preset boundary influence threshold are determined as boundary influence toolpath points. By merging the toolpaths near the boundary, the toolpaths in the area of interest, and the toolpaths affected by the boundary, candidate toolpaths for avoidance are obtained.
[0010] Furthermore, the method for associating and identifying the overhang state and load state of the toolpath position in the deep cavity toolpath data to obtain the section to be unloaded includes: Machining status data includes tool overhang data, load operation data, and reference range data; The tool overhang data and load operation data are mapped to the tool path position in the deep cavity tool path data. The long overhang state of the tool overhang data is identified, and the load deviation state of the load operation data is identified by combining the reference range data, so as to obtain the long overhang position and the load deviation position. The toolpath position that simultaneously belongs to the long overhang position and the load deviation position is determined as the position to be unloaded. The positions to be unloaded are continuously merged according to the machining order in the deep cavity toolpath data to obtain the continuously merged segment. When the processing status data also includes sidewall detection deviation data, the coverage of the continuously merged sections is supplemented and checked using the sidewall detection deviation data to obtain the sections to be unloaded; when the processing status data does not include sidewall detection deviation data, the continuously merged sections are taken as the sections to be unloaded.
[0011] Furthermore, methods for obtaining the overhang position and load deviation position include: Tool overhang data includes tool overhang length, overhang length required for shallow machining with the same tool, and tool diameter; Based on the machining tool supply documents, process database, or historical qualified machining records of similar deep cavity machining objects, obtain the long overhang judgment ratio; When the tool extension length is greater than the extension length required for shallow machining of the same machining tool, and the ratio of the tool extension length to the tool diameter is greater than or equal to the long overhang judgment ratio, the corresponding toolpath position is determined as the long overhang position. When the spindle load value in the load operation data is greater than the upper limit of the qualified spindle load range in the reference range data, or when the feed axis load value in the load operation data is greater than the upper limit of the qualified feed axis load range in the reference range data, the corresponding toolpath position is determined as the load deviation position.
[0012] Furthermore, the method for supplementing and verifying the coverage of continuously merged sections using sidewall detection deviation data to obtain the section to be unloaded includes: The sidewall detection deviation data is matched with the toolpath position in the deep cavity toolpath data to obtain the toolpath position corresponding to the sidewall detection deviation data. Select the toolpath positions outside all sections formed by continuous merging at the unloading position from the toolpath positions corresponding to the sidewall detection deviation data; For each selected toolpath position, calculate the absolute value of the cumulative length difference between the start and end positions of each segment formed by continuously merging the selected toolpath position and the position to be unloaded, determine the segment corresponding to the minimum absolute value, and determine the start or end position that forms the minimum absolute value as the end. When the minimum absolute value is less than or equal to the preset deviation association length, the toolpath position between the end and the selected toolpath position is merged into the segment corresponding to the minimum absolute value to obtain the section to be unloaded.
[0013] Furthermore, the methods for adjusting the starting and ending positions of the section to be unloaded to obtain unloaded boundary data include: According to the machining order in the deep cavity toolpath data, the toolpath positions outside the speed change avoidance section are searched in reverse from the starting position of the section to be unloaded and in forward from the ending position of the section to be unloaded, respectively, to obtain the candidate starting position set and the candidate ending position set. Obtain the deceleration transition length and recovery transition length. According to the machining order in the deep cavity toolpath data, extend the deceleration transition length forward from each candidate start position and extend the recovery transition length backward from each candidate end position to obtain the deceleration transition range corresponding to each candidate start position and the recovery transition range corresponding to each candidate end position. Candidate starting positions that overlap with the corresponding deceleration transition range and the shift avoidance section are removed; candidate ending positions that overlap with the corresponding recovery transition range and the shift avoidance section are also removed. Candidate boundary filtering is performed on the retained candidate start and end positions to obtain load reduction boundary data.
[0014] Furthermore, methods for filtering the retained candidate start and end positions to obtain load reduction boundary data include: The toolpath ranges from each retained candidate start position to the start position of the section to be unloaded and from the end position of the section to be unloaded to each retained candidate end position are respectively determined as the candidate boundary ranges of the corresponding candidate start position and candidate end position. The overhang state and load state of the toolpath position within each candidate boundary range are correlated, quantified, and accumulated to obtain the cumulative amount of overhang load disturbance, and the maximum value of boundary movement length and boundary influence are determined. The normalized value is obtained by normalizing and weighting the values according to the direction that the normalized value increases as the maximum value of the boundary movement length and the boundary influence increases, and the normalized value decreases as the cumulative amount of the overhang load disturbance increases. The candidate start position and candidate end position with the smallest boundary screening amount are selected as the adjusted start position and adjusted end position, respectively. The adjusted start position, the adjusted end position, and the toolpath range between the adjusted start position and the adjusted end position are determined as the load reduction boundary data.
[0015] Furthermore, methods for obtaining feed unloading results include: The toolpath positions within the toolpath range defined by the load reduction boundary data, excluding the end position in the load reduction boundary data, are determined as the load reduction execution toolpath positions; The extreme values of the original feed rate, tool overhang data, and load operation data corresponding to the toolpath position of the load reduction execution are extracted and the overhang ratio is calculated to obtain the original feed rate of the section, the overhang ratio of the section, the spindle load value of the section, and the feed axis load value of the section. Obtain the feed rate resolution supported by the CNC system, and generate candidate feed rate values that are within the qualified machining feed rate range and feed rate resolution and are less than the original feed rate of the segment, based on the qualified machining feed rate range and feed rate resolution in the reference range data. Based on the comparison results of the section overhang ratio and the long overhang judgment ratio, as well as the comparison results of the section spindle load value and the section feed axis load value with the upper limit of the corresponding load range, the deload feed speed is selected from the candidate feed speed values. Write the deload feed rate into the feed rate corresponding to the deload execution toolpath position, and restore the corresponding original feed rate at the end position in the deload boundary data to obtain the feed deload result.
[0016] A deep cavity machining tool overhang disturbance feed unloading system includes: The data acquisition module is used to acquire deep cavity toolpath data, boundary determination data, and machining status data; The avoidance section generation module is used to perform position mapping on boundary determination data and deep cavity toolpath data to obtain variable speed avoidance sections; The unloading section identification module is used to combine deep cavity toolpath data and machining status data to identify the overhang state and load state of the toolpath position in the deep cavity toolpath data, and obtain the unloading section. The load reduction boundary generation module is used to combine the variable speed avoidance section and adjust the boundary avoidance of the starting and ending positions of the load reduction section to obtain load reduction boundary data where both the starting and ending positions are outside the variable speed avoidance section. The feed deload processing module is used to deload the feed rate in the deep cavity toolpath data according to the toolpath range defined by the deload boundary data, and obtain the feed deload result.
[0017] Compared with the prior art, the technical effects and advantages of the deep cavity machining tool overhang disturbance feed unloading method and system of this application are as follows: After obtaining the deep cavity toolpath data, boundary judgment data, and machining status data, this application incorporates the toolpath position in the deep cavity toolpath, the toolpath position corresponding to the boundary judgment data, and the overhang and load status corresponding to the machining status data into the same processing link. This makes the feed deload adjustment no longer based solely on empirical parameters or a single load deviation judgment result for overall adjustment, but rather on determining the toolpath segment that needs feed deload processing based on the specific toolpath position in the deep cavity toolpath, thereby improving the targeting of deep cavity machining feed speed adjustment.
[0018] Regarding the formation of variable speed avoidance zones, this application performs position mapping on boundary determination data and deep cavity toolpath data to obtain variable speed avoidance zones. This allows the toolpath positions corresponding to the product boundary, forming boundary, product boundary determination position, defect determination position, and inspection interest area to participate in the constraint of feed rate change positions. This reduces the risk that feed rate reduction or recovery points fall near the toolpath positions corresponding to the variable speed avoidance zones, and decreases the possibility of local texture changes, machining transition marks, or minor contour abrupt changes on the target machined sidewalls. This helps maintain the machining quality of the target machined sidewalls and the stability of subsequent inspection and determination.
[0019] To address the disturbance caused by long tool overhang in deep cavity machining, this application combines deep cavity toolpath data and machining status data to identify the correlation between overhang state and load state at the toolpath position, thus obtaining the section to be deloaded. This section is jointly defined by the long overhang state and the load deviation state. This processing method can address feed deload issues such as lateral tool deflection, vibration, or cutting instability caused by decreased tool overhang rigidity, avoiding unnecessary feed rate deload processing for toolpath positions that do not simultaneously exhibit both long overhang and load deviation states.
[0020] During the formation of the load reduction boundary data, this application combines the start and end positions of the section to be reduced in the variable speed avoidance zone with boundary avoidance adjustments. This results in load reduction boundary data where both the start and end positions are outside the variable speed avoidance zone, allowing the feed rate reduction and recovery processes to avoid the toolpath positions corresponding to the variable speed avoidance zone. This processing method preserves the load reduction effect of the section to be reduced while controlling the impact of feed rate changes on the product boundary, forming boundary, product boundary determination position, defect determination position, and inspection focus area, thus balancing tool load reduction requirements and machining stability of the target machining sidewall boundary area.
[0021] Based on the toolpath range defined by the load reduction boundary data, this application performs load reduction processing on the feed rate in the deep cavity toolpath data to obtain feed rate reduction results. This allows the CNC machining process to perform feed rate reduction processing within a toolpath range that simultaneously exhibits long overhang and load deviation states, and completes feed rate reduction and recovery at the start and end positions defined by the load reduction boundary data. This helps reduce tool load disturbance during deep cavity sidewall machining, improves the consistency of the deep cavity sidewall contour and the stability of the machining process, and enhances the toolpath position correspondence when the feed rate reduction results are written into the deep cavity toolpath data. Attached Figure Description
[0022] Figure 1 This is a schematic diagram of the CNC machining environment for precision plastic cage parts according to an embodiment of this application; Figure 2 This is a schematic diagram illustrating the background of the overhang disturbance and speed change avoidance of the deep cavity machining tool in an embodiment of this application. Figure 3 This is a flowchart of a deep cavity machining tool overhang disturbance feed unloading method according to an embodiment of this application; Figure 4 This is a schematic diagram of a deep cavity machining tool overhang disturbance feed unloading system according to an embodiment of this application. Detailed Implementation
[0023] The technical solutions of this application will be described in detail, clearly, and completely below with reference to the accompanying drawings of the embodiments. It should be particularly noted that the specific embodiments described below are only used to better illustrate and explain the technical solutions of this application, and are intended to enable those skilled in the art to better understand and implement this application, and should not be construed as limiting the scope of protection of this application. Without departing from the spirit and substance of this application, those skilled in the art can modify, adjust, or make equivalent substitutions based on the content disclosed in this application, and these modifications, adjustments, or equivalent substitutions should all be considered within the scope of protection of this application.
[0024] Please see Figure 1 and Figure 2In some embodiments, in the CNC machining environment of cage-type precision plastic parts, the local machining area of the target machining sidewall is relatively narrow, and the machining tool needs to enter the corresponding machining area in a long overhang state. The machining tool in the long overhang state is prone to lateral tool deflection and vibration when the cutting load fluctuates. Cage-type precision plastic parts include annular bodies, windows, thin-walled ribs, gate areas, and local boundary structures. The windows, annular grooves, thin-walled rib boundaries, and areas near the gate form corresponding deep cavity sidewalls, deep groove sidewalls, or positioning groove sidewalls in the mold cavity, mold core, electrodes used for machining the mold cavity, or detection fixtures.
[0025] In this application embodiment, the deep cavity machining object can be a cage mold cavity, a cage mold core, or an electrode or cage inspection fixture used for machining the cage mold cavity. The target machined sidewall of the deep cavity machining object can include the sidewall corresponding to the cage window, the sidewall corresponding to the annular groove, the sidewall corresponding to the thin-walled rib boundary, the sidewall near the gate, or the sidewall of the positioning groove of the inspection fixture. The target machined sidewalls in the cage mold cavity, the cage mold core, and the electrodes used for machining the cage mold cavity affect the actual boundary of the cage product after molding. The target machined sidewalls in the cage inspection fixture affect the positioning posture of the cage product during the inspection process. Machining deviations of the target machined sidewalls affect the stability of the inspection equipment's judgment of cage product boundaries, notches, burrs, gate abnormalities, or boundary discontinuities.
[0026] Example 1: Please see Figure 3 This embodiment discloses a method for reducing the load of a deep cavity machining tool overhang disturbance feed, including: S1: Acquire deep cavity toolpath data, boundary determination data, and machining status data.
[0027] In practice, deep cavity toolpath data can be obtained from machining program files, programming software, computer-aided manufacturing toolpath files, or CNC machining records. Deep cavity toolpath data includes toolpath point coordinates, machining sequence, machining surface identifiers, tool number, and initial feed rate. Toolpath point coordinates represent the movement position of the machining tool within the deep cavity machining object. Machining sequence represents the order in which the machining tool passes through each toolpath point coordinate. Machining surface identifiers mark the target machining sidewall to which the toolpath point coordinates belong. The machining tool number is used to match the tool number in the tool clamping record. The initial feed rate is used to generate feed unloading results in S5.
[0028] In practice, boundary determination data can be obtained from machining program files, programming software, process databases, or manually imported process files. Manually imported process files are compiled from design drawings, 3D models, process drawings, product inspection standards, visual screening standards, or process inspection documents. Manually imported process files must at least record the boundary location name, boundary location coordinates, target machining sidewall identifier, and coordinate system transformation relationship. The coordinate system transformation relationship is used in S2 to map the boundary location to the toolpath location in the deep cavity toolpath data. Boundary determination data includes the product boundary corresponding position, the forming boundary corresponding position, the product boundary determination position, the defect determination position, and the inspection interest area. The product boundary corresponding position indicates the corresponding position of the cage product's appearance boundary or window boundary in the target machining sidewall. The forming boundary corresponding position indicates the structural boundary position involved in forming within the mold cavity or mold core. When there is a machining position corresponding to the forming boundary in the electrode used to process the mold cavity, the machining position corresponding to the forming boundary is used as the forming boundary corresponding position. The product boundary determination position indicates the position used by the inspection equipment to determine the cage product boundary. The defect determination location indicates the position used by the inspection equipment to determine notches, burrs, glue marks, or boundary discontinuities. The inspection focus area indicates the target machined sidewall area marked in product inspection standards, visual screening standards, or process inspection documents as requiring inspection of boundary continuity or surface texture continuity. Boundary determination data is used in S2 to perform position mapping with deep cavity toolpath data and form variable speed avoidance sections.
[0029] In practice, machining status data can be obtained from tool clamping records, CNC operation records, target machining sidewall inspection records, or the process database. Machining status data includes tool overhang data, load operation data, and reference range data for judging the machining status. Tool overhang data includes tool extension length, the extension length required for shallow machining with the same tool, and the tool diameter. Load operation data includes spindle load value, feed axis load value, and actual feed rate. The actual feed rate is used to record the actual feed state at the corresponding toolpath position and to verify the positional correspondence between the CNC operation record and the deep cavity toolpath data. Reference range data includes the acceptable machining load range and the acceptable machining feed rate range. The acceptable machining load range and the acceptable machining feed rate range can be determined from historical acceptable machining records or the process database. Historical acceptable machining records originate from similar deep cavity machining objects. Similar deep cavity machining objects refer to deep cavity machining objects belonging to the same machining group. The same machining group is established according to the target machining sidewall type, machining material category, machining tool diameter specification range, and machining operation. The acceptable machining load range is used in S3 to determine whether the load state deviates from the acceptable machining load range. The acceptable machining feed rate range is used to constrain the deload feed rate in S5.
[0030] In the implementation where target machining sidewall inspection records have been collected, the machining status data also includes sidewall inspection deviation data. The target machining sidewall inspection records are formed from in-machine probe records, contour inspection records, or visual measurement records collected after semi-finishing but before the finishing feed unloading result is generated. Sidewall inspection deviation data includes contour deviation data, height abrupt change data, or surface texture interruption data of the target machining sidewall. The sidewall inspection deviation data is used in S3 to verify whether the unloading section covers adjacent toolpath positions where sidewall inspection deviations exist.
[0031] After acquiring the deep cavity toolpath data, boundary determination data, and machining status data, the deep cavity toolpath data provides the toolpath position, machining sequence, and initial feed rate. Boundary determination data serves as input for forming the variable speed avoidance section in S2. Tool overhang data and load operation data serve as input for identifying the correlation between overhang and load states in S3. Sidewall detection deviation data serves as optional supplementary data in S3 to verify the coverage area of the unloading section. Reference range data serves as a reference for determining the load state in S3 and for determining the unloading feed rate in S5.
[0032] S2: Map the boundary determination data and deep cavity toolpath data to obtain the variable speed avoidance section.
[0033] In practice, toolpath point coordinates, machining sequence, and machining surface identifiers are extracted from the deep cavity toolpath data. Based on the correspondence between the machining surface identifier and the target machined sidewall identifier, toolpath point coordinates belonging to the same target machined sidewall are grouped into the same sidewall toolpath set. The correspondence between the machining surface identifier and the target machined sidewall identifier can be recorded by the machining program file, programming software, or manually imported process files. The sidewall toolpath set represents the set of toolpath point coordinates for the machining tool on the same target machined sidewall.
[0034] Extract the product boundary corresponding position, molding boundary corresponding position, product boundary judgment position, defect judgment position, and inspection interest area from the boundary judgment data. For the product boundary corresponding position, molding boundary corresponding position, product boundary judgment position, and defect judgment position, extract the corresponding boundary position name, boundary position coordinates, and target processing sidewall identifier. For the inspection interest area, extract the area boundary coordinates and target processing sidewall identifier.
[0035] Based on the target machining sidewall identifier, the target machining sidewall identifier in the boundary determination data is matched with the target machining sidewall identifier corresponding to the sidewall toolpath set. When the target machining sidewall identifiers match, the coordinate system transformation relationship carried or associated with the boundary determination data is read, and the boundary position coordinates are transformed into the toolpath coordinate system to obtain the boundary mapping position; the boundary coordinates of the region of interest are transformed into the toolpath coordinate system to obtain the region of interest mapping range. The toolpath coordinate system is formed based on the coordinate system of the toolpath point coordinates in the deep cavity toolpath data, the machining sequence, and the cumulative toolpath length. The cumulative toolpath length is obtained by accumulating the line segment lengths between adjacent toolpath point coordinates along the machining sequence, starting from the coordinates of the first toolpath point in the sidewall toolpath set.
[0036] The boundary mapping positions are matched with the toolpath point coordinates in the sidewall toolpath set. For the boundary mapping positions formed by the product boundary corresponding position, the forming boundary corresponding position, the product boundary judgment position, and the defect judgment position, the boundary mapping position is first matched to the toolpath segment with the smallest spatial distance in the toolpath coordinate system in the sidewall toolpath set. Then, the point with the smallest distance on the toolpath segment is taken as the boundary corresponding point. The toolpath segment is formed by the coordinates of two toolpath points adjacent in the machining sequence. The cumulative toolpath length corresponding to the boundary corresponding point is determined by adding the cumulative toolpath length of the toolpath point coordinates at the starting point of the toolpath segment and the distance from the boundary corresponding point along the toolpath segment to the starting point of the toolpath segment. The absolute value of the difference between the cumulative toolpath length of the boundary corresponding point and the cumulative toolpath length of each toolpath point coordinate in the sidewall toolpath set is calculated to obtain the toolpath distance between the boundary mapping position and each toolpath point coordinate. Toolpath point coordinates with toolpath distances less than or equal to the boundary avoidance distance are selected as boundary adjacent toolpath points.
[0037] Boundary avoidance distance is used to limit the range of toolpath lengths for toolpath points adjacent to the screening boundary. In one implementation, the boundary avoidance distance is determined by the sum of the CNC system's minimum acceleration / deceleration distance, the machining tool radius, and the toolpath tolerance. The machining tool radius is determined by half the tool diameter within the tool overhang data in S1. The toolpath tolerance is read from the machining program file, programming software, or process database. The CNC system's minimum acceleration / deceleration distance is read from the CNC system's process parameter table. If the CNC system's process parameter table does not record the CNC system's minimum acceleration / deceleration distance, the minimum acceleration / deceleration distance is determined by multiplying the original feed rate in the deep cavity toolpath data by the minimum speed change time recorded in the CNC system's process parameter table after unifying the units. The minimum speed change time represents the shortest time required for the CNC system to complete one feed rate change.
[0038] For the region of interest mapping range, the toolpath coordinates within the region of interest mapping range are selected as region of interest toolpath points. When the toolpath segment formed by the coordinates of two adjacent toolpath points in the machining sequence intersects with the region of interest mapping range, the coordinates of the two toolpath points forming the toolpath segment are selected as region of interest toolpath points. Region of interest toolpath points are used to represent the coordinates of toolpath points at the corresponding machining sidewall positions of the detected region of interest.
[0039] The boundary influence is calculated based on the cumulative length distance between the toolpath point coordinates, the boundary mapping position, and the mapping range of the region of interest, to obtain the boundary influence quantity. Specifically, for the coordinates of each toolpath point in the sidewall toolpath set, the absolute value of the difference between the cumulative toolpath length of the toolpath point coordinates and the cumulative toolpath length of the corresponding point on each boundary is calculated, and the minimum absolute value of the difference is taken as the boundary distance; the minimum distance between the cumulative toolpath length of the toolpath point coordinates and the starting and ending cumulative toolpath lengths of the mapping range of the region of interest is calculated, and this minimum distance is taken as the distance of the region of interest; according to the rule that the smaller the boundary distance and the larger the boundary influence quantity, and the smaller the distance of the region of interest and the larger the boundary influence quantity, the boundary distance and the distance of the region of interest are normalized to obtain the boundary influence quantity. The preset boundary influence threshold is recorded by the process database or manually imported process documents; when neither the process database nor the manually imported process documents record the boundary influence threshold, the minimum value of the boundary influence quantities of the toolpath points adjacent to the boundary and the toolpath points in the region of interest is taken as the boundary influence threshold. The coordinates of the toolpath points whose corresponding boundary influence quantities are greater than or equal to the boundary influence threshold are determined as the boundary influence toolpath points.
[0040] According to the processing sequence, deduplication and continuous merging are performed on toolpath points adjacent to the boundary and toolpath points in the area of interest. The deduplicated toolpath points adjacent to the boundary and toolpath points in the area of interest are traversed according to the processing sequence, and the coordinates of the first toolpath point encountered are used as the starting point of the first continuous toolpath range. Starting from the second toolpath point coordinates, if the current toolpath point coordinates are adjacent to the coordinates of the previously selected toolpath point in the processing sequence, the current toolpath point coordinates and the coordinates of the previously selected toolpath point in the processing sequence are merged into the same continuous toolpath range. If the current toolpath point coordinates are not adjacent to the coordinates of the previously selected toolpath point in the processing sequence, the current toolpath point coordinates are added to a new continuous toolpath range. Continuous toolpath ranges are used to represent toolpath segments corresponding to product boundaries, forming boundaries, product boundary judgment positions, defect judgment positions, or areas of interest for inspection.
[0041] The continuous toolpath range is marked as a speed-change avoidance section. The speed-change avoidance section does not change the machining path in the deep cavity toolpath data. The speed-change avoidance section is used to limit the toolpath section in S4 where the start and end positions of the unloading section must not fall, so that the start and end positions in the unloading boundary data are outside the speed-change avoidance section.
[0042] S3: Combining deep cavity toolpath data and machining status data, the toolpath position in the deep cavity toolpath data is correlated with the overhang state and load state to obtain the section to be unloaded.
[0043] In practice, toolpath point coordinates, machining sequence, machining tool number and original feed rate are extracted from the deep cavity toolpath data, and tool overhang data, load operation data and reference range data are extracted from the machining status data.
[0044] Based on the tool number in the deep cavity toolpath data, the tool extension length, the extension length required for shallow machining with the same tool, and the tool diameter in the tool overhang data are mapped to the toolpath point coordinates in the deep cavity toolpath data to obtain the overhang state data corresponding to the toolpath point coordinates. The overhang state data is used to record the tool extension length, the extension length required for shallow machining with the same tool, and the tool diameter at the corresponding toolpath point coordinates.
[0045] Perform a long overhang determination on the overhang data. If the tool overhang length exceeds the required overhang length for shallow machining with the same tool, and the ratio of the tool overhang length to the tool diameter is greater than or equal to the long overhang determination ratio, the corresponding toolpath point coordinates are marked as a long overhang position. The long overhang determination ratio is determined by the recommended upper limit of the length-to-diameter ratio recorded in the machining tool supply document. If the machining tool supply document does not record a recommended upper limit of the length-to-diameter ratio, the long overhang determination ratio is determined by the process database or historical qualified machining records of similar deep cavity machining objects; the long overhang determination ratio can be the maximum value of the ratio of the tool overhang length to the tool diameter in the historical qualified machining records of similar deep cavity machining objects, or the long overhang determination ratio recorded in the process database for the same machining group.
[0046] According to the machining sequence, toolpath coordinates, or interpolation position records carried or associated with the CNC operation record, the spindle load values and feed axis load values in the load operation data are mapped to the toolpath coordinates in the deep cavity toolpath data. When the CNC operation record carries toolpath coordinates, the spindle load values and feed axis load values are directly mapped to the toolpath coordinates in the deep cavity toolpath data according to the toolpath coordinates. When the CNC operation record carries interpolation position records, the interpolation position records are converted to the toolpath coordinate system according to the coordinate system transformation relationship between the interpolation coordinate system and the toolpath coordinate system carried or associated with the CNC operation record, and the interpolation position records are matched to the toolpath point coordinates with the smallest spatial distance within the same target machining sidewall in the deep cavity toolpath data; the coordinate system transformation relationship between the interpolation coordinate system and the toolpath coordinate system is recorded by the CNC operation record, machining program file, or programming software. When the CNC operation record carries or associates the tool number and machining sequence, the spindle load value and feed axis load value are mapped to the toolpath coordinates of the same tool number and machining sequence. The tool number is carried by the CNC operation record or determined by the machining program segment associated with the CNC operation record. When the CNC operation record carries two or more types of information, including toolpath coordinates, interpolation position records, and machining sequence, the corresponding method is selected according to the order of toolpath coordinates, interpolation position records, and machining sequence.
[0047] The actual feed rate in the load operation data is used to eliminate CNC operation records that do not participate in the formation of load state data. CNC operation records with an actual feed rate of 0 do not participate in the formation of load state data. When the CNC operation record contains program segment type, motion mode, or machining status fields, paused machining records, idle travel records, or non-cutting movement records are identified according to the program segment type, motion mode, or machining status fields; CNC operation records identified as paused machining records, idle travel records, or non-cutting movement records do not participate in the formation of load state data. When the absolute value of the difference between the actual feed rate and the original feed rate of the corresponding toolpath point coordinates is greater than the feed verification difference, the corresponding CNC operation record does not participate in the formation of load state data. The feed verification difference is determined by multiplying the original feed rate of the corresponding toolpath point coordinates by the allowable deviation ratio of the CNC system feed rate, or by determining the allowable deviation value of the feed rate for similar deep cavity machining objects in the process database; the allowable deviation ratio of the CNC system feed rate is read from the CNC system process parameter table or process database.
[0048] The CNC operation records generated from the load status data are organized to obtain the load status data corresponding to the toolpath point coordinates. When the same toolpath point coordinate corresponds to multiple CNC operation records generated from the load status data, the maximum spindle load value among the multiple CNC operation records is taken as the spindle load value in the load status data of the corresponding toolpath point coordinate, and the maximum feed axis load value among the multiple CNC operation records is taken as the feed axis load value in the load status data of the corresponding toolpath point coordinate.
[0049] Load deviation is determined from the load status data. The qualified machining load range in the reference range data includes the qualified spindle load range and the qualified feed axis load range. The qualified spindle load range and the qualified feed axis load range both include at least the upper limit value. The qualified spindle load range and the qualified feed axis load range are determined by historical qualified machining records or a process database of similar deep cavity machining objects. In one implementation, the upper limit value of the qualified spindle load range is taken as the maximum spindle load value in the historical qualified machining records or the upper limit value of the spindle load recorded in the process database, and the upper limit value of the qualified feed axis load range is taken as the maximum feed axis load value in the historical qualified machining records or the upper limit value of the feed axis load recorded in the process database.
[0050] When the spindle load value exceeds the upper limit of the acceptable spindle load range, or the feed axis load value exceeds the upper limit of the acceptable feed axis load range, the corresponding toolpath point coordinates are marked as load deviation positions. Load deviation positions indicate the coordinates of toolpath points where the spindle load value or feed axis load value exceeds the corresponding upper limit.
[0051] The overhang and load status data of the same toolpath point coordinates are correlated and identified. When the same toolpath point coordinates are marked as both a long overhang position and a load deviation position, the same toolpath point coordinates are marked as a position to be unloaded. The position to be unloaded is used to represent toolpath point coordinates that share both the long overhang mark and the load deviation mark.
[0052] According to the processing order, the positions to be unloaded are continuously merged. The positions to be unloaded are traversed according to the processing order, and the first position encountered is taken as the starting position of the first unloaded section. Starting from the second position, if the current position is adjacent to the previous position in the processing order, it is grouped into the same unloaded section. If the current position is not adjacent to the previous position in the processing order, it is taken as the starting position of a new unloaded section. The last position in each unloaded section is taken as the ending position of that section.
[0053] In embodiments where the machining status data includes sidewall detection deviation data, the sidewall detection deviation data is mapped to the toolpath point coordinates in the deep cavity toolpath data to supplement and verify the coverage of the section to be unloaded. The measurement position is represented by the measurement point coordinates in the target machining sidewall detection record. The coordinate system transformation relationship between the measurement coordinate system and the toolpath coordinate system is determined by the in-machine probe calibration file, contour detection equipment calibration file, vision measurement calibration file, or detection calibration file associated with the target machining sidewall detection record. According to the coordinate system transformation relationship between the measurement coordinate system and the toolpath coordinate system, after converting the measurement position in the target machining sidewall detection record to the toolpath coordinate system, the absolute value of the cumulative toolpath length difference between the measurement position and the toolpath point coordinates within the same target machining sidewall is calculated. The sidewall detection deviation data is matched to the toolpath point coordinates with the smallest absolute value of the cumulative toolpath length difference to obtain the toolpath point coordinates corresponding to the sidewall detection deviation data. When the toolpath point coordinates corresponding to contour deviation data, height abrupt change data, or surface texture interruption data in the sidewall detection deviation data are located within the section to be unloaded, the section to be unloaded remains unchanged.
[0054] When the toolpath point coordinates corresponding to the sidewall detection deviation data are located outside the section to be unloaded, the absolute value of the cumulative toolpath length difference between the toolpath point coordinates corresponding to the sidewall detection deviation data and the end of the section to be unloaded is calculated. The end of the section to be unloaded includes the start and end positions of the section to be unloaded. When the absolute value of the cumulative toolpath length difference is less than or equal to the preset deviation association length, the section to be unloaded with the smallest absolute value of the cumulative toolpath length difference is selected as the adjacent section to be unloaded, and the toolpath point coordinates between the end of the adjacent section to be unloaded and the toolpath point coordinates corresponding to the sidewall detection deviation data are incorporated into the adjacent section to be unloaded. The preset deviation association length is determined by adding the maximum sampling distance between adjacent measurement positions in the target machining sidewall detection record and the maximum cumulative toolpath length difference between adjacent toolpath point coordinates in the deep cavity toolpath data.
[0055] Sidewall detection deviation data is only used to supplement and verify the coverage area of the section to be unloaded. When sidewall detection deviation data is not collected, the continuously merged section to be unloaded is used as the output of S3. In the implementation method of collecting sidewall detection deviation data, after completing continuous merging and coverage area supplementary verification, the output of S3 is obtained as the section to be unloaded. The section to be unloaded is used in S4 to adjust the boundary avoidance at the starting and ending positions in conjunction with the variable speed avoidance section.
[0056] S4: Combine the variable speed avoidance section, adjust the boundary avoidance at the start and end positions of the section to be unloaded, and obtain the unloaded boundary data.
[0057] In practice, the variable speed avoidance section obtained in S2 and the unloading section obtained in S3 are acquired. Boundary avoidance adjustment is performed on a unit basis within the same sidewall toolpath set. When the toolpath point coordinates in the unloading section belong to the same sidewall toolpath set, the corresponding sidewall toolpath set is taken as the same sidewall toolpath set to which the unloading section belongs. When the toolpath point coordinates in the unloading section belong to different sidewall toolpath sets, the unloading section is split according to the continuity of the sidewall toolpath set and the machining sequence, so that the toolpath point coordinates in each split unloading section belong to the same sidewall toolpath set, and the toolpath point coordinates in each split unloading section are continuous in the machining sequence. Boundary avoidance adjustment is performed on each split unloading section. For each unloading section, the start position and end position of the unloading section are extracted. The start position of the unloading section is the unloading position with the earliest machining sequence in the unloading section. The end position of the unloading section is the last unloading position in the processing sequence of the unloading section.
[0058] Based on the minimum acceleration / deceleration distance of the CNC system, determine the deceleration transition length corresponding to the feed rate reduction process and the recovery transition length corresponding to the feed rate recovery process. Both the deceleration transition length and the recovery transition length can be taken from the minimum acceleration / deceleration distance of the CNC system. When the CNC system process parameter table records the deceleration distance and recovery distance separately, the deceleration distance is used as the deceleration transition length, and the recovery distance is used as the recovery transition length. The minimum acceleration / deceleration distance of the CNC system is read from the CNC system process parameter table; if the CNC system process parameter table does not record the minimum acceleration / deceleration distance, the minimum acceleration / deceleration distance is determined by multiplying the maximum value of the original feed rate corresponding to the toolpath point coordinates within the unloaded section by the minimum speed change time after unifying the units. The minimum speed change time is read from the CNC system process parameter table or the process database.
[0059] Based on the cumulative toolpath length, each variable speed avoidance section is converted into an avoidance toolpath range. For each variable speed avoidance section, the minimum cumulative toolpath length within the section is extracted as the avoidance start point, and the maximum cumulative toolpath length is extracted as the avoidance end point. The avoidance toolpath range is formed by the avoidance start point and the avoidance end point. If the cumulative toolpath length is greater than or equal to the avoidance start point of any avoidance toolpath range and less than or equal to the avoidance end point of the same avoidance toolpath range, the cumulative toolpath length is determined to be within any avoidance toolpath range. If no avoidance toolpath range exists such that the cumulative toolpath length is greater than or equal to the avoidance start point and less than or equal to the avoidance end point, the cumulative toolpath length is determined to be outside any avoidance toolpath range.
[0060] The initial starting position of the section to be unloaded is used as the initial starting position, and the cumulative toolpath length at the initial starting position is obtained. The deceleration transition toolpath range is formed by taking the cumulative toolpath length corresponding to the initial starting position as the starting point and the sum of the cumulative toolpath length corresponding to the initial starting position and the deceleration transition length as the ending point. In this embodiment, the cumulative toolpath length refers to the toolpath length accumulated from the coordinates of the first toolpath point in the sidewall toolpath set to the toolpath position, along the machining sequence in the deep cavity toolpath data to that toolpath position. The deceleration transition toolpath range starts with the cumulative toolpath length at the initial starting position and ends with the sum of the cumulative toolpath length at the initial starting position and the deceleration transition length. When the maximum value at the starting point of two cumulative toolpath length intervals is less than or equal to the minimum value at the ending point of two cumulative toolpath length intervals, it is determined that the two cumulative toolpath length intervals overlap.
[0061] If the cumulative toolpath length at the initial starting position falls within the range of any avoidance toolpath, or if the cumulative toolpath length interval corresponding to the deceleration transition toolpath range overlaps with the cumulative toolpath length interval corresponding to any avoidance toolpath range, the toolpath point coordinates are traversed in the reverse direction of the machining sequence within the same sidewall toolpath set belonging to the section to be deloaded. The currently traversed toolpath point coordinates are used as the candidate starting position, and a candidate deceleration transition toolpath range is formed based on the cumulative toolpath length and deceleration transition length of the candidate starting position. The candidate deceleration transition toolpath range begins with the cumulative toolpath length of the candidate starting position and ends with the sum of the cumulative toolpath length and deceleration transition length. If the cumulative toolpath length at the candidate starting position does not fall within the range of any avoidance toolpath, and the cumulative toolpath length interval corresponding to the candidate deceleration transition toolpath range does not overlap with the cumulative toolpath length interval corresponding to any avoidance toolpath range, the first traversed candidate starting position is used as the adjusted starting position. The machining sequence of the adjusted starting position is earlier than or equal to the initial starting position.
[0062] If the cumulative length of the toolpath at the initial starting position is not within the range of any avoidance toolpath, and the cumulative length interval of the toolpath corresponding to the deceleration transition toolpath range does not overlap with the cumulative length interval of the toolpath corresponding to any avoidance toolpath range, the initial starting position is retained as the adjusted starting position.
[0063] The initial end position is taken as the end position of the section to be unloaded. The recovery transition toolpath range is formed based on the cumulative toolpath length and recovery transition length at the initial end position. The recovery transition toolpath range starts at the cumulative toolpath length obtained by subtracting the recovery transition length from the cumulative toolpath length at the initial end position, and ends at the cumulative toolpath length at the initial end position.
[0064] If the cumulative length of the toolpath at the initial end position is within any avoidance toolpath range, or if the cumulative length interval of the toolpath corresponding to the recovery transition toolpath range overlaps with the cumulative length interval of the toolpath corresponding to any avoidance toolpath range, the toolpath point coordinates are traversed along the machining sequence within the same sidewall toolpath set to which the load-reducing section belongs. The currently traversed toolpath point coordinates are used as candidate end positions, and a candidate recovery transition toolpath range is formed based on the cumulative length of the toolpath at the candidate end position and the recovery transition length. The candidate recovery transition toolpath range starts with the cumulative length of the toolpath obtained by subtracting the recovery transition length from the cumulative length of the toolpath at the candidate end position, and ends with the cumulative length of the toolpath at the candidate end position. If the cumulative length of the toolpath at the candidate end position is not within any avoidance toolpath range, and the cumulative length interval of the toolpath corresponding to the candidate recovery transition toolpath range does not overlap with the cumulative length interval of the toolpath corresponding to any avoidance toolpath range, the current candidate end position is written into the candidate end position set. After traversing the toolpath point coordinates after the end position of the load-reducing section within the same sidewall toolpath set along the machining sequence, the candidate end position set is obtained. The processing sequence of the adjusted ending position is later than or equal to the initial ending position.
[0065] If the cumulative length of the toolpath at the initial end position is not within the range of any avoidance toolpath, and the cumulative length interval of the toolpath corresponding to the restored transition toolpath range does not overlap with the cumulative length interval of the toolpath corresponding to any avoidance toolpath range, the initial end position is retained as the adjusted end position.
[0066] Candidate boundary filtering is performed on the candidate start position set and the candidate end position set. The toolpath range between the candidate start position and the start position of the section to be unloaded is determined as the candidate boundary range corresponding to the candidate start position, and the toolpath range between the end position of the section to be unloaded and the candidate end position is determined as the candidate boundary range corresponding to the candidate end position.
[0067] For each candidate boundary range, extract the tool extension length, the extension length required for shallow machining with the same tool, the tool diameter, the spindle load value, and the feed axis load value corresponding to the coordinates of each toolpath point within the candidate boundary range. Based on the excess between the tool extension length and the extension length required for shallow machining with the same tool, the excess of the spindle load value relative to the upper limit of the qualified spindle load range, and the excess of the feed axis load value relative to the upper limit of the qualified feed axis load range, obtain the overhang load disturbance amount at each toolpath point coordinate, and accumulate them according to the candidate boundary range to obtain the cumulative overhang load disturbance amount.
[0068] Determine the maximum value of the boundary movement length and boundary influence for each candidate boundary range; perform normalization processing according to the direction that the normalized value increases as the maximum value of the boundary movement length and boundary influence increases, and the normalized value decreases as the cumulative amount of overhang load disturbance increases, to obtain the boundary movement term, boundary influence term, and disturbance coverage term; use the screening influence coefficients corresponding to the boundary movement term, boundary influence term, and disturbance coverage term respectively for weighted summation to obtain the boundary screening quantity for each candidate boundary range.
[0069] The candidate start and end positions with the smallest boundary screening amounts are selected as the adjusted start and end positions, respectively. Following the machining sequence, the toolpath coordinates between the adjusted start and end positions are extracted to form the load reduction toolpath range. The adjusted start position is used as the start position in the load reduction boundary data, and the adjusted end position is used as the end position in the load reduction boundary data. The load reduction toolpath range is then written into the load reduction boundary data.
[0070] The cumulative toolpath length at the starting position and the cumulative toolpath length at the ending position in the load reduction boundary data are both not located within any avoidance toolpath range. The cumulative toolpath length interval corresponding to the deceleration transition toolpath range formed by taking the cumulative toolpath length at the starting position in the load reduction boundary data as the starting point and the cumulative toolpath length at the starting position plus the deceleration transition length as the ending point does not overlap with the cumulative toolpath length interval corresponding to any avoidance toolpath range. The cumulative toolpath length interval corresponding to the recovery transition toolpath range formed by taking the cumulative toolpath length obtained by subtracting the recovery transition length from the cumulative toolpath length at the ending position in the load reduction boundary data as the starting point and the cumulative toolpath length at the ending position as the ending point does not overlap with the cumulative toolpath length interval corresponding to any avoidance toolpath range. The load reduction boundary data is used in S5 to limit the toolpath range for feed rate load reduction processing in the deep cavity toolpath data.
[0071] S5: According to the toolpath range defined by the load reduction boundary data, the feed rate in the deep cavity toolpath data is subjected to load reduction processing to obtain the feed load reduction result.
[0072] In practice, the load reduction boundary data obtained in S4 is acquired, and the start position, end position, and load reduction toolpath range are extracted from the load reduction boundary data. The load reduction toolpath range is used to define the range of toolpath positions that form the coordinates of the load reduction execution toolpath points. The start position in the load reduction boundary data is used as the feed rate reduction start point, and the end position in the load reduction boundary data is used as the feed rate recovery start point. The feed rate reduction start point is used to indicate the starting toolpath position of the feed rate reduction process. The feed rate recovery start point is used to indicate the starting toolpath position of the feed rate recovery process.
[0073] Based on the start and end positions in the load reduction boundary data, determine the toolpath coordinates for load reduction execution. Toolpath coordinates where the machining sequence is greater than or equal to the machining sequence corresponding to the start position but less than the machining sequence corresponding to the end position are used as the toolpath coordinates for load reduction execution. The toolpath coordinates corresponding to the end position are not used as the toolpath coordinates for load reduction execution; instead, they are used as the toolpath coordinates corresponding to the feed rate recovery start point and are used to write the recovered feed rate.
[0074] The raw feed rate corresponding to the coordinates of the deload execution toolpath point is extracted from the deep cavity toolpath data, and the tool overhang data, load operation data, and reference range data corresponding to the coordinates of the deload execution toolpath point are extracted from the machining status data. The reference range data includes the qualified machining feed rate range, the qualified spindle load range, and the qualified feed axis load range. The qualified machining feed rate range includes the lower limit and upper limit of the qualified feed rate. The lower limit of the qualified feed rate is determined by the minimum boundary value of the qualified machining feed rate range, and the upper limit of the qualified feed rate is determined by the maximum boundary value of the qualified machining feed rate range. The qualified machining feed rate range, the qualified spindle load range, and the qualified feed axis load range are determined from the historical qualified machining records or the process database in S1.
[0075] The minimum value among the original feed rates corresponding to the toolpath point coordinates during the load reduction execution is taken as the original feed rate of the section. The ratio of the tool extension length to the tool diameter corresponding to the toolpath point coordinates during the load reduction execution is calculated, and the maximum value among these ratios is taken as the section overhang ratio. The maximum value among the spindle load values corresponding to the toolpath point coordinates during the load reduction execution is taken as the section spindle load value. The maximum value among the feed axis load values corresponding to the toolpath point coordinates during the load reduction execution is taken as the section feed axis load value. The original feed rate of the section, the section overhang ratio, the section spindle load value, and the section feed axis load value are used to determine the feed rate data after the load reduction process.
[0076] Candidate feed rate values are generated based on the acceptable machining feed rate range and the feed rate resolution supported by the CNC system. The feed rate resolution supported by the CNC system is read from the CNC system process parameter table or machining program file. The CNC system-writable speed values are the feed rate values allowed to be written in the CNC system process parameter table or machining program file. If the CNC system process parameter table and machining program file do not record a set of allowed feed rate values, 0 is used as the speed reference, and positive integer multiples of the feed rate resolution supported by the CNC system are used as the CNC system-writable speed values. When the acceptable feed rate lower limit is among the CNC system-writable speed values, the acceptable feed rate lower limit is used as the starting speed value of the initial feed rate sequence. When the acceptable feed rate lower limit is not among the CNC system-writable speed values, the smallest speed value greater than the acceptable feed rate lower limit and among the CNC system-writable speed values is used as the starting speed value of the initial feed rate sequence. Starting with the initial speed value, CNC system-writable speed values less than or equal to the upper limit of the qualified feed rate are sequentially added to the initial feed rate sequence, increasing incrementally according to the feed rate resolution supported by the CNC system. When the incremented speed value exceeds the upper limit of the qualified feed rate, the addition of speed values stops, resulting in the initial feed rate sequence. From the initial feed rate sequence, speed values greater than or equal to the original feed rate of the section are removed, and speed values greater than or equal to the lower limit of the qualified feed rate, less than or equal to the upper limit of the qualified feed rate, and less than the original feed rate of the section are retained, resulting in candidate feed rate values.
[0077] When the candidate feed rate value is empty, a uniform de-loading feed rate is not generated. Instead, the original feed rate corresponding to each toolpath point coordinate during de-loading is used as the lower limit of the feed rate for that toolpath point coordinate, and a lower limit holding mark is recorded in the feed de-loading result. The lower limit holding mark indicates that the original feed rate of the section is less than or equal to the lower limit of the qualified feed rate, or that there is no candidate feed rate value that is less than the original feed rate of the section and belongs to the speed value that can be written by the CNC system. The de-loading process corresponding to the lower limit holding mark does not change the original feed rate corresponding to the toolpath point coordinate during de-loading. When the candidate feed rate value is not empty, a de-loading feed rate is selected from the candidate feed rate values based on the section overhang ratio, section spindle load value, section feed axis load value, qualified spindle load range, and qualified feed axis load range, and a speed reduction mark is recorded in the feed de-loading result. The speed reduction mark indicates that the de-loading feed rate is less than the original feed rate of the section. The feed rate data after deload processing includes the deload feed rate corresponding to the speed reduction marker, and the lower limit hold feed rate corresponding to the coordinates of each deload execution toolpath point corresponding to the lower limit hold marker.
[0078] The qualified spindle load range must include at least the upper limit value, and the qualified feed axis load range must also include at least the upper limit value. The load reduction boundary data is formed by adjusting the boundary of the section to be reduced in S3 using S4. The section overhang ratio is used to accept the long overhang position judgment result in S3, and the section spindle load value and section feed axis load value are used to accept the load deviation position judgment result in S3. If the candidate feed rate value is not empty, the section overhang ratio is greater than or equal to the long overhang judgment ratio in S3, the section spindle load value is greater than the upper limit value of the qualified spindle load range, and the section feed axis load value is less than or equal to the upper limit value of the qualified feed axis load range, the maximum value among the candidate feed rate values is selected as the load reduction feed rate. If the candidate feed rate value is not empty, the section overhang ratio is greater than or equal to the long overhang judgment ratio in S3, the section spindle load value is less than or equal to the upper limit of the qualified spindle load range, and the section feed axis load value is greater than the upper limit of the qualified feed axis load range, the maximum value among the candidate feed rate values is selected as the deload feed rate. If the candidate feed rate value is not empty, the section overhang ratio is greater than or equal to the long overhang judgment ratio in S3, the section spindle load value is greater than the upper limit of the qualified spindle load range, and the section feed axis load value is greater than the upper limit of the qualified feed axis load range, the candidate feed rate values are sorted from largest to smallest, and the candidate feed rate value in the middle position after sorting is selected as the deload feed rate. If the number of candidate feed rate values is even, the candidate feed rate value with the smaller value among the two middle candidate feed rate values is selected as the deload feed rate. If the candidate feed rate value is not empty, and none of the aforementioned conditions for selecting the deload feed rate are met, the maximum value among the candidate feed rate values is selected as the deload feed rate. When the candidate feed rate value is not empty, the deload feed rate is less than the original feed rate of the section and is within the range of qualified machining feed rates.
[0079] In the processing method corresponding to the speed reduction flag, the deload feed rate is written into the feed rate field corresponding to the deload execution toolpath point coordinates in the deep cavity toolpath data. In the processing method corresponding to the lower limit maintenance flag, the original feed rate corresponding to the deload execution toolpath point coordinates in the deep cavity toolpath data is kept unchanged. The original feed rate corresponding to the toolpath point coordinates of the feed rate recovery start point is used as the recovery feed rate, and the recovery feed rate is written into the feed rate field corresponding to the toolpath point coordinates of the feed rate recovery start point in the deep cavity toolpath data. The updated deep cavity toolpath data is used to represent the toolpath data after the feed rate deload processing is completed.
[0080] When writing back to the CNC system for execution is required, the machining program segment is generated or updated based on the updated deep cavity toolpath data. The machining program segment corresponding to the feed rate reduction start point is the machining program segment starting from the starting position in the load reduction boundary data. The machining program segment corresponding to the feed rate recovery start point is the machining program segment starting from the ending position in the load reduction boundary data. In the processing method corresponding to the speed reduction mark, the load reduction feed rate is written into the machining program segment corresponding to the feed rate reduction start point, and the recovery feed rate is written into the machining program segment corresponding to the feed rate recovery start point, resulting in the updated machining program segment. In the processing method corresponding to the lower limit retention mark, the original feed rate in the machining program segment corresponding to the feed rate reduction start point is retained; if the feed rate field in the machining program segment corresponding to the feed rate recovery start point is consistent with the recovery feed rate, the machining program segment corresponding to the feed rate recovery start point is retained; if the feed rate field in the machining program segment corresponding to the feed rate recovery start point is inconsistent with the recovery feed rate, the recovery feed rate is written into the machining program segment corresponding to the feed rate recovery start point, resulting in the updated machining program segment.
[0081] The feed deload result includes the deload toolpath range, coordinates of the deload execution toolpath point, feed rate reduction start point, feed rate recovery start point, feed rate data after deload processing, recovered feed rate, updated deep cavity toolpath data, and deload status flags. The deload status flags include a speed reduction flag or a lower limit hold flag. When writing back to the CNC system for execution is required, the feed deload result also includes the updated machining program segment. The feed deload result is used during the machining of the target sidewall of a deep cavity object to ensure that the machining tool performs machining at the toolpath position corresponding to the deload execution toolpath point coordinates according to the feed rate data after deload processing, and at the toolpath position corresponding to the feed rate recovery start point according to the recovered feed rate, and then continues machining according to the updated deep cavity toolpath data.
[0082] Through processing steps S1 to S5, the feed deload result does not directly reduce the feed rate in the deep cavity toolpath data after the spindle load value exceeds the upper limit of the qualified spindle load range or the feed axis load value exceeds the upper limit of the qualified feed axis load range. Instead, it first obtains the speed-avoidance section through the position mapping of boundary judgment data and deep cavity toolpath data, and then identifies the section to be deloaded through the association of overhang state and load state. When generating deload boundary data, the start and end positions of the section to be deloaded are adjusted to be outside the speed-avoidance section. The feed deload result ensures that the feed rate reduction start point and feed rate recovery start point avoid the target machining sidewall position corresponding to the cage product boundary, forming boundary, product boundary judgment position, defect judgment position, or inspection interest area.
[0083] Example 2: In some embodiments, the formation process of the variable speed avoidance section may include boundary influence quantization processing. Boundary influence quantization processing is used to calculate the distance attenuation of boundary objects after the boundary determination data is mapped to the toolpath coordinate system, and to determine the degree to which the toolpath point coordinates are affected by the boundary objects according to the boundary weights corresponding to the boundary object types.
[0084] In practice, the boundary mapping positions, the mapping range of the region of interest, the set of sidewall toolpaths, and the cumulative length of toolpaths formed in S2 are obtained. The boundary mapping positions are derived from the corresponding positions of the product boundary, the corresponding positions of the forming boundary, the product boundary judgment position, and the defect judgment position. The mapping range of the region of interest is derived from the area of interest to be detected. Each boundary mapping position is treated as a point-like boundary object, and each continuous mapping range of the region of interest is treated as a range boundary object. The point-like boundary objects and the range boundary objects together serve as the boundary objects participating in the boundary influence quantification processing.
[0085] For each toolpath point coordinate in the sidewall toolpath set, calculate the cumulative toolpath length distance between the toolpath point coordinate and each boundary object. When the boundary object is a point boundary object, the cumulative toolpath length distance is the absolute value of the difference between the cumulative toolpath length of the toolpath point coordinate and the corresponding cumulative toolpath length of the point boundary object. When the boundary object is a range boundary object, extract the cumulative toolpath length at the start of the range boundary object and the cumulative toolpath length at the end of the range boundary object. If the cumulative toolpath length of the toolpath point coordinate is greater than or equal to the cumulative toolpath length at the start of the range and less than or equal to the cumulative toolpath length at the end of the range, the cumulative toolpath length distance is 0. If the cumulative toolpath length of the toolpath point coordinate is less than the cumulative toolpath length at the start of the range, the cumulative toolpath length distance is the difference between the cumulative toolpath length at the start of the range and the cumulative toolpath length of the toolpath point coordinate. If the cumulative toolpath length of the toolpath point coordinate is greater than the cumulative toolpath length at the end of the range, the cumulative toolpath length distance is the difference between the cumulative toolpath length at the point and the cumulative toolpath length at the end of the range.
[0086] By combining the boundary weights and boundary expansion scales corresponding to each boundary object, the boundary influence corresponding to the toolpath point coordinates is calculated. The boundary influence can be calculated using the following formula: ; In the formula, For the first Boundary influence quantity corresponding to the coordinates of each toolpath point; The number of boundary objects involved in the boundary influence quantification process within the sidewall of the same target processing; For the first The coordinates of the first toolpath point and the first The cumulative length distance of the toolpath between boundary objects; For the first The boundary weights corresponding to each boundary object; For the first The boundary expansion scale corresponding to each boundary object.
[0087] Boundary weights are determined by the boundary object type. Boundary object types include the corresponding position of the forming boundary, the corresponding position of the product boundary, the product boundary judgment position, the defect judgment position, and the inspection focus area. Boundary weights can be read from product inspection standards, visual screening standards, or process inspection files. When the same boundary object has its boundary weight recorded in more than two files (product inspection standards, visual screening standards, and process inspection files), the boundary weights are read in the order of process inspection files, visual screening standards, and product inspection standards. When reading boundary weights from product inspection standards, visual screening standards, or process inspection files, if any boundary weight greater than 0 in the same reading source is greater than 1, then each boundary weight greater than 0 in the same reading source is divided by the maximum value of the boundary weight greater than 0 recorded in the same reading source to obtain the normalized boundary weight. For boundary objects whose boundary weights are not read, or whose read boundary weights are less than or equal to 0, type numbers are set according to the boundary object type: type number 1 for the forming boundary, type number 2 for the product boundary, type number 3 for the product boundary judgment location, type number 4 for the defect judgment location, and type number 5 for the detection interest area; the total number of boundary object types is 5, and the ratio of the type number of each boundary object type to the total number of boundary object types is used as the corresponding boundary weight. The boundary weight obtained by reading, normalizing, or assigning type numbers is greater than 0 and less than or equal to 1.
[0088] The boundary extension scale represents the range of toolpath lengths by which a boundary object influences the coordinates of surrounding toolpath points. In one implementation, the boundary avoidance distance in S2 is used as the boundary extension scale for point-like boundary objects. In another implementation, when product inspection standards, visual screening standards, or process inspection documents require differentiation of the influence range according to the boundary object type, the boundary avoidance distance in S2 is multiplied by the corresponding boundary weight to obtain the boundary extension scale for point-like boundary objects. For range boundary objects, the boundary extension scale is determined by the absolute value of the difference between the cumulative length of the starting toolpath and the cumulative length of the ending toolpath of the range boundary object; if the absolute value of the difference is less than the boundary avoidance distance, the boundary avoidance distance is used as the boundary extension scale for the range boundary object. The boundary extension scale is greater than 0.
[0089] Boundary influence is used to mark the coordinates of toolpath points affected by boundary objects. Speed change position refers to the toolpath position where the feed rate changes in the historical qualified machining record. Trial machining speed change position refers to the toolpath position where the feed rate changes in the trial machining record of the same machining group. If the feed rates corresponding to two adjacent toolpath positions are different, or if a new feed rate is written to the machining program segment corresponding to the same toolpath position, the corresponding toolpath position will be identified as the toolpath position where the feed rate changes. The trial machining inspection and verification record is used to record the verification results after the trial machining speed change position is completed.
[0090] If historical qualified machining records are associated with inspection and verification records, and if variable speed positions exist within these historical qualified machining records, the variable speed positions corresponding to inspection and verification records whose results do not contain misjudgments of product boundaries, defects, or surface texture continuity are selected from the variable speed positions in the historical qualified machining records. These variable speed positions are then used to obtain available variable speed positions. When available variable speed positions exist, the boundary influence quantity corresponding to the available variable speed position is calculated according to the boundary influence quantity formula, and the maximum value of the boundary influence quantity corresponding to the available variable speed position is used as the boundary influence threshold. When calculating the boundary influence quantity corresponding to the available variable speed position according to the boundary influence quantity formula, the cumulative toolpath length corresponding to the available variable speed position is used as the cumulative toolpath length of the toolpath point coordinates. Furthermore, the boundary influence quantity corresponding to the available variable speed position is calculated based on the boundary object, boundary weight, and boundary expansion scale within the target machining sidewall to which the available variable speed position belongs.
[0091] If historical qualified processing records are not associated with inspection and verification records, or if there are no speed change positions in the historical qualified processing records, or if no usable speed change positions are found through screening, the boundary influence threshold of the same processing group records in the process database is read. If the boundary influence threshold of the same processing group records in the process database is greater than 0 and less than or equal to 1, the boundary influence threshold of the same processing group records in the process database is used as the boundary influence threshold.
[0092] If the process database does not record the boundary influence threshold for the same processing group, or if the boundary influence threshold for the same processing group recorded in the process database is less than or equal to 0, or if the boundary influence threshold for the same processing group recorded in the process database is greater than 1, the trial processing inspection and verification records for the same processing group are extracted. If trial processing speed change positions exist in the trial processing inspection and verification records, the trial processing speed change positions corresponding to trial processing inspection and verification records whose record results do not contain product boundary misjudgments, defect misjudgments, or surface texture continuity misjudgments are selected from the trial processing speed change positions to obtain the usable trial processing speed change positions. When usable trial processing speed change positions exist, the boundary influence quantity corresponding to the usable trial processing speed change position is calculated according to the boundary influence quantity formula, and the maximum value of the boundary influence quantity corresponding to the usable trial processing speed change position is used as the boundary influence threshold. When calculating the boundary influence quantity corresponding to the usable trial processing speed change position according to the boundary influence quantity formula, the cumulative toolpath length corresponding to the usable trial processing speed change position is used as the cumulative toolpath length of the toolpath point coordinates, and the boundary influence quantity corresponding to the usable trial processing speed change position is calculated based on the boundary object, boundary weight, and boundary expansion scale within the target processing sidewall to which the usable trial processing speed change position belongs.
[0093] After obtaining the boundary influence threshold, the coordinates of toolpath points whose boundary influence is greater than or equal to the boundary influence threshold are marked as boundary influence toolpath points. After obtaining the boundary influence toolpath points, they are merged with the boundary-adjacent toolpath points and the toolpath points in the area of interest in S2 to obtain avoidance candidate toolpath points. According to the processing order, the avoidance candidate toolpath points are deduplicated and continuously merged to obtain the supplemented variable speed avoidance section.
[0094] If the process database does not record the boundary influence threshold of the same processing group, the boundary influence threshold of the same processing group recorded in the process database is less than or equal to 0, or the boundary influence threshold of the same processing group recorded in the process database is greater than 1, and the trial processing inspection and verification record of the same processing group is not obtained, then the supplementary merging of the boundary influence toolpath points will not be performed. Instead, the variable speed avoidance section obtained by continuously merging the boundary adjacent toolpath points and the toolpath points of the area of interest in S2 will be used as the variable speed avoidance section corresponding to the boundary influence quantification processing.
[0095] If the process database does not record the boundary influence threshold of the same processing group, the boundary influence threshold of the same processing group in the process database is less than or equal to 0, or the boundary influence threshold of the same processing group in the process database is greater than 1, and the trial processing inspection and verification record of the same processing group has been obtained, but there is no trial processing speed change position in the trial processing inspection and verification record, or no usable trial processing speed change position has been screened, then the supplementary merging of the boundary influence toolpath points will not be performed. The speed change avoidance section obtained by continuously merging the toolpath points adjacent to the boundary and the toolpath points in the area of interest in S2 will be taken as the speed change avoidance section corresponding to the boundary influence quantification processing.
[0096] Example 3: In some embodiments, the process of forming the section to be unloaded may include overhang load disturbance quantization processing. Overhang load disturbance quantization processing is used to perform correlation calculations on the overhang state data, load state data, and reference range data corresponding to the same toolpath point coordinates, and to convert the long overhang state and load deviation state into overhang load disturbance quantities.
[0097] In practice, the overhang state data, load state data, and reference range data generated in S3 are acquired. The overhang state data includes the tool extension length, the extension length required for shallow machining with the same tool, and the tool diameter. The load state data includes the spindle load value and the feed axis load value. The reference range data includes the acceptable spindle load range and the acceptable feed axis load range. The acceptable spindle load range includes the upper and lower limits of the acceptable spindle load range. The acceptable feed axis load range includes the upper and lower limits of the acceptable feed axis load range.
[0098] If the reference range data does not record the upper limit of the qualified spindle load range, or if the reference range data does not record the upper limit of the qualified feed axis load range, overhang load disturbance quantization processing is not performed. Instead, the load reduction section output by S3 is used as the load reduction section corresponding to the overhang load disturbance quantization processing. If the reference range data does not record the lower limit of the qualified spindle load range, and the historical qualified machining records of the same machining group contain spindle load values, the minimum spindle load value is extracted from the historical qualified machining records of the same machining group as the lower limit of the qualified spindle load range. If the reference range data does not record the lower limit of the qualified spindle load range, and the historical qualified machining records of the same machining group do not record spindle load values, overhang load disturbance quantization processing is not performed. Instead, the load reduction section output by S3 is used as the load reduction section corresponding to the overhang load disturbance quantization processing. If the reference range data does not record the lower limit of the qualified feed axis load range, and the historical qualified machining records of the same machining group contain feed axis load values, the minimum feed axis load value is extracted from the historical qualified machining records of the same machining group as the lower limit of the qualified feed axis load range. If the reference range data does not record the lower limit of the qualified feed axis load range, and the historical qualified machining records of the same machining group do not record feed axis load values, overhang load disturbance quantization processing is not performed, and the section to be de-loaded output by S3 is used as the section to be de-loaded corresponding to the overhang load disturbance quantization processing. If the upper limit of the qualified spindle load range is less than or equal to the lower limit of the qualified spindle load range, or if the upper limit of the qualified feed axis load range is less than or equal to the lower limit of the qualified feed axis load range, overhang load disturbance quantization processing is not performed, and the section to be de-loaded output by S3 is used as the section to be de-loaded corresponding to the overhang load disturbance quantization processing.
[0099] For toolpath point coordinates in deep cavity toolpath data, extract the tool extension length, the required extension length for shallow machining with the same tool, the tool diameter, the spindle load value, and the feed axis load value corresponding to the same toolpath point coordinates. If the tool extension length, the required extension length for shallow machining with the same tool, the tool diameter, the spindle load value, and the feed axis load value are all recorded, and the tool diameter is greater than 0, the corresponding toolpath point coordinates are used as calculable toolpath point coordinates. If any of these three values are not recorded, or if the tool diameter is less than or equal to 0, the overhang load disturbance amount for the corresponding toolpath point coordinates is not calculated. If calculable toolpath point coordinates do not exist, overhang load disturbance quantization is not performed, and the unloaded section output by S3 is used as the unloaded section corresponding to the overhang load disturbance quantization.
[0100] For each calculable toolpath point coordinate, the difference between the tool extension length and the extension length required for shallow machining with the same tool is converted into overhang. When the overhang is greater than 0, the overhang is taken as the difference between the tool extension length and the extension length required for shallow machining with the same tool; when the overhang is less than or equal to 0, the overhang is taken as 0. The difference between the spindle load value and the upper limit of the acceptable spindle load range is converted into spindle load deviation. When the spindle load deviation is greater than 0, the spindle load deviation is taken as the difference between the spindle load value and the upper limit of the acceptable spindle load range; when the spindle load deviation is less than or equal to 0, the spindle load deviation is taken as 0. The difference between the feed axis load value and the upper limit of the acceptable feed axis load range is converted into feed axis load deviation. When the feed axis load deviation is greater than 0, the feed axis load deviation is taken as the difference between the feed axis load value and the upper limit of the acceptable feed axis load range; when the feed axis load deviation is less than or equal to 0, the feed axis load deviation is taken as 0. The overhang is recorded as The spindle load deviation is recorded as The feed axis load deviation is denoted as Based on the overhang excess, spindle load deviation, and feed axis load deviation, calculate the overhang load disturbance corresponding to the toolpath point coordinates. The overhang load disturbance can be calculated using the following formula: ; In the formula, For the first The overhang load disturbance corresponding to the coordinates of each toolpath point; For the first The tool extension length corresponding to the coordinates of each toolpath point; For the first The required extension length for shallow machining of the same machining tool corresponding to each toolpath point coordinate; For the first The tool diameter corresponding to each toolpath point coordinate. Greater than 0; For the first The spindle load value corresponding to the coordinates of each toolpath point; For the first The feed axis load value corresponding to the coordinates of each toolpath point; For the first The upper limit of the qualified spindle load range corresponding to each toolpath point coordinate; For the first The lower limit of the qualified spindle load range corresponding to each toolpath point coordinate; For the first The upper limit of the qualified feed axis load range corresponding to each toolpath point coordinate; For the first The lower limit of the qualified feed axis load range corresponding to each toolpath point coordinate; Indicates when Take when greater than 0 ,when The value is 0 when it is less than or equal to 0; The spindle load influence coefficient; This is the feed axis load influence coefficient.
[0101] The spindle load influence coefficient and feed axis load influence coefficient are used to allocate the participation ratio of spindle load deviation and feed axis load deviation in the overhang load disturbance. First, the spindle load influence coefficient and feed axis load influence coefficient are read from the process database. The process database records both the spindle load influence coefficient and the feed axis load influence coefficient. When both the spindle load influence coefficient and feed axis load influence coefficient read from the process database are greater than 0, the normalized spindle load influence coefficient is obtained by dividing the spindle load influence coefficient read from the process database by the sum of the two influence coefficients; similarly, the normalized feed axis load influence coefficient is obtained by dividing the feed axis load influence coefficient read from the process database by the sum of the two influence coefficients.
[0102] If the process database does not simultaneously record the spindle load influence coefficient and the feed axis load influence coefficient, or if the spindle load influence coefficient read from the process database is less than or equal to 0, or if the feed axis load influence coefficient read from the process database is less than or equal to 0, the spindle load influence coefficient and the feed axis load influence coefficient are read from the load influence coefficient field of the historical qualified machining records of the same machining group. If the load influence coefficient field of the historical qualified machining records simultaneously records the spindle load influence coefficient and the feed axis load influence coefficient, and both the spindle load influence coefficient and the feed axis load influence coefficient read from the load influence coefficient field of the historical qualified machining records are greater than 0, the normalized spindle load influence coefficient is obtained by dividing the spindle load influence coefficient read from the load influence coefficient field of the historical qualified machining records by the sum of the two influence coefficients; the normalized feed axis load influence coefficient is obtained by dividing the feed axis load influence coefficient read from the load influence coefficient field of the historical qualified machining records by the sum of the two influence coefficients.
[0103] If the load influence coefficient field in the historical qualified machining record does not record both the spindle load influence coefficient and the feed axis load influence coefficient, or if the spindle load influence coefficient read from the load influence coefficient field in the historical qualified machining record is less than or equal to 0, or if the feed axis load influence coefficient read from the load influence coefficient field in the historical qualified machining record is less than or equal to 0, then the spindle load influence coefficient is set to 0.5, and the feed axis load influence coefficient is set to 0.5. Use the normalized spindle load influence coefficient or a spindle load influence coefficient with a value of 0.5. The normalized feed axis load influence coefficient or a feed axis load influence coefficient with a value of 0.5 is adopted. The sum of them equals 1.
[0104] The overhang load disturbance is used to mark the degree of disturbance of the toolpath point coordinates under the combined effects of the long overhang state and the load deviation state. When the overhang load disturbance is greater than or equal to the overhang load disturbance threshold, and the same toolpath point coordinates belong to both the long overhang position and the load deviation position in S3, the same toolpath point coordinates are marked as a disturbance-enhanced toolpath point. The disturbance-enhanced toolpath point is used to mark the disturbance intensity of the position to be unloaded in S3.
[0105] The overhang load disturbance threshold can be determined from the historical qualified machining records of the same machining group. When historically calculable toolpath point coordinates exist in the historical qualified machining records, the historical overhang load disturbance amount corresponding to the historically calculable toolpath point coordinates is calculated according to the overhang load disturbance amount formula based on the tool extension length, the extension length required for shallow machining of the same machining tool, the tool diameter, the spindle load value, the feed axis load value, the qualified spindle load range, and the qualified feed axis load range in the historical qualified machining records. The historically calculable toolpath point coordinates refer to the historical toolpath point coordinates that simultaneously record the tool extension length, the extension length required for shallow machining of the same machining tool, the tool diameter, the spindle load value, the feed axis load value, the upper limit of the qualified spindle load range, the lower limit of the qualified spindle load range, the upper limit of the qualified feed axis load range, and the lower limit of the qualified feed axis load range, and where the tool diameter is greater than 0, the upper limit of the qualified spindle load range is greater than the lower limit of the qualified spindle load range, and the upper limit of the qualified feed axis load range is greater than the lower limit of the qualified feed axis load range.
[0106] If the maximum value among historical overhang load disturbance values is greater than 0, the maximum value among historical overhang load disturbance values is used as the overhang load disturbance threshold. If there are no historically calculable toolpath point coordinates in the historical qualified machining records, or if the maximum value among historical overhang load disturbance values is equal to 0, the overhang load disturbance threshold of the same machining group record in the process database is read. If the overhang load disturbance threshold of the same machining group record in the process database is greater than 0, the overhang load disturbance threshold of the same machining group record in the process database is used as the overhang load disturbance threshold.
[0107] If the process database does not record the overhang load disturbance threshold for the same processing group, or if the overhang load disturbance threshold recorded for the same processing group in the process database is less than or equal to 0, the disturbance enhancement flag will not be written, and the section to be unloaded output by S3 will be used as the section to be unloaded corresponding to the overhang load disturbance quantization process.
[0108] After obtaining the overhang load disturbance threshold, for the load reduction positions in the output section of S3 that belong to the computable toolpath point coordinates, the corresponding overhang load disturbance amount is written into the output section of S3. For the load reduction positions in the output section of S3 that do not belong to the computable toolpath point coordinates, the overhang load disturbance amount is not written, but the load reduction position mark in S3 is retained. Load reduction positions that belong to the disturbance enhancement toolpath point are written with a disturbance enhancement mark. Load reduction positions that belong to the computable toolpath point coordinates but do not belong to the disturbance enhancement toolpath point are written with a normal disturbance mark. The normal disturbance mark is used to indicate that the load reduction position has formed an overhang load disturbance amount, and the load reduction position has not been marked as a disturbance enhancement toolpath point. After completing the writing of the overhang load disturbance amount, the disturbance enhancement mark, and the normal disturbance mark, the quantized and marked load reduction section is obtained. The quantized and marked unloaded section is used in S4 to adjust the boundary avoidance of the starting and ending positions in conjunction with the variable speed avoidance section, and is used in S5 to determine the feed speed data after unloading based on the amount of overhang load disturbance.
[0109] Example 4: In some embodiments, the process of forming load reduction boundary data may include a secondary screening process for candidate boundaries. This secondary screening process forms a set of candidate start positions and a set of candidate end positions. When the set of candidate start positions contains two or more candidate start positions, or the set of candidate end positions contains two or more candidate end positions, the candidate start positions or candidate end positions are screened to determine the start and end positions to be written into the load reduction boundary data.
[0110] In specific implementation, the avoidance toolpath range, the unloading section, the initial start position, the initial end position, the deceleration transition length, and the recovery transition length formed in S4 are obtained. The initial start position is the position at the beginning of the machining sequence in the unloading section. The initial end position is the position at the end of the machining sequence in the unloading section. The avoidance toolpath range is the cumulative length range of the toolpath formed by the speed change avoidance section in S4. The deceleration transition length is used to form the candidate deceleration transition toolpath range. The recovery transition length is used to form the candidate recovery transition toolpath range.
[0111] If the deceleration transition length is less than or equal to 0, or the recovery transition length is less than or equal to 0, the secondary screening process for candidate boundaries is not performed. If load reduction boundary data has already been formed in S4, the load reduction boundary data formed in S4 is used as the load reduction boundary data after secondary screening of candidate boundaries, and subsequent secondary screening processes for candidate boundaries are stopped. If load reduction boundary data has not been formed in S4, load reduction boundary data after secondary screening of candidate boundaries is not generated, and subsequent secondary screening processes for candidate boundaries are stopped. If both the deceleration transition length and the recovery transition length are greater than 0, the secondary screening process for candidate boundaries continues.
[0112] Obtain the boundary influence quantity and the overhang load disturbance quantity. The boundary influence quantity is obtained by quantifying the boundary influence during the formation process of the variable speed avoidance section. The overhang load disturbance quantity is obtained by quantizing the overhang load disturbance during the formation process of the section to be unloaded. When the toolpath point coordinates do not form a boundary influence quantity, the boundary influence quantity of the corresponding toolpath point coordinates in the candidate boundary secondary screening process is set to 0. When the toolpath point coordinates do not form an overhang load disturbance quantity, the overhang load disturbance quantity of the corresponding toolpath point coordinates in the candidate boundary secondary screening process is set to 0.
[0113] The search length corresponding to the secondary screening process of candidate boundaries is determined. The start position search length limits the maximum reverse traversal length of the candidate start position relative to the initial start position. The end position search length limits the maximum forward traversal length of the candidate end position relative to the initial end position. The start position search length and end position search length are read from the candidate boundary search length field in the process database. The candidate boundary search length field includes the start position search length and end position search length. If the process database does not record the start position search length, or the read start position search length is less than or equal to 0, the deceleration transition length is used as the start position search length. If the process database does not record the end position search length, or the read end position search length is less than or equal to 0, the recovery transition length is used as the end position search length. After reading or substitution is completed, if both the start position search length and end position search length are greater than 0, the candidate start position traversal and candidate end position traversal continue.
[0114] Within the same set of toolpaths on the same sidewall of the section to be unloaded, the toolpath coordinates are traversed starting from the initial starting position in the reverse direction of the machining sequence. Traversal stops when the absolute value of the difference between the cumulative toolpath length at the current toolpath coordinate and the cumulative toolpath length at the initial starting position is greater than the search length at the starting position, and the current toolpath coordinate is not included in the candidate starting position set. The candidate starting position traversal is completed when the first toolpath coordinate in the same set of toolpaths on the same sidewall of the section to be unloaded is reached. For the current toolpath coordinate that has not triggered a stop traversal, it is used as the candidate starting position, and a candidate deceleration transition toolpath range is formed based on the cumulative toolpath length and deceleration transition length at the candidate starting position. The candidate deceleration transition toolpath range starts at the cumulative toolpath length at the candidate starting position and ends at the sum of the cumulative toolpath length and the deceleration transition length at the candidate starting position. If the cumulative toolpath length of the candidate starting position is not within the range of any avoidance toolpath, and the cumulative toolpath length interval corresponding to the candidate deceleration transition toolpath range does not overlap with the cumulative toolpath length interval corresponding to any avoidance toolpath range, the candidate starting position is included in the candidate starting position set.
[0115] Within the same set of toolpaths on the same sidewall of the section to be unloaded, the toolpath point coordinates are traversed starting from the initial end position according to the machining sequence. Traversal stops when the absolute value of the difference between the cumulative toolpath length at the current toolpath point coordinate and the cumulative toolpath length at the initial end position is greater than the end position search length, and the current toolpath point coordinate is not included in the candidate end position set. The candidate end position traversal is completed when the last toolpath point coordinate in the same set of toolpaths on the same sidewall of the section to be unloaded is reached. For the current toolpath point coordinate that has not triggered a stop traversal, the current toolpath point coordinate is used as the candidate end position, and a candidate recovery transition toolpath range is formed based on the cumulative toolpath length and recovery transition length of the candidate end position. The candidate recovery transition toolpath range starts at the cumulative toolpath length of the candidate end position and ends at the sum of the cumulative toolpath length and recovery transition length of the candidate end position. If the cumulative length of the toolpath at the candidate end position is not within the range of any avoidance toolpath, and the cumulative length interval of the toolpath corresponding to the range of the candidate recovery transition toolpath does not overlap with the cumulative length interval of the toolpath corresponding to any avoidance toolpath, the candidate end position is included in the candidate end position set.
[0116] If the candidate start position set is empty, or the candidate end position set is empty, secondary candidate boundary filtering is not performed. If load reduction boundary data has been formed in S4, the load reduction boundary data formed in S4 is used as the load reduction boundary data after secondary candidate boundary filtering, and subsequent secondary candidate boundary filtering is stopped. If load reduction boundary data has not been formed in S4, load reduction boundary data after secondary candidate boundary filtering is not generated, and subsequent secondary candidate boundary filtering is stopped. If the candidate start position set contains only one candidate start position, the candidate start position in the candidate start position set is used as the adjusted start position. If the candidate end position set contains only one candidate end position, the candidate end position in the candidate end position set is used as the adjusted end position.
[0117] Determine the length normalization parameter. The length normalization parameter is used to normalize the movement length of the candidate position relative to the initial position. The length normalization parameter is determined by the absolute value of the difference between the cumulative toolpath length at the initial end position and the cumulative toolpath length at the initial start position. If the absolute value of the difference between the cumulative toolpath length at the initial end position and the cumulative toolpath length at the initial start position is greater than 0, the absolute value of the difference is used as the length normalization parameter. When the absolute value of the difference between the cumulative length of the toolpath at the initial end position and the cumulative length of the toolpath at the initial start position is equal to 0, the absolute value of the difference in the cumulative length of the toolpath between adjacent toolpath points in the same sidewall toolpath set to which the load reduction section belongs is extracted; when there is an absolute value of the cumulative length difference of the toolpath greater than 0, the maximum value among the absolute values of the cumulative length difference of the toolpath greater than 0 is used as the length normalization parameter; when there is no absolute value of the cumulative length difference of the toolpath greater than 0, and load reduction boundary data has been formed in S4, the secondary screening process for candidate boundaries is not performed, the load reduction boundary data formed in S4 is used as the load reduction boundary data after the secondary screening process for candidate boundaries, and the subsequent secondary screening process for candidate boundaries is stopped; when there is no absolute value of the cumulative length difference of the toolpath greater than 0, and load reduction boundary data has not been formed in S4, the load reduction boundary data after the secondary screening process for candidate boundaries is not generated, and the subsequent secondary screening process for candidate boundaries is stopped.
[0118] Determine the denominator correction constant for the disturbance quantity. The denominator correction constant is used to ensure the denominator of the disturbance coverage term is greater than 0 when subsequently calculating the boundary screening quantity. The denominator correction constant is read from the disturbance quantity correction constant field recorded in the process database. If the process database does not record the disturbance quantity denominator correction constant, or if the read disturbance quantity denominator correction constant is less than or equal to 0, the smallest positive number recorded by the data processing program performing the secondary candidate boundary screening process to avoid division by zero is used as the disturbance quantity denominator correction constant. If the data processing program performing the secondary candidate boundary screening process does not record the smallest positive number to avoid division by zero, the disturbance quantity denominator correction constant is 0.001. When the overhang load disturbance quantity is dimensionless, the disturbance quantity denominator correction constant is also dimensionless. The disturbance quantity denominator correction constant is greater than 0.
[0119] The boundary movement distance influence coefficient, disturbance coverage influence coefficient, and boundary influence suppression coefficient are determined. These coefficients are used to allocate the participation ratio of boundary movement distance, cumulative overhang load disturbance, and boundary influence quantity when subsequently calculating boundary screening quantities. First, the boundary movement distance influence coefficient, disturbance coverage influence coefficient, and boundary influence suppression coefficient are read from the process database. The process database simultaneously records these three coefficients. If all three coefficients read from the process database are greater than 0, the normalized boundary movement distance influence coefficient is obtained by dividing the boundary movement distance influence coefficient read from the process database by the sum of the three coefficients; the normalized disturbance coverage influence coefficient is obtained by dividing the disturbance coverage influence coefficient read from the process database by the sum of the three coefficients; and the normalized boundary influence suppression coefficient is obtained by dividing the boundary influence suppression coefficient read from the process database by the sum of the three coefficients.
[0120] If the process database does not simultaneously record the boundary movement distance influence coefficient, disturbance coverage influence coefficient, and boundary influence suppression coefficient, or if the boundary movement distance influence coefficient read from the process database is less than or equal to 0, or the disturbance coverage influence coefficient read from the process database is less than or equal to 0, or the boundary influence suppression coefficient read from the process database is less than or equal to 0, then the boundary movement distance influence coefficient, disturbance coverage influence coefficient, and boundary influence suppression coefficient shall be read from the boundary filtering influence coefficient field in the historical qualified processing records of the same processing group. The boundary screening influence coefficient field in the historical qualified processing records simultaneously records the boundary movement distance influence coefficient, disturbance coverage influence coefficient, and boundary influence suppression coefficient. When all three influence coefficients read from the boundary screening influence coefficient field in the historical qualified processing records are greater than 0, the boundary movement distance influence coefficient read from the boundary screening influence coefficient field in the historical qualified processing records is divided by the sum of the three influence coefficients to obtain the normalized boundary movement distance influence coefficient; the disturbance coverage influence coefficient read from the boundary screening influence coefficient field in the historical qualified processing records is divided by the sum of the three influence coefficients to obtain the normalized disturbance coverage influence coefficient; and the boundary influence suppression coefficient read from the boundary screening influence coefficient field in the historical qualified processing records is divided by the sum of the three influence coefficients to obtain the normalized boundary influence suppression coefficient.
[0121] If the boundary screening influence coefficient field in the historical qualified processing records does not simultaneously record the boundary movement distance influence coefficient, disturbance coverage influence coefficient, and boundary influence suppression coefficient, or if the boundary movement distance influence coefficient read from the boundary screening influence coefficient field in the historical qualified processing records is less than or equal to 0, or the disturbance coverage influence coefficient read from the boundary screening influence coefficient field in the historical qualified processing records is less than or equal to 0, or the boundary influence suppression coefficient read from the boundary screening influence coefficient field in the historical qualified processing records is less than or equal to 0, then the boundary movement distance influence coefficient, disturbance coverage influence coefficient, and boundary influence suppression coefficient are all taken as one-third. After normalization, the boundary movement distance influence coefficient, disturbance coverage influence coefficient, and boundary influence suppression coefficient are used as the first screening influence coefficient, second screening influence coefficient, and third screening influence coefficient, respectively. If normalized boundary movement distance influence coefficient, normalized disturbance coverage influence coefficient, and normalized boundary influence suppression coefficient are not formed, then the first screening influence coefficient, second screening influence coefficient, and third screening influence coefficient are all taken as one-third. The sum of the first screening influence coefficient, second screening influence coefficient, and third screening influence coefficient is equal to 1.
[0122] For each candidate starting position, the candidate boundary interval is the cumulative toolpath length interval between the candidate starting position and the initial starting position; for each candidate ending position, the candidate boundary interval is the cumulative toolpath length interval between the initial ending position and the candidate ending position. The coordinates of the cumulative quantity calculation toolpath points are determined. These coordinates are used to calculate the cumulative amount of overhang load disturbance and the maximum value of the boundary influence corresponding to the candidate boundary interval. The cumulative quantity sampling interval is read from the cumulative quantity sampling interval field in the process database. If the process database does not record the cumulative quantity sampling interval, or the read cumulative quantity sampling interval is less than or equal to 0, the absolute value of the cumulative length difference between adjacent toolpath point coordinates in the same sidewall toolpath set to which the load to be reduced belongs is extracted; if there is an absolute value of a cumulative length difference greater than 0, the minimum value among the absolute values of cumulative length differences greater than 0 is used as the cumulative quantity sampling interval; if there is no absolute value of a cumulative length difference greater than 0, the original toolpath point coordinates in the deep cavity toolpath data are used as the cumulative quantity calculation toolpath point coordinates.
[0123] When the cumulative sampling interval is greater than 0, resampled toolpath point coordinates are formed within the candidate boundary interval according to the cumulative sampling interval, and the resampled toolpath point coordinates are used as the cumulative quantity to calculate the toolpath point coordinates. The candidate start position set and candidate end position set of the same unloading section use the same cumulative sampling interval. The resampled toolpath point coordinates include the two endpoints of the candidate boundary interval. When the overhang load disturbance or boundary influence is not directly recorded at the resampled toolpath point coordinates, the corresponding values of the two adjacent original toolpath point coordinates before and after the resampled toolpath point coordinates are linearly interpolated according to the cumulative toolpath length to obtain the overhang load disturbance or boundary influence corresponding to the resampled toolpath point coordinates. When the adjacent original toolpath point coordinates used for linear interpolation do not form an overhang load disturbance, the overhang load disturbance of the corresponding adjacent original toolpath point coordinates is taken as 0. When the adjacent original toolpath point coordinates used for linear interpolation do not form a boundary influence, the boundary influence of the corresponding adjacent original toolpath point coordinates is taken as 0. When the resampled toolpath point coordinates exist only on one side of the adjacent original toolpath point coordinates, the corresponding values of the adjacent original toolpath point coordinates on one side are used as the overhang load disturbance or boundary influence amount corresponding to the resampled toolpath point coordinates.
[0124] When the candidate starting position set contains two or more candidate starting positions, and the length normalization parameter, the disturbance quantity denominator correction constant, the first screening influence coefficient, the second screening influence coefficient, the third screening influence coefficient, and the cumulative quantity calculation toolpath point coordinates are all determined, calculate the starting boundary screening quantity corresponding to the candidate starting position. The starting boundary screening quantity can be calculated using the following formula: ; In the formula, The cumulative length of the toolpath is The initial boundary screening quantity corresponding to the candidate starting position; The cumulative length of the toolpath at the candidate starting position; The cumulative length of the toolpath at the initial starting position; For the first The cumulative length of the toolpath is calculated by using the cumulative quantity to determine the coordinates of the toolpath points; This is the length normalization parameter; This is a correction constant for the denominator of the disturbance quantity; For the cumulative length range of the toolpath The corresponding cumulative amount of overhang load disturbance; For the first The cumulative amount is used to calculate the overhang load disturbance corresponding to the coordinates of the toolpath point; For the first The cumulative quantity is used to calculate the boundary influence quantity corresponding to the coordinates of the toolpath point; This indicates that the cumulative toolpath length is greater than or equal to and less than or equal to The cumulative amount is used to calculate the coordinate range of the toolpath point. The first screening influence coefficient is used to characterize the proportion of boundary movement distance in the boundary screening quantity. The second screening influence coefficient is used to characterize the proportion of the cumulative amount of cantilever load disturbance in the boundary screening amount; The third screening influence coefficient is used to characterize the proportion of the boundary influence quantity in the boundary screening quantity.
[0125] When the candidate end position set contains two or more candidate end positions, and the length normalization parameter, the disturbance quantity denominator correction constant, the first screening influence coefficient, the second screening influence coefficient, the third screening influence coefficient, and the cumulative quantity calculation toolpath point coordinates are all determined, calculate the end boundary screening quantity corresponding to the candidate end position. The end boundary screening quantity can be calculated using the following formula: ; In the formula, The cumulative length of the toolpath is The number of candidates whose ending positions correspond to the end boundary screening quantity; The cumulative length of the toolpath at the initial and ending positions.
[0126] The cumulative amount of cantilever load disturbance is used to represent the degree of cumulative disturbance covered by the candidate boundary between the candidate starting position and the initial starting position, or between the initial ending position and the candidate ending position. When the cumulative amount of cantilever load disturbance is equal to 0, the disturbance coverage term in the formulas for the initial boundary screening amount and the ending boundary screening amount is calculated according to the correction constant in the denominator of the disturbance amount. The larger the cumulative amount of cantilever load disturbance, the smaller the disturbance coverage term in the formulas for the initial boundary screening amount and the ending boundary screening amount; when the boundary movement distance term and the boundary influence suppression term are the same, the boundary screening amount for the corresponding candidate position is smaller.
[0127] After calculating the initial boundary screening amount corresponding to each candidate starting position in the candidate starting position set, the candidate starting position with the smallest initial boundary screening amount is selected as the adjusted starting position. If there are two or more candidate starting positions with equal initial boundary screening amounts, the candidate starting position with the smallest absolute value of the cumulative toolpath length difference from the initial starting position is selected as the adjusted starting position; if there are still two or more candidate starting positions, the candidate starting position with the latest machining sequence is selected as the adjusted starting position.
[0128] After calculating the end boundary screening amount corresponding to each candidate end position in the candidate end position set, the candidate end position with the smallest end boundary screening amount is selected as the adjusted end position. If there are two or more candidate end positions with equal end boundary screening amounts, the candidate end position with the smallest absolute value of the cumulative toolpath length difference from the initial end position is selected as the adjusted end position; if there are still two or more candidate end positions, the candidate end position with the earliest machining sequence is selected as the adjusted end position.
[0129] According to the machining sequence, the coordinates of the toolpath points between the adjusted start position and the adjusted end position are extracted to form the load reduction toolpath range. The adjusted start position, the adjusted end position, and the load reduction toolpath range are written into the load reduction boundary data to obtain the load reduction boundary data after secondary screening of candidate boundaries. The load reduction boundary data after secondary screening of candidate boundaries is used in S5 to limit the toolpath range for feed rate load reduction processing in the deep cavity toolpath data.
[0130] Example 5: In some embodiments, the process of forming the feed deload result may include theoretical deload feed rate conversion processing. The theoretical deload feed rate conversion processing serves as an alternative quantitative implementation method for determining the feed rate data after deload processing in S5. When using theoretical deload feed rate conversion processing, the theoretical deload feed rate, deload feed rate, lower limit holding flag, or zero disturbance holding flag generated by the theoretical deload feed rate conversion processing replaces the processing result in S5 that selects the deload feed rate based on the section overhang ratio, section spindle load value, and section feed axis load value. The theoretical deload feed rate conversion processing is used to calculate the theoretical deload feed rate based on the overhang load disturbance within the toolpath range defined by the deload boundary data, and to discretize the theoretical deload feed rate based on the candidate feed rate values writable by the CNC system to obtain the feed deload result.
[0131] In practice, the following steps are taken: The load reduction boundary data, deep cavity toolpath data, candidate feed rate set, and overhang load disturbance generated in S3 are acquired. The load reduction boundary data defines the toolpath range requiring theoretical load reduction feed rate conversion. The deep cavity toolpath data includes toolpath point coordinates, cumulative toolpath length, and feed rate. The candidate feed rate set stores writable candidate feed rate values for the CNC system. The candidate feed rate set is read from the writable feed rate field in the machine tool parameter record, and candidate feed rate values less than or equal to 0 are deleted. If the candidate feed rate set is empty after deletion, it is read from the feed rate gear record in the machining process file, and candidate feed rate values less than or equal to 0 are deleted. If the candidate feed rate set is still empty after deletion, it is read from the writable feed rate field of the same machining group in the process database, and candidate feed rate values less than or equal to 0 are deleted. Finally, duplicate candidate feed rate values are deduplicated after reading and deletion.
[0132] The coordinates of toolpath points within the toolpath range defined by the load reduction boundary data are used as the coordinates of the load reduction execution toolpath points. If the load reduction execution toolpath point coordinates have a feed rate greater than 0 recorded in the deep cavity toolpath data, the corresponding load reduction execution toolpath point coordinates are used as the load-reducible toolpath point coordinates. If the load reduction execution toolpath point coordinates do not have a recorded feed rate in the deep cavity toolpath data, or if the recorded feed rate is less than or equal to 0, the corresponding load reduction execution toolpath point coordinates are not included in the theoretical load reduction feed rate conversion process. If the load-reducible toolpath point coordinates do not exist, the theoretical load reduction feed rate conversion process is not performed, and the corresponding feed rate write result is not generated. If the load-reducible toolpath point coordinates do not generate overhang load disturbance, the overhang load disturbance corresponding to the load-reducible toolpath point coordinates is set to 0.
[0133] Based on the feed rate recorded in the deep cavity toolpath data, the coordinates of deloadable toolpath points are continuously merged. When the feed rates corresponding to deloadable toolpath point coordinates are the same, and the coordinates are consecutive in the machining sequence, the corresponding deloadable toolpath point coordinates are merged into the same deload execution segment. Each deload execution segment undergoes theoretical deload feed rate conversion processing. The deloadable toolpath point coordinates within the same deload execution segment have the same original segment feed rate. The original segment feed rate is the feed rate recorded in the deep cavity toolpath data for the deloadable toolpath point coordinates within the same deload execution segment.
[0134] For each load reduction execution segment, determine the cumulative length of the starting toolpath and the cumulative length of the ending toolpath corresponding to the load reduction execution segment. The cumulative length of the starting toolpath corresponding to the load reduction execution segment is the cumulative length of the toolpath at the coordinates of the earliest available load-reducing toolpath point in the machining sequence within the load reduction execution segment. The cumulative length of the ending toolpath corresponding to the load reduction execution segment is the cumulative length of the toolpath at the coordinates of the last available load-reducing toolpath point in the machining sequence within the load reduction execution segment.
[0135] Calculate the average overhang load disturbance corresponding to the load reduction execution section. The average overhang load disturbance can be calculated using the following formula: ; In the formula, The average overhang load disturbance corresponding to the load reduction execution section; The cumulative length of the starting toolpath corresponding to the unloading execution section; The cumulative length of the final toolpath corresponding to the unloading execution section; For the first The cumulative length of the toolpath at each deloadable toolpath point coordinate; This indicates that the cumulative toolpath length is greater than or equal to and less than or equal to The range of coordinates of the deloadable toolpath points; For the first The overhang load disturbance corresponding to the coordinates of each deloadable toolpath point; For the cumulative length range of the toolpath The number of deloadable toolpath point coordinates within the range. A deload execution section is formed by the coordinates of at least one deloadable toolpath point. Greater than 0.
[0136] When the average overhang load disturbance is equal to 0, the initial theoretical unloading feed rate is not calculated, and unloading feed rate filtering is not performed. The corresponding unloading execution segment is written to the zero disturbance holding flag, and the original feed rate of the corresponding unloading execution segment is retained. The zero disturbance holding flag and the original feed rate of the corresponding unloading execution segment are written together into the unloading result, and the calculation of the theoretical unloading feed rate and the unloading feed rate filtering of the corresponding unloading execution segment are stopped. The zero disturbance holding flag is used to indicate that the average overhang load disturbance of the corresponding unloading execution segment is equal to 0. When the average overhang load disturbance is greater than 0, the unloading strength coefficient determination continues.
[0137] Determine the load reduction strength coefficient. The load reduction strength coefficient is used to control the load reduction magnitude of the average overhang load disturbance on the original feed speed of the section when calculating the theoretical load reduction feed speed. First, read the load reduction strength coefficient from the load reduction strength coefficient field in the process database. If the process database records the load reduction strength coefficient, and the read load reduction strength coefficient is greater than 0, the read load reduction strength coefficient is used as the load reduction strength coefficient.
[0138] If the process database does not record the load reduction strength coefficient, or if the read load reduction strength coefficient is less than or equal to 0, the historical load reduction strength coefficient is calculated from the historical qualified machining records of the same machining group. The historical load reduction execution section is the continuous toolpath range in the historical qualified machining records where the feed rate is adjusted from the original feed rate of the historical section to the historical load reduction feed rate. The historical qualified machining records simultaneously record the original feed rate of the historical section, the historical load reduction feed rate, and the historical overhang load disturbance within the historical load reduction execution section. When the original feed rate of the historical section is greater than 0, the historical load reduction feed rate is greater than 0, and the historical load reduction feed rate is less than or equal to the original feed rate of the historical section, the historical average overhang load disturbance is calculated based on the historical overhang load disturbance within the historical load reduction execution section, according to the average overhang load disturbance calculation method in this embodiment. When the historical average overhang load disturbance is greater than 0, the historical load reduction strength coefficient is calculated according to the following formula: ; In the formula, Historical load reduction strength coefficient; For historical load reduction feed rates; This refers to the original feed rate for the historical section. This represents the historical average cantilever load disturbance. When the historical load reduction strength coefficient is greater than 0, it is used as the available historical load reduction strength coefficient. If there are two or more available historical load reduction strength coefficients, the arithmetic mean of these coefficients is used as the load reduction strength coefficient; if only one available historical load reduction strength coefficient exists, it is used; if no available historical load reduction strength coefficient exists, the load reduction strength coefficient is set to 1.
[0139] Determine the acceptable lower limit of feed rate. Read the lower limit of feed rate field in the order of machining process document, machine tool parameter record, and process database. If the machining process document records a lower limit of feed rate field, and the lower limit of feed rate field in the machining process document is greater than 0, use the lower limit of feed rate field in the machining process document as the acceptable lower limit of feed rate. If the machining process document does not record a lower limit of feed rate field, or the lower limit of feed rate field in the machining process document is less than or equal to 0, read the lower limit of feed rate field from the machine tool parameter record. If the lower limit of feed rate field in the machine tool parameter record is greater than 0, use the lower limit of feed rate field from the machine tool parameter record as the acceptable lower limit of feed rate. If the machine tool parameter record does not record a lower limit of feed rate field, or the lower limit of feed rate field in the machine tool parameter record is less than or equal to 0, read the lower limit of feed rate field from the process database. If the lower limit of feed rate field in the process database is greater than 0, use the lower limit of feed rate field from the process database as the acceptable lower limit of feed rate. If the process database does not record the feed rate lower limit field, or if the feed rate lower limit field in the process database is less than or equal to 0, and the candidate feed rate set is not empty, the minimum candidate feed rate value in the candidate feed rate set will be used as the qualified feed rate lower limit value; if the candidate feed rate set is empty, no qualified feed rate lower limit value will be formed.
[0140] Based on the candidate feed rate set, the qualified feed rate lower limit, and the original feed rate of the section, a set of available candidate feed rates is formed for the load reduction execution section. If a candidate feed rate value in the candidate feed rate set is greater than or equal to the qualified feed rate lower limit and less than or equal to the original feed rate of the section, the corresponding candidate feed rate value is included in the available candidate feed rate set. If the qualified feed rate lower limit is not formed, or the available candidate feed rate set is empty, no load reduction feed rate is written to the corresponding load reduction execution section. Instead, a lower limit holding flag is set for the corresponding load reduction execution section, and the original feed rate of the corresponding load reduction execution section is retained. The lower limit holding flag and the original feed rate of the corresponding load reduction execution section are written together into the load reduction result, and the calculation of the theoretical load reduction feed rate and the selection of load reduction feed rates for the corresponding load reduction execution section are stopped. The lower limit holding flag indicates that no load reduction feed rate that the CNC system can write has been formed for the corresponding load reduction execution section.
[0141] When the average overhang load disturbance is greater than 0 and the set of available candidate feed rates is not empty, the initial theoretical load reduction feed rate corresponding to the load reduction execution section is calculated based on the original feed rate of the section, the load reduction strength coefficient, and the average overhang load disturbance. The initial theoretical load reduction feed rate can be calculated using the following formula: ; In the formula, The initial theoretical unloading feed rate corresponding to the unloading execution section; The original feed rate of the section corresponding to the load reduction execution section. Greater than 0; This is the load reduction strength coefficient; This refers to the average overhang load disturbance corresponding to the load reduction execution section.
[0142] When the initial theoretical unloading feed rate is less than the lower limit of the qualified feed rate, the lower limit of the qualified feed rate is used as the theoretical unloading feed rate. When the initial theoretical unloading feed rate is greater than or equal to the lower limit of the qualified feed rate, the initial theoretical unloading feed rate is used as the theoretical unloading feed rate. The theoretical unloading feed rate is denoted as... .
[0143] From the set of available candidate feed rates, select candidate feed rate values that are less than or equal to the theoretical deload feed rate. If a candidate feed rate value exists that is less than or equal to the theoretical deload feed rate, select the maximum value among these candidates as the deload feed rate. If no candidate feed rate value exists that is less than or equal to the theoretical deload feed rate, select the minimum candidate feed rate value from the set of available candidate feed rates as the deload feed rate. When selecting the minimum candidate feed rate value, the deload feed rate is the minimum feed rate value that can be written after being limited by the feed rate settings that the CNC system can write. Since all candidate feed rate values in the set of available candidate feed rates are less than or equal to the original feed rate of the section, the deload feed rate is less than or equal to the original feed rate of the section.
[0144] The deloading feed rate is written into the feed rate field corresponding to the coordinates of each deloading point in the deloading execution section of the deep cavity toolpath data. After all deloading execution sections are processed, the feed deloading result is obtained. For the deloading execution section that forms the deloading feed rate, the feed deloading result includes the deloading execution section, the theoretical deloading feed rate, the deloading feed rate, and the feed rate field after writing; for the deloading execution section that writes the lower limit holding mark, the feed deloading result includes the deloading execution section, the lower limit holding mark, and the original feed rate of the retained section; for the deloading execution section that writes the zero disturbance holding mark, the feed deloading result includes the deloading execution section, the zero disturbance holding mark, and the original feed rate of the retained section.
[0145] Example 6: In some embodiments, this application also provides a deep cavity machining tool overhang disturbance feed unloading system for implementing a deep cavity machining tool overhang disturbance feed unloading method. Please refer to... Figure 4A deep cavity machining tool overhang disturbance feed unloading system includes a data acquisition module, an avoidance section generation module, a section to be unloaded identification module, an unloading boundary generation module, and a feed unloading processing module.
[0146] The data acquisition module is used to acquire deep cavity toolpath data, boundary judgment data, machining status data, and status reference data. The data acquisition module connects to the CNC system, toolpath file storage terminal, machining process file storage terminal, tool parameter record storage terminal, machine tool parameter record storage terminal, process database, and machine tool status acquisition terminal. The toolpath file storage terminal stores CAM toolpath files or machining program files. The machining process file storage terminal stores machining process files. The tool parameter record storage terminal stores tool parameter records. The machine tool parameter record storage terminal stores machine tool parameter records. The same machining group is determined according to the target machining sidewall type, machining material category, machining tool diameter specification range, and machining process identifier. Historical qualified machining records for the same machining group are stored in the process database. The data acquisition module acquires deep cavity toolpath data from the CNC system, CAM toolpath files, or machining program files; acquires boundary judgment data from the machining process files or process database; acquires machining status data from sensor acquisition records output by the machine tool status acquisition terminal or CNC system operation records; and acquires status reference data from the machining process files, tool parameter records, or process database according to different data items. Deep cavity toolpath data includes toolpath point coordinates, cumulative toolpath length, and feed rate. Boundary determination data is used to characterize the toolpath positions or cumulative toolpath length ranges that need to avoid feed rate variation boundaries during deep cavity machining. Machining status data includes tool overhang length, spindle load value, and feed axis load value. Status reference data includes the required overhang length for shallow machining with the same machining tool, tool diameter, acceptable spindle load range, and acceptable feed axis load range. The status reference data corresponds to the tool reference data used for overhang status judgment and the reference range data used for load status judgment in the method embodiment. The required overhang length for shallow machining with the same machining tool is obtained from the historical acceptable machining records of the same machining group stored in the machining process document, tool parameter record, or process database. The tool diameter is obtained from the machining process document, tool parameter record, or process database. The acceptable spindle load range and acceptable feed axis load range are obtained from the machining process document or process database. The acceptable spindle load range is used for comparison with the spindle load value, and the acceptable feed axis load range is used for comparison with the feed axis load value.
[0147] The avoidance section generation module is connected to the data acquisition module. This module receives the deep cavity toolpath data and boundary judgment data output from the data acquisition module and performs position mapping on the boundary judgment data and deep cavity toolpath data to obtain the variable speed avoidance section. Position mapping involves mapping the toolpath position or cumulative toolpath length range corresponding to the boundary judgment data to the toolpath point coordinates, cumulative toolpath length, or cumulative toolpath length range in the deep cavity toolpath data. The variable speed avoidance section represents the toolpath range that needs to avoid the feed rate variation boundary.
[0148] The load reduction section identification module is connected to the data acquisition module. This module receives deep cavity toolpath data, machining status data, and status reference data output from the data acquisition module. Combining these data, it identifies the overhang and load states of the toolpath positions within the deep cavity toolpath data to determine the load reduction section. The module also generates overhang load disturbance values corresponding to the toolpath positions within the load reduction section. These disturbance values represent the degree of disturbance caused by the combined effects of overhang and load states at the same toolpath position. The load reduction section represents the range of toolpaths where long overhang states and load deviation states are associated. Long overhang states are determined by comparing the tool extension length with the extension length required for shallow machining with the same machining tool. Load deviation states are determined by comparing the spindle load value with the acceptable spindle load range, or the feed axis load value with the acceptable feed axis load range.
[0149] The load reduction boundary generation module is connected to both the avoidance section generation module and the load reduction section identification module. The load reduction boundary generation module receives the variable speed avoidance section output from the avoidance section generation module and the load reduction section to be reduced output from the load reduction section identification module. It then adjusts the boundary avoidance for the start and end positions of the load reduction section based on the variable speed avoidance section, obtaining the load reduction boundary data. Both the start and end positions in the load reduction boundary data are located outside the variable speed avoidance section.
[0150] The feed deload processing module is connected to the deload boundary generation module, the deload section identification module, and the data acquisition module. The feed deload processing module receives deload boundary data output from the deload boundary generation module and overhang load disturbance output from the deload section identification module. Based on the toolpath range defined by the deload boundary data, it performs theoretical deload feed rate conversion, discretization based on candidate feed rate values, and feed rate writing or mark-keeping writing processes on the feed rate in the deep cavity toolpath data to obtain the feed deload result. The feed deload processing module also uses the data acquisition module to call the process database, machining process documents, and machine tool parameter records to form a candidate feed rate set, a qualified feed rate lower limit, and a deload strength coefficient. The feed deload result is recorded according to the deload execution segment, including at least one of the following results: For the deload execution segment that forms the deload feed speed, the feed deload result includes the deload execution segment, the theoretical deload feed speed, the deload feed speed, and the feed speed field after writing; For the deload execution segment that writes the lower limit hold flag, the feed deload result includes the deload execution segment, the lower limit hold flag, and the original feed speed of the retained segment; For the deload execution segment that writes the zero disturbance hold flag, the feed deload result includes the deload execution segment, the zero disturbance hold flag, and the original feed speed of the retained segment.
[0151] In some embodiments, the avoidance section generation module includes a toolpath position mapping unit and an avoidance section output unit. The toolpath position mapping unit is used to map the toolpath position or cumulative toolpath length range corresponding to the boundary determination data to the toolpath point coordinates, cumulative toolpath length, or cumulative toolpath length range in the deep cavity toolpath data. The avoidance section output unit is used to form a variable speed avoidance section based on the mapped toolpath point coordinates, cumulative toolpath length, or cumulative toolpath length range.
[0152] In some embodiments, the unloaded section identification module includes an overhang state identification unit, a load state identification unit, an association identification unit, and an overhang load disturbance amount forming unit. The overhang state identification unit identifies the overhang state corresponding to the toolpath position based on the tool extension length and the extension length required for shallow machining with the same machining tool. The load state identification unit identifies the load state corresponding to the toolpath position based on the spindle load value, feed axis load value, qualified spindle load range, and qualified feed axis load range. The association identification unit associates the overhang state and load state and outputs the unloaded section. The overhang load disturbance amount forming unit forms the overhang load disturbance amount based on the tool extension length corresponding to the toolpath position within the unloaded section, the extension length required for shallow machining with the same machining tool, the tool diameter, the spindle load value, the feed axis load value, the qualified spindle load range, and the qualified feed axis load range.
[0153] In some embodiments, the load reduction boundary generation module includes a candidate boundary forming unit and a boundary avoidance adjustment unit. The candidate boundary forming unit is used to form candidate start positions and candidate end positions based on the section to be reduced in load. The boundary avoidance adjustment unit is used to adjust the candidate start positions and candidate end positions for boundary avoidance in conjunction with the variable speed avoidance section, thereby obtaining load reduction boundary data.
[0154] In some embodiments, the feed deload processing module includes a theoretical deload feed rate conversion unit and a feed rate writing unit. The theoretical deload feed rate conversion unit calculates the theoretical deload feed rate based on the overhang load disturbance within the toolpath range defined by the deload boundary data, and discretizes the theoretical deload feed rate based on candidate feed rate values writable by the CNC system. The theoretical deload feed rate conversion unit also forms a candidate feed rate set, a lower limit value for the qualified feed rate, and a deload strength coefficient based on historical qualified machining records of the same machining group stored in the machining process document, machine tool parameter records, and the process database. The feed rate writing unit writes the deload feed rate into the corresponding feed rate field in the deep cavity toolpath data, or writes the lower limit holding mark, the zero disturbance holding mark, and the original feed rate of the retained section into the feed deload result record to form the feed deload result.
[0155] In some embodiments, the data acquisition module, the avoidance section generation module, the unloading section identification module, the unloading boundary generation module, and the feed unloading processing module are implemented by a processor, industrial computer, edge computing device, or external control device connected to the CNC system. The data acquisition module, the avoidance section generation module, the unloading section identification module, the unloading boundary generation module, and the feed unloading processing module transmit deep cavity toolpath data, boundary judgment data, machining status data, status reference data, variable speed avoidance section, unloading section, overhang load disturbance, unloading boundary data, and feed unloading results.
[0156] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for reducing the load during tool overhang disturbance feed in deep cavity machining, characterized in that, include: Acquire deep cavity toolpath data, boundary determination data, and machining status data; Position mapping is performed on boundary determination data and deep cavity toolpath data to obtain variable speed avoidance sections; By combining deep cavity toolpath data and machining status data, the overhang state and load state of the toolpath position in the deep cavity toolpath data are correlated and identified to obtain the section to be unloaded; By combining the variable speed avoidance section, the starting and ending positions of the section to be unloaded are adjusted for boundary avoidance to obtain unloaded boundary data; Based on the toolpath range defined by the load reduction boundary data, the feed rate in the deep cavity toolpath data is subjected to load reduction processing to obtain the feed load reduction result.
2. The method for overhanging disturbance feed and load reduction of a deep cavity machining tool according to claim 1, characterized in that, Methods for obtaining the variable speed avoidance section include: Match the machining surface identifier in the deep cavity toolpath data with the target machining sidewall identifier in the boundary determination data, and group the toolpath point coordinates in the deep cavity toolpath data according to the matching results to obtain the sidewall toolpath set; By mapping the boundary position coordinates and the detection interest area in the boundary determination data to the toolpath position, the boundary mapping position and the interest area mapping range are obtained. By filtering the avoidance toolpath points based on the boundary mapping location, the mapping range of the area of interest, and the coordinates of the toolpath points in the sidewall toolpath set, candidate avoidance toolpath points are obtained. According to the machining sequence in the deep cavity toolpath data, the candidate toolpath points for avoidance are continuously merged to obtain the variable speed avoidance section.
3. The method for overhanging disturbance feed and load reduction of a deep cavity machining tool according to claim 2, characterized in that, Methods for obtaining candidate toolpath points for avoidance include: Calculate the toolpath distance between the boundary mapping position and the coordinates of the toolpath points in the sidewall toolpath set, and determine the toolpath points whose corresponding toolpath distance is less than or equal to the boundary avoidance distance as the boundary adjacent toolpath points; The coordinates of the toolpath points located within the mapping range of the region of interest are determined as the toolpath points of the region of interest; The boundary influence is calculated based on the cumulative length distance of the toolpath between the toolpath point coordinates, the boundary mapping position, and the mapping range of the region of interest, to obtain the boundary influence quantity. The coordinates of toolpath points whose corresponding boundary influence is greater than or equal to the preset boundary influence threshold are determined as boundary influence toolpath points. By merging the toolpaths near the boundary, the toolpaths in the area of interest, and the toolpaths affected by the boundary, candidate toolpaths for avoidance are obtained.
4. The method for overhanging disturbance feed and load reduction of a deep cavity machining tool according to claim 1, characterized in that, Methods for correlating and identifying the overhang state and load state of toolpath positions in deep cavity toolpath data to obtain the section to be unloaded include: Machining status data includes tool overhang data, load operation data, and reference range data; The tool overhang data and load operation data are mapped to the tool path position in the deep cavity tool path data. The long overhang state of the tool overhang data is identified, and the load deviation state of the load operation data is identified by combining the reference range data, so as to obtain the long overhang position and the load deviation position. The toolpath position that simultaneously belongs to the long overhang position and the load deviation position is determined as the position to be unloaded. The positions to be unloaded are continuously merged according to the machining order in the deep cavity toolpath data to obtain the continuously merged segment. When the processing status data also includes sidewall detection deviation data, the coverage of the continuously merged sections is supplemented and checked using the sidewall detection deviation data to obtain the sections to be unloaded; when the processing status data does not include sidewall detection deviation data, the continuously merged sections are taken as the sections to be unloaded.
5. The method for overhanging disturbance feed and load reduction of a deep cavity machining tool according to claim 4, characterized in that, Methods for obtaining the overhang position and load deviation position include: Tool overhang data includes tool overhang length, overhang length required for shallow machining with the same tool, and tool diameter; Based on the machining tool supply documents, process database, or historical qualified machining records of similar deep cavity machining objects, obtain the long overhang judgment ratio; When the tool extension length is greater than the extension length required for shallow machining of the same machining tool, and the ratio of the tool extension length to the tool diameter is greater than or equal to the long overhang judgment ratio, the corresponding toolpath position is determined as the long overhang position. When the spindle load value in the load operation data is greater than the upper limit of the qualified spindle load range in the reference range data, or when the feed axis load value in the load operation data is greater than the upper limit of the qualified feed axis load range in the reference range data, the corresponding toolpath position is determined as the load deviation position.
6. The method for overhanging disturbance feed and load reduction of a deep cavity machining tool according to claim 4, characterized in that, Methods for supplementing and verifying the coverage of continuously merged sections using sidewall detection deviation data to obtain the sections to be unloaded include: The sidewall detection deviation data is matched with the toolpath position in the deep cavity toolpath data to obtain the toolpath position corresponding to the sidewall detection deviation data. Select the toolpath positions outside all sections formed by continuous merging at the unloading position from the toolpath positions corresponding to the sidewall detection deviation data; For each selected toolpath position, calculate the absolute value of the cumulative length difference between the start and end positions of each segment formed by continuously merging the selected toolpath position and the position to be unloaded, determine the segment corresponding to the minimum absolute value, and determine the start or end position that forms the minimum absolute value as the end. When the minimum absolute value is less than or equal to the preset deviation association length, the toolpath position between the end and the selected toolpath position is merged into the segment corresponding to the minimum absolute value to obtain the section to be unloaded.
7. The method for overhanging disturbance feed and load reduction of a deep cavity machining tool according to claim 3, characterized in that, Methods for obtaining load reduction boundary data by adjusting the boundary avoidance at the start and end positions of the section to be unloaded include: According to the machining order in the deep cavity toolpath data, the toolpath positions outside the speed change avoidance section are searched in reverse from the starting position of the section to be unloaded and in forward from the ending position of the section to be unloaded, respectively, to obtain the candidate starting position set and the candidate ending position set. Obtain the deceleration transition length and recovery transition length. According to the machining order in the deep cavity toolpath data, extend the deceleration transition length forward from each candidate start position and extend the recovery transition length backward from each candidate end position to obtain the deceleration transition range corresponding to each candidate start position and the recovery transition range corresponding to each candidate end position. Candidate starting positions that overlap with the corresponding deceleration transition range and the shift avoidance section are removed; candidate ending positions that overlap with the corresponding recovery transition range and the shift avoidance section are also removed. Candidate boundary filtering is performed on the retained candidate start and end positions to obtain load reduction boundary data.
8. The method for overhanging disturbance feed and load reduction of a deep cavity machining tool according to claim 7, characterized in that, Methods for obtaining load reduction boundary data by filtering the retained candidate start and end positions into candidate boundaries include: The toolpath ranges from each retained candidate start position to the start position of the section to be unloaded and from the end position of the section to be unloaded to each retained candidate end position are respectively determined as the candidate boundary ranges of the corresponding candidate start position and candidate end position. The overhang state and load state of the toolpath position within each candidate boundary range are correlated, quantified, and accumulated to obtain the cumulative amount of overhang load disturbance, and the maximum value of boundary movement length and boundary influence are determined. The normalized value is obtained by normalizing and weighting the values according to the direction that the normalized value increases as the maximum value of the boundary movement length and the boundary influence increases, and the normalized value decreases as the cumulative amount of the overhang load disturbance increases. The candidate start position and candidate end position with the smallest boundary screening amount are selected as the adjusted start position and adjusted end position, respectively. The adjusted start position, the adjusted end position, and the toolpath range between the adjusted start position and the adjusted end position are determined as the load reduction boundary data.
9. The method for overhanging disturbance feed and load reduction of a deep cavity machining tool according to claim 1, characterized in that, Methods for obtaining feed unloading results include: The toolpath positions within the toolpath range defined by the load reduction boundary data, excluding the end position in the load reduction boundary data, are determined as the load reduction execution toolpath positions; The extreme values of the original feed rate, tool overhang data, and load operation data corresponding to the toolpath position of the load reduction execution are extracted and the overhang ratio is calculated to obtain the original feed rate of the section, the overhang ratio of the section, the spindle load value of the section, and the feed axis load value of the section. Obtain the feed rate resolution supported by the CNC system, and generate candidate feed rate values that are within the qualified machining feed rate range and feed rate resolution and are less than the original feed rate of the segment, based on the qualified machining feed rate range and feed rate resolution in the reference range data. Based on the comparison results of the section overhang ratio and the long overhang judgment ratio, as well as the comparison results of the section spindle load value and the section feed axis load value with the upper limit of the corresponding load range, the deload feed speed is selected from the candidate feed speed values. Write the deload feed rate into the feed rate corresponding to the deload execution toolpath position, and restore the corresponding original feed rate at the end position in the deload boundary data to obtain the feed deload result.
10. A deep cavity machining tool overhang disturbance feed unloading system, used to implement the deep cavity machining tool overhang disturbance feed unloading method according to any one of claims 1-9, characterized in that, include: The data acquisition module is used to acquire deep cavity toolpath data, boundary determination data, and machining status data; The avoidance section generation module is used to perform position mapping on boundary determination data and deep cavity toolpath data to obtain variable speed avoidance sections; The unloading section identification module is used to combine deep cavity toolpath data and machining status data to identify the overhang state and load state of the toolpath position in the deep cavity toolpath data, and obtain the unloading section. The load reduction boundary generation module is used to combine the variable speed avoidance section and adjust the boundary avoidance of the starting and ending positions of the load reduction section to obtain load reduction boundary data where both the starting and ending positions are outside the variable speed avoidance section. The feed deload processing module is used to deload the feed rate in the deep cavity toolpath data according to the toolpath range defined by the deload boundary data, and obtain the feed deload result.