Jig processing method and device, storage equipment and electronic equipment

The coordinate data of the fixture is obtained through the detection equipment, its real position is determined and the processing path is updated, which solves the problem of low processing accuracy of the fixture and achieves higher processing accuracy.

CN120029168APending Publication Date: 2025-05-23FU TAI HUA IND SHENZHEN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510129289.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-05
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

During the product production process, there is a difference between the placement position of the fixture and the preset position in the processing instructions, resulting in low processing accuracy of the fixture.

Method used

The detection equipment obtains the coordinate data of the fixture in the preset coordinate system, determines the real coordinates of the fixture's inlet point and retract point, updates the theoretical coordinates of the processing point, determines the moving path of the processing equipment, and controls the processing equipment to process the fixture according to the updated path.

Benefits of technology

Improve the accuracy of fixture processing and ensure that the moving path of the processing equipment meets the real position of the fixture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029168A_ABST
    Figure CN120029168A_ABST
Patent Text Reader

Abstract

The invention provides a jig machining method and device, storage equipment and electronic equipment. The jig machining method comprises the steps that coordinate data of a jig to be machined in a preset coordinate system are obtained from detection equipment; according to the coordinate data, real coordinates of a feed point and a retraction point corresponding to the jig in the preset coordinate system are determined; according to the real coordinates of the tool feeding point and the tool retracting point, the theoretical coordinates of the machining point of the jig are updated, and the moving path of machining equipment is determined; and executing a preset processing instruction, and controlling the processing equipment to process the jig according to the moving path. The invention relates to the technical field of intelligent manufacturing, and the precision of equipment machining can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent manufacturing technology, and in particular to a jig processing method, device, storage device and electronic device. Background Art

[0002] During the production process of the product, processing instructions can be used to control the movement of processing equipment to process the fixture. However, the placement of the fixture is often different from the preset position in the processing instruction. If the pre-stored processing instructions are directly executed for processing, it is easy to cause the problem of low precision of fixture processing. Summary of the invention

[0003] In view of the above, it is necessary to propose a jig processing method, device, storage device and electronic device to solve the technical problem of low precision in jig processing.

[0004] The present application provides a jig processing method, which is applied to an electronic device, wherein the electronic device is communicatively connected to a detection device and a processing device, and the method comprises: obtaining coordinate data of a jig to be processed in a preset coordinate system from the detection device; determining, based on the coordinate data, the real coordinates of a feed point and a retract point corresponding to the jig in the preset coordinate system; updating, based on the real coordinates of the feed point and the retract point, the theoretical coordinates of the processing point of the jig, and determining a moving path of the processing device; and executing a preset processing instruction to control the processing device to process the jig according to the moving path.

[0005] In some embodiments, determining the real coordinates of the entry point and the exit point corresponding to the fixture in the preset coordinate system based on the coordinate data includes: determining the real coordinates of the endpoint of the fixture in the preset coordinate system based on the coordinate data; determining the offset error of the fixture based on the real coordinates of the endpoint and the theoretical coordinates corresponding to the endpoint; determining the angular error of the fixture based on the real coordinates of the endpoint and the size data of the fixture; and updating the theoretical coordinates of the entry point and the exit point based on the offset error and the angular error to obtain the real coordinates of the entry point and the exit point.

[0006] In some embodiments, determining the offset error of the fixture based on the real coordinates of the endpoint and the theoretical coordinates corresponding to the endpoint includes: determining the difference between the real coordinates of the endpoint and the theoretical coordinates of the endpoint; and determining the offset error of the fixture based on the difference.

[0007] In some embodiments, determining the angular error of the jig based on the real coordinates of the endpoints and the dimensional data of the jig includes: determining the real coordinates of the axis of the jig in the preset coordinate system based on the real coordinates of the endpoints; determining the tangent value between the axis of the jig and the axis of the preset coordinate system based on the real coordinates of the axis; and determining the angular error of the jig based on the tangent value.

[0008] In some embodiments, updating the pre-stored theoretical coordinates of the feed point and the retract point based on the offset error and the angle error to obtain the real coordinates of the feed point and the retract point includes: determining the real coordinates of the center point of the fixture in the preset coordinate system according to the offset error and the angle error; determining the coordinate offset value of the fixture according to the real coordinates of the center point of the fixture and the origin of the preset coordinate system; determining the real coordinates of the feed point and the retract point according to the coordinate offset value and the theoretical coordinates of the feed point and the retract point.

[0009] In some embodiments, updating the theoretical coordinates of the processing points of the fixture according to the real coordinates of the feed point and the retract point to determine the moving path of the processing equipment includes: determining the theoretical coordinates of the feed point and the retract point according to the theoretical coordinates of the processing points; determining the compensation value of the theoretical coordinates of any processing point according to the real coordinates and theoretical coordinates of the feed point and the retract point; updating the theoretical coordinates of any processing point according to the compensation value to obtain the real coordinates of any processing point; and determining the moving path of the processing equipment based on the preset coordinate system and the real coordinates of all processing points.

