Statistical method for blanking and welding production cycle of hydraulic support structural member based on SolidWorks
By developing a production cycle statistical method for the unloading welding of hydraulic support structural parts on the SolidWorks platform, the problems of large statistical errors in the production cycle and tight time are solved, and more accurate production cycle statistics and more efficient production management are achieved.
Patent Information
- Application Number
- CN202411486699.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-02-14
AI Technical Summary
The prior art has problems such as large errors, tight time and low production efficiency in the production cycle statistics of hydraulic support structural parts, especially when multiple models or batches of products are produced simultaneously, it is difficult to deliver in a timely manner.
The production cycle statistics method of hydraulic support structural parts is adopted based on SolidWorks. Through standardized named part models, the data acquisition and analysis are collected and analyzed using the SolidWorks API function to count the production cycle of parts and the parts are cut and welding.
This method can accurately count the production cycle of hydraulic support structural parts, reduce errors, improve production efficiency, help reasonably schedule production lines and personnel allocation, and alleviate the pressure brought by the production of multiple products.
Smart Images

Figure CN119442517A_ABST
Abstract
Description
Technical Field
[0001] The invention provides a method for counting production cycles of blanking and welding of hydraulic support structural parts based on SolidWorks, and belongs to the technical field of blanking and welding production of hydraulic support structural parts. Background Art
[0002] Hydraulic support structural parts are generally cut from sheet metal, assembled and welded. Generally speaking, the processing and manufacturing process is not very complicated. However, with the increasing number of customers year by year, the production of frame types is constantly being expanded, and the requirements for production efficiency and production quality are also constantly increasing. The use of traditional statistical methods requires statistics and analysis of all parts one by one, which is time-consuming and labor-intensive. It is often the case that multiple models or batches of support structural parts are produced at the same time, resulting in the problem of timely delivery of products.
[0003] In order to solve this problem, it is necessary to fully estimate the production cycle of each process, such as sheet material usage, parts cutting and processing, structural parts assembly and welding, so as to reasonably arrange the production schedule and deliver according to the time node required by the customer. Since the type and usage of the product sheet material can only be estimated after the entire bracket is designed and the product process is completed, the estimation time is very tight, and there is no sufficient time to prepare materials. Or the type and usage of the material can only be estimated by simple tonnage analogy with similar rack types, which has a large error, is not conducive to the arrangement of the product production cycle, and is also prone to production delays caused by the failure to estimate individual parts.
[0004] In addition, there is the problem of unloading and laying out of parts. Unloading and laying out can only be carried out after the entire frame process design is completed. Unloading and laying out are closely related to the shape of the parts and the thickness of the sheet metal. These statistical data need to be counted for each individual part, and then a series of calculations are performed to accurately estimate the production cycle of unloading and laying out. If similar frames are used to make analog estimates by tonnage, the difference from the actual situation is too far, and the estimated production cycle error is large. In the end, it will lead to incomplete materials, unreasonable unloading and laying out time for parts, tight production lines, unreasonable personnel allocation and other problems. Therefore, how to reasonably schedule and allocate production lines when counting production cycles has become a difficult problem that needs to be solved urgently. Summary of the invention
[0005] In order to overcome the deficiencies in the prior art, the present invention aims to solve the technical problem of providing a method for counting the production cycle of cutting and welding of hydraulic support structural parts based on SolidWorks.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: a method for counting the production cycle of cutting and welding of hydraulic support structural parts based on SolidWorks, comprising the following counting steps:
[0007] Step 1: Standardize and normalize the materials and names of the structural parts of the hydraulic support after the design is finalized to ensure the uniqueness of the parts, and collect the cutting and welding data of the product parts through the main statistical program;
[0008] Step 2: Register the statistical main program data into the Solidworks main interface;
[0009] Step 3: Collect cutting data for the current structural part model;
[0010] Step 4: Collect welding data for the current structural part model;
[0011] Step 5: Perform blanking data calculation on the structural parts according to the selected rules and calculate the blanking production cycle of the parts;
[0012] Step 6: Calculate the structural parts welding data according to the selected rules and calculate the structural parts welding production cycle.
[0013] The specific method for data registration in step 2 is:
[0014] Use the ISwAddin interface provided by Solidworks, use the SldWorks.CreateTaskpaneView2() method to create a TaskpaneView object, and use the TaskpaneView.AddControl() method to register the main statistical program to the taskbar in the Solidworks main interface.
[0015] The specific method for collecting the blanking data in step 3 is:
[0016] Traverse the current structural part model to obtain all parts, and collect cutting data for each part. That is, convert the part into a ModelDoc2 object and call CustomPropertyManager[""] to obtain basic property information, part bounding box information and cutting trajectory data information, and save all part data in the database one by one.
[0017] The specific method for obtaining the single part blanking trajectory data in step 3 is:
[0018] Step 3.1: Traverse the parts to get all Feature arrays featArr;
[0019] Step 3.2: Traverse featArr to obtain the Face array faceArr, sort to obtain the largest face faceMax, and calculate its perimeter CMax;
[0020] Step 3.3: Traverse faceMax to get all Loop arrays loopArr;
[0021] Step 3.4: Traverse and calculate the perimeter of all loops in loopArr to obtain the loop perimeter array CLArr, and record the number of loops n;
[0022] Step 3.5: Calculate the length of the cutting track. The calculation formula is:
[0023] C=LMax+(CLArr[0]+CLArr[1]+CLArr[2]+...+CLArr[n-1]);
[0024] Where LMax is the perimeter of the largest face, and [n] is the array subscript.
[0025] The specific method for collecting welding data in step 4 is:
[0026] Step 4.1: Call the GetInterferences() method in the Interference Check Manager to obtain the structural component interference set vInts;
[0027] Step 4.2: Loop through vInts to obtain the contact surface set vTrans and the related component array vIntComps;
[0028] Step 4.3: In vTrans, logically determine the face array vFaces that meets the weld conditions according to the part naming rules;
[0029] Step 4.4: traverse and calculate the weld length of two adjacent parts in vIntComps, that is, the contact surface perimeter Cvface; assign the weld height according to the national standard or enterprise standard rules;
[0030] Step 4.5: Save the basic information of the assembly, the two relevant part numbers of the weld, the weld length, the weld height, etc. into the database one by one.
[0031] The specific method for counting the production cycle of parts blanking in step 5 is:
[0032] Step 5.1: Calculate the usage of each type of steel plate. The calculation formula is:
[0033]
[0034] Where n is the number of steel plate types, 12000×2600 is the standard specification area of the steel plate, K is the discharge coefficient, which is generally 0.85, N is the number of parts in the structure, m is the batch production quantity of the structure, LX is the maximum length dimension of the part, and LY is the maximum width dimension of the part;
[0035] Step 5.2: Calculate the time used to cut each type of steel plate of the part. The calculation formula is:
[0036]
[0037] Where TP is the shot blasting leveling time for the steel plate, C is the blanking length of a single part, LP is the number of inner rings of the part, and TB is the equipment compensation value.
[0038] The specific method for counting the production cycle of structural parts welding in step 6 is:
[0039] Step 6.1: Calculate the total number of welds n of the structural parts;
[0040] Step 6.2: Calculate the number of weld passes (m) required for the weld height according to national or enterprise standards;
[0041] Step 6.3: Look up the table to calculate the welding speed V of the weld under different welding wire types and methods;
[0042] Step 6.4: Calculate the welding time of the structural parts using the following formula:
[0043]
[0044] Where n is the total number of welds, TH is the welding time, TQ is the arc starting time, TM is the arc extinguishing time, m is the number of weld passes, L is the length of a single weld, and V is the welding speed.
[0045] The beneficial effects of the present invention compared to the prior art are as follows: in order to solve the problem of large statistical errors in the production cycle, the present invention specifically performs statistical analysis on the production cycle of important nodes such as sheet material usage, part cutting time, and structural part welding time, and based on a large number of API functions provided by SolidWorks software, multi-dimensional data extraction is performed on the parts in the model, and the saved information can be analyzed and counted to obtain the production cycle of each type of product or batch. According to the analysis results, the production line can be reasonably scheduled and the personnel can be reasonably allocated, which can greatly alleviate the pressure brought by the simultaneous production of multiple types of products, greatly shorten the product production cycle, and improve production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The present invention will be further described below in conjunction with the accompanying drawings:
[0047] Figure 1 This is the operation effect diagram of registering the main statistical program to the SW main interface in step 2 of the present invention;
[0048] Figure 2 This is a flowchart of the steps of obtaining part blanking trajectory data in step 3 of the present invention;
[0049] Figure 3This is a flowchart of the steps of obtaining the cumulative weld length data of the structural parts in step 4 of the present invention. DETAILED DESCRIPTION
[0050] The present invention provides a statistical method for the cutting and blanking production cycle of steel plate parts and the welding production cycle of structural parts applied to mining hydraulic support structural parts. Specifically, it is a method for statistically analyzing the cutting and welding production cycle of hydraulic support structural parts based on API functions in SolidWorks software (hereinafter referred to as SW). The method uses C# language to perform secondary development on the SW support structural part model, and is used to extract multi-dimensional data of the parts in the model, such as: the bracket code, name, material, weight and other information of the parts, analyze the blanking walking trajectory of the part model, determine the blanking length of the parts, analyze the relevant data such as the welding length of the components, and save this information in a database. The saved information can be analyzed and counted to obtain the production cycle of each type of product or batch. According to the analysis results, the production line can be reasonably scheduled and the personnel can be reasonably allocated, which can greatly alleviate the pressure brought by the simultaneous production of multiple types of products, greatly shorten the product production cycle and improve production efficiency.
[0051] After adopting the statistical production cycle method of the present invention, it is carried out after the product three-dimensional model design is finalized and before the product process design. Compared with the previous statistical estimation of the production cycle which can only be carried out after the process design is completed, the estimated time is greatly advanced; after the main statistical program is completed, only one click of the mouse is needed to complete the statistical estimation of the cutting and welding of the hydraulic support product, which improves the statistical efficiency and accuracy, facilitates the reasonable deployment of production personnel and production lines in the later stage, and can help production and operation units to estimate the production cycle of the batch production of hydraulic support prototypes in advance, facilitates the reasonable arrangement of production lines, personnel deployment, etc., greatly saves production costs and improves efficiency.
[0052] The SolidWorks-based statistical method for the production cycle of cutting and welding of hydraulic support structural parts provided by the present invention specifically includes the following statistical steps:
[0053] Step 1: The naming and materials of the hydraulic support structural parts model after design are all standardized and normalized to ensure the uniqueness of the parts and facilitate the main statistical program to collect the cutting and welding data of product parts.
[0054] Furthermore, the naming of the 3D models in step 1 all adopts the enterprise standard naming. For example, the model is named in the form of bracket product code + bracket component number + "-" + part serial number, such as: PY001.0101-01 is the correct naming method, and all the material naming of plate parts is named in the form of material grade + δ + sheet thickness. For example: Q460δ20 is the correct naming method. The naming of all parts reflects the spatial structure and function of the parts, such as: the lower part of the box is called the bottom plate, the part that closes the box is called the cover plate, the rib plate inside the box is called the rib plate, and the plate between the boxes is called the vertical plate or partition plate, etc. Establishing a standardized design process helps the software to perform better statistical analysis.
[0055] Step 2: Use the ISwAddin interface provided by SWAPI, use the CreateTaskpaneView2() method to create a TaskpaneView object, and use the TaskpaneView.AddControl() method to register the main statistics program to the taskbar in the SW main interface. The operation interface is as follows: Figure 1 shown.
[0056] Furthermore, this operation specifically adds references to SolidWorks.Interop.sldworks, SolidWorks.Interop.swconst, and SolidWorks.Interop.swpublished in Visual Studio 2022 to build an association between the statistics main program and the structural parts currently opened by SW.
[0057] Furthermore, this operation specifically establishes a SQL Server database, which contains the basic attribute information of the parts, the length of the cutting trajectory, the XYZ axis information of the part bounding box, the weld length of the structural parts, etc., to facilitate the subsequent analysis and statistical calculation of data.
[0058] Step 3: Traverse the current structural part model to obtain all parts, and collect the cutting data for each part. That is, convert the part into a ModelDoc2 object and call CustomPropertyManager[""] to obtain basic property information, part bounding box information and cutting trajectory data information, and save all part data in the database one by one.
[0059] Furthermore, after extracting the part bounding box information, the data needs to be sorted, with the material thickness saved in LZ and the two other dimensions saved in LX and LY to facilitate calculation.
[0060] Furthermore, for example, when the feature name contains "flat type", it means that the part is a bent part. The "expand" feature is turned on through the SetSuppression2() method and then the part cutting trajectory data is calculated.
[0061] Furthermore, the steps of calculating the cutting trajectory of a single part are as follows:
[0062] Traverse the parts to get all Feature arrays fearr;
[0063] Traverse featArr to get all Face arrays faceArr, sort to get the largest face faceMax, and calculate the perimeter CMax of faceMax;
[0064] Traverse faceMax to get all Loop arrays loopArr;
[0065] Traverse and calculate the perimeter of all loops in loopArr to obtain the loop perimeter array CLArr, and record the number n of loops in faceMax;
[0066] Calculate the length of the material cutting track using the following formula:
[0067] C=LMax+(CLArr[0]+CLArr[1]+CLArr[2]+...+CLArr[n-1]);
[0068] Where LMax is the perimeter of the largest face, and [n] is the array subscript.
[0069] The above-mentioned process of automatically finding the length of the part cutting track is as follows: Figure 2 shown.
[0070] Step 4: Collect the weld length data of the current structural part. The steps are as follows:
[0071] Call the GetInterferences() method in the Interference Check Manager to obtain the structural component interference set vInts;
[0072] Loop through vInts to obtain the contact surface set vTrans and the related parts array vIntComps;
[0073] In vTrans, the face array vFaces that meets the weld conditions is logically determined according to the part naming rules;
[0074] Traverse and calculate the weld length of two adjacent parts in vIntComps, that is, the contact surface perimeter Cvface; assign the weld height according to the national standard or enterprise standard rules;
[0075] The basic information of the assembly, the two relevant part numbers of the weld, the weld length, the weld height, etc. are saved one by one in the database.
[0076] The above-mentioned process of automatically calculating the cumulative weld length of the structural parts is as follows: Figure 3 shown.
[0077] Furthermore, according to the naming rules of parts, if the contact surface between the cover plate and the rib plate cannot actually be welded, their weld length is 0; if the contact surface between the cover plate and the main rib or partition can only be welded on one side, their weld length is half of the contact surface; if the contact surface between the sleeve and the main rib can only be welded on 2 / 3 of the circumference, their weld length is 2 / 3 of the contact surface. All contact surfaces are analyzed and calculated, and the final addition is the weld length of the structural part.
[0078] Step 5: When it is necessary to calculate the production cycle of structural parts, the steps are as follows:
[0079] Calculate the usage of each type of steel plate, the calculation formula is:
[0080]
[0081] Where n is the number of steel plate types, 12000×2600 is the standard specification area of the steel plate, K is the discharge coefficient, which is generally 0.85, N is the number of parts in the structure, m is the batch production quantity of the structure, LX is the maximum length dimension of the part, and LY is the maximum width dimension of the part;
[0082] Calculate the time used for cutting various types of steel plates for parts. The calculation formula is:
[0083]
[0084] Where TP is the shot blasting leveling time for the steel plate, C is the blanking length of a single part, LP is the number of inner rings of the part, and TB is the equipment compensation value.
[0085] Step 6: When it is necessary to calculate the production cycle of structural welding, the steps are as follows:
[0086] Calculate the total number of welds n of the structural parts;
[0087] Calculate the number of weld passes (m) required for weld height according to national or enterprise standards;
[0088] Look up the table to calculate the welding speed V of the weld under different welding wire types and methods;
[0089] Calculate the welding time of structural parts, the calculation formula is:
[0090]
[0091] Where n is the total number of welds, TH is the welding time, TQ is the arc starting time, TM is the arc extinguishing time, m is the number of weld passes, L is the length of a single weld, and V is the welding speed.
[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for calculating the production cycle of blanking and welding of hydraulic support structural parts based on SolidWorks, characterized by: The statistical steps include the following: Step 1: Standardize and normalize the materials and names of the structural parts of the hydraulic support after the design is finalized to ensure the uniqueness of the parts, and collect the cutting and welding data of the product parts through the main statistical program; Step 2: Register the statistical main program data into the Solidworks main interface; Step 3: Collect cutting data for the current structural part model; Step 4: Collect welding data for the current structural part model; Step 5: Perform blanking data calculation on the structural parts according to the selected rules and calculate the blanking production cycle of the parts; Step 6: Calculate the structural parts welding data according to the selected rules and calculate the structural parts welding production cycle.
2. According to claim 1, a method for counting the production cycle of cutting and welding of hydraulic support structural parts based on SolidWorks, characterized in that: The specific method for data registration in step 2 is: Use the ISwAddin interface provided by Solidworks, use the SldWorks.CreateTaskpaneView2() method to create a TaskpaneView object, and use the TaskpaneView.AddControl() method to register the main statistical program to the taskbar in the Solidworks main interface.
3. According to claim 2, a method for counting the production cycle of cutting and welding of hydraulic support structural parts based on SolidWorks, characterized in that: The specific method for collecting the blanking data in step 3 is: Traverse the current structural part model to obtain all parts, and collect cutting data for each part. That is, convert the part into a ModelDoc2 object and call CustomPropertyManager[""] to obtain basic property information, part bounding box information and cutting trajectory data information, and save all part data in the database one by one.
4. According to claim 3, a method for counting the production cycle of cutting and welding of hydraulic support structural parts based on SolidWorks, characterized in that: The specific method for obtaining the single part blanking trajectory data in step 3 is: Step 3.1: Traverse the parts to get all Feature arrays featArr; Step 3.2: Traverse featArr to obtain the Face array faceArr, sort to obtain the largest face faceMax, and calculate its perimeter CMax; Step 3.3: Traverse faceMax to get all Loop arrays loopArr; Step 3.4: Traverse and calculate the perimeter of all loops in loopArr to obtain the loop perimeter array CLArr, and record the number of loops n; Step 3.5: Calculate the length of the cutting track. The calculation formula is: C=LMax+(CLArr[0]+CLArr[1]+CLArr[2]+...+CLArr[n-1]); Where LMax is the perimeter of the largest face, and [n] is the array subscript.
5. According to claim 4, a method for counting the production cycle of cutting and welding of hydraulic support structural parts based on SolidWorks, characterized in that: The specific method for collecting welding data in step 4 is: Step 4.1: Call the GetInterferences() method in the Interference Check Manager to obtain the structural component interference set vInts; Step 4.2: Loop through vInts to obtain the contact surface set vTrans and the related component array vIntComps; Step 4.3: In vTrans, logically determine the face array vFaces that meets the weld conditions according to the part naming rules; Step 4.4: traverse and calculate the weld length of two adjacent parts in vIntComps, that is, the contact surface perimeter Cvface; assign the weld height according to the national standard or enterprise standard rules; Step 4.5: Save the basic information of the assembly, the two relevant part numbers of the weld, the weld length, the weld height, etc. into the database one by one.
6. The method for counting the production cycle of blanking and welding of hydraulic support structural parts based on SolidWorks according to claim 5 is characterized in that: The specific method for counting the production cycle of parts blanking in step 5 is: Step 5.1: Calculate the usage of each type of steel plate. The calculation formula is: Where n is the number of steel plate types, 12000×2600 is the standard specification area of the steel plate, K is the discharge coefficient, which is generally 0.85, N is the number of parts in the structure, m is the batch production quantity of the structure, LX is the maximum length dimension of the part, and LY is the maximum width dimension of the part; Step 5.2: Calculate the time used to cut each type of steel plate of the part. The calculation formula is: Where TP is the shot blasting leveling time for the steel plate, C is the blanking length of a single part, LP is the number of inner rings of the part, and TB is the equipment compensation value.
7. The method for counting the production cycle of blanking and welding of hydraulic support structural parts based on SolidWorks according to claim 6 is characterized in that: The specific method for counting the production cycle of structural parts welding in step 6 is: Step 6.1: Calculate the total number of welds n of the structural parts; Step 6.2: Calculate the number of weld passes (m) required for the weld height according to national or enterprise standards; Step 6.3: Look up the table to calculate the welding speed V of the weld under different welding wire types and methods; Step 6.4: Calculate the welding time of the structural parts using the following formula: Where n is the total number of welds, TH is the welding time, TQ is the arc starting time, TM is the arc extinguishing time, m is the number of weld passes, L is the length of a single weld, and V is the welding speed.