Valve trim adjustment method, device, and electronic device
By scanning and simulating the assembly of the valve disc, and combining performance indicators to determine adjustment information, the problems of low efficiency and insufficient accuracy of traditional valve disc adjustment are solved, and efficient and precise valve disc adjustment is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-15
- Publication Date
- 2026-03-24
AI Technical Summary
Traditional methods for measuring and adjusting valve disc shape and position are inefficient and lack accuracy, failing to meet the demands of modern industry for both high efficiency and accuracy.
Point cloud data is obtained by scanning the valve disc to be repaired, and then simulated and assembled with the valve seat to obtain simulated assembly information. Combined with performance indicators, repair information, including the processing path, is determined.
It improves the efficiency and accuracy of valve disc adjustment, meeting the demands of modern industry for high efficiency, automation, and precision manufacturing.
Smart Images

Figure CN120951491B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of valve disc adjustment technology, and particularly relates to valve disc adjustment methods, devices, electronic equipment, computer-readable storage media and computer program products. Background Technology
[0002] Valves, as key components of fluid control systems, are widely used in industries such as industry, energy, and chemical engineering. The valve disc (or valve core), as one of the core components of a valve, directly affects its sealing performance and operational efficiency through its external shape and installation precision.
[0003] Traditional methods for measuring and adjusting valve disc shape and position rely heavily on manual operation and experience, which has several limitations: First, manual measurement and adjustment struggle to achieve high precision, demanding a high level of skill and experience from the operator. Second, for the large-scale production demands of modern industry, traditional methods are inefficient and time-consuming. Finally, with advancements in manufacturing technology, the need for complex valve disc shapes and precise adjustments is increasing, often requiring multiple iterations for shape and position adjustment, making the process cumbersome. In summary, traditional methods have demonstrated significant limitations in terms of precision control, efficiency improvement, and data management, failing to meet the demands of modern industry for both efficiency and accuracy.
[0004] Therefore, a new method is needed to solve the above-mentioned technical problems. Summary of the Invention
[0005] This application provides a valve disc adjustment method, apparatus, and electronic device, which can solve the problem of low efficiency and accuracy in existing methods when adjusting valve discs.
[0006] In a first aspect, embodiments of this application provide a valve disc adjustment method, including:
[0007] The shape and position of the valve disc to be repaired are scanned to obtain point cloud data of the shape and position of the valve disc to be repaired.
[0008] The point cloud data of the shape and position of the valve disc to be repaired is simulated to obtain a simulated graphic of the shape and position of the valve disc to be repaired.
[0009] The simulated shape and position of the valve disc to be repaired are simulated and assembled with the simulated shape and position of the valve seat to obtain the simulated assembly information of the shape and position of the valve disc to be repaired. The simulated assembly information reflects the machining amount of the valve disc to be repaired.
[0010] The performance indicators include at least one of the following: target surface roughness value, maximum processing time, and upper limit of material removal rate;
[0011] Based on the simulated assembly information and the performance indicators, the adjustment information of the valve disc to be adjusted is determined, and the adjustment information includes the processing path of the adjustment tool to adjust the valve disc to be adjusted.
[0012] The beneficial effects of the embodiments in this application compared with the prior art are:
[0013] Because the point cloud data of the shape and position of the valve disc to be repaired is obtained by scanning it, and the simulated assembly information (which reflects the processing amount of the valve disc) is obtained by simulating the assembly of the simulated shape and position of the valve disc with the simulated valve seat, neither manual measurement nor reliance on human experience is required to obtain the shape and position information nor the processing amount of the valve disc. Therefore, the efficiency and accuracy of obtaining relevant information (such as processing amount) are improved. Furthermore, since the surface roughness target value, maximum processing time, and upper limit of material removal rate included in the performance indicators all reflect user needs, the repair information of the valve disc to be repaired is determined based on the simulated assembly information and performance indicators. This ensures that the obtained repair information reflects not only the processing amount but also user needs, thereby improving the accuracy of the determined repair information. Furthermore, since the simulated assembly information of the valve disc to be repaired includes the processing path of the repair tool for repairing the valve disc, it is beneficial for the subsequent repair tool to automatically repair the valve disc, thereby meeting the needs of modern industry for efficient, automated and precision manufacturing.
[0014] Secondly, embodiments of this application provide a valve disc adjustment device, comprising:
[0015] The valve disc scanning module is used to scan the shape and position of the valve disc to be repaired in order to obtain point cloud data of the shape and position of the valve disc to be repaired.
[0016] The valve disc simulation module is used to simulate the point cloud data of the shape and position of the valve disc to be repaired and adjusted, and to obtain the simulation graphics of the shape and position of the valve disc to be repaired and adjusted.
[0017] The valve disc simulation assembly module is used to simulate the assembly of the simulated shape and position of the valve disc to be repaired and the simulated shape and position of the valve seat to obtain the simulated assembly information of the valve disc to be repaired. The simulated assembly information reflects the machining amount of the valve disc to be repaired.
[0018] The performance index acquisition module is used to acquire performance indicators, which include at least one of the following: surface roughness target value, maximum processing time, and upper limit of material removal rate;
[0019] The adjustment information determination module is used to determine the adjustment information of the valve disc to be adjusted based on the simulated assembly information and the performance index. The adjustment information includes the processing path of the adjustment tool to adjust the valve disc to be adjusted.
[0020] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect.
[0021] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect.
[0022] Fifthly, embodiments of this application provide a computer program product that, when run on an electronic device, causes the electronic device to execute the method described in the first aspect above.
[0023] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0025] Figure 1 This is a schematic flowchart of a valve disc adjustment method provided in an embodiment of this application;
[0026] Figure 2 This is a schematic diagram illustrating the color-coded processing quantity of the valve disc according to an embodiment of this application;
[0027] Figure 3 This is a schematic diagram of the structure of a valve disc adjustment device provided in one embodiment of this application;
[0028] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0029] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0030] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0031] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0032] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized.
[0033] Valves are important control components in fluid control systems, and they primarily control the flow of fluids (liquids or gases) through valve discs (or valve cores). For example, when the valve disc and valve seat have a good seal, the valve can completely cut off the fluid flow when closed, preventing fluid leakage.
[0034] Currently, the valve disc's shape and position are mainly measured and adjusted manually to ensure proper fit between the valve disc and valve seat, thereby improving their sealing performance. However, since manual operation relies heavily on individual experience, this method of adjusting the valve disc manually is inefficient and lacks accuracy, failing to meet the demands of modern high-efficiency and precision manufacturing.
[0035] To improve the efficiency and accuracy of valve disc adjustment, this application provides a valve disc adjustment method.
[0036] In this valve disc repair method, point cloud data of the valve disc to be repaired is acquired, and then the valve disc is simulated and assembled with the valve seat based on the point cloud data to obtain simulated assembly information. Finally, the repair information of the valve disc to be repaired is determined based on the simulated assembly information and the acquired performance indicators.
[0037] The valve disc adjustment method provided in the embodiments of this application is described below with reference to the accompanying drawings.
[0038] Figure 1A schematic flowchart of a valve disc adjustment method according to an embodiment of this application is shown. This valve disc adjustment method can be applied to electronic devices, and is described in detail below:
[0039] S11, scan the shape and position of the valve disc to be repaired to obtain point cloud data of the shape and position of the valve disc to be repaired.
[0040] Among them, the valve disc to be repaired is the valve disc whose shape and / or position may need to be adjusted. For example, valve discs that do not fit the valve seat well due to various reasons during manufacturing, use or maintenance and need to be repaired to restore or improve sealing performance can all be regarded as valve discs to be repaired.
[0041] The form and position of the valve disc to be repaired includes the shape and position of the valve disc to be repaired, and the position includes the specific installation position and relative positional relationship of the valve disc in the valve.
[0042] In this embodiment, the valve disc to be repaired can be scanned using any of the following devices: lidar, structured light scanner, imaging device (such as a camera), 3D laser scanner, ultrasonic sensor, etc., to obtain point cloud data of the shape and position of the valve disc to be repaired.
[0043] Optionally, after acquiring the point cloud data of the shape and position of the valve disc to be repaired, the electronic device performs anomaly analysis on the point cloud data. If it is determined that some point cloud data is abnormal, it prompts the user to rescan the part of the point cloud data or prompts the user to manually measure the part of the point cloud data to improve the accuracy of the acquired point cloud data.
[0044] S12, perform simulation processing on the point cloud data of the shape and position of the valve disc to be repaired to obtain the simulation graphic of the shape and position of the valve disc to be repaired.
[0045] Specifically, the point cloud data of the shape and position of the valve disc to be adjusted can be preprocessed before simulation processing is performed on the preprocessed point cloud data to improve the quality of the point cloud data for simulation processing. The preprocessing here includes at least one of the following: (1) denoising; this denoising can use statistical filtering, voxel filtering, or other methods to remove noise points from the point cloud data. (2) Filtering; this filtering is used to smooth the point cloud data and reduce surface irregularities. (3) Downsampling; this downsampling is used to reduce the density of the point cloud data and improve processing efficiency. (4) Outlier removal; this outlier removal is used to identify and remove outliers that differ significantly from surrounding points.
[0046] In this embodiment of the application, when using preprocessed point cloud data (or unprocessed point cloud data) for simulation processing, a corresponding three-dimensional model can be reconstructed based on the point cloud data first, then the reconstructed three-dimensional model can be subjected to simulation analysis, and finally the simulation results can be displayed graphically. The simulation analysis may include analyzing pressure distribution, flow velocity distribution, etc., and may also simulate the stress distribution and deformation of the valve disc under different loads, etc.
[0047] S13, simulate the assembly of the shape and position of the valve disc to be repaired with the simulated shape and position of the valve seat to obtain the simulated assembly information of the shape and position of the valve disc to be repaired. The simulated assembly information reflects the machining amount of the valve disc to be repaired.
[0048] The aforementioned simulation graphic of the valve seat is a simulation graphic of the valve seat paired with the valve disc to be repaired. This simulation graphic can be generated before generating the simulation graphic of the shape and position of the valve disc to be repaired, or it can be generated after generating the simulation graphic of the shape and position of the valve disc to be repaired. For example, after generating the simulation graphic of the shape and position of the valve disc to be repaired, the point cloud data of the valve seat is obtained, and then the point cloud data of the valve seat is simulated to obtain the simulation graphic of the valve seat.
[0049] In this embodiment, the simulated shape and position graphics of the valve disc to be repaired are simulated and assembled (or virtually assembled) with the simulated shape and position graphics of the valve seat. During the simulated assembly process, the virtual center plane is usually used as the assembly reference, and the sealing condition of the valve disc to be repaired and the valve seat sealing surface is automatically detected. The contact condition of the relevant sealing surfaces can be displayed on the interface. Further, the sealing effect can be displayed by color. For example, a first color is used to indicate the presence of a gap, and a second color is used to indicate the presence of interference. The first and second colors are different colors. When the sealing effect meets the requirements, it indicates that the valve disc to be repaired does not need to be adjusted. Conversely, when the sealing effect does not meet the requirements, such as when the first color or the second color exists, the contact domain deviation point cloud dataset corresponding to the valve disc to be repaired and the valve seat is intelligently analyzed based on the results of the simulated assembly. This contact domain deviation point cloud dataset reflects the deviation information between the valve disc to be repaired and the valve seat after assembly, that is, it reflects the position information of the valve disc to be repaired that needs to be processed and the corresponding processing amount. The simulated assembly information of the shape and position of the valve disc to be repaired is extracted based on the point cloud data in the contact domain deviation point cloud dataset. The simulated assembly information includes the location information (which can be represented by three-dimensional coordinates) of the area where the valve disc and valve seat have a problem fitting (i.e., the area that needs to be machined), as well as the machining amount corresponding to the area with the problem fitting. The machining amount is usually expressed as the thickness that needs to be ground. For example, if the thickness that needs to be ground in area 1 is 0.1 mm, then the machining amount for area 1 is 0.1 mm.
[0050] S14, Obtain performance indicators, which include at least one of the following: target surface roughness value, maximum processing time, and upper limit of material removal rate.
[0051] Among them, the aforementioned performance indicators reflect the user's needs and can be obtained from the electronic device itself. For example, if the electronic device provides a performance indicator input interface, the user can input the performance indicators through the interface, and the electronic device can obtain the performance indicators input by the user. Of course, the aforementioned performance indicators can also be obtained by the electronic device from the device it interacts with, which is not limited here.
[0052] In this embodiment of the application, since the performance indicators of different valve discs to be repaired may be different, the performance indicator can also be regarded as a dynamic performance indicator.
[0053] In performance indicators:
[0054] (1) The target value of surface roughness refers to the numerical value corresponding to the surface roughness. The surface roughness refers to the unevenness of the machined surface with small spacing and tiny peaks and valleys. The surface roughness is one of the important indicators for measuring the quality of the machined surface. The surface roughness reflects the micro-geometric shape error of the machined surface. The smaller the surface roughness, the smoother the surface; conversely, the larger the surface roughness, the rougher the surface.
[0055] (2) Maximum processing time refers to the longest time that the user can accept to complete the adjustment of the valve disc to be adjusted.
[0056] (3) Upper limit of material removal rate. Material removal rate (MRR) refers to the volume of material removed from a workpiece (such as a valve disc to be repaired) per unit time. The upper limit of material removal rate refers to the maximum allowable material removal rate during processing. MRR is an important parameter for measuring the rate at which material is removed during processing and is usually used to evaluate processing efficiency.
[0057] S15. Based on the simulated assembly information and the performance index, determine the adjustment information of the valve disc to be adjusted. The adjustment information includes the processing path of the adjustment tool for adjusting the valve disc to be adjusted.
[0058] Specifically, based on the areas to be processed and the corresponding processing quantities contained in the simulated assembly information, and based on the user needs reflected in the performance indicators, the method for adjusting the valve disc to be adjusted is determined. This involves determining the adjustment information for the valve disc to be adjusted, so that the adjusted valve disc both meets user requirements and matches the valve seat. When the electronic device communicates directly with the CNC machine tool, it can directly send the adjustment information to the machine tool, which then controls the adjustment tool to adjust the valve disc based on the received information. When the electronic device does not communicate directly with the CNC machine tool, it can indirectly send the adjustment information to the machine tool through other devices.
[0059] In this embodiment, point cloud data of the shape and position of the valve disc to be repaired is obtained by scanning it, and simulated assembly information (reflecting the processing amount of the valve disc) is obtained by simulating the assembly of the simulated shape and position of the valve disc with the simulated valve seat. This means that neither manual measurement nor reliance on human experience is required to obtain either the shape and position information or the processing amount of the valve disc, thus improving the efficiency and accuracy of obtaining relevant information (such as processing amount). Furthermore, since the surface roughness target value, maximum processing time, and upper limit of material removal rate included in the performance indicators all reflect user needs, determining the repair information of the valve disc based on the simulated assembly information and performance indicators ensures that the obtained repair information reflects both the processing amount and user needs, thereby improving the accuracy of the determined repair information. Furthermore, since the simulated assembly information of the valve disc to be repaired includes the processing path of the repair tool for repairing the valve disc, it is beneficial for the subsequent repair tool to automatically repair the valve disc, thereby meeting the needs of modern industry for efficient, automated and precision manufacturing.
[0060] In some embodiments, the simulated assembly information of the shape and position of the valve disc to be repaired includes: the machining amount of the area where the valve disc to be repaired has a problem fitting with the valve seat, wherein the machining amount is different for different areas with different problems fitting. In S13, after simulating the assembly of the simulated shape and position of the valve disc to be repaired with the simulated shape and position of the valve seat to obtain the simulated assembly information of the shape and position of the valve disc to be repaired, the following is also included:
[0061] A1. Displays a simulation graphic showing the shape and position of the valve disc to be repaired.
[0062] A2. On the simulation graphic of the shape and position of the valve disc to be repaired, determine the color corresponding to the area with the problem of fit based on the preset color mapping relationship and the processing amount of the area with the problem of fit. The color mapping relationship is used to represent the correspondence between the processing amount and the color.
[0063] Specifically, a color mapping relationship is pre-defined, corresponding to different processing quantities. For example, one color might correspond to one processing quantity, or one color might correspond to a range of processing quantities. Figure 2 As shown, in Figure 2 In this context, different grayscale values are used to represent the processing quantity (or quantity to be processed) corresponding to different areas.
[0064] Optionally, the electronic device provides a setting page for the correspondence between processing amount and color, where users can configure the relationship. For example, it can be set that when the processing amount is less than 0.1mm, the area is displayed in green; when the processing amount is between 0.1-0.3mm, the area is displayed in yellow; and when the processing amount exceeds 0.3mm, the area is displayed in red. Of course, in practice, other colors can be used instead, as long as the colors of each area are different.
[0065] In this embodiment, when the electronic device determines that the valve disc to be repaired is one whose sealing condition does not meet the requirements, it can display a simulation graphic corresponding to the valve disc to be repaired on the interface of the electronic device. The electronic device then determines the area on the simulation graphic where the valve disc to be repaired has a problem fitting with the valve seat, based on the positional information in the simulated assembly information of the valve disc's shape and position. Finally, based on the machining quantity in the simulated assembly information and a preset color mapping relationship, it determines the color corresponding to the area with the problem fitting. Since the human eye is more sensitive to color than specific numbers, using color to distinguish the machining quantity helps users to more intuitively understand the differences in machining quantity in different areas.
[0066] Of course, in practice, the processing volume of areas with problems can also be represented by specific values or by other symbols, which is not limited here.
[0067] In some embodiments, to make the color transition between two adjacent misaligned regions smoother, a corresponding transition color is set between the two regions. That is, when the number of misaligned regions is greater than one, the valve adjustment method further includes:
[0068] B1. Determine the transition color based on the colors corresponding to the two adjacent areas with mismatched features.
[0069] B2. Display this transition color between two adjacent areas where there is a mismatch.
[0070] Transitional colors (also known as intermediate colors or gradient colors) refer to color areas formed by the natural fusion and smooth transition between two or more colors.
[0071] Specifically, suppose the colors corresponding to two adjacent problematic regions are C1 and C2, respectively, and their RGB values are represented as (R1, G1, B1) and (R2, G2, B2). For any scale t (where 0 ≤ t ≤ 1), the RGB values (Rt, Gt, Bt) of the transition color Ct can be calculated using the following formula:
[0072] Rt=R1+t×(R2-R1); Gt=G1+t×(G2-G1); Bt=B1+t×(B2-B1).
[0073] In this embodiment of the application, different values of t are selected to obtain the corresponding number of transition colors Ct.
[0074] Optionally, the difference between any two adjacent t values is chosen to make the resulting transition colors more uniform. For example, assuming the difference is 0.1 and t1=0, then t2=0.1 and t3=0.2. Alternatively, assuming the difference is 0.2 and t1=0, then t2=0.2 and t3=0.4.
[0075] In this embodiment, since a transition color is determined based on the colors corresponding to two adjacent areas with mismatched features, and this transition color is displayed in the area between the two adjacent areas with mismatched features (let's call it the intermediate area), the transition from the color of one of the two adjacent areas with mismatched features to the color of the other area is more natural. Of course, if there is no intermediate area, there is no need to generate a transition color based on the colors corresponding to the two adjacent areas with mismatched features.
[0076] It should be noted that since the processing amount corresponds to the color, assigning a corresponding transition color to the area between two adjacent areas with misalignment is equivalent to assigning a corresponding processing amount to that area as well. That is, when adjusting the valve disc to be modified later, the area between the two adjacent areas with misalignment is also adjusted according to the assigned processing amount, resulting in a smoother transition after the valve disc is modified.
[0077] In some embodiments, considering that when the color difference between two adjacent problematic regions is large, the more transition colors are inserted, the more uniform the color change between the two adjacent problematic regions becomes. Therefore, the corresponding transition color can be determined based on the degree of color difference between the two adjacent problematic regions. In this case, B1 determines the transition color based on the colors corresponding to the two adjacent problematic regions, including:
[0078] B11. Determine the degree of color difference based on the colors corresponding to two adjacent areas with mismatched features.
[0079] The degree of color difference is determined based on the pixel values of the colors in the two adjacent areas with mismatched colors. For example, if the pixel value is in RGB format, the difference between the largest component of the two pixel values can be used as the degree of color difference between the two pixel values. If the difference between the largest component is the difference between the G components, then the difference between the G components of the two pixel values can be used as the degree of color difference between the two pixel values. Alternatively, if the pixel value is in RGB format, the sum of the differences between each component of the two pixel values can also be used as the degree of color difference between the two pixel values.
[0080] B12. If the degree of color difference is not greater than the preset degree of difference threshold, the first transition color generation strategy is used to generate the transition color.
[0081] B13. When the degree of color difference is greater than the preset degree of difference threshold, the second transition color generation strategy is used to generate the transition color, wherein the number of transition colors generated by the second transition color generation strategy is greater than the number of transition colors generated by the first transition color generation strategy.
[0082] Specifically, the calculated color difference is compared with a preset difference threshold. If the color difference is large, more transition colors are generated; otherwise, relatively fewer transition colors are generated. For example, suppose the RGB values (Rt, Gt, Bt) of the transition color Ct are calculated using the following formula:
[0083] Rt=R1+t×(R2-R1); Gt=G1+t×(G2-G1); Bt=B1+t×(B2-B1);
[0084] Since the number of transition colors generated varies depending on the quantity of t, the difference between the first and second transition color generation strategies can be achieved by setting different differences between two adjacent t values. Specifically, in the second transition color generation strategy, the difference between two adjacent t values is smaller than that set in the first transition color generation strategy. For example, suppose the difference between two adjacent t values is 0.2 in the first transition color generation strategy, while it is 0.1 in the second transition color generation strategy. Assuming 0 ≤ t ≤ 1, for the first transition color generation strategy, the specific values of t can be 0, 0.2, 0.4, 0.6, 0.8, and 1. Based on these six t values, six different transition colors can be calculated. For the second transition color generation strategy, the specific values of t can be 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, and 1. Based on these eleven t values, eleven different transition colors can be calculated. Since a greater number of transition colors corresponds to a greater variety of colors, selecting the appropriate transition color generation strategy based on the degree of color difference between adjacent problematic regions helps improve the accuracy of the final generated transition colors, that is, improves the uniformity of color change between adjacent problematic regions.
[0085] In some embodiments, considering that it is simpler to display the same number of transition colors in a larger area compared to a smaller area, a corresponding transition color generation strategy can be selected based on the size of the intermediate area between two adjacent areas with mismatched features. In this case, B1 determines the transition color based on the colors corresponding to the two adjacent areas with mismatched features, including:
[0086] B11' Determine the size of the intermediate region between two adjacent regions with mismatched conditions.
[0087] The size of the aforementioned region can be expressed using either its surface area or its volume; no specific limitation is made here.
[0088] In this embodiment of the application, when the surface area is used to represent the size of the region, the region can be divided into multiple regular regions first, and then the area of each regular region can be calculated. The sum of these areas is the surface area of the region.
[0089] B12' When the size of the intermediate region is less than the preset region size threshold, a third transition color generation strategy is used to generate a transition color.
[0090] The preset region size threshold is in the same unit as the size of the intermediate region. For example, when the size of the intermediate region is expressed as surface area, the preset region size threshold is in the unit corresponding to that surface area; when the size of the intermediate region is expressed as volume, the preset region size threshold is in the unit corresponding to that volume.
[0091] B13' If the size of the intermediate region is not less than the preset region size threshold, the fourth transition color generation strategy is used to generate the transition color, wherein the number of transition colors generated by the fourth transition color generation strategy is greater than the number of transition colors generated by the third transition color generation strategy.
[0092] Specifically, when the intermediate area is determined to be small (e.g., less than a preset area size threshold), a smaller number of transition colors are generated; conversely, a larger number of transition colors are generated. Since a smaller intermediate area results in fewer transition colors that can be displayed, selecting the appropriate transition color generation strategy based on the size of the intermediate area helps to better match the number of generated transition colors with the size of that area. The number of transition colors can be calculated by setting a value of 't' and then substituting that value into the aforementioned transition color calculation formula; this will not be elaborated further here.
[0093] Optionally, the first transition color generation strategy, the second transition color generation strategy, the third transition color generation strategy, and the fourth transition color generation strategy can be different strategies.
[0094] Optionally, when the color difference between two adjacent problematic areas is large and the size of the middle area is small, the corresponding transition color generation strategy can be selected based on the size of the middle area, such as selecting the third transition color generation strategy.
[0095] In some embodiments, considering that using coolant helps reduce friction between the adjustment tool and the valve disc to be adjusted, thus improving the quality of the adjusted valve disc, and that the sharpness of the adjustment tool also affects the quality of the adjusted valve disc, the adjustment information of the valve disc to be adjusted can be determined by combining the service life of the coolant and / or the adjustment tool. In this case, S15, based on the simulated assembly information and the performance index, determines the adjustment information of the valve disc to be adjusted, including:
[0096] Based on the simulated assembly information, the performance index, the remaining service life of the coolant and / or the adjustment tools of the CNC machine tool, the adjustment information of the valve disc to be adjusted is determined.
[0097] Coolant, a liquid used in machining processes, is typically composed of water, oil, and additives. It is applied to the cutting area through spraying or immersion. During cutting, the coolant removes heat generated, lowering the temperature of the cutting zone and reducing thermal deformation of the tooling (such as cutting tools) and workpiece (such as a valve disc to be adjusted). Simultaneously, the coolant forms a lubricating film between the tooling and workpiece, reducing friction, lowering cutting forces, extending tool life, and improving the surface finish. Furthermore, this lubricating film also acts as a protective film, preventing corrosion and extending the service life of both the workpiece and the machine tool.
[0098] The service life of a CNC machine tool's dressing tool (such as a cutting tool) usually refers to the total working time of the dressing tool between two dressing operations. The remaining service life of the dressing tool can be calculated in the following ways: (1) estimated based on the wear rate of the dressing tool. Assuming the cutting force F Wear rate of adjustment tools The model is:
[0099] ;
[0100] In the above formula: F For cutting force, V This refers to the amount of wear. T is the processing time; k, m, n are experimental calibration parameters.
[0101] The remaining service life of a tool can be determined by the relationship between its wear rate and its remaining service life. (2) Subtract the time the tool has been used between two sharpenings from its service life; the remaining time is the remaining service life of the tool. For example, when the tool is a cutting tool, its service life refers to the sum of the pure cutting time between two sharpenings, and its remaining service life is the difference between this sum and the time the tool has been used. The longer the remaining service life of a tool, the sharper it is.
[0102] In this embodiment, the adjustment information of the valve disc to be adjusted can be determined based on simulated assembly information, performance indicators, and coolant. Optionally, since different types of coolant typically achieve different functions, the adjustment information of the valve disc to be adjusted can be determined in conjunction with the type of coolant to improve the accuracy of the determined adjustment information.
[0103] In this embodiment, the adjustment information of the valve disc to be adjusted can also be determined based on simulated assembly information, performance indicators, and the remaining service life of the CNC machine tool's adjustment tools. Optionally, considering that the service life of different adjustment tools may vary, when determining the adjustment information, the ratio of the remaining service life of the adjustment tool to the service life of the adjustment tool can be calculated first, and then the adjustment information of the valve disc to be adjusted can be determined based on this ratio, simulated assembly information, and performance indicators. Since this ratio can more accurately reflect the time when the tool to be adjusted needs to be adjusted again, the above method helps to improve the accuracy of the determined adjustment information.
[0104] In this embodiment, the adjustment information of the valve disc to be adjusted can also be determined based on the simulated assembly information, performance indicators, coolant, and the remaining service life of the adjustment tool of the CNC machine tool. Specifically, the adjustment information of the valve disc to be adjusted can be determined by combining the type of coolant and the ratio of the remaining service life of the adjustment tool to the service life of the adjustment tool.
[0105] In some embodiments, determining the adjustment information of the valve disc to be adjusted based on the simulated assembly information, the performance index, the coolant and / or the remaining service life of the CNC machine tool's adjustment tools includes:
[0106] C1. Generate a machining path file based on the simulated assembly information, the performance index, the coolant and / or the remaining service life of the CNC machine tool's adjustment tools.
[0107] This machining path file includes all the instructions and parameters required by the CNC machine tool during the machining process. This machining path file is typically generated by Computer-Aided Manufacturing (CAM) software.
[0108] In this embodiment, a model capable of outputting machining path files can be pre-trained. Once the simulated assembly information, performance indicators, and coolant are determined, these are used as inputs to the trained model to obtain the machining path file output by the trained model. Alternatively, once the simulated assembly information, performance indicators, coolant, and the remaining service life of the CNC machine tool's adjustment tools are determined, these are used as inputs to the trained model to obtain the machining path file output by the trained model.
[0109] Optionally, the machining path file may include the name and version number of the valve disc to be adjusted, and may also include the definition of the adjustment tool. For example, when the adjustment tool is a cutting tool, the positioning of the adjustment tool may include the tool number, tool parameters (such as the diameter, length, and radius compensation value of the tool), and tool path (i.e., the movement path of the tool during the machining process).
[0110] Optionally, the machining path file may also include machining parameters, cutting speed, spindle speed, feed rate, depth of cut, and width of cut.
[0111] Optionally, the machining path file may also include the machining path, such as the starting position of the tool (i.e., the starting point), path points (all the points the tool passes through during the machining process, usually represented in coordinate form), and so on.
[0112] In addition, the processing path file may also include operating instructions and safety tips. The operating instructions are detailed descriptions of certain operations in the program to facilitate understanding and maintenance.
[0113] Optionally, the processing path file can be output after it is generated.
[0114] Optionally, C1 generates a machining path file based on the simulated assembly information, the performance index, the remaining service life of the coolant and / or the adjustment tools of the CNC machine tool, including:
[0115] C11. Obtain the model of the adjustment tool.
[0116] The model of the adjustment tool includes one or more pieces of information such as the tool's geometry, dimensional parameters, material properties, and cutting performance.
[0117] Specifically, when a CNC machine tool includes multiple adjustment tools, models of each of those adjustment tools will be acquired separately.
[0118] C12. Based on the model of the adjustment tool and the simulated assembly information, generate candidate adjustment paths.
[0119] Here, the candidate adjustment path is equivalent to a candidate processing path. In order to distinguish it from subsequent processing paths, it is referred to as the candidate adjustment path.
[0120] Specifically, for each type of adjustment tool model, a candidate adjustment path can be generated based on the model of the adjustment tool and the simulated assembly information. That is, in this embodiment, the number of generated candidate adjustment paths can be equal to the number of adjustment tool models.
[0121] In this embodiment of the application, considering that different model adjustment tools will affect the shape, length and processing path of the adjustment path, etc., the corresponding candidate adjustment path can be generated first according to the model of the adjustment tool and the simulation assembly information for further screening.
[0122] C13. Based on the performance index, the remaining service life of the coolant and / or the adjustment tools of the CNC machine tool, determine the machining path from the candidate adjustment path, and generate a machining path file based on the machining path.
[0123] Specifically, based on the remaining service life of the coolant and / or the trimming tool, each candidate trimming path is fine-tuned, and then the candidate trimming path that meets the performance indicators is selected as the machining path. For example, when coolant is present, considering that coolant helps reduce the probability of deformation of the valve disc to be trimmed during the trimming process, the areas in the candidate trimming path that might deform due to the absence of coolant can be adjusted. For example, when determining the machining path in conjunction with the remaining service life of the trimming tool, considering that a longer remaining service life of the trimming tool generally indicates a sharper tool, and a sharper tool produces a smoother cutting surface and better cutting effect, conversely, a duller tool produces a less smooth cutting surface and poorer surface quality, the feed rate and cutting speed at different points in the machining path can be adjusted according to the remaining service life of the trimming tool.
[0124] C2. Determine the CNC code of the CNC machine tool based on the machining path file. Both the machining path file and the CNC code belong to the adjustment information. The CNC code is used to describe all the actions that the CNC machine tool needs to perform when machining the valve disc to be adjusted.
[0125] In this embodiment, CNC code that the CNC machine tool can recognize is generated based on all the instructions and parameters required by the CNC machine tool during the machining process, as included in the machining path file. Specifically, CAM can automatically generate the corresponding CNC code based on the machining path file.
[0126] Optionally, C2 determines the CNC code of the CNC machine tool based on the machining path file, including:
[0127] C21. Obtain the position information of the adjustment tools of the CNC machine tool.
[0128] Specifically, the position information of the adjustment tool can be detected by a sensor, and then the electronic device can acquire the position information detected by the sensor.
[0129] Optionally, when the relative position of the adjustment tool and the motion platform of the CNC machine tool is fixed, the position information of the adjustment tool can also be determined by obtaining the position information of the motion platform and the relative position of the motion platform and the adjustment tool.
[0130] Optionally, the location information of the adjustment tool is the latest location information of the adjustment tool. For example, when a change in the location information of the adjustment tool is detected, the changed location information of the adjustment tool is stored. By setting it in this way, the accuracy of the location information of the adjustment tool subsequently obtained from the storage can be improved.
[0131] C22. Based on the machining path file and the location information of the adjustment tool, determine the CNC code of the CNC machine tool.
[0132] Specifically, considering that the valve disc to be adjusted is adjusted using an adjustment tool, and that the position of the adjustment tool may shift after operation, if the CNC code is generated according to the original position information of the adjustment tool, the generated CNC code may be inaccurate, thus making the adjustment effect unable to meet the user's needs. Therefore, before generating the CNC code, the position information of the adjustment tool is obtained, and the CNC code is generated according to the machining path file and the position information of the adjustment tool, which helps to improve the accuracy of the generated CNC code.
[0133] In this embodiment, after generating a machining path file based on simulated assembly information, performance indicators, coolant, and / or the remaining service life of the CNC machine tool's adjustment tools, CNC code for the CNC machine tool is generated from this machining path file. This CNC code describes all the actions that the CNC machine tool needs to perform when machining the valve disc to be adjusted. Therefore, when the CNC machine tool obtains this CNC code, it can automatically adjust the valve disc to be adjusted according to the CNC code, thereby achieving automated adjustment of the valve disc to be adjusted. Furthermore, the generated machining path file is easier for users to review compared to the CNC code.
[0134] In some embodiments, after C1 generates the machining path file based on the simulated assembly information, the performance index, the coolant, and / or the remaining service life of the CNC machine tool's adjustment tools, the method further includes:
[0135] The valve disc to be repaired is simulated and adjusted according to the processing path file.
[0136] The aforementioned simulation adjustment refers to the visual simulation adjustment of the valve disc to be adjusted according to the processing path file.
[0137] Specifically, the electronic device can display the parameter page involved in the adjustment according to the machining path file. The parameter page displays parameters such as cutting speed, feed rate, and machining amount of the valve disc to be adjusted.
[0138] Optionally, the parameters on the above parameter page can be adjusted, and the adjusted parameters can be saved. The corresponding parameters in the processing path file can then be adjusted based on the adjusted parameters.
[0139] In this embodiment, after generating the machining path file, the valve disc to be modified is first simulated and modified according to the machining path file. Therefore, the user can judge whether the modification effect meets the requirements based on the simulation modification result. If the requirements are not met, the electronic device will modify the parameters corresponding to the machining path file according to the parameters modified by the user, thereby ensuring the accuracy of the final machining path file. In addition, since the simulation modification does not directly perform actual grinding on the valve disc to be modified, it can avoid the wear caused by performing actual grinding on the valve disc to be modified when the machining path file does not meet the requirements.
[0140] In some embodiments, after C2 determines the CNC code of the CNC machine tool based on the machining path file, the method further includes:
[0141] D1. Obtain the maximum fluctuation deviation, minimum fluctuation deviation, and fluctuation reference value of the CNC machine tool.
[0142] Specifically, the CNC machine tool can be monitored by a vibration sensor to obtain the maximum and minimum fluctuation deviations of the CNC machine tool. Electronic equipment can obtain the maximum and minimum fluctuation deviations of the CNC machine tool through the vibration sensor.
[0143] In this embodiment, the fluctuation reference value is a preset fluctuation value. Optionally, the fluctuation reference value is related to the CNC machine tool to improve the accuracy of the obtained fluctuation reference value.
[0144] D2. Determine the load fluctuation rate of the CNC machine tool based on its maximum fluctuation deviation, minimum fluctuation deviation, and fluctuation reference value.
[0145] Assuming load volatility The model is:
[0146] ;
[0147] in, , These are the maximum and minimum fluctuation deviations of a CNC machine tool, respectively. This serves as the baseline value for fluctuations.
[0148] D3. When the load fluctuation rate of the CNC machine tool indicates that the CNC machine tool is suitable for operation, send the CNC code to the CNC machine tool.
[0149] Specifically, if the load fluctuation rate of the CNC machine tool is less than the preset fluctuation rate threshold, it indicates that the CNC machine tool is suitable for operation. At this time, the electronic device sends CNC codes to the CNC machine tool. Conversely, if the load fluctuation rate of the CNC machine tool is not less than the preset fluctuation rate threshold, it indicates that the CNC machine tool is not suitable for operation. At this time, the electronic device can issue a warning, or issue a warning through other alarm devices, so that the user can check the CNC machine tool, such as checking whether the alarm is caused by the following reasons: spindle bearing wear, tool wear, insufficient lubrication oil, etc.
[0150] In this embodiment, since the CNC machine tool is first determined to be suitable for operation before the CNC code is sent to it, and the CNC machine tool receives the CNC code when it is suitable for operation, it will help improve the accuracy of the results obtained by the CNC machine tool in executing the CNC code. Therefore, sending the CNC code to the CNC machine tool after the electronic device determines that the CNC machine tool is suitable for operation will help improve the quality of the valve disc obtained by the CNC machine tool after adjusting the valve disc to be repaired.
[0151] In some embodiments, after determining the adjustment information of the valve disc to be adjusted based on the simulated assembly information and the performance index in S15, the method further includes:
[0152] E1. Obtain the adjustment information of the identified multiple valve discs to be adjusted.
[0153] E2. Perform a specified analysis based on the obtained adjustment information of each valve disc to be adjusted, wherein the specified analysis includes at least one of the following: trend analysis of historical data, analysis of statistical information, and analysis of periodic phenomena of equipment.
[0154] Specifically, the adjustment information for each valve disc to be adjusted can be stored in a database. When analysis of the adjustment information is needed, the corresponding adjustment information can be retrieved from the database. For example, when it is necessary to perform historical data trend analysis on the adjustment information of a certain model of valve disc, the corresponding adjustment information can be extracted based on the valve disc model information, and then the historical data trend analysis can be performed on each extracted adjustment information. This historical data trend analysis may include: quality indicators such as the valve disc sealing surface roughness Ra value increasing from 0.8μm to 1.2μm month by month. This may indicate wear of the adjustment tools or a decline in coolant performance.
[0155] The analysis of statistical information may include: central tendency, distribution pattern, etc. For example, the monthly fluctuation range of valve disc grinding pass rate over the past year.
[0156] The analysis of periodic phenomena may include: the surface roughness is significantly improved after the adjustment tool is replaced every Friday, which indicates the existence of the new adjustment tool effect.
[0157] In this embodiment, since the adjustment information of multiple identified valve discs to be adjusted is analyzed in a specified manner, and this specified analysis includes at least one of the following: trend analysis of historical data, analysis of statistical information, and analysis of periodic phenomena of the equipment, the above analysis is beneficial to determine the relevant factors affecting valve disc adjustment. Furthermore, the method for determining the adjustment information of the valve discs to be adjusted is optimized based on the obtained analysis results, such as optimizing the model used to determine the adjustment information of the valve discs to be adjusted, so as to optimize the adjustment information determined according to the model.
[0158] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0159] Corresponding to the valve disc adjustment method described in the above embodiments, Figure 3 The diagram shows a structural block diagram of the valve disc adjustment device provided in the embodiments of this application. For ease of explanation, only the parts related to the embodiments of this application are shown.
[0160] Reference Figure 3 The valve disc adjustment device 3 includes: a valve disc scanning module 31, a valve disc simulation module 32, a valve disc simulation assembly module 33, a performance index acquisition module 34, and an adjustment information determination module 35. Among them:
[0161] The valve disc scanning module 31 is used to scan the shape and position of the valve disc to be repaired in order to obtain point cloud data of the shape and position of the valve disc to be repaired.
[0162] The valve disc simulation module 32 is used to simulate the point cloud data of the shape and position of the valve disc to be repaired and adjusted, and obtain the simulation graphics of the shape and position of the valve disc to be repaired and adjusted.
[0163] The valve disc simulation assembly module 33 is used to simulate the assembly of the simulated shape and position of the valve disc to be repaired with the simulated shape and position of the valve seat, so as to obtain the simulated assembly information of the shape and position of the valve disc to be repaired. The simulated assembly information reflects the machining amount of the valve disc to be repaired.
[0164] The performance index acquisition module 34 is used to acquire performance indexes, which include at least one of the following: surface roughness target value, maximum processing time, and material removal rate limit.
[0165] The adjustment information determination module 35 is used to determine the adjustment information of the valve disc to be adjusted based on the simulated assembly information and the performance index. The adjustment information includes the processing path of the adjustment tool for adjusting the valve disc to be adjusted.
[0166] In this embodiment, point cloud data of the shape and position of the valve disc to be repaired is obtained by scanning it, and simulated assembly information (reflecting the processing amount of the valve disc) is obtained by simulating the assembly of the simulated shape and position of the valve disc with the simulated valve seat. This means that neither manual measurement nor reliance on human experience is required to obtain either the shape and position information or the processing amount of the valve disc, thus improving the efficiency and accuracy of obtaining relevant information (such as processing amount). Furthermore, since the surface roughness target value, maximum processing time, and upper limit of material removal rate included in the performance indicators all reflect user needs, determining the repair information of the valve disc based on the simulated assembly information and performance indicators ensures that the obtained repair information reflects both the processing amount and user needs, thereby improving the accuracy of the determined repair information. Furthermore, since the simulated assembly information of the valve disc to be repaired includes the processing path of the repair tool for repairing the valve disc, it is beneficial for the subsequent repair tool to automatically repair the valve disc, thereby meeting the needs of modern industry for efficient, automated and precision manufacturing.
[0167] In some embodiments, the simulated assembly information of the shape and position of the valve disc to be repaired includes: the machining amount of the area where the valve disc to be repaired has a problem fitting with the valve seat, wherein the machining amount is different for different areas with different fits. The valve disc repair device 3 also includes:
[0168] The valve disc simulation graphic display module is used to display the simulation graphic of the shape and position of the valve disc to be repaired after simulating the assembly of the simulation graphic of the shape and position of the valve disc to be repaired with the simulation graphic of the valve seat to obtain the simulation assembly information of the shape and position of the valve disc to be repaired.
[0169] The module for highlighting the area to be processed is used to determine the color corresponding to the problematic area on the simulation graphic of the shape and position of the valve disc to be repaired, based on a preset color mapping relationship and the processing amount of the problematic area. The color mapping relationship is used to represent the correspondence between the processing amount and the color.
[0170] In some embodiments, if the number of problematic areas is greater than 1, the valve adjustment device 3 further includes:
[0171] The transition color determination module is used to determine the transition color based on the colors corresponding to two adjacent areas with mismatched features.
[0172] The transition color display module is used to display the transition color between two adjacent areas with misalignment.
[0173] In some embodiments, the transition color determination module described above includes:
[0174] The color difference degree determination unit is used to determine the degree of color difference based on the colors corresponding to two adjacent areas with mismatch.
[0175] The first transition color generation strategy selection unit is used to generate a transition color using the first transition color generation strategy when the degree of color difference is not greater than a preset degree of difference threshold.
[0176] The second transition color generation strategy selection unit is used to generate the transition color using the second transition color generation strategy when the color difference is greater than the preset difference threshold, wherein the number of transition colors generated by the second transition color generation strategy is greater than the number of transition colors generated by the first transition color generation strategy.
[0177] In some embodiments, the transition color determination module described above includes:
[0178] The intermediate region size determination unit is used to determine the size of the intermediate region between two adjacent regions with mismatch.
[0179] The third transition color generation strategy selection unit is used to generate transition colors by adopting the third transition color generation strategy when the size of the intermediate region is less than the preset region size threshold.
[0180] The fourth transition color generation strategy selection unit is used to generate the transition color using the fourth transition color generation strategy when the size of the intermediate region is not less than the preset region size threshold. The number of transition colors generated by the fourth transition color generation strategy is greater than the number of transition colors generated by the third transition color generation strategy.
[0181] In some embodiments, the adjustment information determining module 35 is specifically used for:
[0182] Based on the simulated assembly information, the performance index, the remaining service life of the coolant and / or the adjustment tools of the CNC machine tool, the adjustment information of the valve disc to be adjusted is determined.
[0183] In some embodiments, determining the adjustment information of the valve disc to be adjusted based on simulated assembly information, performance indicators, coolant, and / or the remaining service life of the adjustment tools of the CNC machine tool includes:
[0184] Based on the simulated assembly information, the performance indicators, the remaining service life of the coolant and / or the adjustment tools of the CNC machine tool, a machining path file is generated;
[0185] The CNC code of the CNC machine tool is determined based on the machining path file. Both the machining path file and the CNC code belong to the adjustment information. The CNC code is used to describe all the actions that the CNC machine tool needs to perform when machining the valve disc to be adjusted.
[0186] In some embodiments, generating a machining path file based on the simulated assembly information, the performance indicators, the coolant, and / or the remaining service life of the CNC machine tool's adjustment tools includes:
[0187] Obtain the model of the adjustment tool;
[0188] Based on the model of the adjustment tool and the simulated assembly information, candidate adjustment paths are generated;
[0189] Based on the performance index, the remaining service life of the coolant and / or the adjustment tools of the CNC machine tool, a machining path is determined from the candidate adjustment path, and a machining path file is generated based on the machining path.
[0190] In some embodiments, determining the CNC code of the CNC machine tool based on the machining path file includes:
[0191] Obtain the position information of the adjustment tools of the CNC machine tool;
[0192] Based on the machining path file and the location information of the adjustment tool, the CNC code of the CNC machine tool is determined.
[0193] In some embodiments, the valve disc adjustment device 3 provided in this application further includes:
[0194] The simulation adjustment module is used to perform simulation adjustment of the valve disc to be adjusted based on the machining path file after generating the machining path file according to the simulation assembly information, the performance index, the coolant and / or the remaining service life of the adjustment tool of the CNC machine tool.
[0195] In some embodiments, the valve disc adjustment device 3 provided in this application further includes:
[0196] The fluctuation information acquisition module is used to acquire the maximum fluctuation deviation, minimum fluctuation deviation, and fluctuation reference value of the CNC machine tool after the CNC code of the CNC machine tool is determined according to the machining path file.
[0197] The load volatility determination module is used to determine the load volatility of the CNC machine tool based on the maximum volatility deviation, minimum volatility deviation, and volatility reference value of the CNC machine tool.
[0198] The CNC code sending module is used to send the CNC code to the CNC machine tool when the load fluctuation rate of the CNC machine tool indicates that the CNC machine tool is suitable for operation.
[0199] In some embodiments, the valve disc adjustment device 3 provided in this application further includes:
[0200] The historical adjustment information acquisition module is used after determining the adjustment information of the valve disc to be adjusted.
[0201] Obtain adjustment information for multiple identified valve discs that need to be adjusted.
[0202] The historical adjustment information analysis module is used to perform specified analyses based on the adjustment information of each valve disc to be adjusted. The specified analyses include at least one of the following: trend analysis of historical data, analysis of statistical information, and analysis of periodic phenomena of equipment.
[0203] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0204] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4 As shown, the electronic device 4 of this embodiment includes: at least one processor 40 ( Figure 4 The diagram shows only one processor, a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, which, when executing the computer program 42, performs the steps in any of the above method embodiments.
[0205] The electronic device 4 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device. This electronic device may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will understand that... Figure 4 This is merely an example of electronic device 4 and does not constitute a limitation on electronic device 4. It may include more or fewer components than shown, or combine certain components, or different components. For example, it may also include input / output devices, network access devices, etc.
[0206] The processor 40 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0207] In some embodiments, the memory 41 may be an internal storage unit of the electronic device 4, such as a hard disk or memory of the electronic device 4. In other embodiments, the memory 41 may be an external storage device of the electronic device 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device 4. Furthermore, the memory 41 may include both internal and external storage units of the electronic device 4. The memory 41 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 41 can also be used to temporarily store data that has been output or will be output.
[0208] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0209] This application also provides a network device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor executes the computer program to implement the steps in any of the above method embodiments.
[0210] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the steps in the above-described method embodiments.
[0211] This application provides a computer program product that, when run on an electronic device, enables the electronic device to implement the steps described in the various method embodiments above.
[0212] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographic device / electronic device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0213] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0214] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0215] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0216] 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 units can be selected to achieve the purpose of this embodiment according to actual needs.
[0217] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application 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. Such 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 this application, and should all be included within the protection scope of this application.
Claims
1. A valve disc adjustment method, characterized in that, include: The shape and position of the valve disc to be repaired are scanned to obtain point cloud data of the shape and position of the valve disc to be repaired. The point cloud data of the shape and position of the valve disc to be repaired is simulated to obtain a simulated graphic of the shape and position of the valve disc to be repaired. The simulated shape and position of the valve disc to be repaired are simulated and assembled with the simulated shape and position of the valve seat to obtain the simulated assembly information of the shape and position of the valve disc to be repaired. The simulated assembly information reflects the machining amount of the valve disc to be repaired. The performance indicators include at least one of the following: target surface roughness value, maximum processing time, and upper limit of material removal rate; Based on the simulated assembly information and the performance indicators, the adjustment information of the valve disc to be adjusted is determined, and the adjustment information includes the processing path of the adjustment tool to adjust the valve disc to be adjusted. The step of determining the adjustment information of the valve disc to be adjusted based on the simulated assembly information and the performance indicators includes: Based on the simulated assembly information, the performance indicators, the remaining service life of the coolant and / or the adjustment tools of the CNC machine tool, a machining path file is generated; The CNC code of the CNC machine tool is determined according to the machining path file, wherein both the machining path file and the CNC code belong to the adjustment information, and the CNC code is used to describe all the actions that the CNC machine tool needs to perform when machining the valve disc to be adjusted; After determining the CNC code of the CNC machine tool based on the machining path file, the method further includes: Obtain the maximum fluctuation deviation, minimum fluctuation deviation, and fluctuation reference value of the CNC machine tool; The load fluctuation rate of the CNC machine tool is determined based on the maximum fluctuation deviation, minimum fluctuation deviation, and fluctuation reference value of the CNC machine tool. When the load fluctuation rate of the CNC machine tool indicates that the CNC machine tool is suitable for operation, the CNC code is sent to the CNC machine tool.
2. The valve disc adjustment method as described in claim 1, characterized in that, The simulated assembly information of the shape and position of the valve disc to be repaired includes: the machining amount of the area where the valve disc to be repaired has a problem fitting with the valve seat, wherein the machining amount is different for different areas with different fits. After simulating the assembly of the simulated shape and position of the valve disc to be repaired with the simulated shape and position of the valve seat to obtain the simulated assembly information of the shape and position of the valve disc to be repaired, it also includes: The simulation graphic shows the shape and position of the valve disc to be repaired; On the simulation graphic of the shape and position of the valve disc to be repaired, the color corresponding to the area with the problem of fit is determined according to the preset color mapping relationship and the processing amount of the area with the problem of fit. The color mapping relationship is used to represent the correspondence between the processing amount and the color.
3. The valve disc adjustment method as described in claim 2, characterized in that, The number of problematic areas is greater than 1, and the valve adjustment method further includes: Determine the transition color based on the colors corresponding to two adjacent areas with mismatched features; The transition color is displayed between two adjacent areas where there is a mismatch.
4. The valve disc adjustment method as described in claim 3, characterized in that, The step of determining the transition color based on the colors corresponding to two adjacent areas with mismatched features includes: Determine the degree of color difference based on the colors corresponding to two adjacent areas with mismatched features; If the degree of color difference is not greater than a preset difference threshold, a first transition color generation strategy is used to generate a transition color. When the degree of color difference is greater than the preset degree of difference threshold, the transition color is generated using a second transition color generation strategy, wherein the number of transition colors generated using the second transition color generation strategy is greater than the number of transition colors generated using the first transition color generation strategy.
5. The valve disc adjustment method as described in claim 3, characterized in that, The step of determining the transition color based on the colors corresponding to two adjacent areas with mismatched features includes: Determine the size of the intermediate region between two adjacent areas where there is a mismatch; If the size of the intermediate region is less than a preset region size threshold, a third transition color generation strategy is used to generate a transition color. If the size of the intermediate region is not less than the preset region size threshold, the transition color is generated using a fourth transition color generation strategy, wherein the number of transition colors generated using the fourth transition color generation strategy is greater than the number of transition colors generated using the third transition color generation strategy.
6. The valve disc adjustment method as described in claim 1, characterized in that, The process of generating a machining path file based on the simulated assembly information, the performance indicators, the coolant and / or the remaining service life of the CNC machine tool's adjustment tools includes: Obtain the model of the adjustment tool; Based on the model of the adjustment tool and the simulated assembly information, candidate adjustment paths are generated; Based on the performance indicators, the remaining service life of the coolant and / or the adjustment tools of the CNC machine tool, a machining path is determined from the candidate adjustment paths, and a machining path file is generated based on the machining path.
7. The valve disc adjustment method as described in claim 1, characterized in that, The step of determining the CNC code of the CNC machine tool based on the machining path file includes: Obtain the position information of the adjustment tools of the CNC machine tool; The CNC code of the CNC machine tool is determined based on the machining path file and the position information of the adjustment tool.
8. The valve disc adjustment method as described in claim 1, characterized in that, After generating the machining path file based on the simulated assembly information, the performance indicators, the coolant and / or the remaining service life of the CNC machine tool's adjustment tools, the process further includes: The valve disc to be repaired is simulated and adjusted according to the processing path file.
9. The valve disc adjustment method according to any one of claims 1 to 5, characterized in that, After determining the adjustment information of the valve disc to be adjusted, the method further includes: Obtain the adjustment information of the identified multiple valve discs to be adjusted; Based on the obtained adjustment information of each valve disc to be adjusted, a specified analysis is performed, wherein the specified analysis includes at least one of the following: trend analysis of historical data, analysis of statistical information, and analysis of periodic phenomena of equipment.
10. A valve disc adjustment device, characterized in that, include: The valve disc scanning module is used to scan the shape and position of the valve disc to be repaired in order to obtain point cloud data of the shape and position of the valve disc to be repaired. The valve disc simulation module is used to simulate the point cloud data of the shape and position of the valve disc to be repaired and adjusted, and to obtain the simulation graphics of the shape and position of the valve disc to be repaired and adjusted. The valve disc simulation assembly module is used to simulate the assembly of the simulated shape and position of the valve disc to be repaired and the simulated shape and position of the valve seat to obtain the simulated assembly information of the valve disc to be repaired. The simulated assembly information reflects the machining amount of the valve disc to be repaired. The performance index acquisition module is used to acquire performance indicators, which include at least one of the following: surface roughness target value, maximum processing time, and upper limit of material removal rate; The adjustment information determination module is used to determine the adjustment information of the valve disc to be adjusted based on the simulated assembly information and the performance index. The adjustment information includes the processing path of the adjustment tool to adjust the valve disc to be adjusted. When determining the adjustment information of the valve disc to be adjusted based on the simulated assembly information and the performance indicators, the adjustment information determination module is specifically used for: Based on the simulated assembly information, the performance indicators, the remaining service life of the coolant and / or the adjustment tools of the CNC machine tool, a machining path file is generated; The CNC code of the CNC machine tool is determined according to the machining path file, wherein both the machining path file and the CNC code belong to the adjustment information, and the CNC code is used to describe all the actions that the CNC machine tool needs to perform when machining the valve disc to be adjusted; The fluctuation information acquisition module is used to acquire the maximum fluctuation deviation, minimum fluctuation deviation, and fluctuation reference value of the CNC machine tool after the CNC code of the CNC machine tool is determined according to the machining path file; The load volatility determination module is used to determine the load volatility of the CNC machine tool based on the maximum volatility deviation, minimum volatility deviation, and volatility reference value of the CNC machine tool. A CNC code sending module is used to send the CNC code to the CNC machine tool when the load fluctuation rate of the CNC machine tool indicates that the CNC machine tool is suitable for operation.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 9.
12. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 9.
13. A computer program product, characterized in that, Includes a computer program, which, when run, causes the method as described in any one of claims 1 to 9 to be performed.
Citation Information
Patent Citations
Nuclear power plant wedge-shaped gate valve clack machining method and valve clack machining device
CN118617041A
Adjustable numerical control program mistake-proofing processing method, equipment, system and storage medium
CN120669633A