[0010] In some embodiments, determining the compensation value of the theoretical coordinates of any processing point based on the real coordinates and the theoretical coordinates of the entry point and the exit point includes: determining the length of the moving path based on the theoretical coordinates of the entry point and the exit point; determining the distance between the processing point and the exit point based on the theoretical coordinates of any processing point and the theoretical coordinates of the exit point; determining the error ratio of the theoretical coordinates of the processing point based on the distance and the length of the moving path; determining the compensation value of the theoretical coordinates of any processing point based on the error ratio and the real coordinates of the entry point and the exit point.

[0011] An embodiment of the present application also provides a fixture processing device, which includes: an acquisition module, used to acquire coordinate data of a fixture to be processed in a preset coordinate system sent by a detection device; a determination module, used to determine the real coordinates of a feed point and a retract point corresponding to the fixture in the preset coordinate system according to the coordinate data; an update module, used to update the theoretical coordinates of the processing points of the fixture according to the real coordinates of the feed point and the retract point, and determine the moving path of the processing equipment; and a processing module, used to control the processing equipment to process the fixture according to the moving path based on pre-stored processing instructions.

[0012] An embodiment of the present application also provides a storage device, and a computer program stored in the storage device implements the fixture processing method when executed by a processor.

[0013] An embodiment of the present application further provides an electronic device, comprising: a memory storing at least one instruction; and a processor executing the instruction stored in the memory to implement the jig processing method.

[0014] It can be seen from the above technical scheme that before processing the jig, the embodiment of the present application first determines the real coordinates of the entry point and the exit point corresponding to the jig in the preset coordinate system based on the coordinate data of the jig in the preset coordinate system measured by the detection equipment. In this way, the real position of the jig can be determined before implementing the processing technology, which provides data support for the subsequent update of the theoretical coordinates of the processing points corresponding to the jig recorded in the preset instructions. After the theoretical coordinates of the processing point are updated according to the real coordinates of the entry point and the exit point, the real coordinates of the processing point are obtained, and the moving path of the updated processing equipment is determined according to the real coordinates of the processing point, and the processing equipment is controlled to process the jig according to the updated processing path. In this way, when processing the jig, it can ensure that the moving path of the processing equipment during operation is consistent with the real position of the jig, thereby improving the accuracy of the jig processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a schematic diagram of an application scenario of a fixture processing method provided in one embodiment of the present application.

[0016] Figure 2 It is a flow chart of a fixture processing method provided in one embodiment of the present application.

[0017] Figure 3 4 is a flow chart of a method for determining an offset error of a fixture provided by an embodiment of the present application.

[0018] Figure 4 It is a flow chart of a method for determining an angular error of a fixture provided by an embodiment of the present application.

[0019] Figure 5It is a flow chart of a method for determining the real coordinates of the entry point and the exit point provided by an embodiment of the present application.

[0020] Figure 6 This is a flowchart of a method for determining a moving path provided in one embodiment of the present application.

[0021] Figure 7 It is a flow chart of a method for determining a compensation value provided by an embodiment of the present application.

[0022] Figure 8 It is a schematic diagram of a preset instruction provided in an embodiment of the present application.

[0023] Fig. 9 It is a structural schematic diagram of a fixture processing device provided in one embodiment of the present application.

[0024] Fig.10 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to more clearly understand the purpose, features and advantages of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other. In the following description, many specific details are set forth to facilitate a full understanding of the present application, and the embodiments described are only a part of the embodiments of the present application, rather than all of the embodiments.

[0026] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art to which the present application belongs. The terms used herein in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0028] The embodiment of the present application provides a fixture processing method, which can be applied to one or more electronic devices. The electronic device is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable gate array (Field-Programmable Gate Array, FPGA), a digital processor (Digital Signal Processor, DSP), an embedded device, etc.

[0029] An electronic device can be any electronic product that can interact with customers, such as personal computers, tablet computers, smart phones, personal digital assistants (PDAs), game consoles, Internet Protocol Television (IPTV), smart wearable devices, etc.

[0030] The electronic device may also include a network device and / or a client device, wherein the network device includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers based on cloud computing.

[0031] The networks where electronic devices are located include but are not limited to the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.

[0032] like Figure 1The figure shows a schematic diagram of an application scenario of a jig processing method provided by an embodiment of the present application. The jig processing method provided by the present application can be applied to an electronic device 100. Among them, the electronic device 100 can be applied to any device with data processing function. Among them, the electronic device 100 is communicatively connected to the detection device 200 and the processing device 300. Before the jig is processed by the processing device 300, the electronic device 100 obtains the coordinate data of the jig to be processed in the preset coordinate system from the detection device 200; according to the coordinate data, the real coordinates of the entry point and the exit point corresponding to the jig in the preset coordinate system are determined; according to the real coordinates of the entry point and the exit point, the theoretical coordinates of the processing point of the jig are updated, and the moving path of the processing device is determined. The electronic device 100 also executes the preset processing instructions to control the processing device 300 to process the jig according to the moving path. In this way, when the jig is processed, it can be ensured that the moving path of the processing device 300 during operation is consistent with the real position of the jig, thereby improving the accuracy of the jig processing.

[0033] like Figure 2 As shown, it is a flow chart of a jig processing method provided by an embodiment of the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. The jig processing method provided by the embodiment of the present application includes the following steps.

