CN117057064A - Method for parameterizing and rapidly plotting mechanical equipment parts - Google Patents
Method for parameterizing and rapidly plotting mechanical equipment parts Download PDFInfo
- Publication number
- CN117057064A CN117057064A CN202311032212.3A CN202311032212A CN117057064A CN 117057064 A CN117057064 A CN 117057064A CN 202311032212 A CN202311032212 A CN 202311032212A CN 117057064 A CN117057064 A CN 117057064A
- Authority
- CN
- China
- Prior art keywords
- unit
- parameter
- model
- design
- parameterized
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000013461 design Methods 0.000 claims abstract description 79
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 49
- 238000010206 sensitivity analysis Methods 0.000 claims abstract description 20
- 238000010586 diagram Methods 0.000 claims abstract description 15
- 238000012545 processing Methods 0.000 claims description 37
- 238000005457 optimization Methods 0.000 claims description 33
- 239000002245 particle Substances 0.000 claims description 28
- 230000008569 process Effects 0.000 claims description 23
- 238000001514 detection method Methods 0.000 claims description 13
- 238000010606 normalization Methods 0.000 claims description 11
- 238000004458 analytical method Methods 0.000 claims description 10
- 230000008859 change Effects 0.000 claims description 10
- 238000006243 chemical reaction Methods 0.000 claims description 9
- 238000013079 data visualisation Methods 0.000 claims description 9
- 238000012795 verification Methods 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 8
- 238000003860 storage Methods 0.000 claims description 6
- 230000000694 effects Effects 0.000 claims description 5
- 230000014509 gene expression Effects 0.000 claims description 4
- 238000005259 measurement Methods 0.000 claims description 4
- 238000004140 cleaning Methods 0.000 claims description 3
- 238000005520 cutting process Methods 0.000 claims description 3
- 238000002372 labelling Methods 0.000 claims description 3
- 238000012800 visualization Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 8
- 230000035945 sensitivity Effects 0.000 description 5
- 230000002068 genetic effect Effects 0.000 description 3
- 238000002922 simulated annealing Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/17—Mechanical parametric or variational design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/06—Multi-objective optimisation, e.g. Pareto optimisation using simulated annealing [SA], ant colony algorithms or genetic algorithms [GA]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/08—Probabilistic or stochastic CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/02—Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a parameterized quick drawing method for mechanical equipment parts, which relates to the technical field of mechanical equipment drawing and mainly solves the problems that parameterized drawing of mechanical equipment parts is slow and design efficiency is low; carrying out specific parameterized design on the 3D model; analyzing the main structure and treating the tolerance in a gradient way; reference is made to the standard design layout form of the component; selecting a proper view angle generation drawing in the model diagram; the method has the advantages that the drawing of the parts is checked and processed, the parts of the mechanical equipment are modeled rapidly and accurately through CAD software, the technical cost is reduced, the parameter variables are optimized through a PSO algorithm to realize optimal design, the working efficiency is improved, the drawing speed is accelerated, the parameter model is verified and processed through a sensitivity analysis algorithm, and the reliability and the effectiveness of the parameter model are improved.
Description
Technical Field
The invention relates to the technical field of mechanical equipment drawing, in particular to a parameterized rapid drawing method for mechanical equipment parts.
Background
The parameterized drawing of the mechanical equipment parts is a digital design method, the product result is obtained by modifying initial conditions and modeling software, automation of the design process is realized, the parameterized drawing efficiency of the parts is improved, the research and development finished products are reduced, the drawing design quality is improved, the design requirement is better met, the parameterized application field of the mechanical equipment parts is very wide, and the main application fields comprise automobile industry and equipment manufacturing industry, ship industry, medical equipment industry and toy industry. Along with the development of society and science and technology, the parameterized graphic technology of the mechanical equipment parts is developed, a more efficient, digitalized and intelligent graphic method is presented, and the investment of the technology can enable the parameterized graphic of the mechanical equipment parts to realize rapid iterative design in the future, so that the flexibility and the sustainability of the design are improved.
Because the parameterized drawing of the mechanical equipment parts is used as a model design method to draw two-dimensional drawings, the drawings and parameters of the design are required to be modified for many times in the traditional parameterized drawing and manual drawing methods of the mechanical equipment parts, the drawing workload is high, and the time consumption is long; the parameterization of mechanical equipment parts is labor-intensive and lacks work efficiency; meanwhile, the parameter modification steps of the completed model in the parameterized drawing of the mechanical equipment parts are complicated, and the design efficiency and the design accuracy are reduced.
Disclosure of Invention
Aiming at the defects of the technology, the invention discloses a method for quickly and parametrically drawing mechanical equipment parts, which is used for quickly and accurately modeling the mechanical equipment parts through CAD software, so that the technical cost is reduced, the parameter variables are optimized through a PSO algorithm to realize optimal design, the working efficiency is improved, the drawing speed is accelerated, the parameter models are verified and processed through a sensitivity analysis algorithm, and the reliability and the effectiveness of the parameter models are improved.
Therefore, the invention provides a parameterized and rapid drawing method for mechanical equipment parts, which comprises the following steps,
step 1, establishing a 3D part model;
modeling by adopting CAD modeling software;
step 2, carrying out specific parameterization design on the 3D model;
the method comprises the steps that a parameter design module and a characteristic parameter module are adopted to conduct specific parameterized design on a 3D model, the parameter design module comprises a parameter definition unit, a parameter control unit, a parameter optimization unit and a parameter verification unit, the parameter definition unit is used for realizing parameter definition of the 3D model through parameterized design variables, the parameter control unit is used for updating and modifying parameters of the 3D model to realize control values and expressions of the parameter variables, the parameter optimization unit is used for optimizing the parameter variables to realize optimal design by adopting a PSO algorithm, the parameter verification unit is used for verifying effects and performances of the parameterized model by adopting a sensitivity analysis algorithm to realize reliability and effectiveness of the parameterized model, the output end of the parameter definition unit is connected with the input end of the parameter control unit, the output end of the parameter control unit is connected with the input end of the parameter optimization unit, and the output end of the parameter optimization unit is connected with the input end of the parameter verification unit;
step 3, analyzing the main structure and treating the tolerance in a gradient way;
analyzing the main structure by adopting a 3DCS tolerance analysis tool and gradiently processing the tolerance;
step 4, referring to the standard design layout form of the component;
designing the drawing according to a specified format through proper word size and line type;
step 5, selecting a proper view angle generation drawing in the model diagram;
generating a part drawing paper by a drawing module;
step 6, checking and processing the part drawing;
the method comprises the steps that a data detection module is used for checking and processing part drawings, the data detection module comprises a main processor, a detection unit, a data processing unit and a document storage unit, the main processor is used for analyzing and managing data in the drawing process, the detection unit adopts a data cleaning function to ensure that the design of part drawings meets design requirements, the data processing unit is used for analyzing and processing data generated in the parameterization drawing process of mechanical equipment parts through parallel calculation, and the document storage unit ensures traceability and manageability of the part drawings through a database.
As a further description of the above technical solution, the main processor includes a database management module, a graphic display module and an automation tool module, where the database management module uses a Microsoft SQL Server chip to store and manage data information of the part model, so as to implement full-period management of the part model, and the graphic display module converts the part model into an image through CAD software to display and edit the image, so as to implement visualization of the part model, and the automation tool module is used to automatically perform layout, labeling and measurement tasks.
As a further description of the above technical solution, the feature parameter module includes a feature definition unit, a feature modeling unit, a feature editing unit and a feature combination unit, where the feature definition unit performs feature definition according to structural features and functions of parts in the 3D model, the feature modeling unit models the defined features by using CAD software and constructs a parameterized model to implement parameterization of the features, the feature editing unit performs feature parameter editing through the main processor so as to implement rapid design and change by rapid adjustment and change of feature parameters, the feature combination unit forms a complete 3D model by combining different features so as to perform rapid modification and adjustment on the 3D model as required, an output end of the feature definition unit is connected to an input end of the feature modeling unit, an output end of the feature modeling unit is connected to an input end of the feature editing unit, and an output end of the feature editing unit is connected to an input end of the feature combination unit.
As a further description of the above technical solution, the drawing module includes a two-dimensional modeling unit, a processing unit and a projection unit, where the two-dimensional modeling unit uses a coredraw drawing tool to implement rapid drawing of the target graph, the processing unit automatically marks and updates parameters of the model of the component by using an automation tool, and the projection unit uses a cross-section projection mode to project the model of the component onto a two-dimensional plane, so as to generate a detailed cut-out graph, a cross-section graph and a detailed graph.
As a further description of the above technical solution, the implementation process of the PSO algorithm is as follows: firstly, a certain number of particle groups need to be randomly initialized, then the speed and the position of the particles need to be updated through a fitness function, and the current speed, the historical optimal position of the particles and the global historical optimal position factors need to be considered when the speed is updated, wherein the update speed is expressed as follows:
the formula for updating the location is as follows:
X(m,n+1)=X(m,n)+Q(m,n+1) (2)
in the formulas (1) - (2), m represents an individual, n represents the number of iterations, Q is an inertial weight, c1 and c2 are individual and social factors, r1 and r2 are random numbers between 0 and 1, obn is an individual history optimal position, abn is a global history optimal position, and X (m, n) represents the current position of the particle;
according to the above formula and steps, after updating the historical optimal position each time, whether the ending condition is satisfied is required to be judged, and when the PSO algorithm satisfies the ending condition, a solution vector corresponding to the historical optimal position in the group is output as an optimal solution.
As a further description of the above technical solution, the implementation process of the sensitivity analysis algorithm is as follows: firstly, defining input parameters, output variables, a value range of the parameters and a parameter step length of a model, setting an initial value, starting from the initial value according to the set parameter step length, changing the values of the parameters one by one, recording the change condition of an output result after changing the parameters each time, and finally, displaying the relation between the input parameters and the output result through a scatter diagram, and carrying out parameter adjustment based on a sensitivity analysis result so as to optimize the part model.
As a further description of the above technical solution, the data processing unit includes a data normalization subunit, a drawing format conversion subunit and a data visualization subunit, where the data normalization subunit eliminates deviation and redundancy in data by scaling the data to a certain range, the drawing format conversion subunit converts the drawing format into four formats of PDF, JPEG, EDRW and GIF to meet the requirements of different formats of the drawing, and the data visualization subunit displays parameter information of the model in real time through the processor, so that a user can understand the characteristics and trends of the data.
The invention has the beneficial technical effects that compared with the prior art:
the invention discloses a parameterized quick drawing method for mechanical equipment parts, which is characterized in that CAD software is used for quickly and accurately modeling the mechanical equipment parts, so that the technical cost is reduced, the parameter variables are optimized through a PSO algorithm to realize optimal design, the working efficiency is improved, the drawing speed is accelerated, the parameter model is verified and processed through a sensitivity analysis algorithm, and the reliability and the effectiveness of the parameter model are improved.
Drawings
In order to more intuitively and clearly understand and understand the technical solution, when describing the embodiment of the present invention or the prior art, the drawings are often used for supplementing and describing, it should be noted that the drawing is only an expression mode of the embodiment of the present invention or the prior art, and in fact, the technical solution may also have other implementation modes and changes, which are all within the scope of protection of the present invention, so that a skilled person can design other drawings as needed to implement the technical solution of the present invention, where,
FIG. 1 is a schematic diagram of the overall architecture of the present invention;
FIG. 2 is a schematic diagram of a parameter design module according to the present invention;
FIG. 3 is a schematic diagram of a characteristic parameter module structure according to the present invention;
FIG. 4 is a schematic diagram of a data detection module according to the present invention;
Detailed Description
The following description of the embodiments of the present invention will be made more apparent and fully by reference to the accompanying drawings, in which it is shown, by way of illustration, only some, but not all embodiments of the embodiments described. Meanwhile, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present invention.
As shown in fig. 1-4, a method for parameterizing and rapidly plotting mechanical equipment parts comprises the following steps,
step 1, establishing a 3D part model;
modeling by adopting CAD modeling software;
step 2, carrying out specific parameterization design on the 3D model;
the method comprises the steps that a parameter design module and a characteristic parameter module are adopted to conduct specific parameterized design on a 3D model, the parameter design module comprises a parameter definition unit, a parameter control unit, a parameter optimization unit and a parameter verification unit, the parameter definition unit is used for realizing parameter definition of the 3D model through parameterized design variables, the parameter control unit is used for updating and modifying parameters of the 3D model to realize control values and expressions of the parameter variables, the parameter optimization unit is used for optimizing the parameter variables to realize optimal design by adopting a PSO algorithm, the parameter verification unit is used for verifying effects and performances of the parameterized model by adopting a sensitivity analysis algorithm to realize reliability and effectiveness of the parameterized model, the output end of the parameter definition unit is connected with the input end of the parameter control unit, the output end of the parameter control unit is connected with the input end of the parameter optimization unit, and the output end of the parameter optimization unit is connected with the input end of the parameter verification unit;
step 3, analyzing the main structure and treating the tolerance in a gradient way;
analyzing the main structure by adopting a 3DCS tolerance analysis tool and gradiently processing the tolerance;
step 4, referring to the standard design layout form of the component;
designing the drawing according to a specified format through proper word size and line type;
step 5, selecting a proper view angle generation drawing in the model diagram;
generating a part drawing paper by a drawing module;
step 6, checking and processing the part drawing;
the method comprises the steps that a data detection module is used for checking and processing part drawings, the data detection module comprises a main processor, a detection unit, a data processing unit and a document storage unit, the main processor is used for analyzing and managing data in the drawing process, the detection unit adopts a data cleaning function to ensure that the design of part drawings meets design requirements, the data processing unit is used for analyzing and processing data generated in the parameterization drawing process of mechanical equipment parts through parallel calculation, and the document storage unit ensures traceability and manageability of the part drawings through a database.
In a further embodiment, the main processor includes a database management module, a graphic display module and an automation tool module, where the database management module uses a Microsoft SQL Server chip to store and manage data information of the part model, so as to implement full-period management of the part model, the graphic display module converts the part model into an image through CAD software to display and edit the image, so as to implement visualization of the part model, and the automation tool module is used to automatically perform layout, labeling and measurement tasks.
The working principle of the main processor is as follows: the database management module is responsible for storing and managing data information generated in the process of drawing, and comprises the operation steps of storing, updating, inquiring, searching and the like; the graphic display module is responsible for converting the three-dimensional model stored in the database into a plane image which can be viewed by a user, and meanwhile, is also responsible for graphic presentation, geometric analysis, view processing and the like; the automatic tool module is responsible for providing automatic design and analysis tools based on rules and conditions so as to help users to conduct design and analysis more efficiently, the automatic tool module comprises simulation, automatic stress analysis and optimization technology, the automatic tool can be configured and customized according to the requirements of the users, so that the users are helped to conduct work more efficiently, frequent interaction is needed between the main processor and other modules, high-level collaborative work is conducted, and the smooth working process of parameterized drawing of mechanical parts is guaranteed.
Further, the feature parameter module includes a feature definition unit, a feature modeling unit, a feature editing unit and a feature combination unit, where the feature definition unit performs feature definition according to structural features and functions of parts in the 3D model, the feature modeling unit models the defined features by using CAD software and constructs a parameterized model to implement parameterization of the features, the feature editing unit performs feature parameter editing through the main processor so as to quickly adjust and change feature parameters to implement design and change, the feature combination unit combines different features to form a complete 3D model so as to quickly modify and adjust the 3D model as required, an output end of the feature definition unit is connected to an input end of the feature modeling unit, an output end of the feature modeling unit is connected to an input end of the feature editing unit, and an output end of the feature editing unit is connected to an input end of the feature combination unit.
The working principle of the characteristic parameter module is as follows: the feature definition unit is a process of defining specific feature type parameters based on specific geometric shapes, the feature type parameters can be defined through geometric shapes and constants, the feature modeling unit is a process of creating a model on the basis of the feature definition unit, the feature modeling unit creates the model through referencing the defined feature type parameters, the created model can be easily modified and reconstructed, the feature editing unit is a process of modifying and editing the defined feature type parameters, the feature type parameters can be edited in a manner of scaling, rotating, moving and deleting, a user can design and modify more efficiently, the design efficiency and the working state of a map can be improved by parameterizing mechanical equipment parts, the feature combination unit combines a plurality of features into one specific feature type parameter, each feature represents one specific component in the design, such as a hole, a boss, a groove and the like, the features can be used in combination in a single or multiple parts, the user can complete work more quickly, more efficiently and more quality through the mode of combining the feature type parameters, the feature type parameter can be used in the model by the feature definition unit, and the feature definition unit can complete the feature by combining the feature type parameters in the mode of the user, and the feature definition unit can complete the feature mode through the feature mode.
In a further embodiment, the drawing module includes a two-dimensional modeling unit, a processing unit and a projection unit, the two-dimensional modeling unit uses a coredraw drawing tool to implement drawing of the target graph quickly, the processing unit uses an automation tool to automatically label and update parameters of the part model, and the projection unit uses a section projection mode to project the part model onto a two-dimensional plane so as to generate a detailed cropping map, a section map and a detail map.
The working principle of the drawing module is as follows: the two-dimensional modeling unit adopts CorelDRAW drawing tools to create geometric figures by using basic elements such as points, lines, arcs and the like, and can also adopt CAD software to create design drawings by drawing, cutting and editing line operations on the basis of a two-dimensional model, and the two-dimensional modeling unit also provides various tools and technologies to help users design, edit and modify the drawings; the processing unit is responsible for operating and processing the graphics, adding restriction, splitting the graphics, cutting the graphics and combining the graphics on the graphics to meet the design requirements of users, and simultaneously, the processing unit can also help the users to identify and correct errors in the design in various ways through geometric measurement, calculation and analysis functions; the projection unit is responsible for projecting the three-dimensional view onto the two-dimensional view, the projection unit generates projection by selecting and configuring view positions, lenses and view angles, the projection unit also provides various customizable projection technologies and schemes, including perspective view, design drawing view and parallel projection, and the drawing module measures, creates, analyzes and processes geometric figures through the two-dimensional modeling unit, the processing unit and the projection unit to finish drawing of drawings.
Further embodiment, the implementation process of the PSO algorithm is as follows: firstly, a certain number of particle groups need to be randomly initialized, then the speed and the position of the particles need to be updated through a fitness function, and the current speed, the historical optimal position of the particles and the global historical optimal position factors need to be considered when the speed is updated, wherein the update speed is expressed as follows:
the formula for updating the location is as follows:
X(m,n+1)=X(m,n)+Q(m,n+1) (2)
in the formulas (1) - (2), m represents an individual, n represents the number of iterations, Q is an inertial weight, c1 and c2 are individual and social factors, r1 and r2 are random numbers between 0 and 1, obn is an individual history optimal position, abn is a global history optimal position, and X (m, n) represents the current position of the particle;
according to the above formula and steps, after updating the historical optimal position each time, whether the ending condition is satisfied is required to be judged, and when the PSO algorithm satisfies the ending condition, a solution vector corresponding to the historical optimal position in the group is output as an optimal solution.
The working principle of the PSO algorithm is as follows: the PSO algorithm is a commonly used meta-heuristic optimization algorithm, can be used for solving the problem of parameter optimization in a parameterized graph of mechanical equipment parts, realizes an optimization process by updating the speed and the position of dynamic particles, and finally finds an optimal solution in a solution space, and comprises the following specific steps:
a. initializing: randomly selecting a set of particle samples, each particle representing a possible solution, the position of each particle representing a parameter value of the candidate solution;
b. searching: each particle calculates the fitness value of the position of each particle by means of own experience and information communication with the neighbors of each particle, and updates own speed and position;
c. updating the particle velocity: the particles adjust their speed according to their own speed and adaptive mechanism in order to better explore the solution space;
d. updating the particle position: each particle updates the position according to the speed of the particle and carries out fitness evaluation;
e. evaluating an optimal solution: recording a global optimal solution, wherein the solution is one with the highest fitness value in all particles, and stopping the operation of the algorithm if an ideal solution is found;
f. the search process is repeated: repeating the steps until the maximum searching times are reached or the stopping condition is met;
in summary, the PSO algorithm simulates a search process to find an optimal solution by updating the speed and the position of each particle, the PSO algorithm has global convergence and higher solving precision, the particle speed and the particle position are updated through multiple iterations in the parameterized graph optimization problem of the mechanical equipment parts, the parameter design is continuously optimized, and the graph speed and the design efficiency of the parameterized graph of the mechanical equipment parts are improved. Meanwhile, there are many classifications in the optimization algorithm, as shown in table 1.
Table 1 optimization algorithm influencing factors
Optimization algorithm name | Algorithm standard | Optimizing rate | Usage scenarios |
PSO | Evolutionary computing method | Quick-acting toy | Parameter optimization |
Simulated annealing algorithm | Evolutionary computing method | Quick-acting toy | Structural optimization |
Genetic algorithm | Evolutionary computing method | Faster | Combination optimization |
Ant colony optimization algorithm | Mathematical optimization method | Faster | Model optimization |
As can be seen from table 1, the algorithm standards of the PSO algorithm, the simulated annealing algorithm and the genetic algorithm are all evolutionary computing methods, the algorithm process is gradually performed, the ant colony optimization algorithm belongs to a mathematical optimization algorithm, and the optimization rates of the genetic algorithm and the ant colony optimization algorithm are slower, and the simulated annealing algorithm is more suitable for a structure optimization scene, so that the parameter optimization of the parameterized map of the mechanical equipment part can be obtained according to the data shown in table 1, and the PSO algorithm is adopted as the optimal choice.
In a further embodiment, the implementation process of the sensitivity analysis algorithm is as follows: firstly, defining input parameters, output variables, a value range of the parameters and a parameter step length of a model, setting an initial value, starting from the initial value according to the set parameter step length, changing the values of the parameters one by one, recording the change condition of an output result after changing the parameters each time, and finally, displaying the relation between the input parameters and the output result through a scatter diagram, and carrying out parameter adjustment based on a sensitivity analysis result so as to optimize the part model.
The working principle of the sensitivity analysis algorithm is as follows: the sensitivity analysis algorithm helps to evaluate the influence of design parameters on the objective function result by using a design sample set and calculating sensitivity indexes, and the sensitivity analysis algorithm can help a design engineer to identify and optimize key design parameters which may influence the objective function, and specifically comprises the following steps:
a. selecting an objective function: for sensitivity analysis, one or more objective functions need to be selected to evaluate the design parameters;
b. determining design parameters: sensitivity analysis requires the determination of design parameters that may affect the outcome of the objective function, which may include material properties, size, shape, etc.;
c. designing a sample set: the sample set is a set of design samples representing different parameters, wherein each sample comprises an objective function result and a design parameter value, and the difference between the size of the design sample set and the samples affects the accuracy and precision of the sensitivity analysis;
d. calculating sensitivity indexes: taking the design sample set as input, and obtaining the sensitivity index of each design parameter by calculating the response of the objective function result to the change of the design parameter;
e. interpretation of sensitivity analysis results: sensitivity indicators can be used to evaluate the relative importance of different design parameters in objective function optimization, and this information can be used to optimize the design parameters for better performance, lower cost, or better maintainability;
f. modifying design parameters: if the sensitivity of certain design parameters is found to be low in the analysis results, it may be necessary to modify these parameters to more appropriate values to optimize the design parameters;
in summary, in the parameterized drawing process of the mechanical equipment parts, the effect and performance of the parameterized model are verified by using the sensitivity analysis algorithm, so that the reliability and effectiveness of the parameterized model are realized, and the working efficiency and stability are effectively improved.
In a further embodiment, the data processing unit includes a data normalization subunit, a drawing format conversion subunit and a data visualization subunit, where the data normalization subunit eliminates deviation and redundancy in data by scaling the data to a certain range, the drawing format conversion subunit converts the drawing format into four formats of PDF, JPEG, EDRW and GIF to meet the requirements of different formats of the drawing, and the data visualization subunit displays parameter information of a model in real time through the processor, so that a user can understand characteristics and trends of the data.
The working principle of the data processing unit is as follows: the data processing unit is mainly used for processing data information generated in a parameterized drawing of a mechanical device part, the data normalization subunit is a technology for merging data from different sources into the same coordinate system, after the data sources are normalized, the working efficiency and the design efficiency can be improved, meanwhile, the data normalization subunit converts various data formats, and then the data normalization subunit converts the various data formats into a processable standard data format through processing, displacement and other operations, the drawing format conversion subunit converts files in different formats into specific file formats, so that the integrity and the accuracy of drawing data are guaranteed when the parameterized drawing work of the mechanical device part is carried out, the data visualization subunit visually displays a created model and a drawn drawing in a scatter diagram mode, the component diagram, the assembly diagram and the 3D diagram are included, and the data processing unit uses the data normalization subunit, the drawing format conversion subunit and the data visualization subunit to conduct data normalization, drawing format conversion and data visualization so that a user can conveniently conduct more accurate and complete design and analysis.
While the invention has been described in terms of the above specific embodiments, it will be appreciated by those skilled in the art that these embodiments are provided by way of example only and do not limit the scope and application of the invention. Various omissions, substitutions and changes in the form and details of the invention may be made by those skilled in the art to achieve substantially similar results without departing from the spirit and scope of the invention. Accordingly, the scope of the invention is limited only by the following claims.
Claims (7)
1. A parameterized quick drawing method for mechanical equipment parts is characterized in that: the method comprises the following steps:
step 1, establishing a 3D part model;
modeling by adopting CAD modeling software;
step 2, carrying out specific parameterization design on the 3D model;
the method comprises the steps that a parameter design module and a characteristic parameter module are adopted to conduct specific parameterized design on a 3D model, the parameter design module comprises a parameter definition unit, a parameter control unit, a parameter optimization unit and a parameter verification unit, the parameter definition unit is used for realizing parameter definition of the 3D model through parameterized design variables, the parameter control unit is used for updating and modifying parameters of the 3D model to realize control values and expressions of the parameter variables, the parameter optimization unit is used for optimizing the parameter variables to realize optimal design by adopting a PSO algorithm, the parameter verification unit is used for verifying effects and performances of the parameterized model by adopting a sensitivity analysis algorithm to realize reliability and effectiveness of the parameterized model, the output end of the parameter definition unit is connected with the input end of the parameter control unit, the output end of the parameter control unit is connected with the input end of the parameter optimization unit, and the output end of the parameter optimization unit is connected with the input end of the parameter verification unit;
step 3, analyzing the main structure and treating the tolerance in a gradient way;
analyzing the main structure by adopting a 3DCS tolerance analysis tool and gradiently processing the tolerance;
step 4, referring to the standard design layout form of the component;
designing the drawing according to a specified format through proper word size and line type;
step 5, selecting a proper view angle generation drawing in the model diagram;
generating a part drawing paper by a drawing module;
step 6, checking and processing the part drawing;
the method comprises the steps that a data detection module is used for checking and processing part drawings, the data detection module comprises a main processor, a detection unit, a data processing unit and a document storage unit, the main processor is used for analyzing and managing data in the drawing process, the detection unit adopts a data cleaning function to ensure that the design of part drawings meets design requirements, the data processing unit is used for analyzing and processing data generated in the parameterization drawing process of mechanical equipment parts through parallel calculation, and the document storage unit ensures traceability and manageability of the part drawings through a database.
2. The method for parameterized and rapid drawing of mechanical equipment parts according to claim 1, wherein the method comprises the following steps: the main processor comprises a database management module, a graph display module and an automation tool module, wherein the database management module stores and manages data information of the part models by adopting Microsoft SQL Server chips to realize full-period management of the part models, the graph display module converts the part models into images through CAD software to display and edit the images to realize visualization of the part models, and the automation tool module is used for automatically executing layout, labeling and measurement tasks.
3. The method for parameterized and rapid drawing of mechanical equipment parts according to claim 1, wherein the method comprises the following steps: the characteristic parameter module comprises a characteristic definition unit, a characteristic modeling unit, a characteristic editing unit and a characteristic combination unit, wherein the characteristic definition unit performs characteristic definition according to structural characteristics and functions of parts in a 3D model, the characteristic modeling unit models the defined characteristics by adopting CAD software and builds a parameterized model to realize parameterization of the characteristics, the characteristic editing unit performs characteristic parameter editing through the main processor so as to quickly adjust and change characteristic parameters to realize design and change, the characteristic combination unit combines different characteristics to form a complete 3D model so as to quickly modify and adjust the 3D model according to requirements, the output end of the characteristic definition unit is connected with the input end of the characteristic modeling unit, the output end of the characteristic modeling unit is connected with the input end of the characteristic editing unit, and the output end of the characteristic editing unit is connected with the input end of the characteristic combination unit.
4. The method for parameterized and rapid drawing of mechanical equipment parts according to claim 1, wherein the method comprises the following steps: the drawing module comprises a two-dimensional modeling unit, a processing unit and a projection unit, wherein the two-dimensional modeling unit adopts a CorelDRAW drawing tool to rapidly draw a target graph, the processing unit automatically marks and updates parameters of a part model through an automation tool, and the projection unit projects the part model onto a two-dimensional plane in a section projection mode so as to generate a detailed cutting graph, a section graph and a detail graph.
5. The method for parameterized and rapid drawing of mechanical equipment parts according to claim 1, wherein the method comprises the following steps: the PSO algorithm comprises the following implementation processes: firstly, a certain number of particle groups need to be randomly initialized, then the speed and the position of the particles need to be updated through a fitness function, and the current speed, the historical optimal position of the particles and the global historical optimal position factors need to be considered when the speed is updated, wherein the update speed is expressed as follows:
the formula for updating the location is as follows:
X(m,n+1)=X(m,n)+Q(m,n+1) (2)
in the formulas (1) - (2), m represents an individual, n represents the number of iterations, Q is an inertial weight, c1 and c2 are individual and social factors, r1 and r2 are random numbers between 0 and 1, obn is an individual history optimal position, abn is a global history optimal position, and X (m, n) represents the current position of the particle;
according to the above formula and steps, after updating the historical optimal position each time, whether the ending condition is satisfied is required to be judged, and when the PSO algorithm satisfies the ending condition, a solution vector corresponding to the historical optimal position in the group is output as an optimal solution.
6. The method for parameterized and rapid drawing of mechanical equipment parts according to claim 1, wherein the method comprises the following steps: the implementation process of the sensitivity analysis algorithm is as follows: firstly, defining input parameters, output variables, a value range of the parameters and a parameter step length of a model, setting an initial value, starting from the initial value according to the set parameter step length, changing the values of the parameters one by one, recording the change condition of an output result after changing the parameters each time, and finally, displaying the relation between the input parameters and the output result through a scatter diagram, and carrying out parameter adjustment based on a sensitivity analysis result so as to optimize the part model.
7. The method for parameterized and rapid drawing of mechanical equipment parts according to claim 1, wherein the method comprises the following steps: the data processing unit comprises a data normalization subunit, a drawing format conversion subunit and a data visualization subunit, wherein the data normalization subunit is used for eliminating deviation and redundancy in data by scaling the data to a certain range, the drawing format conversion subunit is used for converting the drawing format into four formats of PDF, JPEG, EDRW and GIF so as to meet the requirements of different formats of the drawing, and the data visualization subunit is used for displaying parameter information of a model in real time through the processor so that a user can understand the characteristics and trend of the data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311032212.3A CN117057064A (en) | 2023-08-15 | 2023-08-15 | Method for parameterizing and rapidly plotting mechanical equipment parts |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311032212.3A CN117057064A (en) | 2023-08-15 | 2023-08-15 | Method for parameterizing and rapidly plotting mechanical equipment parts |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117057064A true CN117057064A (en) | 2023-11-14 |
Family
ID=88658449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311032212.3A Pending CN117057064A (en) | 2023-08-15 | 2023-08-15 | Method for parameterizing and rapidly plotting mechanical equipment parts |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117057064A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118411158A (en) * | 2024-07-02 | 2024-07-30 | 江苏广大鑫盛精密智造有限公司 | Digital twinning-based wind power large part slicing and plotting method and system |
CN118504174A (en) * | 2024-07-17 | 2024-08-16 | 中交第二航务工程局有限公司 | Digital modeling method and system for oil cylinder |
-
2023
- 2023-08-15 CN CN202311032212.3A patent/CN117057064A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118411158A (en) * | 2024-07-02 | 2024-07-30 | 江苏广大鑫盛精密智造有限公司 | Digital twinning-based wind power large part slicing and plotting method and system |
CN118504174A (en) * | 2024-07-17 | 2024-08-16 | 中交第二航务工程局有限公司 | Digital modeling method and system for oil cylinder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109117560B (en) | Three-dimensional process design method and platform for machining parts of automotive typical machine based on MBD | |
CN117057064A (en) | Method for parameterizing and rapidly plotting mechanical equipment parts | |
CN103890766B (en) | Coordinate measuring system data reduction | |
JP6787661B2 (en) | Simulation of machining of workpieces | |
JP7049807B2 (en) | Database query based on parametric view functions | |
CN107545025B (en) | Querying databases using morphological criteria | |
CN1996392A (en) | Figure reconstruction method in 3D scanning system | |
CN104793560A (en) | Method and system for generating a trajectory | |
JP5414902B2 (en) | System and method for optimizing machining simulation | |
Ning et al. | Part machining feature recognition based on a deep learning method | |
US11574084B1 (en) | Methods and systems for geometric analysis of a part for manufacture | |
CN109886297A (en) | A method of for identifying threedimensional model object from two dimensional image | |
Stryczek | A metaheuristic for fast machining error compensation | |
JP2011248622A (en) | Similar model searching system and work instruction reuse system | |
Li et al. | Analysis of assembly tolerance based on assembly constraint information model | |
WO2020023811A1 (en) | 3d object design synthesis and optimization using existing designs | |
Yu et al. | A hybrid point cloud alignment method combining particle swarm optimization and iterative closest point method | |
Mayer et al. | Computational geometry reconstruction from 3D topology optimization results: a new parametric approach by the medial axis | |
CN117193988A (en) | Task scheduling method and medium for wafer-level framework AI acceleration chip | |
US11687687B1 (en) | Apparatuses and methods for superimposition of a cross-sectional drawing over a three-dimensional model | |
Kamali Nejad et al. | Tolerance analysis in machining using the model of manufactured part (MMP)–comparison and evaluation of three different approaches | |
US20210333777A1 (en) | Section identification system | |
Li et al. | Similarity measurement of the geometry variation sequence of intermediate process model | |
Krimpenis et al. | Balancing multiple criteria in formulation of weighted, single-objective genetic algorithm optimization for CNC machining problems | |
Crozet et al. | Fast computation of local minimal distances between CAD models for dynamics simulation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |