A method for determining a tool position of a cutting tool, an electronic device and a storage medium

By obtaining the origin and position of the target coordinate axis of the cutting tool during machining, and using cutting force signals and spectral entropy analysis to automatically select the tool setting position, the problems of cutting tool wear and tool setting complexity are solved, tool setting efficiency is improved and costs are reduced.

CN116038425BActive Publication Date: 2026-02-06LEADING OPTICS (JIANGSU) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310114632.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-15
Publication Date
2026-02-06
Estimated Expiration
2043-02-15

AI Technical Summary

Technical Problem

In existing technologies, cutting tools suffer from severe wear and tool setting operations during machining, which are complex and costly, resulting in low efficiency in ultra-precision machining.

Method used

By acquiring the origin and position of the target coordinate axis of the cutting tool, and using cutting force signals and spectral entropy analysis, the tool setting position is automatically selected, reducing tool wear and optimizing tool setting time.

Benefits of technology

It improves the efficiency of cutting tool setting, reduces wear and labor costs, and simplifies the tool setting process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116038425B_ABST
    Figure CN116038425B_ABST
Patent Text Reader

Abstract

The application provides a tool setting position determination method of a cutting tool, which comprises the following steps: obtaining a target origin corresponding to a target coordinate axis where the cutting tool is located; obtaining a first position point located on the target coordinate axis; obtaining a first cutting force signal list according to the target origin and the first position point; obtaining a first frequency spectrum entropy corresponding to the first cutting force to generate a first frequency spectrum entropy list; obtaining a target frequency spectrum entropy range; obtaining a target position point list on the target coordinate axis according to the target origin and the first position point; processing a second frequency spectrum entropy corresponding to a target position point in the target position point list; and selecting a tool setting position point. The tool setting position determination method of the cutting tool reduces the wear of the cutting tool, and the tool setting is performed through the above steps. The data is processed during the movement of the cutting tool, the time used for tool setting is saved, the time cost required for tool setting is saved, and therefore, the tool setting efficiency of the cutting tool is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of tool setting technology, and in particular to a method for determining the tool setting position of a cutting tool, an electronic device, and a storage medium. Background Technology

[0002] In existing technologies, machining is essentially a process where the cutting tool and the workpiece squeeze against each other to cut the workpiece. In ultra-precision machining, when the cutting tool wears out or needs to be replaced due to the need to change the workpiece, a tool setting operation is required to avoid wasting workpieces and causing cutting tool wear due to insufficient cutting precision or lack of cutting accuracy.

[0003] In existing technologies, a trial-cutting method is generally used for tool setting. Users need to set the tool before each machining step or pass, then cut a small section to measure its dimensions. If it's unsuitable, the tool position is adjusted, and another small section is cut until the dimensions meet the requirements before machining the entire surface. Therefore, this method easily leads to tool wear, complex tool setting procedures, long tool setting time, and high tool setting costs, resulting in low efficiency in ultra-precision machining. Summary of the Invention

[0004] To address the aforementioned technical problems, the technical solution adopted by this invention is as follows:

[0005] A method for determining the tool setting position of a cutting tool includes the following steps:

[0006] S100, Obtain the target origin Z0 corresponding to the target coordinate axis where the cutting tool is located; where Z0 is at the safe tool setting position of the target coordinate axis;

[0007] S200. Obtain the first position point Z1 located on the target coordinate axis, and control the cutting tool to move from Z0 to Z1 along the axial direction of the target coordinate axis; wherein, Z1 meets the following condition:

[0008] Z1 = W1 - k, where W1 is the last tool setting position point corresponding to the current target coordinate axis, and k is the distance adjustment factor;

[0009] S300. During the process of the cutting tool moving from Z0 to Z1 along the axial direction of the target coordinate axis, acquire the first cutting force signal list A = (A1, A2, ..., A...). i , ..., A m ), i = 1, 2, ..., m, where m is the number of the first cutting force signals; where A i To obtain the i-th first cutting force signal;

[0010] S400. According to A, obtain the first spectrum entropy list H1 = (H11, H12, ..., H1...).i , …, H1 m ); wherein, H1 i is A i corresponding first spectral entropy, H1 i satisfies the following conditions:

[0011] wherein, j = 1, 2, …, n(i), n(i) is A i corresponding amplitude value in the amplitude spectrum, f ij is A i corresponding jth amplitude value in the amplitude spectrum;