[0034] S20, obtaining coordinate data of the jig to be processed in a preset coordinate system from the detection equipment.

[0035] In one embodiment of the present application, during the process of processing the jig using processing equipment, there is a difference between the actual position of the jig and the preset position in the processing instruction, which may affect the processing accuracy of the jig. In order to avoid the jig having low accuracy after processing the jig using processing equipment, the coordinate data of the jig to be processed in the preset coordinate system sent by the detection equipment can be first obtained. Subsequently, the real position of the jig in the preset coordinate system can be determined based on the coordinate data, and the jig can be processed according to the real position of the jig, thereby improving the processing accuracy. Among them, the jig can be a workpiece or a mold to be processed, and the jig corresponds to the preset processing requirements and accuracy standards.

[0036] In one embodiment of the present application, the detection device may be any device for detecting the position of the fixture. The detection device determines the outer contour of the corresponding detection fixture according to a preset path. The detection device may be a contact device or a non-contact device, and the present application does not limit this. For example, when the detection device is a contact device, the detection device may be; when the detection device is a non-contact device, the detection device may be a three-dimensional visual detection device or a laser rangefinder. For example, when the detection device is a three-dimensional rangefinder, the detection device moves and scans the fixture according to a preset detection path, obtains point cloud data of key points on the surface of the fixture, and characterizes the position of the fixture in the preset coordinate system based on the point cloud data.

[0037] In one embodiment of the present application, a preset coordinate system is used to characterize the position of the fixture. The origin of the preset coordinate system is used to characterize the theoretical position of the center point of the fixture. The coordinate data includes the coordinates of multiple endpoints of the fixture in the preset coordinate system obtained by the detection device when it moves according to the detection path. When the fixture is processed by a processing device, the position of the fixture in space can be determined based on the origin of the preset coordinate system, and the entry point and exit point of the processing equipment when processing the fixture can be determined based on the coordinates of the processing point of the fixture in the preset coordinate system. The processing equipment can be a milling machine or a laser cutting machine, which is not limited in the present application.

[0038] In one embodiment of the present application, the processing equipment can be controlled according to the preset processing instructions to move according to the coordinates of the fixture and perform cutting, milling or forming operations. The coordinates of the fixture are used to indicate the moving path of the processing equipment. In this way, the optimal moving path can be automatically generated by the software of the processing equipment based on the real coordinates of the processing point of the fixture, and the processing efficiency, tool wear and fixture material characteristics can be adjusted in real time according to the position of the fixture, and the path can be smoothed and the speed optimized.

[0039] S21, determining the real coordinates of the entry point and the exit point corresponding to the fixture in the preset coordinate system according to the coordinate data.

[0040] In one embodiment of the present application, in order to improve the accuracy of machining the jig using the machining equipment, the jig can be placed on the workbench in advance, and the real coordinates of the machining points of the jig can be identified and recorded using the detection program. The actual position of the jig is determined based on the real coordinates of the machining points of the jig, thereby determining the deviation between the actual position of the jig's entry point and exit point and the preset position.

[0041] In one embodiment of the present application, determining the real coordinates of the entry point and the exit point corresponding to the jig in the preset coordinate system according to the coordinate data includes: determining the real coordinates of the endpoints of the jig in the preset coordinate system according to the coordinate data; determining the offset error of the jig according to the real coordinates of the endpoints and the theoretical coordinates corresponding to the endpoints; determining the angular error of the jig according to the real coordinates of the endpoints and the size data of the jig; and updating the theoretical coordinates of the entry point and the exit point based on the offset error and the angular error to obtain the real coordinates of the entry point and the exit point.

[0042] In one embodiment of the present application, the real coordinates of the end points of the fixture can be used to characterize the position of the outer contour of the fixture in the preset coordinate system. In order to determine the position offset when placing the fixture, the offset error of the fixture can be determined based on the real coordinates of the end points of the fixture and the theoretical coordinates of the end points. Subsequently, the actual position of the fixture can be determined based on the offset error to obtain the real coordinates of the entry point and the exit point corresponding to the fixture. For specific methods for determining the offset error of the fixture, please refer to Figure 3 The corresponding detailed description.

[0043] In one embodiment of the present application, the jig may rotate when it is placed, resulting in a deviation between the actual position of the jig and the theoretical position. In order to determine the rotation error that occurs when the jig is placed, the angular error of the jig can be determined based on the real coordinates of the end points of the jig and the size data of the jig. Subsequently, the actual position of the jig can be determined based on the angular error of the jig to obtain the real coordinates of the entry point and the exit point corresponding to the jig. For more details, please refer to the method for determining the rotation error of the jig. Figure 4 The corresponding detailed description.

[0044] In one embodiment of the present application, the offset error of the jig can characterize the magnitude of the displacement of the jig in the axial direction of the preset coordinate system, and the rotation error of the jig can characterize the magnitude of the error between the axis of the jig and the axis of the preset coordinate system after the jig rotates. After determining the offset error and rotation error of the jig, the true coordinates of the entry point and the exit point can be determined based on the offset error and the rotation error. For more details, please refer to Figure 5 The corresponding detailed description.

