A counterbore depth control method and device, a storage medium and an electronic device
By integrating compensation data and neural network prediction, precise control of the countersink depth in the countersinking process of aircraft parts has been achieved, solving the problem of insufficient precision in existing technologies and improving the surface quality and performance of aircraft connectors.
Patent Information
- Application Number
- CN202410080749.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-19
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2044-01-19
AI Technical Summary
In the existing technology, the depth accuracy of the countersink in the countersinking process of aircraft parts is poor, and precise control cannot be achieved, which affects the surface step of the connecting parts and the performance of the aircraft.
By obtaining material deformation compensation data, tool tip position compensation data, gap compensation data, and skin curvature compensation data, the target compensation data for the countersink depth is calculated comprehensively. The gap error is then predicted using a neural network, thereby achieving precise control of the countersink depth.
This improved the accuracy of the countersink depth, reduced the surface step difference after the connectors were installed, and enhanced the aerodynamic performance and stability of the aircraft.
Smart Images

Figure CN117862574B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of drilling and counterboring processing, and particularly relates to a counterbore depth control method and device, a storage medium and an electronic device. BACKGROUND
[0002] There are tens of thousands of connectors on the surface of an aircraft, which are used for connecting and fixing the skin and structure. The surface step difference of the connectors is largely dependent on the counterbore depth of the connectors. Therefore, accurately controlling the counterbore depth is a main means of controlling the surface step difference of the connectors. At present, the counterbore is performed by using numerical control processing to improve the counterbore accuracy. However, the counterbore depth stability is poor due to the influence of the skin curved surface, material, tool installation and other factors, and accurate control cannot be achieved. SUMMARY
[0003] The main purpose of the present application is to provide a counterbore depth control method and device, a storage medium and an electronic device, which aims to solve the problem of poor accuracy of the counterbore depth of the aircraft parts in the prior art drilling and counterboring processing.
[0004] To achieve the above-mentioned purpose, the technical solutions adopted by the embodiments of the present application are as follows:
[0005] In a first aspect, the embodiments of the present application provide a counterbore depth control method, comprising the following steps:
[0006] obtaining material deformation compensation data according to the initial feed amount and the actual feed amount of the feed shaft;
[0007] obtaining tool tip point position compensation data according to the counterbore depth measurement value and the nominal counterbore depth value of the target workpiece;
[0008] obtaining gap compensation data according to the skin curvature compensation data, the drilling coordinate data, the lamination thickness data of the target workpiece and the material deformation compensation data;
[0009] obtaining counterbore depth target compensation data of the target workpiece according to the material deformation compensation data, the skin curvature compensation data, the tool tip point position compensation data and the gap compensation data.
[0010] In a possible implementation manner of the first aspect, the gap compensation data is obtained according to the skin curvature compensation data, the drilling coordinate data, the lamination thickness data of the target workpiece and the material deformation compensation data, comprising:
[0011] establishing input vector data according to the skin curvature compensation data, the drilling coordinate data, the lamination thickness data of the target workpiece and the material deformation compensation data;
[0012] input the input vector data into the gap compensation model to obtain gap compensation data; wherein the gap compensation model is trained based on the skin curvature compensation data, the drilling coordinate data, the target workpiece layer thickness data, and the material deformation compensation data.
[0013] In a possible implementation manner of the first aspect, before the tool tip point position compensation data is obtained according to the target workpiece counterbore drilling depth measurement value and the nominal counterbore depth value, the method further includes:
[0014] The nominal counterbore depth value is obtained according to a head diameter and a bottom diameter of the counterbore hole and an inclined angle of the head of the counterbore hole obtained by counterboring the target workpiece.
[0015] In a possible implementation manner of the first aspect, before the gap compensation data is obtained according to the skin curvature compensation data, the drilling coordinate data, the target workpiece layer thickness data, and the material deformation compensation data, the method further includes:
[0016] The skin curvature compensation data is obtained according to a surface concave-convex direction of the target workpiece.
[0017] In a possible implementation manner of the first aspect, the skin curvature compensation data is obtained according to the surface concave-convex direction of the target workpiece, and the method includes:
[0018] When the surface concave-convex direction of the target workpiece is a concave direction, an outline curvature radius of the target workpiece is obtained.
[0019] The skin curvature compensation data is obtained according to the outer diameter of the pressure foot and the outline curvature radius.
[0020] In a possible implementation manner of the first aspect, before the material deformation compensation data is obtained according to the initial feed amount and the actual feed amount of the feed shaft, the method further includes:
[0021] The target workpiece is clamped by using a clamping device.
[0022] The initial feed amount of the feed shaft of the target workpiece in the clamped state is obtained.
[0023] The actual feed amount of the feed shaft of the target workpiece in the clamped state and during counterboring is obtained.
[0024] In a possible implementation manner of the first aspect, the target workpiece counterbore depth target compensation data is obtained according to the material deformation compensation data, the skin curvature compensation data, the tool tip point position compensation data, and the gap compensation data, and the method includes:
[0025] The target workpiece counterbore depth target compensation data is obtained according to a sum of the material deformation compensation data, the skin curvature compensation data, the tool tip point position compensation data, and the gap compensation data.
[0026] In a second aspect, the embodiments of the present application provide a counterbore depth control device, comprising:
[0027] a first compensation obtaining module, configured to obtain material deformation compensation data according to the initial feed amount and the actual feed amount of the feed shaft;
[0028] a second compensation obtaining module, configured to obtain tool tip point position compensation data according to the measured counterbore depth value and the nominal counterbore depth value of the target workpiece;
[0029] a third compensation obtaining module, configured to obtain gap compensation data according to the skin curvature compensation data, the drilling coordinate data, the lamination thickness data of the target workpiece and the material deformation compensation data;
[0030] a target compensation obtaining module, configured to obtain counterbore depth target compensation data of the target workpiece according to the material deformation compensation data, the skin curvature compensation data, the tool tip point position compensation data and the gap compensation data.
[0031] In a third aspect, the embodiments of the present application provide a computer readable storage medium, which stores a computer program, and the computer program is loaded and executed by a processor to implement the counterbore depth control method provided in any one of the first aspect.
[0032] In a fourth aspect, the embodiments of the present application provide an electronic device, comprising a processor and a memory, wherein,
[0033] the memory is configured to store a computer program;
[0034] the processor is configured to load and execute the computer program, so that the electronic device performs the counterbore depth control method provided in any one of the first aspect.
[0035] Compared with the prior art, the beneficial effects of the present application are:
[0036] The application embodiment provides a counterbore depth control method, device, storage medium and electronic equipment. The method comprises the following steps: obtaining material deformation compensation data according to an initial feed amount and an actual feed amount of a feed shaft; obtaining tool tip point position compensation data according to a measured counterbore depth value and a nominal counterbore depth value of target workpiece drilling and counterboring; obtaining gap compensation data according to skin curvature compensation data, drilling coordinate data, target workpiece layer thickness data and material deformation compensation data; and obtaining target workpiece counterbore depth target compensation data according to the material deformation compensation data, the skin curvature compensation data, the tool tip point position compensation data and the gap compensation data. The application first determines the compensation for the workpiece material deformation in the machining process by the change of the feed amount of the feed shaft of the advancing tool in the machining process, then determines the compensation for the error caused by the change of the tool tip point position caused by the installation by the actual counterbore depth and the nominal counterbore depth in the drilling and counterboring process. Since the workpiece deforms in the counterbore process, the compression ring cannot be in complete contact with the workpiece, and then the gap is caused. The gap part cannot be measured online, so the compensation of the gap part is indirectly obtained through other related variables. Finally, the final compensation for the counterbore depth is obtained by comprehensively considering the compensation amounts of the foregoing aspects, so as to realize the control of the counterbore depth and improve the accuracy of the counterbore depth. BRIEF DESCRIPTION OF DRAWINGS
[0037] Figure 1 An electronic equipment structure schematic diagram of a hardware running environment related to the application embodiment;
[0038] Figure 2 A flowchart of the counterbore depth control method provided by the application embodiment;
[0039] Figure 3 An application scenario schematic diagram of the counterbore depth control method provided by the application embodiment;
[0040] Figure 4 A planar counterbore depth theoretical calculation schematic diagram in the counterbore depth control method provided by the application embodiment;
[0041] Figure 5 A parameter schematic diagram of the initial feed amount of the feed shaft in the counterbore depth control method provided by the application embodiment;
[0042] Figure 6 A parameter schematic diagram of the actual feed amount of the feed shaft in the counterbore depth control method provided by the application embodiment;
[0043] Figure 7 A convex surface skin compensation front view in the counterbore depth control method provided by the application embodiment;
[0044] Figure 8 A convex surface skin compensation side view in the counterbore depth control method provided by the application embodiment;
[0045] Figure 9 The schematic diagram of the concave cylindrical surface feature compensation in the control method of the pocket depth provided by the embodiment of the present application;
[0046] Figure 10 The schematic diagram of the tool tip position compensation in the control method of the pocket depth provided by the embodiment of the present application;
[0047] Figure 11 The structural schematic diagram of the trial tool unit in the control method of the pocket depth provided by the embodiment of the present application;
[0048] Figure 12 The structural schematic diagram of the drill jig carrier in the control method of the pocket depth provided by the embodiment of the present application;
[0049] Figure 13 The schematic diagram of the gap between the pressure ring and the workpiece surface in the control method of the pocket depth provided by the embodiment of the present application;
[0050] Figure 14 The neural network framework schematic diagram of the gap compensation model in the control method of the pocket depth provided by the embodiment of the present application;
[0051] Figure 15 The module schematic diagram of the control device of the pocket depth provided by the embodiment of the present application;
[0052] In the figure, 101 is a processor, 102 is a communication bus, 103 is a network interface, 104 is a user interface, 105 is a memory, 1 is a gantry type numerical control machine tool unit, 11 is a gantry frame, 111 is a beam unit, 112 is a column unit, 12 is a machining spindle, 121 is a feed shaft, 122 is a grating ruler, 123 is a presser foot, 124 is a presser foot displacement sensor, 125 is a machining tool, 13 is a numerical control system, 2 is a main machine unit, 3 is a trial tool unit, 31 is a laminated trial cutting piece, 311 is a trial cutting piece A, 312 is a trial cutting piece B, 32 is a drill jig carrier, 33 is a driving motor, 34 is a motion slide, 4 is a line laser scanner, 5 is a workpiece to be machined, 6 is a tooling unit, 7 is an outer convex cylindrical surface, and 8 is an outer concave cylindrical surface. DETAILED DESCRIPTION
[0053] It should be understood that the specific embodiments described herein merely exemplify the present application and are not intended to limit the present application.
[0054] The main solution of the embodiment of the application is: obtaining material deformation compensation data according to the initial feeding amount and the actual feeding amount of the feeding shaft; obtaining tool tip point position compensation data according to the measured hole depth value and the nominal hole depth value of the target workpiece during drilling and counter boring; obtaining gap compensation data according to the skin curvature compensation data, the drilling coordinate data, the lamination thickness data of the target workpiece and the material deformation compensation data; and obtaining hole depth target compensation data of the target workpiece according to the material deformation compensation data, the skin curvature compensation data, the tool tip point position compensation data and the gap compensation data.
[0055] There are tens of thousands of connectors on the surface of an airplane, which are used for connecting and fixing the skin and the structure. The step difference formed by the connectors and the skin after installation will have a great impact on the performance of the airplane, including the aerodynamic performance, lift, drag, stability and the like of the airplane, and is an important indicator of the surface quality of the airplane. Reducing the surface step difference formed after installation of the connectors as much as possible is an important content in the field of airplane assembly. The surface step difference of the connectors is largely dependent on the counter bore depth of the connectors, and therefore, accurately controlling the counter bore depth is a main means of controlling the surface step difference of the connectors.
[0056] In order to improve the counter bore accuracy, the means of numerical control machining is gradually adopted for counter boring at present. From the counter boring results of the existing numerical control machining equipment, although the counter bore quality is greatly improved compared with manual operation, the factors such as the skin surface characteristics, weak rigidity and the tool tip point position error caused by tool installation lead to that the counter bore depth stability cannot be accurately controlled, and it is difficult to guarantee the process requirements.
[0057] Therefore, the application provides a solution. Firstly, the compensation for the deformation of the workpiece material during the machining process is determined by the change of the feeding amount of the feeding shaft of the advancing tool during the machining process, and then the error caused by the change of the tool tip point position caused by installation is compensated by the actual hole depth and the nominal hole depth during drilling and counter boring. Since the workpiece deforms during the counter boring process, the compression ring cannot be in complete contact with the workpiece, and then the gap is caused. However, the gap part cannot be measured online, and therefore, the compensation of the gap part is indirectly obtained through other related variables. Finally, the final compensation of the hole depth is obtained by comprehensively considering the compensation amounts of the foregoing aspects, so as to realize the control of the counter bore depth and improve the accuracy of the counter bore depth.
[0058] Reference is made to the accompanying drawings Figure 1 , the accompanying drawings Figure 1For the hardware running environment of the electronic device structure schematic diagram involved in the embodiment of the application, the electronic device can include: a processor 101, for example, a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. The communication bus 102 is used to realize the connection and communication between the components. The user interface 104 can include a display screen (Display), an input unit such as a keyboard (Keyboard), and an optional user interface 104 can also include a standard wired interface, a wireless interface. The network interface 103 can optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 105 can be a storage device independent of the aforementioned processor 101, and the memory 105 can be a high-speed random access memory (RAM) memory, or a stable non-volatile memory (NVM), for example, at least one disk memory; the processor 101 can be a general-purpose processor, including a central processing unit, a network processor, etc., and can also be a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.
[0059] Those skilled in the art can understand that the structure shown in the foregoing embodiments does not constitute a limitation on the electronic device, and can include more or fewer components than the illustrated components, or combine certain components, or different component arrangements. Figure 1
[0060] As shown in the foregoing embodiments, the memory 105 as a storage medium can include an operating system, a network communication module, a user interface module, and a dimple depth control device. Figure 1 In the electronic device shown in the foregoing embodiments, the network interface 103 is mainly used for data communication with a network server; the user interface 104 is mainly used for data interaction with a user; the processor 101 and the memory 105 in the application can be arranged in the electronic device, and the electronic device calls the dimple depth control device stored in the memory 105 through the processor 101, and executes the dimple depth control method provided in the embodiment of the application.
[0061] Figure 1 With reference to the hardware device based on the foregoing embodiments, the embodiment of the application can be implemented in the electronic device as shown in the foregoing embodiments.
[0062] With reference to the hardware device based on the foregoing embodiments, the embodiment of the application can be implemented in the electronic device as shown in the foregoing embodiments. Figure 2 Figure 3 The application scenario shown is carried out, specifically including a gantry CNC machine tool unit 1, which includes a gantry frame 11, a machining spindle 12 and a CNC system 13, wherein the gantry frame 11 has two parts, a crossbeam and a column, and the machining spindle consists of a feed shaft 121, a grating ruler 122, a presser foot 123, a presser foot displacement sensor 124 and a machining tool 125, and its main purpose is to process the workpiece 5 to be processed, that is, the target workpiece; the host unit 2 is used to send the machining program to the CNC system 13 and communicate with the gantry CNC machine tool unit. 1 and a line laser scanner 4, which acquire and process the countersink measurement information transmitted by the line laser scanner in real time; the test tool unit 3, which includes a laminated test cutting piece 31 (including a test cutting piece A311 and a test cutting piece B312), a drill jig bracket 32, a drive motor 33 and a motion slide 34. Before the gantry CNC machine tool 1 formally processes the workpiece 5 to be processed, a test cutting test is performed on the test tool unit 3; the line laser scanner 4 obtains the processing quality of the test tool unit 3 after drilling and countersinking test cutting by the line laser scanning; the workpiece 5 to be processed is fixedly placed on the tooling unit 6.
[0063] Based on this, an embodiment of the present application provides a method for controlling the depth of a countersink, comprising the following steps:
[0064] S10: Obtaining material deformation compensation data according to the initial feed amount and actual feed amount of the feed axis.
[0065] In a specific implementation, the feed shaft 121 is part of the machining spindle 12, which is coaxially arranged with the machining tool 125. During machining, the tool feed is controlled by the feed shaft. The target workpiece is pre-clamped. On the one hand, an absolute grating displacement sensor is used on the spindle feed to determine the tool axial position. On the other hand, a displacement sensor is installed on the clamping device to determine the workpiece surface position. The feedback signal is associated with the feed shaft, and the two change synchronously. That is, based on the initial feed amount and actual feed amount of the feed shaft, before obtaining material deformation compensation data, the method also includes:
[0066] Using a clamping device to clamp the target workpiece;
[0067] Obtain the initial feed amount of the feed axis when the target workpiece is in the clamping state;
[0068] Obtain the actual feed rate of the feed axis when the target workpiece is in a clamped state and is undergoing countersinking.
[0069] As attached Figure 5 As shown, when the clamping device completes the clamping, the value of the presser foot displacement sensor 124 is recorded, that is, the initial value W of the feed axis. During the drilling process, the feed axis is in the following mode, as shown in the attached figure. Figure 6As shown, the actual value is changed from W to W1, which is the real-time value of the actual feed amount. The instantaneous change value D1 measured by the presser foot sensor 124 during the machining process, i.e., the material deformation compensation value D1, can be calculated by the synchronous action function as follows:
[0070] D1 = W1 - W
[0071] The value of D1 is a real-time calculated value, which is used to compensate the axial position of the tool to obtain a more accurate counterbore depth.
[0072] S20: Obtain the tool tip point position compensation data according to the measured counterbore depth value and the nominal counterbore depth value of the target workpiece.
[0073] In the specific implementation process, the target workpiece refers to the parts of the aircraft that are subjected to numerical control counterboring. In this embodiment, parts with a typical laminated structure are used. In addition, the drilling and counterboring process in this embodiment can be performed by trial cutting, and the difference between the trial cutting result and the theoretical counterbore depth is compensated.
[0074] The schematic diagram of the tool tip point position compensation is shown in FIG. 4. Figure 10 As shown, the distance between the end face of the feed shaft 121 and the end face of the compression ring 123 is L, which is fixed and unchanged. The machining tool 125 is installed on the feed shaft 121, the distance between the end face of the feed shaft 121 and the tool tip point 125 is L1, and the distance between the end face of the compression ring 123 and the surface of the laminated trial cutting part 31 is L2. By setting L2 unchanged, the feed distance S of the counterboring process is the distance from the counterboring edge termination point to the surface point of the laminated trial cutting part. Among them, L and L2 are unchanged, but due to the influence of installation error, the value of L1 will change every time, so the distance D3 between the tool tip point and the end face of the compression ring 123 will be the key to affecting the feed distance S.
[0075] In order to compensate for the error caused by the distance D3 between the tool tip point and the end face of the compression ring 123 due to tool installation, the present application compensates for the difference between the trial cutting result and the theoretical counterbore depth by trial cutting on the trial tool part. As shown in FIG. 5, Figure 11 The trial tool unit 3 of the present application is shown in FIG. 6. The trial cutting unit 3 is fixed on the gantry frame 11, the laminated trial cutting part 31 is installed on the drill jig carrier 32 through bolts, and the structure of the drill jig carrier 32 is shown in FIG. 7. Figure 12 As shown, the drill jig carrier 32 moves on the motion slide 34 through the driving motor 33. In order to separate the influence of skin material deformation and surface characteristics on the counterbore depth, the drill jig carrier 32 is designed to be rigid. Before formal drilling and counterboring integrated machining, the machining spindle 12 performs trial cutting on the laminated trial cutting part 31. After the trial cutting is completed, the drill jig carrier 32 moves to the detection position on the motion slide through the driving motor 33, and the laser line scanner is used to measure the counterbore depth and transmit it to the main unit. The main unit transmits to the numerical control system, and the measurement result is h DD3 = h
[0076] D3 = h D -h A
[0077] D3 = h A is a nominal counterbore depth value, that is, the counterbore depth when the target workpiece is a plane, and the numerical control machining equipment uses a drill-counterbore integrated tool to perform integrated machining on the laminated material, and the nominal counterbore depth h is set in advance A That is, before the tool tip point position compensation data is obtained according to the counterbore depth measurement value and the nominal counterbore depth value of the target workpiece drilled and counterbored, the method further includes:
[0078] According to the head diameter and the bottom diameter of the counterbore obtained by drilling and counterboring the target workpiece, and the bevel angle of the head, the nominal counterbore depth value is obtained.
[0079] In the specific implementation process, as shown in the accompanying drawings Figure 4 It is a schematic diagram for theoretically calculating the counterbore depth of a plane, and the counterbore depth of the workpiece when the workpiece is a plane is determined according to the counterbore requirement of the workpiece. Wherein the parameters are the counterbore bottom diameter d1, the head diameter d2 and the head bevel angle θ, and the nominal counterbore depth value h A is calculated by the following formula:
[0080]
[0081] S30: Obtain gap compensation data according to skin curvature compensation data, drilling coordinate data, target workpiece layer thickness data and material deformation compensation data.
[0082] In the specific implementation process, as shown in the accompanying drawings Figure 13 It is a schematic diagram of the gap between the pressure ring and the workpiece surface of the present application. Since the workpiece will deform during counterboring, the pressure ring cannot be in complete contact with the workpiece, and a deformation-induced gap will be generated. Therefore, the position of the pressure ring cannot truly reflect the actual required tool feed point position, and this error needs to be compensated. However, this gap error cannot be directly obtained by online measurement, and can be predicted by using other related quantities. Specifically, a prediction method by constructing a neural network is provided, and the steps are as follows:
[0083] According to the skin curvature compensation data, the drilling coordinate data, the target workpiece layer thickness data and the material deformation compensation data, the gap compensation data is obtained, including:
[0084] According to the skin curvature compensation data, the drilling coordinate data, the target workpiece layer thickness data and the material deformation compensation data, an input vector data is established;
[0085] Input the input vector data into the gap compensation model to obtain gap compensation data; wherein the gap compensation model is trained based on a plurality of skin curvature compensation data, drilling coordinate data, target workpiece lamination thickness data, and material deformation compensation data.
[0086] In the specific implementation process, the counterbore compensation neural network DNN is constructed, and historical data is used for training. The trained gap compensation model is used to predict the compensation amount to obtain:
[0087] D4=DNN(h w ,D1,D2,x,y,z)
[0088] The architecture of the neural network is shown in the accompanying Figure 14 The error compensation neural network model input layer is first established, and the workpiece lamination thickness h w , deformation compensation D1, skin curvature compensation D2, hole coordinate x, y, and z are input as a vector to obtain:
[0089] Layer0=[h w ,D1,D2,x,y,z]
[0090] Then the error compensation neural network model hidden layer is established, a total of 12 hidden layers are established, layers 1-4 are all convolution layers, the input channel number is 1, the output channel number is 32, and the four layers are established as a residual block; layers 5-8 are all convolution layers, the input channel number is 32, the output channel number is 64, and the four layers are established as a residual block; layers 9-12 are all convolution layers, the input channel number is 64, the output channel number is 128, and the four layers are established as a residual block.
[0091] Each layer uses ReLU as the activation function except the last layer, and the last layer uses Softmax as the activation function. Each residual block structure is shown in the accompanying Figure 14 . Finally, the error compensation neural network model output layer is established. Because the last output channel of the hidden layer is 128, the input vector dimension is 6, the fully connected layer input is 6x128=768, and the fully connected layer output single value D4 is the compensation prediction value. The loss function is constructed as:
[0092]
[0093] Where h A is the nominal counterbore depth, h R is the measured counterbore depth, and the constructed network model is shown in the accompanying Figure 14 . h w , D1, D2, x, y, z, h A , h RThe constructed network model is trained with the historical data set, and the neural network parameters can be updated through back propagation for multiple iterative training. Finally, the trained model is used as the online compensation value prediction model, that is, the gap compensation model.
[0094] In one embodiment, before obtaining the gap compensation data based on the skin curvature compensation data, the drilling coordinate data, the target workpiece laminate thickness data, and the material deformation compensation data, the method further includes:
[0095] According to the surface concave-convex direction of the target workpiece, the skin curvature compensation data is obtained.
[0096] In the specific implementation process, the skin curvature compensation is adjusted according to the surface characteristics of the workpiece. First, the convex cylindrical surface characteristic compensation is used for explanation. Figure 7 The figure shows the front view of the convex surface skin compensation, Figure 8 The figure shows the side view of the convex surface skin compensation, where the outer diameter of the pressure foot 123 is d3, its outer shape is an outer convex cylindrical surface 7, and the outer curvature radius is R. The pressure foot 123 presses to the outer convex cylindrical surface 7, and the center of the pressure ring end face p1 can press to the starting position p2 of the hole normal vector on the workpiece. Then the depth of the pit depth compensation introduced by the pressure ring clamping gap is h B =0.
[0097] In one embodiment, obtaining skin curvature compensation data according to the surface concave-convex direction of the target workpiece includes:
[0098] According to the concave-convex direction of the surface of the target workpiece being the concave direction, the outer curvature radius of the target workpiece is obtained;
[0099] The skin curvature compensation data is obtained according to the outer diameter of the presser foot and the outer curvature radius.
[0100] In the specific implementation process, Figure 9 The figure shows the use of concave cylindrical surface feature compensation for explanation. Its outer shape is a concave cylindrical surface 8 with an outer curvature radius of R. The presser foot 123 presses to the convex cylindrical surface 7. The center of the press ring end face p1 cannot be pressed to the starting position p3 of the hole normal vector on the workpiece. There is a gap between the two. This gap is the depth compensation depth h introduced by the press ring clamping gap. C , the calculation formula is as follows:
[0101]
[0102] If attached Figure 7 In the embodiment shown, the outer shape is an outward convex cylindrical surface 7, and the dimple depth compensation value, i.e., the skin curvature compensation data, is determined as D2 as follows:
[0103] D2=h B =0
[0104] If the outer shape of the skin is an outward convex cylindrical surface, the skin hole depth final compensation value D5 is obtained as follows: Figure 9 If the outer shape of the skin is an outward convex cylindrical surface, the skin hole depth final compensation value D5 is obtained as follows:
[0105]
[0106] S40: obtaining the hole depth target compensation data of the target workpiece according to the material deformation compensation data, the skin curvature compensation data, the tool tip point position compensation data and the gap compensation data.
[0107] In the specific implementation process, the final compensation value is obtained by comprehensively considering the above-mentioned various compensations, that is, the hole depth target compensation data is the sum of all the compensations, that is, the hole depth target compensation data of the target workpiece is obtained according to the material deformation compensation data, the skin curvature compensation data, the tool tip point position compensation data and the gap compensation data, including:
[0108] The hole depth target compensation data of the target workpiece is obtained according to the sum of the material deformation compensation data, the skin curvature compensation data, the tool tip point position compensation data and the gap compensation data.
[0109] Since there are two possibilities for the skin curvature compensation, the hole depth target compensation data is actually divided into the following two:
[0110] If the outer shape of the skin is an outward convex cylindrical surface, the skin hole depth final compensation value D5 is obtained as follows:
[0111]
[0112] If the outer shape of the skin is an inward concave cylindrical surface, the skin hole depth final compensation value D5 is obtained as follows:
[0113]
[0114] In this embodiment, first, the compensation for the material deformation of the workpiece during the machining process is determined by the change of the feed amount of the feed shaft of the tool during the machining process, and then the compensation for the error caused by the change of the tool tip point position caused by the installation is determined by the actual hole depth and the nominal hole depth during the drilling and counterboring process. Since the workpiece deforms during the counterboring process, the pressure ring cannot be in complete contact with the workpiece, thereby causing the gap to be generated, and the gap part cannot be measured online, so the compensation of the gap part is indirectly obtained through other related variables. Finally, the final compensation for the hole depth is obtained by comprehensively considering the above-mentioned various compensation amounts, so as to realize the control of the counterbore depth and improve the accuracy of the counterbore depth.
[0115] Referring to the drawings Figure 15 Based on the same inventive concept as in the foregoing embodiments, the embodiment of the present application also provides a counterbore depth control device, which comprises:
[0116] a first compensation obtaining module, configured to obtain material deformation compensation data according to the initial feed amount and the actual feed amount of the feed shaft;
[0117] a second compensation obtaining module, configured to obtain tool tip point position compensation data according to the measured counterbore depth value and the nominal counterbore depth value of the counterboring on the target workpiece;
[0118] a third compensation obtaining module, configured to obtain gap compensation data according to the skin curvature compensation data, the drilling coordinate data, the lamination thickness data of the target workpiece and the material deformation compensation data;
[0119] a target compensation obtaining module, configured to obtain counterbore depth target compensation data of the target workpiece according to the material deformation compensation data, the skin curvature compensation data, the tool tip point position compensation data and the gap compensation data.
[0120] Those skilled in the art should understand that the division of each module in the embodiments is only a logical division of functions, and in actual applications, all or part of the modules can be integrated onto one or more actual carriers, and the modules can all be implemented in the form of software calling a processing unit, or all be implemented in the form of hardware, or be implemented in the form of software and hardware combination. It should be noted that the modules in the counterbore depth control device in the embodiments are one-to-one corresponding to the steps in the counterbore depth control method in the foregoing embodiments, and therefore, the specific embodiments of the present embodiments can refer to the embodiments of the counterbore depth control method, which will not be described here.
[0121] Based on the same inventive concept as in the foregoing embodiments, the embodiments of the present application also provide a computer-readable storage medium storing a computer program, which, when loaded and executed by a processor, implements the counterbore depth control method provided by the embodiments of the present application.
[0122] Based on the same inventive concept as in the foregoing embodiments, the embodiments of the present application also provide an electronic device, including a processor and a memory, wherein,
[0123] the memory is configured to store a computer program;
[0124] the processor is configured to load and execute the computer program, so that the electronic device performs the counterbore depth control method provided by the embodiments of the present application.
[0125] In some embodiments, the computer readable storage medium can be a memory such as a FRAM, ROM, PROM, EPROM, EEPROM, flash memory, a magnetic surface memory, an optical disk, or a CD-ROM, etc.; or can be various devices including one or any combination of the above memories. The computer can be various computing devices including a smart terminal and a server.
[0126] In some embodiments, the executable instructions can be in the form of a program, software, software modules, scripts, or code, written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0127] By way of example, the executable instructions can, but need not, reside in a file system's files, can be stored in a part of a file that holds other programs or data, for example, in one or more scripts stored in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files, for example, files that store one or more modules, sub programs, or code portions.
[0128] By way of example, the executable instructions can be deployed to be executed on one computer, or on multiple computers of a location that are interconnected through a communication network.
[0129] It should be noted that, in this document, the terms "comprising", "including", or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements recited, but can also include other elements not expressly listed or inherent to such process, method, article, or system. Without more limitations, an element defined by the statement "comprising a..." does not exclude the presence of additional identical elements in the process, method, article, or system that includes the element.
[0130] The above-mentioned sequence numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
[0131] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, an optical disk), and includes a plurality of instructions for causing a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the method described in each embodiment of the present application.
[0132] In summary, the application provides a counterbore depth control method and device, a storage medium and an electronic device. The method comprises: obtaining material deformation compensation data according to the initial feed amount and the actual feed amount of the feed shaft; obtaining tool tip point position compensation data according to the measured counterbore depth value and the nominal counterbore depth value of the target workpiece during counterboring; obtaining gap compensation data according to the skin curvature compensation data, the drilling coordinate data, the thickness data of the target workpiece, and the material deformation compensation data; and obtaining the counterbore depth target compensation data of the target workpiece according to the material deformation compensation data, the skin curvature compensation data, the tool tip point position compensation data, and the gap compensation data. The application first determines the compensation for the deformation of the workpiece material during the machining process by changing the feed amount of the feed shaft used to advance the tool during the machining process, and then determines the compensation for the error caused by the change in the position of the tool tip point caused by the installation by using the actual counterbore depth and the nominal counterbore depth during counterboring. Since the workpiece deforms during counterboring, the pressure ring cannot be in complete contact with the workpiece, which in turn causes a gap to be generated. However, this part of the gap cannot be measured online, so the compensation for the gap part is indirectly obtained through other related variables. Finally, the final compensation for the counterbore depth is obtained by comprehensively considering the compensation amounts of the above-mentioned aspects, so as to control the counterbore depth and improve the accuracy of the counterbore depth.
[0133] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for controlling the depth of a countersink, characterized in that: The following steps are involved: Obtain material deformation compensation data based on the initial feed amount and actual feed amount of the feed axis; Obtain tool tip position compensation data based on the measured pit depth value and the nominal pit depth value of the target workpiece; Obtaining gap compensation data according to the skin curvature compensation data, the drilling coordinate data, the laminate thickness data of the target workpiece, and the material deformation compensation data; The step of obtaining gap compensation data according to the skin curvature compensation data, the drilling coordinate data, the laminate thickness data of the target workpiece, and the material deformation compensation data includes: establishing input vector data according to the skin curvature compensation data, the drilling coordinate data, the laminate thickness data of the target workpiece, and the material deformation compensation data; Inputting the input vector data into a gap compensation model to obtain gap compensation data; wherein the gap compensation model is trained based on a plurality of the skin curvature compensation data, the drilling coordinate data, the stacking thickness data of the target workpiece, and the material deformation compensation data; The target pocket depth compensation data of the target workpiece is obtained according to the material deformation compensation data, the skin curvature compensation data, the tool tip position compensation data and the gap compensation data.
2. The method for controlling the countersink depth according to claim 1, wherein: Before obtaining tool tip position compensation data based on the measured pit depth value and the nominal pit depth value of countersinking the target workpiece, the method further includes: The nominal pocket depth value is obtained based on the head diameter and bottom diameter of the countersink obtained by drilling and countersinking the target workpiece, and the bevel angle of the head.
3. The method for controlling the countersink depth according to claim 1, wherein: Before obtaining the gap compensation data according to the skin curvature compensation data, the drilling coordinate data, the laminate thickness data of the target workpiece, and the material deformation compensation data, the method further includes: The skin curvature compensation data is obtained according to the surface concave-convex direction of the target workpiece.
4. The method for controlling the countersink depth according to claim 3, wherein: The step of obtaining the skin curvature compensation data according to the surface concave-convex direction of the target workpiece includes: According to the concave-convex direction of the surface of the target workpiece being an inward concave direction, obtaining the outer curvature radius of the target workpiece; The skin curvature compensation data is obtained according to the outer diameter of the presser foot and the outer shape curvature radius.
5. The method for controlling the countersink depth according to claim 1, wherein: Before obtaining material deformation compensation data based on the initial feed amount and the actual feed amount of the feed axis, the method further includes: Using a clamping device to clamp the target workpiece; Obtaining an initial feed amount of the feed shaft when the target workpiece is in a compacted state; The actual feed amount of the feed shaft when the target workpiece is in a clamped state and is undergoing countersinking is obtained.
6. The method for controlling the countersink depth according to claim 1, wherein: The step of obtaining the target pocket depth compensation data of the target workpiece according to the material deformation compensation data, the skin curvature compensation data, the tool tip position compensation data, and the gap compensation data comprises: The target pocket depth compensation data of the target workpiece is obtained according to the sum of the material deformation compensation data, the skin curvature compensation data, the tool tip position compensation data and the gap compensation data.
7. A countersink depth control device, characterized in that: include: a first compensation obtaining module, configured to obtain material deformation compensation data according to an initial feed amount and an actual feed amount of the feed shaft; a second compensation obtaining module, configured to obtain tool tip position compensation data based on a measured pocket depth value and a nominal pocket depth value of countersinking the target workpiece; a third compensation obtaining module, configured to obtain gap compensation data according to the skin curvature compensation data, the drilling coordinate data, the laminate thickness data of the target workpiece, and the material deformation compensation data; The step of obtaining gap compensation data according to the skin curvature compensation data, the drilling coordinate data, the laminate thickness data of the target workpiece, and the material deformation compensation data includes: establishing input vector data according to the skin curvature compensation data, the drilling coordinate data, the laminate thickness data of the target workpiece, and the material deformation compensation data; Inputting the input vector data into a gap compensation model to obtain gap compensation data; wherein the gap compensation model is trained based on a plurality of the skin curvature compensation data, the drilling coordinate data, the stacking thickness data of the target workpiece, and the material deformation compensation data; A target compensation acquisition module is used to obtain the target compensation data of the groove depth of the target workpiece based on the material deformation compensation data, the skin curvature compensation data, the tool tip position compensation data and the gap compensation data.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is loaded and executed by a processor, the countersink depth control method according to any one of claims 1 to 6 is implemented.
9. An electronic device, characterized in that: comprising a processor and a memory, wherein: The memory is used to store computer programs; The processor is used to load and execute the computer program so that the electronic device executes the countersink depth control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Dimple depth accurate control method
CN116038422A