[0012] S500, according to H1, obtaining a target spectral entropy range H0 = [h1, h2]; wherein, h1 is an upper limit value corresponding to the target spectral entropy range, h2 is a lower limit value corresponding to the target spectral entropy range, and the ratio between the number of first spectral entropies corresponding to H0 and m is greater than 0.99;

[0013] S600, according to Z1 and Z0, obtaining a target position point list D = (D1, D2, …, D r , …, D R ) on the target coordinate axis, r = 1, 2, …, R, R is the number of target position points in D; wherein, D r is the rth target position point on the target coordinate axis, the distance between D r and Z1 is greater than the distance between D r-1 and Z1, and the distance between D r and Z0 is greater than the distance between D r-1 and Z0, D1 and Z1 are the same position point, D r - D r-1 = d0; d0 is a preset distance threshold;

[0014] S700, obtaining an initial parameter g = 1, and controlling the cutting tool to perform a tool setting operation according to Dg;

[0015] The tool setting operation includes the following steps:

[0016] S710, controlling the cutting tool to move from D g to D g+1 ;

[0017] S720, obtaining a second cutting force signal list B = (B1, B2, …, B q , …, B Q ) during the movement of the cutting tool along the axial direction of the target coordinate axis from D g to D g+1 , q = 1, 2, …, Q, Q is the number of second cutting force signals; wherein, Bq the qth acquired second cutting force signal;

[0018] S730, according to B, acquiring a second spectrum entropy list H2=(H21, H22, …, H2 q , …, H2 Q ); wherein H2 q is the corresponding second spectrum entropy of B q ;

[0019] S740, when there is a second spectrum entropy in H2 which does not belong to H0, performing tool setting at the D g+1 position point; otherwise, setting g=g+1, and performing S710.

[0020] The present application has at least the following beneficial effects: by acquiring a target origin corresponding to a target coordinate axis where the cutting tool is located, acquiring a first position point located on the target coordinate axis, acquiring a first cutting force signal list according to the target origin and the first position point, generating a first spectrum entropy list according to the first cutting force corresponding to the first spectrum entropy, acquiring a target spectrum entropy range, acquiring a target position point list on the target coordinate axis according to the target origin and the first position point, and processing the second spectrum entropy corresponding to the target position point in the target position point list, a tool setting position point is selected.

[0021] By selecting the tool setting time point through the above process, compared with the existing trial cutting tool setting, only the cutting of the workpiece is started when the tool setting point is calculated, the wear of the cutting tool is reduced, and through the above steps, the data is processed during the movement of the cutting tool, the time used for tool setting is saved, and compared with the traditional trial cutting method, the user does not need to control the cutting tool during the tool setting process, the time cost and labor cost required for tool setting are saved, and therefore, the tool setting efficiency of the cutting tool is improved. BRIEF DESCRIPTION OF DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0023] Figure 1 It is a flowchart of the method for determining the tool setting position of the cutting tool in the embodiments of the present application. DETAILED DESCRIPTION

[0024] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments of the present application, all the other embodiments obtained by a person of ordinary skill in the art without creative work are within the protection scope of the present application.

[0025] The present application provides a method for determining the tool setting position of a cutting tool, as shown in the figure, the method comprises the following steps: Figure 1

[0026] S100, acquiring a target origin Z0 corresponding to a target coordinate axis where the cutting tool is located; wherein Z0 is at a safe tool setting position of the target coordinate axis.

[0027] Specifically, the target coordinate axis can be understood as an axis line generated by connecting and extending to both ends of the cutting tool in the turning tool and the workpiece to be cut.

[0028] Further, the safe tool setting position can be understood as a position of the cutting tool on the target coordinate axis away from the workpiece to be cut and the distance between the cutting tool and the workpiece to be cut is d1.

[0029] Further, a person skilled in the art can set d1 according to actual needs, which will not be described here.

[0030] S200, acquiring a first position point Z1 on the target coordinate axis, and controlling the cutting tool to move from Z0 to Z1 along the axial direction of the target coordinate axis; wherein Z1 meets the following conditions:

[0031] Z1=W1-k, wherein W1 is the last tool setting position point corresponding to the current target coordinate axis, and k is a distance adjustment factor.

[0032] Specifically, k meets the following conditions:

[0033] K=β*γ, wherein β is an installation error corresponding to replacing the cutting tool, and γ is a safety factor corresponding to replacing the cutting tool.