[0045] S22, updating the theoretical coordinates of the processing point of the fixture according to the real coordinates of the entry point and the exit point, and determining the moving path of the processing equipment.

[0046] In one embodiment of the present application, the processing point of the jig is used to characterize the position on the jig where the processing equipment needs to process the jig. The theoretical coordinates of the processing point are used to characterize the initial movement path of the pre-set processing equipment. When the actual position of the jig is offset or rotated, if the processing equipment processes the jig according to the initial movement path, it may cause low precision in the processing of the jig. In order to improve the precision of the processing of the jig, the compensation value of the processing point can be determined based on the real coordinates of the entry point and the exit point, and the theoretical coordinates of the processing point of the jig are updated based on the compensation value, thereby determining the movement path of the updated processing equipment. For specific methods of determining the movement path, please refer to Figure 6 For detailed instructions on how to determine the compensation value, see Figure 7 The corresponding detailed description.

[0047] In one embodiment of the present application, the preset processing instructions can be used to record the theoretical coordinates corresponding to the processing points of the fixture, and the theoretical coordinates corresponding to the processing points can be used to represent the initial movement path of the processing equipment. Then, the theoretical coordinates of the processing points recorded in the processing instructions are updated according to the real coordinates of the entry point and the exit point to obtain the updated processing instructions, and the movement path of the processing equipment is determined according to the updated processing instructions. For example, Figure 8 The figure shows a schematic diagram of a processing instruction 800 provided by an embodiment of the present application. The processing instruction 800 includes a code area 810. The code "#1=#601" in the code area 810 is used to represent the horizontal coordinate of the real coordinate of the feed point, the code "#2=#602" is used to represent the vertical coordinate of the real coordinate of the feed point, the code "#3=#603" is used to represent the horizontal coordinate of the real coordinate of the retract point, and the code "#4=#604" is used to represent the vertical coordinate of the real coordinate of the retract point.

[0048] S23, executing a preset processing instruction to control the processing equipment to process the fixture according to the moving path.

[0049] In one embodiment of the present application, after generating a moving path according to the real coordinates of the processing point corresponding to the jig, the updated processing instruction can be executed, so that the processing equipment moves in the preset coordinate system according to the real coordinates of the processing point in the moving path, so that the position where the processing equipment contacts the jig when processing the jig can match the actual position of the processing point, thereby improving the processing accuracy of the jig. Avoiding the reduction of the jig processing accuracy caused by factors such as the offset or rotation of the jig.

[0050] As can be seen from the above technical solutions, before machining the jig, the actual coordinates of the tool approach point and the tool retraction point corresponding to the jig in the preset coordinate system are first determined according to the coordinate data of the jig measured by the detection device in the preset coordinate system. In this way, the actual position of the jig can be determined before implementing the machining process, providing data support for updating the theoretical coordinates of the machining points corresponding to the jig recorded in the preset instructions. After updating the theoretical coordinates of the machining points according to the actual coordinates of the tool approach point and the tool retraction point, the actual coordinates of the machining points are obtained, and the movement path of the updated machining device is determined according to the actual coordinates of the machining points, and the machining device is controlled to machine the jig according to the updated machining path. In this way, it can be ensured that the movement path during the operation of the machining device conforms to the actual position of the jig when machining the jig, thereby improving the accuracy of jig machining.

[0051] As Figure 3 shown, it is a flowchart of a method for determining the offset error provided by an embodiment of the present application. According to different requirements, the order of steps in this flowchart can be changed, and some steps can be omitted. The method for determining the offset error provided by the embodiment of the present application includes the following steps.

[0052] S30. Determine the difference between the actual coordinates of the endpoint and the theoretical coordinates of the endpoint.

[0053] In an embodiment of the present application, the actual coordinates of the endpoints of the jig can be used to represent the actual position of the outer contour of the jig in the preset coordinate system, and the theoretical coordinates of the endpoints of the jig can be used to represent the theoretical position of the preset outer contour of the jig in the preset coordinate system. To determine the offset of the jig, the difference between the actual coordinates and the theoretical coordinates of the endpoints can be determined first. Specifically, for any endpoint, the first difference between the abscissa in the actual coordinates of the endpoint and the abscissa in the theoretical coordinates can be determined, and the second difference between the ordinate in the actual coordinates of the endpoint and the ordinate in the theoretical coordinates can be determined.

[0054] S31. Determine the offset error of the jig according to the difference.

[0055] In an embodiment of the present application, the offset error of the jig can be determined according to the difference. Specifically, the first difference and the second difference can be determined as the offset error of the jig.

[0056] As Figure 4 shown, it is a flowchart of a method for determining the rotation error provided by an embodiment of the present application. According to different requirements, the order of steps in this flowchart can be changed, and some steps can be omitted. The method for determining the rotation error provided by the embodiment of the present application includes the following steps.

[0057] S40, determining the real coordinates of the axis of the fixture in the preset coordinate system according to the real coordinates of the endpoints.

[0058] In one embodiment of the present application, since the real coordinates of the endpoints can be used to characterize the real position of the outer contour of the fixture in the preset coordinate system, the real coordinates of the axis of the fixture in the preset coordinate system can be determined based on the real coordinates of the endpoints.

