Programming method and device for electronic product jig machining process
By automatically acquiring the geometric attribute information of the 3D design model of the fixture, identifying the fixture type, and automatically generating the processing path, the problem of low programming efficiency of electronic product fixtures is solved, and efficient and accurate fixture programming is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-12
- Publication Date
- 2026-04-07
AI Technical Summary
Existing electronic product fixture processing programming is inefficient, has a long programming cycle, a high programming error rate, is difficult to standardize, has a high operating threshold, and existing CAM software cannot accurately identify small-sized round holes and precision chamfers, and lacks material matching logic and path optimization functions.
By automatically acquiring the geometric attribute information of the 3D design model of the fixture, identifying the fixture type, automatically generating the machining path and performing simulation execution, including geometric topology analysis, feature recognition, tool parameter matching and path optimization, the machining code is generated.
It significantly shortens the programming cycle, improves the efficiency of fixture programming, reduces the number of trial and error attempts, increases the degree of programming automation, and ensures the safety and accuracy of the machining path.
Smart Images

Figure CN121808970A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of mechanical manufacturing technology, and in particular to a programming method and apparatus for the processing of electronic product fixtures. Background Technology
[0002] In the mass production of electronic products, fixtures, as core components for positioning and clamping, require high machining accuracy. Furthermore, the machining accuracy and programming efficiency of fixtures directly determine product yield and production pace.
[0003] Existing programming for electronic product fixtures mainly relies on traditional manual operation. The computer-aided design model (CAD) model of the fixture is manually imported, and structural features such as positioning holes, grooves, and stepped surfaces are manually identified. For different types of fixtures, the tool path and machining parameters need to be repeatedly adjusted to complete the programming process for fixture machining.
[0004] The existing manual implementation method suffers from increasingly complex fixture structures and more and more implementation processes, resulting in long programming cycles and low programming efficiency for individual fixtures. Summary of the Invention
[0005] This invention provides a programming method and apparatus for the manufacturing process of electronic product fixtures, which solves the defects of the prior art, such as long programming cycle and low programming efficiency of a single fixture due to the increasingly complex structure of the fixture and the increasing number of implementation processes, thereby improving the programming efficiency of the manufacturing process of electronic product fixtures.
[0006] This invention provides a programming method for the manufacturing process of electronic product fixtures, comprising the following steps: Obtain a 3D design model of the fixture to be programmed; and perform geometric topology analysis on the 3D design model to determine the geometric attribute information of the fixture to be programmed. Based on the geometric attribute information, the fixture type of the fixture to be programmed and the set of processing features to be processed by the fixture to be programmed are determined; Based on the fixture type and the machining feature set, the tool parameters and cutting parameters of the fixture to be programmed are determined, and based on the tool parameters and cutting parameters, the machining path of the fixture to be programmed is generated according to the process sequence of the fixture to be programmed. The machining path is simulated and executed, and after the simulation is confirmed to be successful, machining code for the jig to be programmed is generated based on the machining path.
[0007] According to a programming method for electronic product fixture processing provided by the present invention, based on the fixture type and the processing feature set, the tool parameters and cutting parameters of the fixture to be programmed are determined, including: Based on the fixture type, the tool library and cutting parameter table corresponding to the fixture type are determined from the process database; Traverse each feature in the processing feature set and determine the minimum contour size and depth value of each feature; Select tool parameters from the tool library whose diameter is smaller than the minimum profile size and whose effective cutting length is greater than the depth value as the tool parameters of the fixture to be programmed; Based on the material properties of the fixture to be programmed and the tool diameter in the tool parameters, the cutting parameters are determined in the cutting parameter table.
[0008] According to a programming method for the machining process of an electronic product fixture provided by the present invention, the geometric attribute information includes draft angle, circular hole features, groove features, and step features. The step of performing geometric topology analysis on the three-dimensional design model to determine the geometric attribute information of the fixture to be programmed includes: Perform geometric topology analysis on the three-dimensional design model to determine all surface entities in the three-dimensional design model, and calculate the draft angle and minimum radius of curvature of each surface entity; Based on the minimum radius of curvature of each of the surface entities, the three-dimensional design model is determined to have a circular hole feature; Determine the height difference of the bounding box of the surface entity, and determine the groove feature and step feature of the three-dimensional design model based on the height difference of the bounding box.
[0009] According to a programming method for the machining process of an electronic product fixture provided by the present invention, the step of generating a machining path for the fixture to be programmed based on the tool parameters and the cutting parameters, according to the process sequence of the fixture to be programmed, includes: When the features in the machining feature set include outer contour features, a first tool path is generated based on the tool parameters and cutting parameters corresponding to the outer contour features to perform surface finishing, character engraving, shape adjustment and edge chamfering. When the machining feature set includes a circular hole feature, a second tool path is generated based on the tool parameters and cutting parameters corresponding to the circular hole feature, which performs center point positioning, drilling, hole enlargement and finishing, and hole chamfering. When the machining feature set includes a through-groove feature, a third tool path for layered circumferential cutting is generated based on the tool parameters and cutting parameters corresponding to the through-groove feature. The first toolpath, the second toolpath, and the third toolpath are linked together according to the process sequence to obtain the machining path.
[0010] According to a programming method for electronic product fixture manufacturing process provided by the present invention, the step of generating the manufacturing path of the fixture to be programmed further includes: Determine the linear travel distance between any two adjacent processing features in the processing path; If the linear movement distance is less than a preset safety threshold, delete the lifting and lowering actions between the two machining features, and generate a short connection path between the two machining features; Identify the regions in the 3D design model that are marked as non-machined surfaces, and skip these regions when generating paths.
[0011] According to a programming method for electronic product fixture processing provided by the present invention, the step of simulating the execution of the processing path and determining that the simulation execution is successful includes: The machining path is simulated and executed. If the dimensional interference detection and collision interference detection of the fixture to be programmed pass, the simulation execution is deemed successful.
[0012] The present invention also provides a programming device for the manufacturing process of electronic product fixtures, comprising the following modules: The geometric analysis module is used to obtain the three-dimensional design model of the fixture to be programmed; and to perform geometric topology analysis on the three-dimensional design model to determine the geometric attribute information of the fixture to be programmed. The feature determination module is used to determine the fixture type of the fixture to be programmed and the set of processing features to be processed by the fixture to be programmed based on the geometric attribute information. The path determination module is used to determine the tool parameters and cutting parameters of the fixture to be programmed based on the fixture type and the machining feature set, and to generate the machining path of the fixture to be programmed according to the process sequence of the fixture based on the tool parameters and the cutting parameters. The code generation module is used to simulate the execution of the processing path, and after confirming that the simulation execution is successful, to generate the processing code of the jig to be programmed based on the processing path.
[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the program to implement a programming method for the manufacturing process of an electronic product fixture as described above.
[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a programming method for the electronic product fixture processing as described above.
[0015] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements a programming method for the electronic product fixture processing process as described above.
[0016] The programming method and apparatus for electronic product fixture processing provided by this invention automatically acquires the geometric attribute information of the fixture's three-dimensional design model and identifies the fixture type, avoiding the tediousness and errors of manual judgment. This provides a foundation for subsequent automatic matching of processing parameters and saves a significant amount of preparation time. Based on the identification results, corresponding processing parameters are automatically matched, eliminating the need for manual setting and greatly shortening the parameter setting cycle. Furthermore, processing paths are automatically generated based on the processing parameters, and the paths can be simulated for execution, allowing for early detection and correction of errors and reducing the number of trial and error attempts in actual processing. The entire process is highly automated, significantly shortening the programming cycle and improving fixture programming efficiency. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating the programming method for the electronic product fixture processing provided by the present invention.
[0019] Figure 2 This is a schematic diagram of the programming device for the electronic product fixture processing provided by the present invention.
[0020] Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0022] In the mass production of electronic products, fixtures, as core components for positioning and clamping, directly determine product yield and production pace based on their machining accuracy (requiring ±0.02mm) and programming efficiency. Current methods for programming electronic product fixtures primarily rely on manual operation, which presents the following unavoidable key challenges: Low programming efficiency: The process of related methods requires manual import of the fixture CAD model (such as STEP / IGES format), manual identification of structural features such as positioning holes, grooves, and stepped surfaces, and repeated debugging of tool paths and machining parameters (feed speed, depth of cut, spindle speed, etc.) for different types of fixtures (such as mobile phone mid-frames and tablet brackets). The programming cycle of a single fixture is long and it is difficult to adapt to the rapid iteration needs of the electronics industry. High programming error rate: Machining parameter settings heavily rely on operator experience. For example, the difference in cutting parameters between aluminum alloy 6061 and stainless steel 304 (the former requires a speed of 8000 r / min, while the latter requires 000 r / min) can easily cause confusion. Problems such as mismatch between tool diameter and machining groove width (e.g., using a 10mm tool to machine an 8mm groove) and path interference (tool colliding with the fixture) occur frequently, resulting in a programming error rate of over 15%. This can lead to scrap (5-8% jig scrap rate) or even machine tool spindle failure (high maintenance costs). Process standardization is difficult: different programmers have significantly different parameter setting habits. For example, for the same mobile phone mid-frame fixture, employee A sets the outer contour fine milling feed to 3000mm / min, while employee B sets it to 2500mm / min. It is impossible to form a unified process standard, which makes subsequent process optimization (such as reducing cutting vibration) and mass production (multiple machine tools working together) extremely difficult. High operational threshold: Operators need to be proficient in the operation logic of the specialized software, resulting in high labor costs; While some CAM software supports basic automated programming in related methods, they suffer from significant drawbacks: They lack dedicated feature recognition modules for electronic product fixtures, making it impossible to accurately identify small-sized circular holes (0.239-1.399mm) and precision chamfers (45°±1°); their parameter libraries lack material adaptation logic, requiring manual switching between aluminum alloy and stainless steel parameters; they lack path optimization functions, resulting in idle tool runs exceeding 20%; and they lack real-time simulation warnings, meaning errors are only detected after machining. Therefore, these methods fail to address the efficiency, accuracy, and standardization issues in electronic product fixture programming, hindering the intelligent development of electronic product fixture production.
[0023] To address the shortcomings of related methods, this invention provides a programming method for the manufacturing process of electronic product fixtures. Figure 1 This is a flowchart illustrating the programming method for the electronic product fixture manufacturing process provided by the present invention, as shown below. Figure 1 As shown, the method includes the following: Step 110: Obtain the three-dimensional design model of the fixture to be programmed; and perform geometric topology analysis on the three-dimensional design model to determine the geometric attribute information of the fixture to be programmed. Step 120: Based on the geometric attribute information, determine the fixture type of the fixture to be programmed and the set of processing features to be processed by the fixture to be programmed; Step 130: Based on the fixture type and the machining feature set, determine the tool parameters and cutting parameters of the fixture to be programmed, and based on the tool parameters and cutting parameters, generate the machining path of the fixture to be programmed according to the process sequence of the fixture to be programmed; Step 140: Simulate the execution of the machining path, and after confirming that the simulation execution is successful, generate the machining code for the jig to be programmed based on the machining path.
[0024] The programming method for the electronic product fixture processing provided by this invention can be executed by an electronic device, a component within an electronic device, an integrated circuit, or a chip. The electronic device can be a mobile electronic device or a non-mobile electronic device. For example, a mobile electronic device can be a mobile phone, tablet computer, laptop computer, PDA, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc., while a non-mobile electronic device can be a server, network attached storage (NAS), or personal computer (PC), etc. This invention does not impose specific limitations.
[0025] The technical solution of the present invention will be described in detail below using the programming method of executing the electronic product fixture processing process provided by the present invention on a computer as an example.
[0026] In step 110, a three-dimensional design model of the fixture to be programmed is obtained; and a geometric topology analysis is performed on the three-dimensional design model to determine the geometric attribute information of the fixture to be programmed.
[0027] The 3D design model of the fixture to be programmed is designed using CAD software or imported from an external source. This 3D design model can be saved in either the Standard for the Exchange of Product Model Data (STEP) or the Initial Graphics Exchange Specification (IGES) format. The 3D design model contains all the geometric information of the fixture and forms the basis for subsequent programming.
[0028] Geometric topology analysis is performed on the imported 3D design model using the application programming interface (API) of Computer-Aided Manufacturing Software (CAM). The feature recognition model built into the CAM software (trained based on multiple electronic product fixture samples, with a recognition accuracy of ≥95%) can be used. Specifically, the process iterates through all face entities in the model, calculating the draft angle (0° for flat surfaces, 45° for chamfered surfaces, and non-0° / 45° for inclined surfaces), minimum radius of curvature (0.1-10mm for the curvature of the perpendicular surface of a circular hole, 0.239-1.399mm for the matching hole diameter), and bounding box height difference for each face entity. This determines the geometric properties of the fixture, including draft angles, circular hole features, groove features, and step features. For example, the draft angle can be obtained by calling the CAM software interface, the minimum radius of curvature can be calculated by calling the CAM software interface, and the bounding box height difference can also be determined by calling the CAM software interface.
[0029] In step 120, based on the geometric attribute information, the fixture type of the fixture to be programmed and the set of processing features to be processed by the fixture to be programmed are determined.
[0030] Based on geometric attribute information, the jigs are classified into types such as mobile phone jigs, tablet jigs, or watch jigs, and the machining feature sets on the jigs, such as positioning holes, grooves, and stepped surfaces, are identified. Specifically, this can be achieved by comparing with a pre-set feature template library, which is trained on a large number of actual jig samples to ensure classification accuracy.
[0031] Optionally, the construction process of the feature template library may include: A feature template library is constructed based on a four-level structure: jig type (mobile phone / tablet / watch) → processing material (6061 aluminum alloy / 304 stainless steel) → processing feature (rough milling / finish milling / drilling) → processing procedure (outer contour / round hole / through slot), storing parameters such as tool type, speed, and feed. The first priority is the type of fixture (e.g., watch fixture adapted to small diameter cutting tools [flat bottom] JD-1.00), the second priority is the material (e.g., stainless steel 304 reduces the speed by 20-30%), and the third priority is the machining characteristics (e.g., in fine milling, the depth of cut is reduced to 0.04-0.1mm). Parameter adaptive adjustment: If the fixture material is detected to be aluminum alloy 6061, the spindle speed for fine milling of the outer contour is automatically set to 8000 r / min and the feed is 3000 mm / min; if it is stainless steel 304, it is automatically adjusted to a speed of 5000 r / min and a feed of 2000 mm / min, and the side allowance is increased by 0.05 mm.
[0032] In step 130, based on the fixture type and the machining feature set, the tool parameters and cutting parameters of the fixture to be programmed are determined, and based on the tool parameters and the cutting parameters, the machining path of the fixture to be programmed is generated according to the process sequence of the fixture to be programmed.
[0033] Based on the fixture type and machining feature set, appropriate tool parameters and cutting parameters are selected from the process database. The process database is constructed according to a four-level structure: fixture type → machining material → machining feature → machining process, storing detailed parameters for different fixture types and machining requirements. For example, for a mobile phone mid-frame fixture made of aluminum alloy 6061, the outer contour finish milling process may select a flat-end cutter with a diameter of 4mm, a spindle speed of 8000r / min, and a feed rate of 3000mm / min.
[0034] Based on the determined tool and cutting parameters, the machining path of the fixture is generated according to the process sequence of the fixture, such as rough milling-semi-finish milling-finish milling. Specifically, for different machining features such as outer contours, circular holes, and through slots, corresponding tool paths are generated respectively. Path optimization algorithms such as the RegenPath method are used to perform optimization operations such as merging adjacent regions, skipping empty passes, and shortening path length to improve machining efficiency.
[0035] In step 140, the machining path is simulated and executed, and after the simulation is confirmed to be successful, machining code for the jig to be programmed is generated based on the machining path.
[0036] The generated machining path is simulated and executed using the simulation module of the CAM software. During the simulation, dimensional interference and collision interference detection are performed to ensure the feasibility and safety of the machining path. If an error is detected, such as the tool diameter being greater than the slot width or the tool colliding with the fixture, a warning box will pop up to prompt the user to correct the parameters or adjust the fixture position.
[0037] After successful simulation, machining code for the fixture is generated based on the machining path. This code can be directly imported into the CNC machine tool for machining. Simultaneously, the fixture's project file (.escam format), machining file (.NC format), and process sheet (.xlsx format) are exported for subsequent machining and management.
[0038] The specific process for file naming and archiving during file saving is as follows: Naming rules: File names should be associated with the jig number (e.g., "3081DZ11159044008"), in the format of jig number-file type. The suffix should be added (e.g., "3081DZ11159044008-CNC1.NC"). Processed model files will automatically have the -completion suffix added (e.g., "5-A-CD3515C-24013B-Completed.STEP") to avoid duplicate processing. Traceability Log: The log file is stored in "plugin installation directory\ExportLog.txt". Each log entry records "fixture number|export time|file path|export status|operator", for example: "3081DZ11159044008|2024-05-2014:30:00|D:\programming files\3081DZ11159044008 |export successful", supporting subsequent quality traceability and process review.
[0039] The manual operation page provides a programming folder button. Clicking it will directly open the programming file directory. .NC files can be directly copied to the machine tool control host, and .xlsx process sheets can be opened and verified using Excel without having to manually search for the path.
[0040] The programming method for electronic product fixture processing provided by this invention automatically acquires the geometric attribute information of the fixture's 3D design model and identifies the fixture type, avoiding the tediousness and errors of manual judgment. This provides a foundation for subsequent automatic matching of processing parameters, saving a significant amount of preparation time. Based on the identification results, corresponding processing parameters are automatically matched, eliminating the need for manual setting and greatly shortening the parameter setting cycle. Furthermore, processing paths are automatically generated based on the processing parameters, and the paths can be simulated for execution, allowing for early detection and correction of errors, reducing the number of trial and error attempts in actual processing. The entire process is highly automated, significantly shortening the programming cycle and improving fixture programming efficiency.
[0041] In one embodiment, determining the tool parameters and cutting parameters of the fixture to be programmed based on the fixture type and the machining feature set includes: Based on the fixture type, the tool library and cutting parameter table corresponding to the fixture type are determined from the process database; Traverse each feature in the processing feature set and determine the minimum contour size and depth value of each feature; Select tool parameters from the tool library whose diameter is smaller than the minimum profile size and whose effective cutting length is greater than the depth value as the tool parameters of the fixture to be programmed; Based on the material properties of the fixture to be programmed and the tool diameter in the tool parameters, the cutting parameters are determined in the cutting parameter table.
[0042] Based on the type of fixture, select the corresponding tool library and cutting parameter table from the process database. For example, for mobile phone fixtures, select a tool library mainly composed of small-diameter tools (such as [flat-bottom] JD-1.00) and a cutting parameter table for commonly used materials such as aluminum alloy 6061 and stainless steel 304.
[0043] By traversing each feature in the machining feature set, geometric analysis is used to determine its minimum contour dimensions (such as the diameter of a circular hole and the width of a groove) and depth. This dimensional information is the key basis for selecting appropriate tool parameters.
[0044] Select a tool from the tool library whose diameter is smaller than the minimum profile size and whose effective cutting length is greater than the depth value as the tool parameters for the fixture to be programmed. For example, for a round hole with a diameter of 8mm, select a flat-end tool ([Flat-end] JD-6.00) with a diameter of 6mm for machining.
[0045] Based on the material properties of the fixture and the selected tool parameters, cutting parameters such as spindle speed, feed rate, and depth of cut are determined from the cutting parameter table. For example, in the finish milling process of aluminum alloy 6061, the spindle speed may be set to 8000 r / min and the feed rate to 3000 mm / min; while for stainless steel 304, the spindle speed and feed rate are reduced accordingly to ensure machining quality and tool life.
[0046] In one embodiment, the geometric attribute information includes draft angle, circular hole features, groove features, and step features. The step of performing geometric topology analysis on the three-dimensional design model to determine the geometric attribute information of the fixture to be programmed includes: Perform geometric topology analysis on the three-dimensional design model to determine all surface entities in the three-dimensional design model, and calculate the draft angle and minimum radius of curvature of each surface entity; Based on the minimum radius of curvature of each of the surface entities, the three-dimensional design model is determined to have a circular hole feature; Determine the height difference of the bounding box of the surface entity, and determine the groove feature and step feature of the three-dimensional design model based on the height difference of the bounding box.
[0047] By traversing all the face entities in the 3D design model, the interface is called to calculate the draft angle of each face entity.
[0048] The draft angle for planar solids is 0°±0.5°, for chamfered surfaces it is 45°±0.5°, and for beveled surfaces it is any angle other than 0° / 45°.
[0049] By setting a reasonable angle threshold, different types of surface entities can be accurately distinguished.
[0050] The circular hole feature is determined based on the minimum radius of curvature of the surface solid. Specifically, the interface is called to calculate the minimum radius of curvature of each surface solid, and the radius of curvature of the perpendicular surface of the circular hole corresponds to 1 / 2 of the hole diameter.
[0051] For example, a circular hole with a diameter of 0.24 mm has a radius of curvature of 0.12 mm.
[0052] By filtering surface entities with curvature radii within a specific range, circular hole features can be accurately identified.
[0053] The groove and step features are determined by calculating the height difference of the bounding boxes of the face entities. Specifically, the interface is called to obtain the z-axis height of the bounding box of each face entity (i.e., the difference between the maximum and minimum z-values), and the objects are grouped with an accuracy of 0.02 mm.
[0054] Groove features are typically characterized by a large height difference between adjacent facets, while step features are characterized by abrupt changes in height across different areas of the same fixture. By setting a reasonable height difference threshold, groove features and step features can be accurately distinguished.
[0055] In one embodiment, generating the machining path of the fixture to be programmed based on the tool parameters and the cutting parameters, according to the process sequence of the fixture to be programmed, includes: When the features in the machining feature set include outer contour features, a first tool path is generated based on the tool parameters and cutting parameters corresponding to the outer contour features to perform surface finishing, character engraving, shape adjustment and edge chamfering. When the machining feature set includes a circular hole feature, a second tool path is generated based on the tool parameters and cutting parameters corresponding to the circular hole feature, which performs center point positioning, drilling, hole enlargement and finishing, and hole chamfering. When the machining feature set includes a through-groove feature, a third tool path for layered circumferential cutting is generated based on the tool parameters and cutting parameters corresponding to the through-groove feature. The first toolpath, the second toolpath, and the third toolpath are linked together according to the process sequence to obtain the machining path.
[0056] For the outer contour features, based on the selected tool parameters and cutting parameters, a first toolpath is generated to perform surface finishing, character engraving, shape adjustment, and edge chamfering.
[0057] Specifically, the smooth surface is processed using a planar cutting strategy to remove surface burrs; character engraving is performed at specific positions by adjusting the tool path; shape adjustment ensures that the fixture shape meets the design requirements; and edge chamfering is performed using a chamfering processing strategy to generate 45° chamfers.
[0058] For the circular hole feature, a second toolpath is generated to perform center point positioning, drilling, hole enlargement and finishing, and hole chamfering.
[0059] Center point positioning is achieved by accurately calculating the center coordinates of the circular hole; drilling is performed using a center hole drilling strategy to generate the initial hole; hole enlargement and finishing are achieved by gradually enlarging the hole diameter to the design requirements through drilling and enlargement strategies; and chamfering of the hole opening is performed using a chamfering strategy to generate a smooth chamfer.
[0060] For through-groove features, a third toolpath for layered circumferential cutting is generated.
[0061] Specifically, a layered ring cutting strategy is used to rough-machine the through groove, a residual material filling strategy is used to fill in the corners that were not machined by rough machining, a contour cutting strategy is used to finish the sidewalls, and finally a chamfering strategy is used to generate the groove chamfer.
[0062] The determined first toolpath, second toolpath, and third toolpath are linked together according to the process sequence to obtain the machining path of the fixture to be programmed.
[0063] In one embodiment, generating the machining path of the fixture to be programmed further includes: Determine the linear travel distance between any two adjacent processing features in the processing path; If the linear movement distance is less than a preset safety threshold, delete the lifting and lowering actions between the two machining features, and generate a short connection path between the two machining features; Identify the regions in the 3D design model that are marked as non-machined surfaces, and skip these regions when generating paths.
[0064] During the toolpath generation process, a path optimization algorithm is used to shorten the path length and improve machining efficiency.
[0065] Specifically, the algorithm for merging adjacent regions detects processing areas with a distance less than a preset threshold and merges them into a single processing domain, reducing the number of tool lifting operations; and the algorithm for skipping non-processing surface areas by skipping idle tool movement reduces the proportion of idle tool movement.
[0066] In addition, a path node optimization algorithm is used to make the path nodes evenly distributed and reduce machine tool vibration.
[0067] In one embodiment, simulating the execution of the processing path and determining that the simulation execution is successful includes: The machining path is simulated and executed. If the dimensional interference detection and collision interference detection of the fixture to be programmed pass, the simulation execution is deemed successful.
[0068] Load the generated machining path into the CAM software and set simulation parameters, such as tool model, workpiece material, and cutting parameters.
[0069] Ensure that the simulation environment is as consistent as possible with the actual processing environment to improve the accuracy of simulation execution.
[0070] During the simulation, the dimensional interference between the toolpath and the workpiece model is detected in real time. Specifically, the presence of dimensional interference is determined by comparing the tool diameter with the dimensions of the machining features (such as groove width and hole diameter).
[0071] For example, if the tool parameters and machining feature dimensions (such as groove width) are acquired in real time, and the tool diameter is greater than the machining feature dimension + 0.01 mm (with a 0.01 mm allowance), it is determined to be a parameter conflict.
[0072] If the tool diameter is larger than the machining feature size plus the allowance (e.g., 0.01mm), it is determined to be a dimensional interference, and a warning box will pop up to prompt the user to correct the tool diameter or adjust the machining parameters.
[0073] Simultaneously, collision interference detection is performed, and the relative positional relationship between the tool path and the fixture and workpiece model is calculated in real time.
[0074] If the tool collides with the fixture or workpiece (i.e., the distance is less than the safety clearance), it is determined to be a collision interference, and the coordinates of the interference position and the collision type are recorded.
[0075] A pop-up warning box will prompt the user to adjust the fixture position or modify the toolpath to avoid collisions.
[0076] Users can correct parameters or adjust fixture positions according to the warning box prompts, and then click the "Resimulate" button. The CAM software will regenerate the toolpath and start the simulation process.
[0077] Repeat the process until no dimensional or collision interference occurs during the simulation, confirming that the model has passed the execution.
[0078] The programming device for the electronic product fixture processing provided by the present invention will be described below. The programming device for the electronic product fixture processing described below and the programming method for the electronic product fixture processing described above can be referred to in correspondence.
[0079] like Figure 2 As shown, the device includes: The geometric analysis module 210 is used to acquire the three-dimensional design model of the fixture to be programmed; and to perform geometric topology analysis on the three-dimensional design model to determine the geometric attribute information of the fixture to be programmed. The feature determination module 220 is used to determine the fixture type of the fixture to be programmed and the set of processing features to be processed by the fixture to be programmed based on the geometric attribute information. The path determination module 230 is used to determine the tool parameters and cutting parameters of the fixture to be programmed based on the fixture type and the machining feature set, and to generate the machining path of the fixture to be programmed according to the process sequence of the fixture based on the tool parameters and the cutting parameters. The code generation module 240 is used to simulate the execution of the processing path, and after confirming that the simulation execution is successful, generate the processing code of the jig to be programmed based on the processing path.
[0080] The programming device for electronic product fixture processing provided by this invention automatically acquires the geometric attribute information of the fixture's three-dimensional design model and identifies the fixture type, avoiding the tediousness and errors of manual judgment. This provides a foundation for subsequent automatic matching of processing parameters, saving a significant amount of preparation time. Based on the identification results, the device automatically matches the corresponding processing parameters, eliminating the need for manual setting and greatly shortening the parameter setting cycle. Furthermore, it automatically generates processing paths based on the processing parameters and can simulate the execution of these paths, identifying and correcting errors in advance, reducing the number of trial and error attempts during actual processing. The entire process is highly automated, significantly shortening the programming cycle and improving fixture programming efficiency.
[0081] In one embodiment, the path determination module 230 is specifically used for: Based on the fixture type and the machining feature set, the tool parameters and cutting parameters of the fixture to be programmed are determined, including: Based on the fixture type, the tool library and cutting parameter table corresponding to the fixture type are determined from the process database; Traverse each feature in the processing feature set and determine the minimum contour size and depth value of each feature; Select tool parameters from the tool library whose diameter is smaller than the minimum profile size and whose effective cutting length is greater than the depth value as the tool parameters of the fixture to be programmed; Based on the material properties of the fixture to be programmed and the tool diameter in the tool parameters, the cutting parameters are determined in the cutting parameter table.
[0082] In one embodiment, the geometric analysis module 210 is specifically used for: The geometric attribute information includes draft angle, circular hole features, groove features, and step features. The geometric topology analysis of the three-dimensional design model to determine the geometric attribute information of the fixture to be programmed includes: Perform geometric topology analysis on the three-dimensional design model to determine all surface entities in the three-dimensional design model, and calculate the draft angle and minimum radius of curvature of each surface entity; Based on the minimum radius of curvature of each of the surface entities, the three-dimensional design model is determined to have a circular hole feature; Determine the height difference of the bounding box of the surface entity, and determine the groove feature and step feature of the three-dimensional design model based on the height difference of the bounding box.
[0083] In one embodiment, the path determination module 230 is further configured to: The step of generating the machining path of the fixture to be programmed based on the tool parameters and the cutting parameters, according to the process sequence of the fixture to be programmed, includes: When the features in the machining feature set include outer contour features, a first tool path is generated based on the tool parameters and cutting parameters corresponding to the outer contour features to perform surface finishing, character engraving, shape adjustment and edge chamfering. When the machining feature set includes a circular hole feature, a second tool path is generated based on the tool parameters and cutting parameters corresponding to the circular hole feature, which performs center point positioning, drilling, hole enlargement and finishing, and hole chamfering. When the machining feature set includes a through-groove feature, a third tool path for layered circumferential cutting is generated based on the tool parameters and cutting parameters corresponding to the through-groove feature. The first toolpath, the second toolpath, and the third toolpath are linked together according to the process sequence to obtain the machining path.
[0084] In one embodiment, the path determination module 230 is further configured to: The process path for generating the fixture to be programmed further includes: Determine the linear travel distance between any two adjacent processing features in the processing path; If the linear movement distance is less than a preset safety threshold, delete the lifting and lowering actions between the two machining features, and generate a short connection path between the two machining features; Identify the regions in the 3D design model that are marked as non-machined surfaces, and skip these regions when generating paths.
[0085] In one embodiment, the code generation module 240 is specifically used for: The processing path is simulated and executed, and the simulation is confirmed to be successful, including: The machining path is simulated and executed. If the dimensional interference detection and collision interference detection of the fixture to be programmed pass, the simulation execution is deemed successful.
[0086] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include a processor 310, a communications interface 320, a memory 330, and a communication bus 340. The processor 310, communications interface 320, and memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions from the memory 330 to execute a programming method for the electronic product fixture manufacturing process. This method includes: acquiring a three-dimensional design model of the fixture to be programmed; and performing geometric topology analysis on the three-dimensional design model to determine the geometric attribute information of the fixture to be programmed. Based on the geometric attribute information, the fixture type of the fixture to be programmed and the set of processing features to be processed by the fixture to be programmed are determined; Based on the fixture type and the machining feature set, the tool parameters and cutting parameters of the fixture to be programmed are determined, and based on the tool parameters and cutting parameters, the machining path of the fixture to be programmed is generated according to the process sequence of the fixture to be programmed. The machining path is simulated and executed, and after the simulation is confirmed to be successful, machining code for the jig to be programmed is generated based on the machining path.
[0087] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a 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 a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0088] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the programming method for the electronic product fixture processing provided by the above methods. The method includes: obtaining a three-dimensional design model of the fixture to be programmed; and performing geometric topology analysis on the three-dimensional design model to determine the geometric attribute information of the fixture to be programmed. Based on the geometric attribute information, the fixture type of the fixture to be programmed and the set of processing features to be processed by the fixture to be programmed are determined; Based on the fixture type and the machining feature set, the tool parameters and cutting parameters of the fixture to be programmed are determined, and based on the tool parameters and cutting parameters, the machining path of the fixture to be programmed is generated according to the process sequence of the fixture to be programmed. The machining path is simulated and executed, and after the simulation is confirmed to be successful, machining code for the jig to be programmed is generated based on the machining path.
[0089] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a programming method for performing the electronic product fixture processing procedure provided by the above methods. The method includes: acquiring a three-dimensional design model of the fixture to be programmed; and performing geometric topological analysis on the three-dimensional design model to determine the geometric attribute information of the fixture to be programmed. Based on the geometric attribute information, the fixture type of the fixture to be programmed and the set of processing features to be processed by the fixture to be programmed are determined; Based on the fixture type and the machining feature set, the tool parameters and cutting parameters of the fixture to be programmed are determined, and based on the tool parameters and cutting parameters, the machining path of the fixture to be programmed is generated according to the process sequence of the fixture to be programmed. The machining path is simulated and executed, and after the simulation is confirmed to be successful, machining code for the jig to be programmed is generated based on the machining path.
[0090] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0091] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A programming method for the manufacturing process of electronic product fixtures, characterized in that, include: Obtain the 3D design model of the fixture to be programmed; The geometric topology analysis of the three-dimensional design model is performed to determine the geometric attribute information of the fixture to be programmed. Based on the geometric attribute information, the fixture type of the fixture to be programmed and the set of processing features to be processed by the fixture to be programmed are determined; Based on the fixture type and the machining feature set, the tool parameters and cutting parameters of the fixture to be programmed are determined, and based on the tool parameters and cutting parameters, the machining path of the fixture to be programmed is generated according to the process sequence of the fixture to be programmed. The machining path is simulated and executed, and after the simulation is confirmed to be successful, machining code for the jig to be programmed is generated based on the machining path.
2. The programming method for the electronic product fixture processing according to claim 1, characterized in that, The process of determining the tool parameters and cutting parameters of the fixture to be programmed based on the fixture type and the machining feature set includes: Based on the fixture type, the tool library and cutting parameter table corresponding to the fixture type are determined from the process database; Traverse each feature in the processing feature set and determine the minimum contour size and depth value of each feature; Select tool parameters from the tool library whose diameter is smaller than the minimum profile size and whose effective cutting length is greater than the depth value as the tool parameters of the fixture to be programmed; Based on the material properties of the fixture to be programmed and the tool diameter in the tool parameters, the cutting parameters are determined in the cutting parameter table.
3. The programming method for the electronic product fixture processing according to claim 1, characterized in that, The geometric attribute information includes draft angle, circular hole features, groove features, and step features. The geometric topology analysis of the three-dimensional design model to determine the geometric attribute information of the fixture to be programmed includes: Perform geometric topology analysis on the three-dimensional design model to determine all surface entities in the three-dimensional design model, and calculate the draft angle and minimum radius of curvature of each surface entity; Based on the minimum radius of curvature of each of the surface entities, the three-dimensional design model is determined to have a circular hole feature; Determine the height difference of the bounding box of the surface entity, and determine the groove feature and step feature of the three-dimensional design model based on the height difference of the bounding box.
4. The programming method for the electronic product fixture processing according to claim 1, characterized in that, The step of generating the machining path of the fixture to be programmed based on the tool parameters and the cutting parameters, according to the process sequence of the fixture to be programmed, includes: When the features in the machining feature set include outer contour features, a first tool path is generated based on the tool parameters and cutting parameters corresponding to the outer contour features to perform surface finishing, character engraving, shape adjustment and edge chamfering. When the machining feature set includes a circular hole feature, a second tool path is generated based on the tool parameters and cutting parameters corresponding to the circular hole feature, which performs center point positioning, drilling, hole enlargement and finishing, and hole chamfering. When the machining feature set includes a through-groove feature, a third tool path for layered circumferential cutting is generated based on the tool parameters and cutting parameters corresponding to the through-groove feature. The first toolpath, the second toolpath, and the third toolpath are linked together according to the process sequence to obtain the machining path.
5. The programming method for the electronic product fixture processing according to claim 1, characterized in that, The process path for generating the fixture to be programmed further includes: Determine the linear travel distance between any two adjacent processing features in the processing path; If the linear movement distance is less than a preset safety threshold, delete the lifting and lowering actions between the two machining features, and generate a short connection path between the two machining features; Identify the regions in the 3D design model that are marked as non-machined surfaces, and skip these regions when generating paths.
6. The programming method for the electronic product fixture processing according to claim 1, characterized in that, The processing path is simulated and executed, and the simulation is confirmed to be successful, including: The processing path is simulated and executed. If the dimensional interference detection and collision interference detection of the fixture to be programmed pass, the simulation execution is deemed successful.
7. A programming device for the manufacturing process of electronic product fixtures, characterized in that, include: The geometric analysis module is used to obtain the 3D design model of the fixture to be programmed; The geometric topology analysis of the three-dimensional design model is performed to determine the geometric attribute information of the fixture to be programmed. The feature determination module is used to determine the fixture type of the fixture to be programmed and the set of processing features to be processed by the fixture to be programmed based on the geometric attribute information. The path determination module is used to determine the tool parameters and cutting parameters of the fixture to be programmed based on the fixture type and the machining feature set, and to generate the machining path of the fixture to be programmed according to the process sequence of the fixture based on the tool parameters and the cutting parameters. The code generation module is used to simulate the execution of the processing path, and after confirming that the simulation execution is successful, to generate the processing code of the jig to be programmed based on the processing path.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the programming method for the electronic product fixture processing as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the programming method for the electronic product fixture processing as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the programming method for the electronic product fixture processing as described in any one of claims 1 to 6.