[0034] In the embodiments of the present application, β meets the following conditions:

[0035] β=a*R0, R0 is the blade radius of the current cutting tool, and a is a preset installation error coefficient of the cutting tool.

[0036] Further, a∈[0.4, 0.6].

[0037] ​Furthermore, a = 0.5; due to the construction of the turning tool, the current tool setting position on the target coordinate axis is close to the previous tool setting position. It may be further away from the target origin from the previous tool setting position, or it may be closer to the target origin from the previous tool setting position. Therefore, it is necessary to set an interval distance between the first position point and the previous tool setting position point. The interval distance is related to the cutting tool's cutting edge radius. Therefore, the tool installation error is set to 0.5 times the cutting tool radius to avoid tool setting errors in subsequent processes, making the current tool setting position more accurate.

[0038] In the embodiments of the present invention, those skilled in the art can set the safety factor corresponding to the replacement of the cutting tool according to actual needs, which will not be elaborated here.

[0039] S300. During the process of the cutting tool moving from Z0 to Z1 along the axial direction of the target coordinate axis, acquire the first cutting force signal list A = (A1, A2, ..., A...). i , ..., A m ), i = 1, 2, ..., m, where m is the number of the first cutting force signals; where A i This is the i-th first cutting force signal obtained.

[0040] Specifically, the first cutting force signal is the denoised cutting force signal.

[0041] S400. According to A, obtain the first spectrum entropy list H1 = (H11, H12, ..., H1...). i H1 m ); where H1 i For A i The corresponding first spectral entropy, H1 i Meets the following conditions:

[0042] Where j = 1, 2, ..., n(i), and n(i) is A i The number of amplitude values ​​in the corresponding amplitude spectrum, f ij For A i The j-th amplitude value in the corresponding amplitude spectrum.

[0043] In this embodiment of the invention, H1 can be obtained through the following steps:

[0044] S410. Perform a Fourier transform on each first cutting force signal in A to obtain the corresponding first amplitude value list set f = (f1, f2, ..., f...). i , ..., f m ); where A i The first amplitude value list f obtained after Fourier transform i =(fi1 , f i2 ,..., f ij ,..., f in(i) );

[0045] Specifically, a fast Fourier transform is performed on each first cutting force signal in A to obtain a corresponding first amplitude value list of A.

[0046] S430, according to f, a first spectrum entropy list H1 is obtained.

[0047] The above, by Fourier transform of the first cutting force signal, the first amplitude value list is obtained and the first spectrum entropy list is calculated according to the first amplitude value list. Since the first cutting force signal is the signal collected by the cutting tool moving between the target origin and the safe tool setting position, the first spectrum entropy calculated is the spectrum entropy corresponding to the non-tool setting position.

[0048] S500, according to H1, a target spectrum entropy range H0 = [h1, h2] is obtained; wherein h1 is the upper limit value corresponding to the target spectrum entropy range, h2 is the lower limit value corresponding to the target spectrum entropy range, and the ratio between the number of first spectrum entropy corresponding to H0 and m is greater than 0.99.

[0049] In the embodiment of the application, H0 can be obtained by the following steps:

[0050] S501, based on H1, a key mean value v is obtained; wherein v meets the following conditions:

[0051] v = ∑ m i=1 (H1 i ) / m;

[0052] S502, based on H1, a key standard deviation c is obtained; wherein c meets the following conditions:

[0053]

[0054] S503, according to c and v, a key frequency F0 is obtained; wherein F0 meets the following conditions:

[0055] x is the distribution value of the first spectrum entropy in the normal distribution, is the floor function;

[0056] In the embodiment of the application, x = v-3c or v+3c; since the first spectrum entropy in the first spectrum entropy list meets the normal distribution, the key frequency values corresponding to v-3c and v+3c are the same.

[0057] Specifically, the key occurrence frequency can be understood as the number of occurrences in the first spectrum entropy list, for example, when F0=1, it represents that there is only one spectrum entropy with the same value in the first spectrum entropy list.

[0058] S504, obtaining a third spectrum entropy list H3=(H31, H32, …, H3 t , …, H3 T ), t=1, 2, …, T, T is the number of first spectrum entropies with the occurrence frequency F0 in H1; wherein H3 t is the tth third spectrum entropy in H3.

[0059] Specifically, the third spectrum entropy can be understood as the first spectrum entropy with the occurrence frequency F0 in the first spectrum entropy list.