[0059] S41, determining the tangent value between the axis of the fixture and the axis of the preset coordinate system according to the real coordinate of the axis.

[0060] In one embodiment of the present application, the tangent value between the axis of the jig and the axis of the preset coordinate system can be determined according to the real coordinates of the axis of the jig, wherein the tangent value can indicate the angle between the axis of the jig and the axis of the preset coordinate system.

[0061] S42, determining the angle error of the fixture according to the tangent value.

[0062] In one embodiment of the present application, the angle between the axis of the fixture and the axis of the preset coordinate system can be determined according to the tangent value, and the angle of the angle can be determined as the angle error of the fixture. The angle error can be used to characterize the degree of inclination of the actual position of the fixture.

[0063] like Figure 5 As shown, it is a flow chart of a method for determining the real coordinates of the entry point and the retract point provided in an embodiment of the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. The method for determining the real coordinates of the entry point and the retract point provided in an embodiment of the present application includes the following steps.

[0064] S50, determining the real coordinates of the center point of the fixture in the preset coordinate system according to the offset error and the angle error.

[0065] In one embodiment of the present application, since the origin of the preset coordinate system is used to characterize the theoretical coordinates of the center point of the fixture, after obtaining the offset error and the angle error, the actual coordinates of the center point of the fixture in the preset coordinate system can be determined based on the offset error and the angle error.

[0066] S51, determining a coordinate offset value of the fixture according to the real coordinates of the center point of the fixture and the origin of the preset coordinate system.

[0067] In one embodiment of the present application, the coordinate offset value of the fixture can be determined according to the coordinate difference between the real coordinates of the center point of the fixture and the origin. The coordinate offset value of the fixture can be used to characterize the degree of deviation of the real position of the fixture relative to the theoretical position of the fixture.

[0068] S52, determining the real coordinates of the entry point and the exit point according to the coordinate offset value and the theoretical coordinates of the entry point and the exit point.

[0069] In an embodiment of the present application, the real coordinates of the entry point and the exit point can be determined according to the coordinate offset value and the theoretical coordinates of the entry point and the exit point. Specifically, the real coordinates of the entry point can be obtained by determining the sum of the coordinate offset value and the theoretical coordinates of the entry point; the real coordinates of the exit point can be obtained by determining the sum of the coordinate offset value and the theoretical coordinates of the exit point.

[0070] like Figure 6 , is a flow chart of a method for determining a moving path provided in an embodiment of the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. The method for determining a moving path provided in an embodiment of the present application includes the following steps.

[0071] S60, determining the theoretical coordinates of the tool entry point and the tool exit point according to the theoretical coordinates of the processing point.

[0072] In one embodiment of the present application, the theoretical coordinates of the entry point and the exit point can be determined according to the theoretical coordinates of the processing point in the preset instruction.

[0073] S61, determining a compensation value of the theoretical coordinates of any processing point according to the real coordinates of the entry point and the exit point and the theoretical coordinates.

[0074] In one embodiment of the present application, the compensation value of the theoretical coordinates of any processing point can be determined based on the real coordinates and theoretical coordinates of the entry point and the exit point. The compensation value is used to characterize the difference between the theoretical coordinates and the real coordinates of the processing point. Specifically, the compensation value includes a horizontal coordinate compensation value and a vertical coordinate compensation value. The horizontal coordinate compensation value can be used to update the horizontal coordinate in the theoretical coordinates of the processing point, and the vertical coordinate compensation value can be used to update the vertical coordinate in the theoretical coordinates of the processing point. For specific methods for determining the compensation value, please refer to Figure 7 The corresponding detailed description.

[0075] S62, updating the theoretical coordinates of the arbitrary processing point according to the compensation value to obtain the real coordinates of the arbitrary processing point.

[0076] In one embodiment of the present application, the theoretical coordinates of any processing point can be updated according to the compensation value corresponding to the processing point to obtain the real coordinates of the processing point. Specifically, the sum of the abscissa in the theoretical coordinates and the abscissa compensation value can be determined as the real abscissa of the processing point, and the sum of the ordinate in the theoretical coordinates and the ordinate compensation value can be determined as the real ordinate of the processing point, and then the real abscissa and the real ordinate of the processing point can be determined as the real coordinates of the processing point.

[0077] S63, determining a moving path of the processing equipment based on the preset coordinate system and the real coordinates of all processing points.

[0078] In one embodiment of the present application, the real coordinates of all processing points are used to represent the real positions of the points in contact with the jig when the processing equipment processes the jig. Therefore, the moving path of the processing equipment can be determined based on the real coordinates of all processing points. The processing equipment can be subsequently controlled to move according to the moving path.

[0079] like Figure 7 , is a flow chart of a method for determining a compensation value provided in an embodiment of the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. The method for determining a compensation value provided in an embodiment of the present application includes the following steps.

[0080] S70, determining the length of the moving path according to the theoretical coordinates of the entry point and the exit point.

[0081] In one embodiment of the present application, in order to determine the compensation value of each processing point, the length of the moving path may be determined first. Specifically, according to the theoretical coordinates of the entry point and the exit point, the first length between the theoretical horizontal coordinate of the entry point and the theoretical horizontal coordinate of the exit point may be determined, and the second length between the theoretical vertical coordinate of the entry point and the theoretical vertical coordinate of the exit point may be determined. The length of the moving path is determined according to the first length and the second length.

