Technological processing method and device based on parameterized programming and electronic equipment
By using parametric programming for process control and revising the processing trajectory using parametric templates, the problem of time-consuming and costly changeovers has been solved, achieving efficient changeovers.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-04-07
AI Technical Summary
In existing technologies, the changeover process is time-consuming and costly, resulting in low production efficiency.
A process machining method based on parametric programming is adopted. By obtaining the size set and model of the target workpiece, the reference machining trajectory is revised using parametric templates to generate the target machining trajectory, and the process machining is performed based on the target machining trajectory.
It shortened the total time for production changeover and debugging, improved production changeover efficiency, and reduced production changeover costs.
Smart Images

Figure CN121806731A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of process technology, and more specifically, to a process method, apparatus, and electronic device based on parametric programming. Background Technology
[0002] As consumer demands become increasingly diversified, industrial production also needs to meet more complex and varied time requirements. In other words, companies need to customize and produce workpieces that meet the specific needs of their customers.
[0003] When different products or processes require adjustments to equipment parameters, replacement of tools, or verification of production status to ensure product quality and production safety, the existing technology usually adopts the method of stopping and debugging during product changeover. Although this method can solve the product changeover problem, the adjustment of the production path (such as robot path) alone requires a lot of time and labor costs. Summary of the Invention
[0004] This application provides a method, apparatus, and electronic device for quality inspection of surface treatment processes, which at least solves the problem of high time and cost of production changeover in the prior art.
[0005] According to one aspect of the embodiments of this application, a process machining method based on parametric programming is provided, comprising: obtaining a target size set, a target workpiece model, and a reference machining trajectory corresponding to a target workpiece; obtaining a parametric template based on the target workpiece model, the parametric template being used to indicate the correspondence between multiple target sizes included in the target size set; revising the reference machining trajectory according to the parametric template based on the target size set to obtain a target machining trajectory corresponding to the target workpiece; and performing process machining on the target workpiece based on the target machining trajectory.
[0006] According to another aspect of the embodiments of this application, a process processing apparatus based on parametric programming is also provided, comprising: a first acquisition unit, configured to acquire a target size set, a target workpiece model, and a reference processing trajectory corresponding to a target workpiece; a second acquisition unit, configured to acquire a parametric template based on the target workpiece model, the parametric template being used to indicate the correspondence between multiple target sizes included in the target size set; a revision unit, configured to revise the reference processing trajectory based on the target size set and the parametric template to obtain a target processing trajectory corresponding to the target workpiece; and a process processing unit, configured to perform process processing on the target workpiece based on the target processing trajectory.
[0007] Optionally, the revision unit includes: a creation subunit for creating a target coordinate system corresponding to the target workpiece based on coordinate system creation rules; a first acquisition subunit for acquiring a reference coordinate system and reference machining trajectory corresponding to a reference workpiece model, as well as a set of reference dimensions corresponding to the reference workpiece, from a preset storage location according to the target workpiece model; a first determination subunit for determining the reference correspondence between the reference machining trajectory and the set of reference dimensions and the reference coordinate system based on the parameterized template and the reference coordinate system; a second determination subunit for determining the target correspondence corresponding to the target workpiece based on the reference correspondence, the target coordinate system, and the set of target dimensions; and a revision subunit for revising the reference machining trajectory based on the target correspondence to obtain the target machining trajectory.
[0008] Optionally, the first acquisition subunit includes: a first acquisition module, used to acquire the login request of the target account, and display an operation interface when the target account meets the preset operation permissions, the operation interface including a model pre-display sub-interface, an operation sub-interface, and a size display sub-interface; a first determination module, used to determine the target workpiece model based on the target account's click operation on the pre-display sub-interface, the operation sub-interface synchronously displays an update interface including preset size data based on the target workpiece model, and the operation sub-interface allows the target account to modify the preset size data; and a second acquisition module, used to acquire the target size set in the update interface based on the target account's click operation on the update interface, and acquire a reference machining trajectory from a preset storage location.
[0009] Optionally, the above-mentioned process unit includes: a generation subunit for generating a target processing program based on the target processing trajectory; and a control subunit for controlling the field equipment to perform process processing on the target workpiece based on the target processing program.
[0010] Optionally, the above-mentioned process processing device based on parametric programming further includes: a third acquisition unit, used to acquire processing operation information during the process of controlling the field equipment to process the target workpiece, the processing operation information including equipment operating parameters, process execution status and task flow signals; a monitoring subunit, used to monitor the process processing according to the equipment operating parameters, process execution status and task flow signals; and a sending subunit, used to send an abnormality prompt message when abnormal information is detected in the processing operation information.
[0011] Optionally, the above-mentioned process processing device based on parametric programming further includes: a fourth acquisition unit, used to acquire the login request corresponding to the reference account before acquiring the target size set, target workpiece model and reference processing trajectory corresponding to the target workpiece, and display the programming interface in the offline programming system if the reference account meets the preset programming permissions, the programming interface including a scene building sub-interface; a fifth acquisition unit, used to acquire the reference workpiece model and reference processing technology corresponding to the reference workpiece carried in the login request; a building unit, used to build a simulation process scene based on the reference workpiece model, reference processing technology and the click and drag operations of the reference account; and a trajectory generation unit, used to import the reference workpiece model corresponding to the reference workpiece into the simulation process scene, and generate the reference processing trajectory based on the reference workpiece model using the trajectory generation function in the offline programming system, and store the reference processing trajectory and the reference workpiece model corresponding to the reference processing trajectory in a preset storage location.
[0012] Optionally, the trajectory generation unit includes: a creation subunit for establishing a reference coordinate system on the reference workpiece model based on a preset coordinate system establishment rule; a parameter setting subunit for setting a set of reference parameters required to generate the reference machining trajectory based on the parameter setting trigger operation of the reference account in the programming interface; a trajectory generation subunit for generating the reference machining trajectory using the trajectory generation function based on the reference parameter set and the reference coordinate system; and a storage subunit for storing the reference coordinate system in a preset storage location corresponding to the reference workpiece model.
[0013] Optionally, the above-mentioned process processing device based on parametric programming further includes: a template generation unit, which generates a reference parametric template corresponding to the reference workpiece after generating a reference processing trajectory, based on the reference parameter set, the reference coordinate system and the reference processing trajectory; then the storage subunit stores the reference parametric template to a preset storage location corresponding to the reference workpiece model.
[0014] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided, which stores computer instructions for causing a computer to perform the above-described process manufacturing method based on parametric programming.
[0015] According to another aspect of the embodiments of this application, an electronic device is also provided, the electronic device including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to cause the at least one processor to perform the above-described process manufacturing method based on parametric programming.
[0016] Compared with the prior art, the technical solution provided in this application embodiment may include the following beneficial effects: The aforementioned process control method, apparatus, and electronic equipment based on parametric programming solve the problems of high time and cost associated with changeover in existing technologies, shortening the total changeover debugging time and improving changeover efficiency. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the specific embodiments of this application or the prior art, the accompanying drawings used in the description of the specific embodiments or the prior art will be briefly introduced below, making other features, objectives, and advantages of this application more apparent. Obviously, the drawings described below are merely some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. The illustrative embodiment drawings and their descriptions are used to explain this application and do not constitute an improper limitation of this application. In the drawings: Figure 1 This is a schematic diagram of the hardware environment for an optional process manufacturing method based on parametric programming according to an embodiment of the present invention; Figure 2 This is a flowchart of an optional process manufacturing method based on parametric programming according to an embodiment of the present invention; Figure 3a This is a schematic diagram of an optional process manufacturing method based on parametric programming according to an embodiment of the present invention; Figure 3b This is a schematic diagram of another optional process manufacturing method based on parametric programming according to an embodiment of the present invention; Figure 4 This is a schematic diagram of an optional process processing apparatus based on parametric programming according to an embodiment of the present invention; Figure 5 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present invention. Detailed Implementation
[0018] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0020] In this application, the terms "upper," "lower," "left," "right," "front," "rear," "top," "bottom," "inner," "outer," "middle," "vertical," "horizontal," "lateral," and "longitudinal" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. These terms are primarily for the purpose of better describing this application and its embodiments, and are not intended to limit the indicated device, element, or component to having a specific orientation, or to be constructed and operated in a specific orientation.
[0021] Furthermore, in addition to indicating location or positional relationship, some of the aforementioned terms may also have other meanings. For example, the term "above" may also be used in some cases to indicate a certain dependency or connection relationship. Those skilled in the art can understand the specific meaning of these terms in this application based on the specific circumstances.
[0022] Furthermore, the terms "installation," "setup," "equipped with," "connection," "linked," and "socketing" should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or an internal connection between two devices, components, or parts. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0023] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0024] To address the issues of high time and cost associated with changeover in existing technologies, this application provides a process control method based on parametric programming. As an optional implementation, this parametric programming-based process control method can be applied, but is not limited to, to processes such as... Figure 1The illustrated process manufacturing system consists of terminal device 102 and server 104, based on parametric programming. For example... Figure 1 As shown, terminal device 102 is connected to server 104 via network 110. Network 110 may include, but is not limited to, wired networks and wireless networks. The wired network includes local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs). The wireless network includes Bluetooth, Wi-Fi, and other networks that enable wireless communication. Terminal device 102 may include, but is not limited to, at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), laptops, tablets, handheld computers, MIDs (Mobile Internet Devices), tablets, desktop computers, smart TVs, etc.
[0025] The aforementioned terminal device 102 is also equipped with a display 106, a processor 108, and a memory 112. The display 106 can be used to display the process processing area, the processor 108 can be used to process the reference processing trajectory, and the memory 112 can be used to store various models and data involved in this application.
[0026] The aforementioned server 104 can be a single server, a server cluster consisting of multiple servers, or a cloud server. The aforementioned server 104 includes a database 114 and a processing engine 116. The database 114 can be used to store various models and data involved in this application, and the processing engine 116 is used to process data such as target machining trajectories corresponding to the various target workpieces.
[0027] According to one aspect of the present invention, the above-described process machining system based on parametric programming can further perform the following steps: First, the terminal device 102 executes S102, sending a process machining request to the server 104 via the network 110; then the server 104 executes S104 to S110: obtaining the target size set, the target workpiece model, and the reference machining trajectory corresponding to the target workpiece; obtaining a parametric template based on the target workpiece model, the parametric template being used to indicate the correspondence between multiple target sizes included in the target size set; revising the reference machining trajectory based on the target size set and the parametric template to obtain the target machining trajectory corresponding to the target workpiece; and performing process machining on the target workpiece based on the target machining trajectory.
[0028] In the above embodiments of the present invention, the above-mentioned process method based on parametric programming solves the problem of high time and cost of production changeover in the prior art, shortens the total time of production changeover debugging, and improves the efficiency of production changeover.
[0029] The above is merely an example, and no limitations are made in this embodiment.
[0030] As an alternative implementation method, please refer to Figure 2 This document illustrates a flowchart of a process fabrication method based on parametric programming, provided in one embodiment of this application. The execution entity for each step of this method can be the terminal device and server described above. In the following method embodiments, for ease of description, the execution entity for each step will only be described as a "computer device." This method may include at least one of the following steps (S202 to S208): S202, Obtain the target size set, target workpiece model and reference machining trajectory corresponding to the target workpiece; S204, Obtain a parameterized template based on the target workpiece model. The parameterized template is used to indicate the correspondence between multiple target dimensions included in the target size set. S206, Based on the target size set, the reference machining trajectory is revised according to the parameterized template to obtain the target machining trajectory corresponding to the target workpiece; S208, perform process machining on the target workpiece based on the target machining trajectory.
[0031] It should be noted that in S202 above, the target size set refers to the summary of all key dimensional parameters of the specific workpiece to be processed. For example, the length of the block base (target workpiece) is 30mm, the width is 20mm, and the height is 25mm. The target workpiece model mentioned above is used to uniquely refer to a series of workpieces with the same topology but different dimensions, and does not include specific dimensions. For example, "block base-02 model" means that the block bases of this model have the same shape but may differ in size. The reference machining trajectory refers to the machining trajectory pre-programmed for a reference workpiece model of a certain model.
[0032] In S204 above, the parameterized template is used to indicate the correspondence between multiple target dimensions included in the target dimension set. For example, the height of the block base of model 02 = the length of the long side of the bottom surface - the length of the short side of the bottom surface. In S206 above, the process of revising the reference machining trajectory according to the parameterized template can be understood as revising the reference machining trajectory corresponding to the reference workpiece model to the target machining trajectory corresponding to the target workpiece (which has the same structure as the reference workpiece model but different dimensions) according to the correspondence between the target dimensions. In S208 above, the process of performing process machining on the target workpiece based on the target machining trajectory includes, but is not limited to: generating a target machining program based on the target machining trajectory; controlling the field equipment to perform process machining on the target workpiece based on the target machining program, and the specific processing technology includes, but is not limited to, welding, spraying, sandblasting, grinding, measurement, and gluing.
[0033] Through the above-described embodiments of this application, the above-described process method based on parametric programming solves the problem of high time and cost of production changeover in the prior art, shortens the total time for production changeover debugging, and improves the efficiency of production changeover.
[0034] As an optional implementation, the above-mentioned method, based on a set of target dimensions, modifies the reference machining trajectory according to a parameterized template to obtain the target machining trajectory corresponding to the target workpiece, including: S1, Establish the target coordinate system corresponding to the target workpiece based on the coordinate system establishment rules; S2, based on the target workpiece model, obtain the reference coordinate system and reference machining trajectory corresponding to the reference workpiece model from the preset storage location, as well as the reference size set corresponding to the reference workpiece; S3, Based on the parameterized template and the reference coordinate system, determine the reference correspondence between the reference machining trajectory and the reference size set and the reference coordinate system; S4. Determine the target correspondence relationship corresponding to the target workpiece based on the reference correspondence relationship, the target coordinate system, and the target size set. S5. Based on the target correspondence, the reference processing trajectory is revised to obtain the target processing trajectory.
[0035] In S1 above, the coordinate system establishment rule is a predefined rule for establishing the target coordinate system. For example, the coordinate system establishment rule is as follows: the point on the back side of the bottom surface of the target workpiece, closest to the machine tool entrance, is taken as the origin of the coordinate system; the positive x-axis direction is determined by pointing from the origin to the point on the back side of the bottom surface of the target workpiece, furthest from the machine tool entrance; the positive y-axis direction is determined by pointing from the origin to the front side of the bottom surface of the target workpiece, closest to the machine tool entrance; the z-axis is obtained by cross-product of the x-axis and y-axis using the "right-hand rule". The target coordinate system corresponding to the target workpiece can be determined by using this coordinate system establishment rule.
[0036] In S2 above, the reference workpiece model corresponds to the target workpiece model, the reference coordinate system is established in the same way as the target coordinate system, the reference machining trajectory is a machining trajectory established for the reference workpiece based on the reference coordinate system, and the reference dimension set refers to the summary of all key dimension parameters of the reference workpiece. The key dimension parameters in the reference dimension set correspond to the key dimension parameters in the target dimension set.
[0037] In S3 above, the reference correspondence between the reference machining trajectory and the reference size set and the reference coordinate system means that the coordinate values of each point on the reference machining trajectory are defined based on the size set of the reference workpiece and the reference coordinate system.
[0038] In S4 above, the process of determining the target correspondence of the target workpiece can be understood as the correspondence between the target size set of the target workpiece, the target coordinate system and the target machining trajectory. In S5 above, the process of revising the reference machining trajectory is to map each point on the reference trajectory to the coordinate system of the target workpiece through a transformation process, so as to obtain the target machining trajectory.
[0039] like Figures 3a-3b As shown, firstly, with point O as the origin, a target coordinate system corresponding to the target workpiece 100 to be welded is established. Based on the model of the target workpiece 100, the reference coordinate system and reference machining trajectory corresponding to the reference workpiece model are obtained, as well as the reference dimension set corresponding to the reference workpiece. Based on the parameterized definition of the geometric features of the target workpiece, a parameterized template can be obtained. The parameterized template represents the correspondence between the total dimension and trajectory point offset angle between the coordinate origin and the machining trajectory, and multiple (at least one) target dimensions and their corresponding offset angles between the coordinate origin and the machining trajectory. Figure 3b Taking the top plate 200 of the target workpiece as an example, let H1 be the distance OA from the origin O to the center A on the left side of the circle, and let the radius of circle A be... The distance from the origin O to the center E of the right reinforcing rib is H2, and the radius EF of the arc at the reinforcing rib is R2. The edge of the top plate 200 and the right arc are both welding trajectories. The angle between the line connecting point C on the edge of the top plate 200 and point A and the extension of OA is an acute angle. The angle between the line connecting point F and point E on the right arc and the extension of line OE is an acute angle. The positions of trajectory point C on the left edge of the top plate 200 and trajectory point F on the right arc can be calculated using reference dimensions H1, H2, R1, R2 and the offset angles of points A, C, E, and F. The position of trajectory point C can be expressed by the formula: ; ; The position of point F on the trajectory of the right-hand arc can be expressed by the formula: ; , By analogy, a parametric template for the target workpiece can be obtained. Using the parametric template, the welding trajectory can be expressed by a parametric formula. Based on the parametric template and the reference coordinate system, the reference correspondence between the reference machining trajectory, the reference size set, and the reference coordinate system can be determined. Then, based on the reference correspondence, the target coordinate system, and the target size set, the target correspondence for the target workpiece can be determined. In other words, when the size changes, the operator only needs to input different values for the corresponding parameters. The system can find the positional relationship between the center of the circle and the coordinate point through geometric relationships, revise the reference machining trajectory based on the target correspondence, and automatically scale the trajectory; there is no need to program the trajectory separately.
[0040] The welding process for target workpiece 100 specifically includes: 1. Spot welding of the main stiffening plate and the outer ring: Taking a dumbbell shape as an example, the process engineer builds a template using software for the first workpiece's parametric programming template: welding is performed between the ring and the main stiffening plate; 2. The main stiffening plate is reversed, and then the stiffening rib is visually grasped and placed in a fixed position; spot welding of the stiffening plate is performed. At this time, the position of the stiffening plate and the position of the weld point will be determined according to different dimensional formulas, such as... Figure 3a1. **Stiffener welding:** During stiffener welding, two welding points are located at the arc of the stiffener, where the length of the stiffener is H + R2. Simultaneously, two welding points are located at the center of the stiffener plate, one above and one below, with a length of R2 radius. Similarly, other welding points for the stiffener on the main stiffener plate can be obtained. 2. **Stiffener plate welding:** The stiffener plate is transported to the stiffener plate by a transport robot, and welding is performed at two fixed points on the bottom of the stiffener plate. These two welding points have coordinate positions within the entire scene, which can be obtained through coordinate transformation. Subsequent parametric trajectory generation is then based on these positions. 3. **Base plate and cover plate welding:** The base plate and cover plate are transported to the already welded main stiffener plate and placed on the left and right sides. They first contact each other through the stiffener plate, and then are directly welded at the contact points between the stiffener plate and the base / cover plate, forming a weld seam. Partial spot welding is performed on the bottom surfaces of the base and cover plates. The spot weld positions are recorded, and subsequent automatic trajectory offset is performed based on parametric dimensions. 5. Following steps 1.2, complete the welding of the upper stiffening plate assembly. In this step, move the assembly to the upper part for welding. This welding includes full welding and requires adding welding trajectories at all bevel positions to ensure the entire small connecting rod can be welded. The full welding trajectory can also be parameterized, and the trajectory will be automatically offset according to the size of the model later. 6. Side plate splicing process: After grabbing the side plate, place it on a fixed right-angle fixture. Then, using the corner point of the fixture as the origin coordinate, weld the long stiffening plate on the side plate according to the size of the side plate. This ensures that the position of the long stiffening plate is consistent with the position of the side plate, and also ensures the position of the subsequent side stiffening plate. 7. Place the two side plates on the base plate according to the dimensions, and then perform spot welding of the welding trajectory. The positions of the two side plates are calculated based on the long stiffening plate. Subsequent dimensional changes will also be based on the calculation results to place the positions of the two side stiffening plates.
[0041] As an optional implementation, the above-mentioned acquisition of the target size set, target workpiece model, and reference machining trajectory corresponding to the target workpiece includes: S1, obtain the login request of the target account, and if the target account meets the preset operation permissions, display the operation interface, which includes the model pre-display sub-interface, the operation sub-interface, and the size display sub-interface; S2, the target workpiece model is determined based on the target account's click operation on the pre-display sub-interface. The operation sub-interface synchronously displays an updated interface including preset size data based on the target workpiece model. The operation sub-interface allows the target account to modify the preset size data. S3, based on the target account's click operation on the update interface, obtains the target size set within the update interface, and retrieves the reference processing trajectory from the preset storage location.
[0042] In step S1 above, the target account refers to the operator account that logs into the parametric programming-based machining system and performs operations. The target account is bound to the operator's identity and permissions. The model pre-display sub-interface is used to display and initially select the workpiece model. The content of the model pre-display sub-interface includes, but is not limited to, a list of all available workpiece models, a thumbnail or brief description of each workpiece model. The operation sub-interface can interact with the operator and is used to display an updated interface including preset dimension data. The dimension display sub-interface is used to automatically update and display the target dimension information corresponding to the target workpiece based on the target workpiece model and modification operations. The display format includes, but is not limited to, a two-dimensional schematic diagram, a read-only data table, and a 3D model view.
[0043] In step S2 above, the operator clicks to confirm the target workpiece model in the pre-display sub-interface, and can modify the preset size data of the target workpiece model in the operation sub-interface. The preset storage location in step S3 above includes, but is not limited to, local server, database, and cloud storage.
[0044] As an optional implementation, the above-mentioned process manufacturing method based on parametric programming further includes: S210: During the process of controlling the field equipment to process the target workpiece, the processing operation information is acquired, including equipment operating parameters, process execution status and task flow signals. S220 monitors the process based on equipment operating parameters, process execution status, and task flow signals; S230 sends an error message when it detects abnormal information in the processing operation information.
[0045] In steps S210-S230 above, the equipment operating parameters are typically precisely controlled by a CNC system or PLC (Programmable Logic Controller), directly determining the output capacity and processing effect of the field equipment. Examples include welding torch temperature, motor current, and the real-time coordinate position of each motion axis. The process execution status can be understood as "what the field equipment is doing," including but not limited to operating status and program segments, such as normal operation, fault, or currently performing welding on the outer diameter of the target workpiece. Task flow signals are instructions or signals used to control the start, pause, and stop of the entire processing task flow, such as start signal, pause signal, and end signal. Abnormal information in the above processing operation information includes, but is not limited to, abnormal situations in assembly and welding, such as abnormal speed or temperature. The steps S210-S230 above can be understood as "acquiring information - real-time monitoring - anomaly warning". These three steps constitute a complete closed loop of real-time monitoring and anomaly handling, which can realize the automatic capture of abnormal information and multi-level warning, enabling management to quickly locate the source of the fault. At the same time, the full process record of abnormal events (occurrence time, scope of impact) can provide data support for process optimization, equipment maintenance strategies and management process improvement, effectively improving the reliability, continuity and intelligent control level of production.
[0046] As an optional implementation, before obtaining the target size set, target workpiece model, and reference machining trajectory corresponding to the target workpiece, the following steps are also included: S1, obtain the login request corresponding to the reference account, and display the programming interface in the offline programming system if the reference account meets the preset programming permissions. The programming interface includes a scene building sub-interface. S2, obtain the reference workpiece model and reference processing technology corresponding to the reference workpiece carried in the login request; S3 builds a simulated process scenario based on the reference workpiece model, reference processing technology, and the click and drag operations of the reference account. S4. Import the reference workpiece model corresponding to the reference workpiece into the simulation process scenario, and generate a reference machining trajectory based on the reference workpiece model using the trajectory generation function in the offline programming system. Then, store the reference machining trajectory and the reference workpiece model in the preset storage location.
[0047] The programming interface in step S1 above is the main operating platform of this parametric programming-based machining system. The programming interface includes, but is not limited to, a scene building sub-interface, a program editing sub-interface, and a simulation control sub-interface. In step S2 above, obtaining the reference workpiece model and reference machining process is used to determine the machining target and machining method. In step S3 above, the simulated process scene refers to a 1:1 virtual scene built in the software that incorporates process-related elements (such as machine tools, robots, positioners, welding torches, and conveyor devices), ensuring consistency with the real scene, and is used for program simulation and verification.
[0048] In step S4 above, the 3D reference workpiece model can be input into the software using the software's input function. Then, it is positioned according to the real scene to ensure consistency with the real scene. At the same time, non-standard equipment in the scene is defined, including positioners, tooling fixtures, welding guns, and other equipment in the scene. This ensures that the scene attributes in the software are consistent with the attributes of the real scene, making the entire processing scene a unified whole. The scene is also calibrated, which includes two parts: first, the calibration of the tooling fixtures, and second, the TCP calibration of the robot. After calibration, the consistency of the relative positional relationship between the scene in the software and the real scene can be guaranteed.
[0049] The specific methods for generating reference machining trajectories based on a reference workpiece model using the trajectory generation function in an offline programming system include, but are not limited to: establishing a reference coordinate system on the reference workpiece model based on preset coordinate system establishment rules; setting a set of reference parameters required for generating the reference machining trajectory based on parameter setting trigger operations in the programming interface based on the reference account; generating the reference machining trajectory using the trajectory generation function based on the reference parameter set and the reference coordinate system; and storing the reference coordinate system in a preset storage location corresponding to the reference workpiece model. The trajectory generation includes the gantry transport trajectory and the robot's machining trajectory, etc.; the offline programming system used to generate the reference machining trajectory includes, but is not limited to, software systems such as SiemensNX, Mastercam, and PTC Creo. These software systems have machining process packages that can generate trajectories based on the welding scenario on-site. Trajectory generation requires setting parameters, including machining angle, distance, machining speed, step size, etc. After setting the parameters, selecting the corresponding weld seam, and then confirming, the welding trajectory can be automatically generated. After generating the reference machining trajectory, the method further includes: generating a reference parameterized template corresponding to the reference workpiece based on the reference parameter set, the reference coordinate system, and the reference machining trajectory; and storing the reference parameterized template in a preset storage location corresponding to the reference workpiece model.
[0050] The parametric programming process of the software includes: setting parameters for the workpiece according to the characteristics of the product model within the software, facilitating subsequent operation by operators. The main function is to parameterize the workpiece, allowing different trajectories to be executed based on different data. Specifically, the entire parametric programming process is divided into two parts: one part is the programming portion for process engineers, and the other part is the application portion for operators.
[0051] In the early stages, process engineers can conveniently use the drag-and-drop operation of the 3D ball and various calibration methods to ensure that the spatial positional relationships between the robot, tools, and machined parts remain consistent in both the design and actual machine environments, achieving high-precision calibration and thus ensuring the accuracy of the operation. Based on importing the CAD model of the connecting rod workpiece into the offline programming software, and according to different specifications and models of connecting rods, the system's welding process library, AUTOPATH function, program editing function, and post-output program functions are used to create corresponding welding trajectories. The position and dimensional parameters of the welding trajectory are recorded. Based on the recorded parameter information, corresponding parametric templates are created according to the corresponding length, width, height, and hole diameter, and the parametric templates are stored in the program management system. Then, the production line operator uses the parametric programming-based process processing system to connect with the information system to obtain the model and size information of the workpiece. They select the corresponding parameter templates stored in the program management system and quickly modify and generate a new trajectory program based on the workpiece's material, length, width, height, and other dimensional information. The automatic assembly and welding parametric programming system can remotely send the modified program file to the field hardware equipment. The industrial gateway collects data information from the field equipment and displays the data information in real time on the data dashboard, facilitating the monitoring of the field equipment's real-time data information.
[0052] In the above embodiments of the present invention, the above-mentioned process method based on parametric programming solves the problem of high time and cost of production changeover in the prior art, shortens the total time of production changeover debugging, and improves the efficiency of production changeover.
[0053] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0054] According to another aspect of the present invention, a process system for implementing the above-described parametric programming-based machining method is also provided, such as... Figure 4 As shown, the system includes: The first acquisition unit 402 is used to acquire the target size set, target workpiece model and reference machining trajectory corresponding to the target workpiece; The second acquisition unit 404 is used to acquire a parameterized template based on the target workpiece model. The parameterized template is used to indicate the correspondence between multiple target dimensions included in the target size set. The revision unit 406 is used to revise the reference machining trajectory based on the target size set and the parameterized template to obtain the target machining trajectory corresponding to the target workpiece. The process processing unit 408 is used to perform process processing on the target workpiece based on the target processing trajectory.
[0055] The aforementioned parametric programming-based process control system collects all necessary variables from the field through data acquisition equipment. This equipment supports PROFINET protocol communication, as well as other common acquisition protocols such as MODBUS, MQTT, and TCP to meet equipment data acquisition requirements. The equipment can collect data on equipment operating status, production data, and fault information. During the execution of the production plan, the system receives work orders through MES or MOM, then initiates the process using the parametric programming-based process control system. It meticulously records data on the processing of the target workpiece, including start and end times of each process step, as well as key parameters (such as welding voltage and current). The work orders received also include the materials required for the production of the connecting rod, process information, and a Bill of Materials (BOM), providing reliable support to production operators.
[0056] The aforementioned parametric programming-based process control system also includes a full-process control system for quality traceability and management: from the moment materials enter the warehouse, it records the batch number and inspection report of the process materials (such as welding wire and base material), linking them to the process work order. During processing, data such as equipment parameters, operators, and processing time are uploaded in real time through workstation barcode scanning. Each processing step is marked with a unique traceability code, and the results of appearance inspection and non-destructive testing are stored simultaneously. When defective products are found, the traceability code can be used to reverse-engineer the relevant material batches, equipment status, and operation records to pinpoint the problem area. A quality archive database is established to regularly analyze defect rates and common defect types, and to optimize processing techniques or personnel training accordingly. At the same time, it ensures that traceability information can be retrieved at any time, meeting the needs of internal review and enabling rapid location and continuous improvement of quality problems. Meanwhile, the parametric programming-based process control system monitors the automated warehouse and line-side warehouse in the production line in real time. It can monitor warehouse location information in a visual way, and the information on outbound location can also monitor the location and status of workpieces at all workstations and warehouses, with real-time dynamic data updates, ensuring visualized management of materials throughout the entire production process.
[0057] In addition, the deep integration of the aforementioned parametric programming-based process control system, through standardized interface configuration, allows for the retrieval of work order data from other systems, including core information such as product model, production quantity, and delivery node, ensuring accurate production planning at the source. It can also obtain real-time material inventory levels, batch codes, and storage location information via the interface, automatically triggering ANDON alerts when materials are insufficient, ensuring a smooth supply chain. Two-way interaction is established with the parametric programming-based process control system, enabling one-click access to the latest process parameters, work instructions, and design drawings, while simultaneously uploading on-site process optimization suggestions, forming a closed-loop process iteration system. Furthermore, the system supports uploading processing data and inspection results to the quality traceability platform, achieving full-process data traceability. Through seamless data flow across multiple systems, information silos are eliminated, manual intervention is reduced, and the efficiency and responsiveness of digital management of process control are improved.
[0058] The core idea of the above-mentioned parametric programming-based machining system is to dynamically adjust the program behavior through external input parameters. The system creates corresponding parametric templates by recording parametric information such as the length, width, and height of the workpiece. It automatically selects the appropriate templates using an information system, obtains the corresponding parameter information such as the length, width, and height of the workpiece, and modifies the template trajectory based on the parameter information. The system remotely sends the program to the field equipment using an automatic assembly and welding parametric programming system, and can monitor the data information status in real time, achieving the integrated effect of parameter programming, control sending, and real-time monitoring.
[0059] The specific methods of execution of each unit in the above device embodiments have been described in detail in the embodiments related to the method, and will not be elaborated further here.
[0060] According to another aspect of the present invention, an electronic device for implementing the above-described parametric programming-based process fabrication method is also provided. This electronic device may be as follows: Figure 5 The terminal device or server shown. This embodiment uses this electronic device as an example for illustration. Figure 5 As shown, the electronic device includes: at least one processor 504; and a memory 502 communicatively connected to at least one processor 504; wherein the memory 502 stores a computer program executable by at least one processor 504, the computer program being executed by at least one processor 504 to cause at least one processor 504 to perform the steps in any of the above embodiments of the process fabrication method based on parametric programming.
[0061] Optionally, in this embodiment, the visual guidance scheme of the above-mentioned electronic device includes: (1) device layout: the robot is used as the execution end, and a fixed camera is installed on top to take pictures; after taking pictures, the camera performs point cloud processing; (2) camera recognition; (3) visual processing process: the camera and the robot are calibrated so that the camera and the robot can communicate with each other; the trajectory of the robot grabbing the workpiece is made, the camera is programmed so that the trajectory is automatically offset after the camera is recognized, and the workpiece is automatically grabbed; when the robot performs the transportation, it will take pictures above the workpiece, and then the system automatically calculates the offset and gives it to the robot to perform the grabbing.
[0062] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.
[0063] Optionally, in this embodiment, the processor can be configured to execute each step of the above-described process manufacturing method based on parameterized programming via a computer program.
[0064] Alternatively, as those skilled in the art will understand, Figure 5 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones (such as Android phones, iOS phones, etc.), tablets, PDAs, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 5 This does not limit the structure of the aforementioned electronic devices. For example, the electronic device may also include components that are more... Figure 5 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 5 The different configurations shown.
[0065] The memory 502 can be used to store software programs and modules. The processor 504 executes various functional applications and data processing by running the software programs and modules stored in the memory 502, thereby realizing the above-mentioned process manufacturing method based on parameterized programming. The memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 502 may further include memory remotely located relative to the processor 504, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 502 may be used, but is not limited to, to store various models and data involved in this application. As an example, such as Figure 5 As shown, the memory 502 may include, but is not limited to, the acquisition module 402, search module 404, planning module 406, and process processing module 408 in the parametric programming-based process processing system. Furthermore, it may include, but is not limited to, other module units in the parametric programming-based process processing apparatus, which will not be elaborated upon in this example.
[0066] Optionally, the transmission device 506 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 506 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 506 is a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0067] In addition, the above-mentioned electronic device also includes a display 508 and a connection bus 510 for connecting the various module components in the above-mentioned electronic device.
[0068] In other embodiments, the aforementioned terminal device or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal, or other electronic device, can become a node in the blockchain system by joining this peer-to-peer network.
[0069] According to one aspect of this application, a computer program product is provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions provided in embodiments of this application.
[0070] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0071] According to one aspect of this application, a computer-readable storage medium is provided, wherein a processor of a computer device reads computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the above-described process manufacturing method based on parameterized programming.
[0072] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the above-described parametric programming-based process manufacturing method.
[0073] Those skilled in the art will understand that all or part of the processes in the above method embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes as described in the above method embodiments.
[0074] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0075] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0076] Obviously, those skilled in the art should understand that the various units or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device, or fabricating them separately as individual integrated circuit modules, or fabricating multiple modules or steps into a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.
[0077] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A process manufacturing method based on parametric programming, characterized in that, include: Obtain the target size set, target workpiece model, and reference machining trajectory corresponding to the target workpiece; A parameterized template is obtained based on the target workpiece model. The parameterized template is used to indicate the correspondence between multiple target dimensions included in the target size set. Based on the target size set, the reference machining trajectory is revised according to the parameterized template to obtain the target machining trajectory corresponding to the target workpiece; The target workpiece is processed based on the target processing trajectory.
2. The method according to claim 1, characterized in that, Based on the target size set, the reference machining trajectory is revised according to the parameterized template to obtain the target machining trajectory corresponding to the target workpiece, including: Establish the target coordinate system corresponding to the target workpiece based on the coordinate system establishment rules; According to the target workpiece model, obtain the reference coordinate system and reference machining trajectory corresponding to the reference workpiece model from the preset storage location, as well as the reference size set corresponding to the reference workpiece; Based on the parameterized template and the reference coordinate system, determine the reference correspondence between the reference machining trajectory and the reference size set and the reference coordinate system; The target correspondence relationship corresponding to the target workpiece is determined based on the reference correspondence relationship, the target coordinate system, and the target size set. The reference processing trajectory is revised based on the target correspondence to obtain the target processing trajectory.
3. The method according to claim 2, characterized in that, Obtain the target size set, target workpiece model, and reference machining trajectory corresponding to the target workpiece, including: Obtain the login request of the target account, and if the target account meets the preset operation permissions, display the operation interface, which includes a model pre-display sub-interface, an operation sub-interface, and a size display sub-interface; The target workpiece model is determined based on the click operation of the target account on the pre-display sub-interface. The operation sub-interface synchronously displays an updated interface including preset size data based on the target workpiece model. The operation sub-interface allows the target account to modify the preset size data. Based on the click operation of the target account on the update interface, the target size set within the update interface is obtained, and the reference processing trajectory is obtained from the preset storage location.
4. The method according to claim 1, characterized in that, Based on the target machining trajectory, the target workpiece is processed, including: Generate a target processing program based on the target processing trajectory; Based on the target machining program, the field equipment is controlled to perform process machining on the target workpiece.
5. The method according to claim 1, characterized in that, Also includes: During the process of controlling the field equipment to perform process processing on the target workpiece, processing operation information is acquired, including equipment operating parameters, process execution status and task flow signals. The processing technology is monitored based on the equipment operating parameters, process execution status, and task flow signals. If abnormal information is detected in the processing operation information, an abnormality alert message will be sent.
6. The method according to claim 1, characterized in that, Before obtaining the target size set, target workpiece model, and reference machining trajectory corresponding to the target workpiece, the following steps are also included: Obtain the login request corresponding to the reference account, and if the reference account meets the preset programming permissions, display the programming interface in the offline programming system. The programming interface includes a scene building sub-interface. Obtain the reference workpiece model and reference processing technology corresponding to the reference workpiece carried in the login request; Based on the reference workpiece model, the reference processing technology, and the click and drag operations of the reference account, a simulation process scenario is built. Import the reference workpiece model corresponding to the reference workpiece into the simulation process scenario, and generate the reference machining trajectory based on the reference workpiece model using the trajectory generation function in the offline programming system, and store the reference machining trajectory and the reference workpiece model in a preset storage location.
7. The method according to claim 6, characterized in that, Based on the reference workpiece model, the reference machining trajectory is generated using the trajectory generation function in the offline programming system, including: A reference coordinate system is established on the reference workpiece model based on a preset coordinate system establishment rule; Based on the parameter settings of the reference account in the programming interface, a set of reference parameters required to generate the reference processing trajectory is set. Based on the reference parameter set and the reference coordinate system, the trajectory generation function is used to generate a reference processing trajectory; The reference coordinate system is stored in a preset storage location corresponding to the reference workpiece model.
8. The method according to claim 7, characterized in that, After generating the reference machining trajectory, the process further includes: Based on the reference parameter set, the reference coordinate system, and the reference machining trajectory, a reference parameterized template corresponding to the reference workpiece is generated; The reference parameterized template is stored in a preset storage location corresponding to the reference workpiece model.
9. A process processing apparatus based on parametric programming, characterized in that, include: The first acquisition unit is used to acquire the target size set, target workpiece model and reference machining trajectory corresponding to the target workpiece; The second acquisition unit is used to acquire a parameterized template based on the target workpiece model, wherein the parameterized template is used to indicate the correspondence between multiple target dimensions included in the target size set; The revision unit is used to revise the reference machining trajectory based on the target size set and the parameterized template to obtain the target machining trajectory corresponding to the target workpiece; A process processing unit is used to perform process processing on the target workpiece based on the target processing trajectory.
10. An electronic device, characterized in that, The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to cause the at least one processor to perform the process fabrication method based on parametric programming as described in any one of claims 1 to 7.