[0060] Further, T≤m.

[0061] S505, based on H3, obtaining a maximum spectrum entropy H3 max and a minimum spectrum entropy H3 min ; wherein H3 max and H3 min satisfy the following conditions:

[0062] H3 max =max(H3), max() is a maximum value determination function;

[0063] H3 min =min(H3), min() is a minimum value determination function;

[0064] S506, taking the third spectrum entropy corresponding to H3 min as h1; and taking the third spectrum entropy corresponding to H3 max as h2, to obtain H0.

[0065] As described above, by obtaining the key mean and key standard deviation, the key frequency is obtained. Then, the third spectral entropy list is generated by obtaining the third spectral entropy of the frequencies appearing as key frequencies in the first spectral entropy list. The maximum and minimum spectral entropy within the third spectral entropy list are obtained. The third spectral entropy corresponding to the minimum spectral entropy is used as the upper limit of the target spectral entropy range; the third spectral entropy corresponding to the maximum spectral entropy is used as the lower limit of the target spectral entropy range. Since the first spectral entropy in the first spectral entropy list conforms to a normal distribution, and all the first spectral entropies in the first spectral entropy list correspond to spectral entropies at non-targeting positions, according to the three sigma criterion under normal distribution, the distribution value of the first frequency under normal distribution is set to c-3v or c+3v. The target spectral entropy range obtained through the above steps can include more than 90% of the first spectral entropies. Therefore, the first spectral entropy corresponding to H0 contains the vast majority of spectral entropies at non-targeting positions.

[0066] S600. Based on Z1 and Z0, obtain the target position point list D = (D1, D2, ..., D0) on the target coordinate axis. r , ..., D R ), r = 1, 2, ..., R, where R is the number of target location points in D; where D r Let D be the r-th target position point on the target coordinate axis. r The distance between Z1 and D is greater than D. r-1 The distance between Z1 and D r The distance between Z0 and D is greater than D. r-1 The distance between D1 and Z0, where D1 and Z1 are at the same location point. r -D r-1 =d0; d0 is the preset distance threshold.

[0067] Specifically, d0 = 10nm.

[0068] S700: Obtain the initial parameter g = 1, and control the cutting tool to perform tool setting operation according to Dg;

[0069] The tool setting operation includes the following steps:

[0070] S710, Control the cutting tool from D g Move to D g+1 ;

[0071] S720, Obtain the cutting tool's axial position along the target coordinate axis from D g To D g+1 During the movement, the second cutting force signal list B = (B1, B2, ..., B) is obtained. q , ..., B Q ), q = 1, 2, ..., Q, where Q is the number of second cutting force signals; where B qacquire the qth second cutting force signal;

[0072] Specifically, the second cutting force signal is a denoised cutting force signal.

[0073] Further, in the process of moving the tool to the next target position point, the second cutting force signal is processed, when the cutting tool moves to the next target position point but the second cutting force signal is not completely processed, the cutting tool stops moving to avoid contact with the workpiece, and wear of the cutting tool and the workpiece.

[0074] S730, according to B, acquiring a second spectrum entropy list H2=(H21, H22, …, H2 q , …, H2 Q ); wherein H2 q is the corresponding second spectrum entropy of B q .

[0075] S740, when there is a second spectrum entropy in H2 which does not belong to H0, tool setting is performed at the D g+1 position point; otherwise, g=g+1 is set, and S710 is executed.

[0076] In the embodiment of the application, the second cutting force signal list collected in the moving process of the cutting tool from the current target position point to the next target position point is acquired, the second spectrum entropy corresponding to the second cutting force signal is acquired to obtain a second spectrum entropy list, when there is a second spectrum entropy in the second spectrum entropy list which does not belong to the target spectrum entropy range, tool setting is performed at the next target position point; otherwise, the cutting tool continues to move forward, and the above steps are executed again until there is a second spectrum entropy in the second spectrum entropy list which does not belong to the target spectrum entropy range, the movement of the cutting tool is stopped, and tool setting is performed at the next target position point of the current position point of the cutting tool. The automatic control of the tool movement avoids manual operation, reduces the cost, and improves the efficiency.

