Punching method, apparatus, computer equipment, and storage medium for ventral punching machine
By determining the initial hole position and performing position compensation operations in the ventral punching machine, and using the coordinated control of a magnetic scale and a servo motor, the problem of insufficient punching accuracy in longitudinal beam processing was solved, achieving a high-precision punching effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- FAW JIEFANG AUTOMOTIVE CO
- Filing Date
- 2023-12-14
- Publication Date
- 2026-06-30
AI Technical Summary
During the processing of automotive longitudinal beams, the punching accuracy cannot be effectively guaranteed due to the offset in the width direction when the longitudinal beams are transported along the length direction.
By determining the initial hole position, the sheet metal is controlled to move to the initial hole position and the offset is measured. Position compensation is performed to obtain the target hole position. The punching host is precisely positioned by using a magnetic ruler and a servo motor in coordination.
This improved the punching accuracy of the ventral punching machine, ensuring the processing quality of automotive longitudinal beams and reducing production costs.
Smart Images

Figure CN117655204B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive parts processing technology, and in particular to a punching method, apparatus, punching machine, computer equipment, storage medium and computer program product for a ventral punching machine. Background Technology
[0002] Currently, ventral punching machines are widely used in the automotive manufacturing industry for processing automotive longitudinal beams. However, during the processing, the offset in the width direction (Y-axis direction) occurs during the transport of the automotive longitudinal beam along its length (X-axis direction), which makes it impossible to effectively guarantee the accuracy of the punching operation in the Y-axis direction. Summary of the Invention
[0003] Therefore, it is necessary to provide a punching method, apparatus, computer equipment, computer-readable storage medium, and computer program product for a ventral punching machine that can improve the punching accuracy of the aforementioned technical problems.
[0004] On one hand, this application provides a punching method for a ventral punching machine, the ventral punching machine including a punching main unit, the method comprising:
[0005] The initial hole position of the punching machine in the plate to be punched is determined; the initial hole position includes a first component in a first direction and a second component in a second direction, the first direction is perpendicular to the second direction and the first direction is consistent with the moving direction of the plate to be punched;
[0006] The plate to be punched is moved in a first direction until the punching host is positioned at the initial hole position.
[0007] Determine the offset of the sheet metal to be punched in the second direction when the punching host is positioned to the initial hole position;
[0008] Based on the offset, perform at least one position compensation operation on the initial hole position to obtain the target hole position;
[0009] The punching machine is controlled to perform a punching operation based on the target hole position.
[0010] In one embodiment, the step of performing at least one position compensation operation on the initial hole position based on the offset to obtain the target hole position includes:
[0011] The first compensation amount is determined based on the offset;
[0012] Determine a second compensation amount for the punching machine to perform a movement operation based on the first compensation amount;
[0013] Determine the difference between the first compensation amount and the second compensation amount;
[0014] Based on the difference and the difference threshold, at least one position compensation operation is performed on the initial hole position to obtain the target hole position;
[0015] Wherein, the difference threshold is the allowable value of process error for the punching process that matches the plate to be punched.
[0016] In one embodiment, the step of performing at least one position compensation operation on the initial hole position based on the difference and the difference threshold to obtain the target hole position includes:
[0017] Compare the difference with the difference threshold;
[0018] If the difference is less than the difference threshold, a position compensation operation is performed on the initial hole position based on the first compensation amount to obtain the target hole position.
[0019] If the difference is greater than or equal to the difference threshold, at least one position compensation operation is performed on the initial hole position based on the first compensation amount and the second compensation amount to obtain the target hole position.
[0020] In one embodiment, the step of performing a position compensation operation on the initial hole position based on the first compensation amount to obtain the target hole position includes:
[0021] The second component of the initial hole position is weighted and summed with the first compensation amount to obtain the compensated second component.
[0022] The target hole position is determined based on the first component and the compensated second component.
[0023] In one embodiment, the step of performing at least one position compensation operation on the initial hole position based on the first compensation amount and the second compensation amount to obtain the target hole position includes:
[0024] According to the preset adjustment step size, the second compensation amount is adjusted at least once until the difference between the second compensation amount after the last adjustment and the first compensation amount is less than or equal to the difference threshold.
[0025] The second component of the initial hole position is weighted and summed with the second compensation amount after the last adjustment to obtain the compensated second component.
[0026] The target hole position is determined based on the first component and the compensated second component.
[0027] In one embodiment, the ventral punching machine further includes a drive motor, a servo motor, and a magnetic scale.
[0028] The drive motor is used to drive the plate to be punched to move in the first direction based on the received first control command;
[0029] The servo motor is used to drive the punching host to move in the second direction based on the received second control command;
[0030] The punching machine is used to perform punching operations at the target hole positions on the plate to be punched.
[0031] The magnetic scale is used to determine the compensation amount based on the displacement of the plate to be punched in the second direction, so as to assist the servo motor in driving the punching host to move to the target hole position.
[0032] On the other hand, this application also provides a punching device for a ventral punching machine, comprising:
[0033] The determining module is used to determine the initial hole position of the punching host in the plate to be punched; the initial hole position includes a first component in a first direction and a second component in a second direction, the first direction is perpendicular to the second direction and the first direction is consistent with the moving direction of the plate to be punched;
[0034] The control module is used to control the movement of the plate to be punched in the first direction until the punching host is positioned at the initial hole position.
[0035] The second determining module is used to determine the offset of the plate to be punched in the second direction when the punching host is positioned to the initial hole position;
[0036] The compensation module is used to perform at least one position compensation operation on the initial hole position based on the offset to obtain the target hole position.
[0037] The punching module is used to control the punching host to perform punching operations based on the target hole position.
[0038] On the other hand, this application also provides a ventral punching machine, comprising: the ventral punching machine includes a punching host, a drive motor, a servo motor and a magnetic scale;
[0039] The drive motor is used to drive the plate to be punched to move based on the received first control command, and the moving direction of the plate to be punched is taken as the first direction;
[0040] The servo motor is used to drive the punching host to move in a second direction perpendicular to the first direction based on the received second control command;
[0041] The punching machine is used to perform punching operations at the target hole positions on the plate to be punched.
[0042] The magnetic scale is used to assist the servo motor in driving the punching host to move to the target hole position based on the offset of the plate to be punched in the second direction.
[0043] On the other hand, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0044] The initial hole position of the punching machine in the plate to be punched is determined; the initial hole position includes a first component in a first direction and a second component in a second direction, the first direction is perpendicular to the second direction and the first direction is consistent with the moving direction of the plate to be punched;
[0045] The plate to be punched is moved in a first direction until the punching host is positioned at the initial hole position.
[0046] Determine the offset of the sheet metal to be punched in the second direction when the punching host is positioned to the initial hole position;
[0047] Based on the offset, perform at least one position compensation operation on the initial hole position to obtain the target hole position;
[0048] The punching machine is controlled to perform a punching operation based on the target hole position.
[0049] On the other hand, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0050] The initial hole position of the punching machine in the plate to be punched is determined; the initial hole position includes a first component in a first direction and a second component in a second direction, the first direction is perpendicular to the second direction and the first direction is consistent with the moving direction of the plate to be punched;
[0051] The plate to be punched is moved in a first direction until the punching host is positioned at the initial hole position.
[0052] Determine the offset of the sheet metal to be punched in the second direction when the punching host is positioned to the initial hole position;
[0053] Based on the offset, perform at least one position compensation operation on the initial hole position to obtain the target hole position;
[0054] The punching machine is controlled to perform a punching operation based on the target hole position.
[0055] On the other hand, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0056] The initial hole position of the punching machine in the plate to be punched is determined; the initial hole position includes a first component in a first direction and a second component in a second direction, the first direction is perpendicular to the second direction and the first direction is consistent with the moving direction of the plate to be punched;
[0057] The plate to be punched is moved in a first direction until the punching host is positioned at the initial hole position.
[0058] Determine the offset of the sheet metal to be punched in the second direction when the punching host is positioned to the initial hole position;
[0059] Based on the offset, perform at least one position compensation operation on the initial hole position to obtain the target hole position;
[0060] The punching machine is controlled to perform a punching operation based on the target hole position.
[0061] The aforementioned punching method, apparatus, computer equipment, storage medium, and computer program product for a ventral punching machine determine the initial hole position of the punching host in the sheet metal to be punched; control the sheet metal to be punched to move in a first direction consistent with the direction of movement of the sheet metal to be punched until the punching host is positioned at the initial hole position; determine the offset of the sheet metal to be punched in a second direction perpendicular to the first direction when the punching host is positioned at the initial hole position; perform at least one position compensation operation on the initial hole position based on the offset to obtain the target hole position; and control the punching host to perform the punching operation based on the target hole position. This improves the punching accuracy of the ventral punching machine. Attached Figure Description
[0062] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0063] Figure 1 This is an application environment diagram of the punching method of the ventral punching machine in one embodiment;
[0064] Figure 2 This is a schematic diagram of the structure of a punching machine on the ventral side in one embodiment;
[0065] Figure 3 This is a flowchart illustrating the punching method of a ventral punching machine in one embodiment;
[0066] Figure 4 This is a flowchart illustrating a method for determining the target hole location in a sheet metal to be punched, as shown in one embodiment.
[0067] Figure 5 This is a flowchart illustrating the punching method of the ventral punching machine in another embodiment;
[0068] Figure 6 This is a structural block diagram of the punching device of a ventral punching machine in one embodiment;
[0069] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0070] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0071] The punching method of the ventral punching machine provided in this application embodiment can be applied to, for example... Figure 1 The application environment shown includes a computer device associated with the CNC system, an operating platform equipped with a ventral punching machine, and a sheet metal to be punched (such as an automotive longitudinal beam). The CNC system deploys the relevant data program for the ventral punching method. The sheet metal moves on the operating platform, and the ventral punching machine performs the punching operation at the target hole position on the sheet metal. The computer device associated with the CNC system determines the initial hole position of the punching machine in the sheet metal; controls the sheet metal to be punched to move in a first direction until the punching machine is positioned at the initial hole position; determines the offset of the sheet metal to be punched in a second direction when the punching machine is positioned at the initial hole position; performs at least one position compensation operation on the initial hole position based on the offset to obtain the target hole position; and controls the punching machine to perform the punching operation based on the target hole position. The computer device associated with the CNC system can be, but is not limited to, various personal computers, laptops, smartphones, tablets, etc.
[0072] Before describing in detail the punching method of the ventral punching machine provided in the embodiments of this application, the structure of the ventral punching machine will be described first. In an exemplary embodiment, such as... Figure 2 As shown, the ventral punching machine includes, in addition to the punching main unit, a drive motor, a servo motor, and a magnetic scale. The drive motor is used to drive the sheet metal to be punched to move in a first direction based on a received first control command. The servo motor is used to drive the punching main unit to move in a second direction based on a received second control command. The punching main unit is used to perform the punching operation at the target hole position on the sheet metal to be punched. The magnetic scale is used to determine a compensation amount based on the displacement of the sheet metal to be punched in the second direction to assist the servo motor in driving the punching main unit to move to the target hole position. It should be noted that, in order to improve punching efficiency, multiple punching main units can be used.
[0073] In one exemplary embodiment, such as Figure 3 As shown, a punching method for a ventral punching machine is provided, which is applied to... Figure 1 Taking the computer equipment belonging to the CNC system as an example, the explanation includes the following steps 302 to 310. Wherein:
[0074] Step 302: Determine the initial hole position of the punching host in the plate to be punched; the initial hole position includes a first component in a first direction and a second component in a second direction, the first direction is perpendicular to the second direction and the first direction is consistent with the moving direction of the plate to be punched.
[0075] In practice, the CNC program provided by the CNC system uses the movement direction of the sheet metal to be punched on the operating platform as the first direction, i.e., the X-axis direction, and the direction perpendicular to this first direction as the second direction, i.e., the Y-axis direction. The CNC system first reads the initial hole positions in the sheet metal to be punched, which are the initial hole positions calculated by the CNC system. The hole positions are usually represented by coordinates, where the values in the first direction are the first component, and the values in the second direction are the second component.
[0076] Step 304: Control the plate to be punched to move in the first direction until the punching host is positioned at the initial hole position.
[0077] In actual implementation, the CNC program sends a plate movement command to the drive motor that is electrically connected to the operating platform. Based on the plate movement command, the drive motor controls the plate to be punched to move along the X-axis until the punching host is positioned at the initial hole position.
[0078] Step 306: Determine the offset of the sheet metal to be punched in the second direction when the punching host is positioned at the initial hole position.
[0079] In actual implementation, during the process of controlling the movement of the plate to be punched in the X-axis direction, there will be an offset in the Y-axis direction. After the CNC system positions the punching host to the initial hole position, it can read the offset of the plate to be punched in the second direction through a measuring device.
[0080] Step 308: Based on the offset, perform at least one position compensation operation on the initial hole position to obtain the target hole position.
[0081] In actual implementation, in order to compensate for the offset in the Y-axis direction, the CNC system can perform one or more position compensation operations on the determined initial hole position. That is to say, the initial hole position is used as the coarse positioning position of the punching machine. Since the plate to be punched has an offset in the Y-axis direction during the movement, one or more position compensation operations can be performed on the coarse positioning position to obtain the target hole position. In other words, the target hole position is obtained by position compensation on the initial hole position.
[0082] Step 310: Control the punching host to perform punching operation based on the target hole position.
[0083] In practice, the CNC system controls the punching machine to perform punching operations on the sheet metal to be punched at the target control position. The same steps 202-210 are performed at all other punching positions to obtain a sheet metal that has undergone one or more punching operations.
[0084] In the aforementioned punching method of the ventral punching machine, the initial hole position of the punching host in the plate to be punched is determined; the plate to be punched is controlled to move in a first direction consistent with the moving direction of the plate to be punched until the punching host is positioned at the initial hole position; the offset of the plate to be punched in a second direction perpendicular to the first direction is determined when the punching host is positioned at the initial hole position; based on the offset, at least one position compensation operation is performed on the initial hole position to obtain the target hole position; and the punching host is controlled to perform the punching operation based on the target hole position. This improves the punching accuracy of the ventral punching machine.
[0085] In one exemplary embodiment, such as Figure 4 As shown, based on the offset, at least one position compensation operation is performed on the initial hole position to obtain the target hole position, including steps 402 to 408. Wherein:
[0086] Step 402: Determine the first compensation amount based on the offset.
[0087] In actual implementation, the magnetic scale included in the ventral punching machine can provide corresponding compensation for the offset of the sheet metal to be punched on the Y-axis during the movement. For ease of distinction, the compensation in this step is called the first compensation.
[0088] Step 404: Determine the second compensation amount for the punching host to move based on the first compensation amount.
[0089] In actual implementation, the CNC system moves the punching machine based on the first compensation amount. At this time, the CNC system reads the second compensation amount indicated on the magnetic scale again to determine the target hole position based on the first and second compensation amounts.
[0090] Step 406: Determine the difference between the first compensation amount and the second compensation amount.
[0091] In actual implementation, the CNC system deployed in the computer equipment determines the difference between the two compensation amounts, that is, the difference between the first compensation amount and the second compensation amount.
[0092] Step 408: Based on the difference and the difference threshold, perform at least one position compensation operation on the initial hole position to obtain the target hole position.
[0093] In actual implementation, different types of punching processes are associated with different process tolerances, i.e. different difference thresholds. The CNC system deployed in the computer equipment obtains the difference threshold corresponding to the current punching process, compares the two, and then performs a position compensation operation on the initial hole position based on the comparison result to obtain the final target hole position.
[0094] In this embodiment, the compensation operation for the hole position is determined by the difference between the first compensation amount and the second compensation amount, thereby improving the accuracy of locating the target hole position.
[0095] In an exemplary embodiment, a position compensation operation is performed at least once on the initial hole position based on the difference and a difference threshold to obtain the target hole position, including: comparing the difference with the difference threshold; if the difference is less than the difference threshold, a position compensation operation is performed on the initial hole position based on a first compensation amount to obtain the target hole position; if the difference is greater than or equal to the difference threshold, a position compensation operation is performed on the initial hole position based on the first compensation amount and a second compensation amount to obtain the target hole position.
[0096] In actual implementation, if the difference is less than the difference threshold, a position compensation operation is directly performed on the second component of the initial hole position in the Y-axis direction to obtain the target positioning position; if the difference is greater than the difference threshold, a compensation operation is performed on the punching position of the previous punching host based on the new compensation amount to obtain the final target hole position.
[0097] In this embodiment, the requirements for performing position compensation operations are determined by the difference and the difference threshold. In this way, compensation can be performed as needed according to actual requirements, ensuring the timeliness and accuracy of the compensation operation.
[0098] In an exemplary embodiment, a position compensation operation is performed on the initial hole position based on a first compensation amount to obtain the target hole position, including: weighting and summing the second component of the initial hole position with the first compensation amount to obtain the compensated second component; and determining the target hole position based on the first component and the compensated second component.
[0099] In actual implementation, when the difference is less than the difference threshold, the specific implementation process of the position compensation operation is as follows: the second component of the initial hole position in the Y-axis direction is weighted and summed with the first compensation amount to obtain the compensated second component; the first component is used as the component of the target hole position in the X-axis direction, and the compensated second component is used as the component of the target hole position in the Y-axis direction.
[0100] In this embodiment, the position compensation operation for the second component in the Y-axis direction can not only reduce the computational cost of the position compensation operation, but also ensure the accuracy of the position compensation operation.
[0101] In an exemplary embodiment, based on a first compensation amount and a second compensation amount, performing at least one position compensation operation on the initial hole position to obtain the target hole position includes: adjusting the second compensation amount at least once according to a preset adjustment step size until the difference between the second compensation amount after the last adjustment and the first compensation amount is less than or equal to a difference threshold; performing a weighted summation of the second component of the initial hole position and the second compensation amount after the last adjustment to obtain a compensated second component; and determining the target hole position based on the first component and the compensated second component.
[0102] In actual implementation, when the difference is greater than the difference threshold, the CNC program can adjust the second compensation amount one or more times according to the preset adjustment until the difference between the second compensation amount after the last adjustment and the first compensation amount is less than or equal to the difference threshold. This indicates that it has met the maximum allowable error of the process. At this time, the second component is compensated by weighted summation. Then, the first component of the initial hole position is used as the component of the target hole position in the X-axis direction, and the compensated second component is used as the component of the target hole position in the Y-axis direction. Finally, the target hole position is obtained.
[0103] In this embodiment, when the difference is greater than the difference threshold, the corresponding target hole position is determined through multiple position compensation operations, which can greatly improve the accuracy of hole position determination.
[0104] To illustrate the punching method of the ventral punching machine in this solution, an embodiment is provided below. In this embodiment, the sheet metal to be punched is an automotive longitudinal beam. The ventral punching machine's punching method implements the automotive longitudinal beam process. This method is a secondary positioning method for the ventral punching machine, which ensures the punching accuracy when punching the automotive longitudinal beam through secondary positioning. The ventral punching machine can include two punching main units, a CNC system, and a servo motor, used to control the movement of the main units in the length direction (X) and width direction (Y), respectively. The movement in the width direction (Y) mainly controls the secondary positioning of the main units in this direction. The specific execution process is as follows:
[0105] Firstly, when machining automotive longitudinal beams, a magnetic scale and a servo motor are used to control the punching accuracy of the punching machine in the Y direction. The servo motor controls the punching machine to reach the coordinate position determined by the CNC program. The displacement value indicated by the magnetic scale can be used for longitudinal beam position compensation, controlling the servo motor to complete the first positioning in the Y direction. However, due to the possibility of Y-direction offset during the X-direction transport of the automotive longitudinal beam, the Y-direction position of the punching may deviate. Therefore, the CNC system reads the displacement value indicated by the magnetic scale a second time. If the difference between the two displacement values is greater than the allowable process error, the servo motor position is finely adjusted based on the second reading of the magnetic scale value, improving machining accuracy.
[0106] The fine-tuning of the servo motor position is explained, such as... Figure 5 As shown, based on the hole position coordinates in the CNC program, after the CNC system controls the servo motor to reach the hole position coordinates, the CNC system reads the Y-direction magnetic scale value and compensates the Y-direction coordinate value according to the magnetic scale data. The system then controls the servo motor to precisely position itself to the compensated coordinate position. After reaching the compensated coordinate position, the CNC system reads the Y-direction magnetic scale data a second time. If the error range between the first and second read values is less than ±0.5mm, the main unit performs the drilling operation. If the error is greater than 0.5mm, the system controls the servo motor to reach the compensated coordinate position again, based on the magnetic scale data.
[0107] By applying the embodiments of this application, the secondary positioning method of the ventral punching machine enables the precise processing of automotive longitudinal beam products, supporting the improvement of quality and reduction of costs on the production site.
[0108] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0109] Based on the same inventive concept, this application also provides a punching device for a ventral punching machine to implement the punching method of the aforementioned ventral punching machine. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more embodiments of the punching device for a ventral punching machine provided below can be found in the limitations of the punching method of the ventral punching machine above, and will not be repeated here.
[0110] In one exemplary embodiment, such as Figure 6 As shown, a punching device for a ventral punching machine is provided, comprising: a determining module 610, a control module 620, a second determining module 630, a compensation module 640, and a punching module 650, wherein:
[0111] The determining module 610 is used to determine the initial hole position of the punching host in the plate to be punched; the initial hole position includes a first component in a first direction and a second component in a second direction, the first direction is perpendicular to the second direction and the first direction is consistent with the moving direction of the plate to be punched;
[0112] The control module 620 is used to control the movement of the sheet metal to be punched in the first direction until the punching host is positioned at the initial hole position.
[0113] The second determining module 630 is used to determine the offset of the sheet metal to be punched in the second direction when the punching host is positioned to the initial hole position.
[0114] The compensation module 640 is used to perform at least one position compensation operation on the initial hole position based on the offset to obtain the target hole position.
[0115] The punching module 650 is used to control the punching host to perform punching operations based on the target hole position.
[0116] In one embodiment, the compensation module is further configured to determine a first compensation amount based on the offset; determine a second compensation amount for the punching host to move based on the first compensation amount; determine the difference between the first compensation amount and the second compensation amount; and perform at least one position compensation operation on the initial hole position based on the difference and a difference threshold to obtain the target hole position.
[0117] In one embodiment, the compensation module is further configured to compare the difference with a difference threshold; if the difference is less than the difference threshold, perform a position compensation operation on the initial hole position based on the first compensation amount to obtain the target hole position; if the difference is greater than or equal to the difference threshold, perform at least one position compensation operation on the initial hole position based on the first compensation amount and the second compensation amount to obtain the target hole position.
[0118] In one embodiment, the compensation module is further configured to perform a position compensation operation on the initial hole position based on the first compensation amount to obtain the target hole position, including: weighting and summing the second component of the initial hole position with the first compensation amount to obtain the compensated second component; and determining the target hole position based on the first component and the compensated second component.
[0119] In one embodiment, the compensation module is further configured to perform at least one adjustment operation on the second compensation amount according to a preset adjustment step size, until the difference between the second compensation amount after the last adjustment and the first compensation amount is less than or equal to the difference threshold; to perform a weighted summation of the second component of the initial hole position and the second compensation amount after the last adjustment to obtain the compensated second component; and to determine the target hole position based on the first component and the compensated second component.
[0120] In one embodiment, the ventral punching machine used in this application further includes a drive motor, a servo motor, and a magnetic scale. The drive motor is used to drive the plate to be punched to move in a first direction based on a received first control command. The servo motor is used to drive the punching host to move in a second direction based on a received second control command. The punching host is used to perform a punching operation at the target hole position of the plate to be punched. The magnetic scale is used to determine a compensation amount based on the displacement of the plate to be punched in the second direction to assist the servo motor in driving the punching host to move to the target hole position.
[0121] The various modules in the punching device of the aforementioned ventral punching machine can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0122] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 7 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and databases. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a punching method for a ventral punching machine.
[0123] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0124] In an exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: determining an initial hole position of a punching host in a sheet metal to be punched; the initial hole position includes a first component in a first direction and a second component in a second direction, the first direction being perpendicular to the second direction and consistent with the movement direction of the sheet metal to be punched; controlling the sheet metal to be punched to move in the first direction until the punching host is positioned at the initial hole position; determining an offset of the sheet metal to be punched in the second direction when the punching host is positioned at the initial hole position; performing at least one position compensation operation on the initial hole position based on the offset to obtain a target hole position; and controlling the punching host to perform a punching operation based on the target hole position.
[0125] In an exemplary embodiment, when the computer program is executed by the processor, it further performs the following steps: determining the initial hole position of the punching host in the sheet metal to be punched; the initial hole position includes a first component in a first direction and a second component in a second direction, the first direction being perpendicular to the second direction and consistent with the movement direction of the sheet metal to be punched; controlling the sheet metal to be punched to move in the first direction until the punching host is positioned at the initial hole position; determining the offset of the sheet metal to be punched in the second direction when the punching host is positioned at the initial hole position; performing at least one position compensation operation on the initial hole position based on the offset to obtain a target hole position; and controlling the punching host to perform a punching operation based on the target hole position.
[0126] In an exemplary embodiment, when the computer program is executed by the processor, it further performs the following steps: determining a first compensation amount based on the offset; determining a second compensation amount for the punching host to move based on the first compensation amount; determining the difference between the first compensation amount and the second compensation amount; and performing at least one position compensation operation on the initial hole position based on the difference and a difference threshold to obtain the target hole position.
[0127] In an exemplary embodiment, when the computer program is executed by the processor, it further performs the following steps: comparing the difference with a difference threshold; if the difference is less than the difference threshold, performing a position compensation operation on the initial hole position based on a first compensation amount to obtain the target hole position; if the difference is greater than or equal to the difference threshold, performing at least one position compensation operation on the initial hole position based on the first compensation amount and a second compensation amount to obtain the target hole position.
[0128] In an exemplary embodiment, when the computer program is executed by the processor, it further implements the following steps: performing a position compensation operation on the initial hole position based on the first compensation amount to obtain the target hole position, including: performing a weighted summation of the second component of the initial hole position and the first compensation amount to obtain the compensated second component; and determining the target hole position based on the first component and the compensated second component.
[0129] In one exemplary embodiment, when the computer program is executed by a processor, it further performs the following steps: adjusting the second compensation amount at least once according to a preset adjustment step size, until the difference between the second compensation amount after the last adjustment and the first compensation amount is less than or equal to a difference threshold; performing a weighted summation of the second component of the initial hole position and the second compensation amount after the last adjustment to obtain the compensated second component; and determining the target hole position based on the first component and the compensated second component. In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps in the above method embodiments.
[0130] In one exemplary embodiment, a ventral punching machine is provided, comprising a punching main unit, a drive motor, a servo motor, and a magnetic scale; the drive motor is used to drive the plate to be punched to move in a first direction based on a received first control command; the servo motor is used to drive the punching main unit to move in a second direction based on a received second control command; the punching main unit is used to perform a punching operation at a target hole position on the plate to be punched; the magnetic scale is used to determine a compensation amount based on the displacement of the plate to be punched in the second direction to assist the servo motor in driving the punching main unit to move to the target hole position.
[0131] In one exemplary embodiment, a ventral punching machine is provided, comprising: a punching main unit, a drive motor, a servo motor, and a magnetic scale; the drive motor is used to drive the sheet material to be punched to move based on a received first control command, with the direction of movement of the sheet material to be punched as the first direction; the servo motor is used to drive the punching main unit to move in a second direction perpendicular to the first direction based on a received second control command; the punching main unit is used to perform a punching operation at a target hole position on the sheet material to be punched; and the magnetic scale is used to assist the servo motor in driving the punching main unit to move to the target hole position based on the offset of the sheet material to be punched in the second direction.
[0132] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0133] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program being executed by a processor to perform the steps in the above method embodiments.
[0134] It should be noted that if this application involves user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.), all of which are information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0135] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0136] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0137] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A piercing method of a belly piercer, characterized by, The ventral punching machine includes a punching main unit, and the method includes: The initial hole position of the punching machine in the plate to be punched is determined; the initial hole position includes a first component in a first direction and a second component in a second direction, the first direction is perpendicular to the second direction and the first direction is consistent with the moving direction of the plate to be punched; The plate to be punched is moved in a first direction until the punching host is positioned at the initial hole position. Determine the offset of the sheet metal to be punched in the second direction when the punching host is positioned to the initial hole position; Based on the offset, perform at least one position compensation operation on the initial hole position to obtain the target hole position; The step of performing at least one position compensation operation on the initial hole position based on the offset to obtain the target hole position includes: determining a first compensation amount for the offset and a second compensation amount for the movement operation based on the first compensation amount; If the difference between the first compensation amount and the second compensation amount is less than the difference threshold, the second component of the initial hole position is weighted and summed with the first compensation amount to obtain the compensated second component. The target hole position is determined based on the first component and the compensated second component. The punching machine is controlled to perform a punching operation based on the target hole position.
2. The method of claim 1, wherein, The step of performing at least one position compensation operation on the initial hole position based on the offset to obtain the target hole position includes: The first compensation amount is determined based on the offset; Determine a second compensation amount for the movement operation performed by the punching machine based on the first compensation amount; Determine the difference between the first compensation amount and the second compensation amount; Based on the difference and the difference threshold, at least one position compensation operation is performed on the initial hole position to obtain the target hole position; Wherein, the difference threshold is the allowable value of process error for the punching process that matches the plate to be punched.
3. The method of claim 2, wherein, The step of performing at least one position compensation operation on the initial hole position based on the difference and the difference threshold to obtain the target hole position includes: Compare the difference with the difference threshold; If the difference is less than the difference threshold, a position compensation operation is performed on the initial hole position based on the first compensation amount to obtain the target hole position; If the difference is greater than or equal to the difference threshold, at least one position compensation operation is performed on the initial hole position based on the first compensation amount and the second compensation amount to obtain the target hole position.
4. The method according to claim 3, characterized in that, The step of performing at least one position compensation operation on the initial hole position based on the first compensation amount and the second compensation amount to obtain the target hole position includes: According to the preset adjustment step size, the second compensation amount is adjusted at least once until the difference between the second compensation amount after the last adjustment and the first compensation amount is less than or equal to the difference threshold. The second component of the initial hole position is weighted and summed with the second compensation amount after the last adjustment to obtain the compensated second component. The target hole position is determined based on the first component and the compensated second component.
5. The method according to claim 1, characterized in that, The ventral punching machine also includes a drive motor, a servo motor, and a magnetic scale. The drive motor is used to drive the plate to be punched to move in the first direction based on the received first control command; The servo motor is used to drive the punching host to move in the second direction based on the received second control command; The punching machine is used to perform punching operations at the target hole positions on the plate to be punched. The magnetic scale is used to determine the compensation amount based on the displacement of the plate to be punched in the second direction, so as to assist the servo motor in driving the punching host to move to the target hole position.
6. A punching apparatus employing the method according to any one of claims 1 to 5, characterized in that, The device includes: The determining module is used to determine the initial hole position of the punching host in the plate to be punched; the initial hole position includes a first component in a first direction and a second component in a second direction, the first direction being perpendicular to the second direction and the first direction being consistent with the moving direction of the plate to be punched; The control module is used to control the movement of the plate to be punched in the first direction until the punching host is positioned at the initial hole position. The second determining module is used to determine the offset of the plate to be punched in the second direction when the punching host is positioned to the initial hole position; A compensation module is used to perform at least one position compensation operation on the initial hole position based on the offset to obtain a target hole position. The process of performing at least one position compensation operation on the initial hole position based on the offset to obtain the target hole position includes: determining a first compensation amount for the offset and a second compensation amount for a movement operation based on the first compensation amount; if the difference between the first compensation amount and the second compensation amount is less than a difference threshold, performing a weighted summation of the second component of the initial hole position and the first compensation amount to obtain a compensated second component; and determining the target hole position based on the first component and the compensated second component. The punching module is used to control the punching host to perform punching operations based on the target hole position.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.