[0082] S71, determining the distance between the processing point and the retraction point according to the theoretical coordinates of any processing point and the theoretical coordinates of the retraction point.

[0083] In one embodiment of the present application, in order to determine the compensation value of each processing point, the distance between the processing point and the retraction point may be determined based on the theoretical coordinates of the processing point and the theoretical coordinates of the retraction point.

[0084] S72, determining an error ratio of the theoretical coordinates of the processing point according to the distance and the length of the moving path.

[0085] In one embodiment of the present application, the error ratio of the theoretical coordinates of the processing point can be determined according to the distance between the processing point and the retraction point, and the length of the moving path. Specifically, the error ratio of the theoretical coordinates of the processing point can be determined according to the ratio of the distance to the length of the moving path. The higher the ratio of the distance to the length of the moving path, the higher the error ratio, indicating that the degree of difference between the theoretical coordinates of the processing point and the real coordinates of the processing point is higher.

[0086] S73, determining a compensation value of the theoretical coordinates of any one of the processing points according to the error ratio and the real coordinates of the entry point and the exit point.

[0087] In one embodiment of the present application, the compensation value of the theoretical coordinates of the processing point can be determined based on the error ratio corresponding to the processing point and the real coordinates of the feed point and the retract point. Specifically, the product of the error ratio and the horizontal coordinate of the feed point can be determined to obtain the first lateral compensation value of the processing point, and the second lateral compensation value of the processing point can be determined based on the product of the error ratio and the horizontal coordinate of the retract point; the product of the error ratio and the vertical coordinate of the retract point can be determined to obtain the first longitudinal compensation value of the processing point, and the second longitudinal compensation value of the processing point can be determined based on the product of the error ratio and the vertical coordinate of the retract point. The lateral compensation value of the processing point can be determined based on the sum of the first lateral compensation value and the second lateral compensation value; the longitudinal compensation value of the processing point can be determined based on the sum of the first longitudinal compensation value and the second longitudinal compensation value. Finally, the compensation value of the theoretical coordinates of the processing point can be determined based on the lateral compensation value and the longitudinal compensation value. Specifically, the sum of the abscissa of the theoretical coordinates of the processing point and the lateral compensation value can be calculated to obtain the abscissa of the real coordinates of the processing point; the sum of the ordinate of the theoretical coordinates of the processing point and the longitudinal compensation value can be calculated to obtain the ordinate of the real coordinates of the processing point.

[0088] See also Fig. 9 , Fig. 9 9 is a functional module diagram of a jig processing device provided in one embodiment of the present application. The jig processing device 91 includes an acquisition module 910, a determination module 911, an update module 912 and a processing module 913. The module / unit referred to in the present application refers to a series of computer-readable instruction segments that can be executed by the processor 13 and can complete fixed functions, which are stored in the memory 12. In this embodiment, the functions of each module / unit will be described in detail in subsequent embodiments.

[0089] The acquisition module 910 is used to acquire coordinate data of the jig to be processed in a preset coordinate system sent by the detection device.

[0090] The determination module 911 is used to determine the real coordinates of the entry point and the exit point corresponding to the fixture in the preset coordinate system according to the coordinate data.

[0091] The updating module 912 is used to update the theoretical coordinates of the processing points of the fixture according to the real coordinates of the entry point and the exit point, and determine the moving path of the processing equipment.

[0092] The processing module 913 is used to control the processing equipment to process the fixture according to the moving path based on the pre-stored processing instructions.

[0093] In some embodiments, the determination module 911 determines the real coordinates of the entry point and the exit point corresponding to the fixture in the preset coordinate system based on the coordinate data, including: determining the real coordinates of the endpoint of the fixture in the preset coordinate system based on the coordinate data; determining the offset error of the fixture based on the real coordinates of the endpoint and the theoretical coordinates corresponding to the endpoint; determining the angular error of the fixture based on the real coordinates of the endpoint and the size data of the fixture; and updating the theoretical coordinates of the entry point and the exit point based on the offset error and the angular error to obtain the real coordinates of the entry point and the exit point.

[0094] In some embodiments, the determination module 911 determines the offset error of the fixture according to the real coordinates of the endpoint and the theoretical coordinates corresponding to the endpoint, including: determining the difference between the real coordinates of the endpoint and the theoretical coordinates of the endpoint; and determining the offset error of the fixture according to the difference.

[0095] In some embodiments, the determination module 911 determines the angular error of the jig based on the real coordinates of the endpoint and the size data of the jig, including: determining the real coordinates of the axis of the jig in the preset coordinate system based on the real coordinates of the endpoint; determining the tangent value between the axis of the jig and the axis of the preset coordinate system based on the real coordinates of the axis; and determining the angular error of the jig based on the tangent value.

[0096] In some embodiments, the determination module 911 updates the pre-stored theoretical coordinates of the entry point and the exit point based on the offset error and the angle error to obtain the real coordinates of the entry point and the exit point, including: determining the real coordinates of the center point of the fixture in the preset coordinate system according to the offset error and the angle error; determining the coordinate offset value of the fixture according to the real coordinates of the center point of the fixture and the origin of the preset coordinate system; determining the real coordinates of the entry point and the exit point according to the coordinate offset value and the theoretical coordinates of the entry point and the exit point.