[0077] The above, by acquiring the target origin corresponding to the target coordinate axis where the cutting tool is located, acquiring the first position point located on the target coordinate axis, acquiring the first cutting force signal list according to the target origin and the first position point, acquiring the first frequency spectrum entropy corresponding to the first cutting force to generate the first frequency spectrum entropy list, acquiring the target frequency spectrum entropy range, acquiring the target position point list on the target coordinate axis according to the target origin and the first position point, and processing the second frequency spectrum entropy corresponding to the target position point in the target position point list, and selecting the tool setting position point. Through the above process, the tool setting time point is selected. Compared with the existing trial cutting method for tool setting, only the cutting of the workpiece is started when the tool setting point is calculated, the wear of the cutting tool is reduced, and the tool setting time used is saved by processing the data in the process of the movement of the cutting tool. Compared with the traditional trial cutting method, the user does not need to control the cutting tool during the tool setting process, the time cost and labor cost required for tool setting are saved, and therefore, the tool setting efficiency of the cutting tool is improved.

[0078] In a specific embodiment of the present application, the cutting force signal acquired by the cutting tool during the axial movement of the target coordinate axis from Z0 to Z1 along the target coordinate axis is denoised to obtain the first cutting force signal by the following steps:

[0079] S10, acquire the cutting force signal information list P=(P1, P2,..., P i ,..., P m ), i=1, 2,..., m, m is the number of cutting force signal information; wherein P i is the i-th cutting force signal information, and the cutting force signal information at least includes: the time of acquiring the corresponding cutting force signal and the corresponding signal intensity of the cutting force signal; the signal intensity is used to represent the size of the cutting force.

[0080] Specifically, in ultra-precision turning, the cutting force is extremely weak, only mN level, the acquired cutting force signal is a weak signal, which is easily affected by electromagnetic interference and sensor noise, and brings difficulties to tool state monitoring and machining quality evaluation, therefore, it is necessary to denoise to obtain cutting force signal with higher detection precision.

[0081] In the embodiment of the present application, P can be acquired by the following steps:

[0082] S101, acquire the target sampling frequency f0 and the sampling time t0.

[0083] Specifically, f0 can be acquired by the following steps:

[0084] S1011, acquire the center frequency f c corresponding to the current cutting signal of the cutting tool;

[0085] S1012, when the current cutting signal indicates that the cutting tool is in the working state, S1013 is performed; when the current cutting signal indicates that the cutting tool is in the non-working state, S1014 is performed;

[0086] Specifically, the working state is that the tool is cutting the workpiece, and the non-working state is that the tool is in the process of movement but is not cutting the workpiece.

[0087] Further, the transition of the cutting state of the tool is judged by the preset sensor, and when it is judged that the cutting state of the tool is transitioned, the cutting state transition information is transmitted to the server corresponding to the tool.

[0088] S1013, according to f c , f0=6f c is obtained;

[0089] S1014, according to f c , f0=3f c is obtained.

[0090] The above, through S1011 and S1013, the target sampling frequency is determined, when the working state of the cutting tool is judged according to the current cutting force signal, when it is judged that the cutting tool is in the working state, the target sampling frequency is set to 6 times the center frequency; when it is judged that the cutting tool is in the non-working state, the target sampling frequency is set to 3 times the center frequency; the target sampling frequency changes according to the working state of the cutting tool, so that the density of the cutting force signal obtained in unit time when the cutting tool is in the working state is greater than that when the cutting tool is in the non-working state; avoid too much useless cutting force signal, which leads to a larger error in judging the state of the tool when working according to the cutting force signal.

[0091] S102, according to f0 and t0, the target sampling quantity Num is obtained;

[0092] Specifically, Num meets the following conditions:

[0093] Num=f0*t0.

[0094] Further, t0=1s, avoid that when the user sets the sampling time too short, the cutting force signal collected is too little to cause the cutting state of the cutting tool to be inaccurate in subsequent judgment; also avoid that when the user sets the sampling time too long, the cutting force signal collected is too much to cause the workload of the processor to be too large when processing the cutting force signal, so that the processing speed is reduced, the processing efficiency is too low, and the cutting state of the cutting tool is not timely.

[0095] In the embodiment of the present application, f0 and t0 are calculated to obtain Num, which avoids the problem that the subsequent calculation is inaccurate due to the insufficient number of cutting force signals obtained by sampling caused by the user arbitrarily setting t0.

[0096] S103, collecting the cutting signal of the cutting tool with a time length of t0 at f0 to obtain P.

[0097] S20, performing vectorization processing on P to obtain a cutting force signal vector list Q=(Q1, Q2, …, Q i , …, Q m ); wherein Q i is a cutting force signal vector obtained by performing vectorization processing on P i .

[0098] Specifically, since the cutting force signal in the present application belongs to a time domain discrete signal, the cutting force signal can be naturally represented as a cutting force signal vector corresponding to the cutting force signal based on the cutting force signal information.

[0099] In the embodiment of the present application, Single Instruction Multiple Data is used to perform vectorization processing on P to obtain B.

[0100] Further, by converting the cutting force signal information into a cutting force signal vector through vectorization processing, the expression of the cutting force signal is more unified and simple, and the acquisition of the target vector matrix is also easier to express.

[0101] S30, according to Q, obtaining a target vector matrix list BZ=(BZ1, BZ2, …, BZ t , …, BZ T ), t=1, 2, …, T, T is the number of target vector matrices obtained according to m; wherein BZ t is a target vector matrix with an embedding dimension of t+1, and the target vector matrix is a hankel matrix, BZ t meets the following conditions:

[0102]

[0103] Wherein, p meets the following condition p=m-t.

[0104] Specifically, T≤m-1, which can be understood as that the embedding dimension of the target vector matrix is less than or equal to the number of cutting force signal vectors constituting the target vector matrix.

[0105] Preferably, Wherein, The integer part is the rounding symbol; it can be understood as the number of target vector matrices being half the number of cutting force signal vectors. This avoids inaccurate processing results due to an insufficient number of target vector matrices, and also avoids excessive workload on the processor during subsequent processing due to an excessive number of target vector matrices, which would reduce processing speed and efficiency, and make it difficult to judge the cutting status of the cutting tool in a timely manner.

[0106] S400. Perform singular value decomposition on each target vector matrix in BZ to obtain a target information list P = (P1, P2, ..., P...). j ..., P n ); where P j For BZ j The corresponding target information content is the second information content on the diagonal of the singular value matrix obtained after singular value decomposition of the target vector matrix.

[0107] Specifically, those skilled in the art will know that any method for performing singular value decomposition on the target vector matrix falls within the protection scope of this invention, and will not be elaborated further here.

[0108] Furthermore, after performing singular value decomposition on the target vector matrix, the information content in the information content list corresponding to each target vector matrix is ​​arranged in descending order.

[0109] Furthermore, obtaining the second piece of information from the diagonal of the singular value matrix obtained after singular value decomposition of each target vector matrix can be understood as obtaining the second piece of information obtained after singular value decomposition of each target vector matrix as the target information. Since the first two pieces of information in the information list corresponding to each target vector matrix generally contain most of the cutting force signal information, in order to highlight the change in observation amplitude and detection accuracy, the second piece of information obtained after singular value decomposition of each target vector matrix is ​​selected as the target information.

[0110] S50. Based on X, obtain the target rate of change list H = (H1, H2, ..., H...). g H T-1 ), g = 1, 2, ..., T-1; where, H g For X t+1 The corresponding target rate of change, H g Meets the following conditions:

[0111] H g =X g+1 -X g .

[0112] S600. Based on H, obtain the list of key rate of change information Q = (Q1, Q2, ..., Q...).k , …, Q n-3 ), k = 1, 2, …, n-3; wherein, the kth key change rate information Q k = (S k , v 1 k , v 2 k , q k ), S k is the key embedding dimension, v 1 k is the first key change rate, v 2 k is the second key change rate, q k is the S k corresponding key change value, q k meets the following conditions:

[0113] wherein, v 1 k = H k+1 -H k , v 2 k = H k+2 -H k+1 , S k = k+1.

[0114] Specifically, by obtaining the key change value, the target change rate curve of the target change rate, whose longitudinal coordinate is the target change rate and whose horizontal coordinate is the embedding dimension corresponding to the target change rate, can be obtained, and according to the target change rate curve, the embedding dimension that obviously decreases with the increase of the embedding dimension in the target change rate curve can be obtained. According to the embedding dimension feature, the embedding dimension that obviously decreases with the increase of the embedding dimension in the target change rate curve is the preferred embedding dimension. In the embodiment of the present application, when q k = 0, q k corresponding S k is the embedding dimension that obviously decreases with the increase of the embedding dimension in the target change rate curve.

[0115] S70, taking the target vector matrix corresponding to the specified embedding dimension S0 as the key vector matrix XZ; wherein, S0 is the key embedding dimension corresponding to the second change rate information whose second key change value is 0 in the key change rate information list.