[0097] In some embodiments, the update module 912 updates the theoretical coordinates of the processing points of the fixture according to the real coordinates of the feed point and the retract point, and determines the moving path of the processing equipment, including: determining the theoretical coordinates of the feed point and the retract point according to the theoretical coordinates of the processing points; determining the compensation value of the theoretical coordinates of any processing point according to the real coordinates and theoretical coordinates of the feed point and the retract point; updating the theoretical coordinates of any processing point according to the compensation value to obtain the real coordinates of any processing point; determining the moving path of the processing equipment based on the preset coordinate system and the real coordinates of all processing points.

[0098] In some embodiments, the updating module 912 determines the compensation value of the theoretical coordinates of any processing point according to the real coordinates and the theoretical coordinates of the entry point and the exit point, including: determining the length of the moving path according to the theoretical coordinates of the entry point and the exit point; determining the distance between the processing point and the exit point according to the theoretical coordinates of any processing point and the theoretical coordinates of the exit point; determining the error ratio of the theoretical coordinates of the processing point according to the distance and the length of the moving path; determining the compensation value of the theoretical coordinates of any processing point according to the error ratio and the real coordinates of the entry point and the exit point.

[0099] See also Fig.10 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 100 includes a memory 12 and a processor 13. The memory 12 is used to store computer-readable instructions, and the processor 13 is used to execute the computer-readable instructions stored in the memory to implement a capacity prediction method based on multi-factor weights described in any of the above embodiments.

[0100] In an embodiment of the present application, the electronic device 100 further includes a bus, a computer program stored in the memory 12 and executable on the processor 13, such as a production capacity prediction program based on multi-factor weights.

[0101] Fig.10 Only the electronic device 100 having the memory 12 and the processor 13 is shown, and those skilled in the art can understand that Fig.10 The structure shown does not constitute a limitation on the electronic device 100 , and the electronic device 100 may include fewer or more components than shown in the figure, or combine some components, or arrange the components differently.

[0102] Combination Figure 2The memory 12 in the electronic device 100 stores a plurality of computer-readable instructions to implement the capacity prediction method based on multi-factor weights, and the processor 13 can execute the plurality of instructions to implement: obtaining coordinate data of the jig to be processed in a preset coordinate system from the detection device; determining the real coordinates of the entry point and the exit point corresponding to the jig in the preset coordinate system according to the coordinate data; updating the theoretical coordinates of the processing point of the jig according to the real coordinates of the entry point and the exit point, and determining the moving path of the processing equipment; executing the preset processing instructions, and controlling the processing equipment to process the jig according to the moving path.

[0103] Specifically, the specific implementation method of the processor 13 for the above instructions can refer to Figure 3 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0104] Those skilled in the art will appreciate that the schematic diagram is merely an example of the electronic device 100 and does not constitute a limitation on the electronic device 100. The electronic device 100 may be a bus-type structure or a star-type structure. The electronic device 100 may also include more or less other hardware or software than shown in the diagram, or a different arrangement of components. For example, the electronic device 100 may also include input and output devices, network access devices, etc.

[0105] It should be noted that the electronic device 100 is only an example, and other existing or future electronic products that are suitable for the present application should also be included in the protection scope of the present application and included here by reference.

[0106] Among them, the memory 12 includes at least one type of readable storage medium, and the readable storage medium can be non-volatile or volatile. The readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 12 can be an internal storage unit of the electronic device 100, such as a mobile hard disk of the electronic device 100. In other embodiments, the memory 12 can also be an external storage device of the electronic device 100, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the electronic device 100. The memory 12 can not only be used to store application software and various types of data installed in the electronic device 100, such as a code of a production capacity forecasting program based on multi-factor weights, etc., but can also be used to temporarily store data that has been output or is to be output.

[0107] In some embodiments, the processor 13 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 13 is the control core (Control Unit) of the electronic device 100, and uses various interfaces and lines to connect various components of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing programs or modules stored in the memory 12 (for example, executing a capacity prediction program based on multi-factor weights, etc.), and calling data stored in the memory 12.

[0108] The processor 13 executes the operating system of the electronic device 100 and various installed applications. The processor 13 executes the applications to implement the steps in the above-mentioned various production capacity prediction method embodiments based on multi-factor weights, for example Figure 2 Steps shown.

[0109] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 12 and executed by the processor 13 to complete the present application. The one or more modules / units may be a series of computer-readable instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the electronic device 100. For example, the computer program may be divided into an acquisition module 910, a determination module 911, an update module 912, and a processing module 913.

[0110] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, and includes a number of instructions for enabling a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to execute a part of a capacity forecasting method based on multi-factor weights described in various embodiments of the present application.

[0111] If the module / unit integrated in the electronic device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also instruct the relevant hardware devices to complete through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented.

[0112] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory and other memory, etc.

[0113] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0114] The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. Fig.10 Only one arrow is used in the figure, but it does not mean that there is only one bus or one type of bus. The bus is configured to realize the connection and communication between the memory 12 and at least one processor 13, etc.