[0116] Specifically, the key embedding dimension corresponding to the second change rate information whose second key change value is 0 in the second change rate information list is obtained; in order to ensure the accuracy of the reconstructed signal, the key embedding dimension corresponding to the second change rate information whose second key change value is 0 in the second change rate information list is selected.

[0117] S80, singular value decomposition is performed on XZ to obtain a key information quantity list G=(G1, G2,..., G f ,..., G F ), f=1, 2,..., F, F is the number of key information quantities corresponding to XZ; wherein G f is the fth key information quantity obtained after singular value decomposition is performed on XZ.

[0118] Specifically, G1>G2>...>G f >...>G F .

[0119] S90, a maximum information quantity order t is obtained; wherein t meets the following condition:

[0120] t=arg f min(d f ), argmin() is a variable value function of a variable corresponding to a minimum value of a function, wherein d f meets the following condition:

[0121] Specifically, G1 / F is the slope of the diagonal line in the key information quantity curve diagram with the vertical coordinate being the key information quantity and the horizontal coordinate being the order corresponding to the key information quantity; G f / F is the slope corresponding to the fth key information quantity.

[0122] Further, d f is the numerical value corresponding to the key information quantity with the minimum vertical distance between the fth key information quantity and the diagonal line with the slope G1 / F in the key information quantity curve diagram as the maximum information quantity order; because the earlier the order of the key information quantity is, the larger the numerical value of the key information quantity is, only the key information quantities before the maximum information quantity order t are retained with the maximum information quantity order t as a boundary, the majority of information of the cutting force signal is retained while avoiding the noise influence of the key information quantities after the maximum information quantity order on the cutting force signal, and therefore, the information of the cutting force signal is retained as much as possible while the noise of the cutting force signal is removed.

[0123] In the embodiment of the application, each key information quantity after G t in G is set to 0 by selecting the vertical distance between the diagonal line with the slope G1 / F in the key information quantity curve diagram, and P is reconstructed through the inverse diagonal method to obtain A.

[0124] In the embodiment of the application, the second cutting force signal acquisition method is the same as the first cutting force signal acquisition method, and will not be described herein again.

[0125] The embodiment of the present application further provides a non-transitory computer readable storage medium, which can be arranged in an electronic device to store at least one instruction or at least one program for implementing a method related to the method in the method embodiment, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the method provided by the above embodiment.

[0126] The embodiment of the present application further provides an electronic device, comprising a processor and the aforementioned non-transitory computer readable storage medium.

[0127] The embodiment of the present application further provides a computer program product, which comprises program codes, and the program codes are used for causing an electronic device to execute the steps in the method according to various exemplary embodiments of the present application described in the specification when the program product is run on the electronic device.

[0128] Although some specific embodiments of the present application have been described in detail by examples, those skilled in the art should understand that the above examples are only for illustration, but not for limiting the scope of the present application. Those skilled in the art should also understand that various modifications can be made to the embodiments without departing from the scope and spirit of the present application. The scope of the present application is defined by the appended claims.

Claims

1. A method of determining a tool setting position of a cutting tool, characterized by, The method comprises the following steps: S100, acquiring a target origin Z0 corresponding to a target coordinate axis of a cutting tool; wherein Z0 is at a safe tool setting position of the target coordinate axis; S200, acquiring a first position point Z1 on the target coordinate axis, and controlling the cutting tool to move from Z0 to Z1 along the axial direction of the target coordinate axis; wherein Z1 satisfies the following condition: Z1 = W1 - k, wherein W1 is the last tool setting position corresponding to the current target coordinate axis, and k is a distance adjustment factor; S300、in the process that the cutting tool moves from Z0 to Z1 along the axial direction of the target coordinate axis, a first cutting force signal list A=(A1, A2, …, A i , …, A m ) is acquired, i=1, 2, …, m, m is the number of first cutting force signals; wherein A i is the ith acquired first cutting force signal; S400. According to A, obtain the first spectrum entropy list H1 = (H11, H12, ..., H1...). i , ..., H1 m ); where H1 i For A i The corresponding first spectral entropy, H1 i Meets the following conditions: where j = 1, 2,..., n(i), n(i) is the number of A i the number of amplitude values in the corresponding amplitude spectrum, f ij is A i the jth amplitude value in the corresponding amplitude spectrum; S500, acquiring a target spectrum entropy range H0 = [h1, h2] according to H1; wherein h1 is an upper limit value corresponding to the target spectrum entropy range, h2 is a lower limit value corresponding to the target spectrum entropy range, and the ratio between the number of first spectrum entropies corresponding to H0 and m is greater than 0.99; S600、According to Z1 and Z0, a target position point list D=(D1, D2, …, D r , …, D R ) on a target coordinate axis is obtained, r=1, 2, …, R, R is the number of target position points in D; wherein, D r is the rth target position point on the target coordinate axis, the distance between D r and Z1 is greater than the distance between D r-1 and Z1, and the distance between D r and Z0 is greater than the distance between D r-1 and Z0, D1 and Z1 are the same position point, D r -D r-1 =d0; d0 is a preset distance threshold value; S700, obtain an initial parameter g = 1, and according to D g controlling the cutting tool to perform a tool setting operation; The tool setting operation comprises the following steps: S710, controlling the cutting tool to move from D g to D g+1 ; S720, acquiring a second cutting force signal list B=(B1, B2, …, B g D g+1 During the moving process, a second cutting force signal list B=(B1, B2, …, B q , …, B Q )q=1, 2, …, Q, Q is the number of second cutting force signals is acquired; wherein B q is the qthsecond cutting force signal acquired; S730、According to B, a second spectrum entropy list H2=(H21, H22, …, H2 q ) is obtained; wherein H2 Q is the second spectrum entropy corresponding to B q . q ​ S740、when there is a second spectral entropy in H2 that does not belong to H0, in D g+1 Tool setting at the position point; otherwise, set g = g + 1, and perform S710.

2. The method of claim 1, wherein, H1 can be acquired by the following steps: S410, Fourier transform is performed on each first cutting force signal in A to obtain a corresponding first amplitude value list set f=(f1, f2,..., f i ) m ) of A; wherein, A i The first amplitude value list f i =(f i1 , f i2 ,..., f ij ,..., f in(i) ) obtained after Fourier transform S430, acquiring a first spectrum entropy list H1 according to f.

3. The method of claim 1, wherein, H0 can be acquired by the following steps: S501, acquiring a key mean value v based on H1; wherein v satisfies the following condition: v = ∑ m i=1 (H1 i ) / m; S502, acquiring a key standard deviation c based on H1; wherein c satisfies the following condition: S503, acquiring a key frequency F0 according to c and v; wherein F0 satisfies the following condition: x is a distribution value of the first spectral entropy in a normal distribution, is a floor function, x = v - 3c; S504, acquiring a third spectrum entropy list H3=(H31, H32, …, H3 t , …, H3 T ) with a frequency F0 in H1, t=1, 2, …, T, T being a number of first spectrum entropies with the frequency F0 in H1; wherein H3 t is the tth third spectrum entropy in H3. S505, based on H3, obtain the maximum spectral entropy H3 max and the minimum spectral entropy H3 min ; wherein H3 max and H3 min comply with the following conditions: H3 max = max(H3), max() is a maximum value determination function; H3 min = min(H3), min() is a minimum determination function; S506、H3 min the corresponding third spectral entropy as h1; H3 max the corresponding third spectral entropy as h2, to obtain H0.

4. The method of claim 1, wherein, In S200, k satisfies the following condition: K = β * γ, wherein β is an installation error corresponding to the replacement of the cutting tool, and γ is a safety coefficient corresponding to the replacement of the cutting tool.

5. The method of claim 4, wherein, β satisfies the following condition: β = a * R0, R0 is the blade radius of the current cutting tool, and a is a preset cutting tool installation error coefficient.

6. The method of claim 5, wherein, a∈[0.4,0.6]。 7. The method of claim 6, wherein, a=0.5。 8. The method of claim 1, wherein, d0 = 10 nm.

9. A non-transitory computer readable storage medium, the storage medium having at least one instruction or at least one program stored therein, the at least one instruction or the at least one program being loaded and executed by a processor to implement the method of any one of claims 1-8.

10. An electronic device, comprising: A processor and the non-transitory computer readable storage medium of claim 9.

Citation Information

Patent Citations

  • Variable working condition tool wear monitoring method and system based on cutting force composition decoupling

    CN114905336A

  • Method for aligning cutting tool in turning, intelligent tool holder, and tool setting method

    WO2020107854A1