[0115] An embodiment of the present application also provides a computer-readable storage medium (not shown), in which computer-readable storage medium is stored computer-readable instructions, and the computer-readable instructions are executed by a processor in an electronic device to implement the capacity forecasting method based on multi-factor weights described in any of the above embodiments.

[0116] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0117] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0118] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0119] In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the specification can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any specific order.

[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the preferred embodiments, a person of ordinary skill in the art should understand that the technical solution of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present application.

Claims

1. A jig processing method, applied to electronic equipment, characterized in that: The electronic device is communicatively connected to the detection device and the processing device, and the method includes: Obtaining coordinate data of the jig to be processed in a preset coordinate system from the detection equipment; Determine the real coordinates of the entry point and the exit point corresponding to the fixture in the preset coordinate system according to the coordinate data; According to the real coordinates of the entry point and the exit point, the theoretical coordinates of the processing point of the fixture are updated to determine the moving path of the processing equipment; Execute the preset processing instructions to control the processing equipment to process the fixture according to the moving path.

2. The jig processing method according to claim 1, characterized in that: Determining the real coordinates of the entry point and the exit point corresponding to the fixture in the preset coordinate system according to the coordinate data includes: Determine the real coordinates of the endpoints of the fixture in the preset coordinate system according to the coordinate data; Determining the offset error of the fixture according to the real coordinates of the endpoint and the theoretical coordinates corresponding to the endpoint; Determining the angular error of the fixture according to the real coordinates of the endpoints and the dimension data of the fixture; Based on the offset error and the angle error, the theoretical coordinates of the entry point and the exit point are updated to obtain the real coordinates of the entry point and the exit point.

3. The jig processing method according to claim 2, characterized in that: Determining the offset error of the fixture according to the real coordinates of the endpoint and the theoretical coordinates corresponding to the endpoint includes: determining the difference between the actual coordinates of the endpoint and the theoretical coordinates of the endpoint; The offset error of the fixture is determined according to the difference.

4. The jig processing method according to claim 2, characterized in that: Determining the angular error of the fixture according to the real coordinates of the endpoint and the size data of the fixture includes: Determine the real coordinates of the axis of the fixture in the preset coordinate system according to the real coordinates of the endpoints; Determine the tangent value between the axis of the fixture and the axis of the preset coordinate system according to the real coordinate of the axis; The angular error of the fixture is determined according to the tangent value.

5. The jig processing method according to claim 2, characterized in that: The updating of the pre-stored theoretical coordinates of the entry point and the exit point based on the offset error and the angle error to obtain the real coordinates of the entry point and the exit point comprises: Determine the real coordinates of the center point of the fixture in the preset coordinate system according to the offset error and the angle error; Determining a coordinate offset value of the fixture according to the real coordinates of the center point of the fixture and the origin of the preset coordinate system; The real coordinates of the tool entry point and the tool retract point are determined according to the coordinate offset value and the theoretical coordinates of the tool entry point and the tool retract point.

6. The jig processing method according to claim 1, characterized in that: The updating of the theoretical coordinates of the processing point of the fixture according to the real coordinates of the entry point and the exit point, and determining the moving path of the processing equipment comprises: Determine the theoretical coordinates of the cutting point and the cutting point according to the theoretical coordinates of the processing point; Determine the compensation value of the theoretical coordinates of any processing point according to the real coordinates of the entry point and the exit point and the theoretical coordinates; Update the theoretical coordinates of any one of the processing points according to the compensation value to obtain the real coordinates of any one of the processing points; Based on the preset coordinate system and the real coordinates of all processing points, the moving path of the processing equipment is determined.

7. The jig processing method according to claim 6, characterized in that: Determining the compensation value of the theoretical coordinate of any processing point according to the real coordinates of the entry point and the exit point and the theoretical coordinates includes: Determining the length of the moving path according to the theoretical coordinates of the entry point and the exit point; Determine the distance between the processing point and the retraction point according to the theoretical coordinates of any processing point and the theoretical coordinates of the retraction point; Determining the error ratio of the theoretical coordinates of the processing point according to the distance and the length of the moving path; The compensation value of the theoretical coordinates of any one of the processing points is determined according to the error ratio and the real coordinates of the entry point and the exit point.

8. A jig processing device, characterized in that: The device comprises: An acquisition module, used to acquire coordinate data of the jig to be processed in a preset coordinate system sent by the detection device; A determination module, used to determine the real coordinates of the entry point and the exit point corresponding to the fixture in the preset coordinate system according to the coordinate data; An updating module, used to update the theoretical coordinates of the processing points of the fixture according to the real coordinates of the entry point and the exit point, and determine the moving path of the processing equipment; The processing module is used to control the processing equipment to process the fixture according to the moving path based on the pre-stored processing instructions.

9. A storage device, characterized in that: The computer program stored in the storage device implements the jig processing method according to any one of claims 1 to 7 when executed by the processor.

10. An electronic device, characterized in that: The electronic device comprises the storage device as claimed in claim 9 and a processor, and the processor is used to implement the fixture processing method as claimed in any one of claims 1 to 7 when executing the computer program stored in the storage device.