An automatic visual inspection system based on design change information

Through the automatic visual inspection system, the three-dimensional design model of aviation hydraulic parts is divided and feature comparison, and the design change information is identified and displayed, which solves the problems of low efficiency and poor accuracy of traditional manual inspection, and achieves the rapid and accurate design change information. Identify and express.

CN118504175BActive Publication Date: 2024-11-15JINCHENG NANJING ELECTROMECHANICAL HYDRAULIC PRESSURE ENG RES CENT AVIATION IND OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410955579.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-15
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

The change inspection of three-dimensional design data of traditional aviation hydraulic parts relies on manual labor, is inefficient and error-prone, and the change notification is poor visualization effect, resulting in misjudgment of design change information inspection and reducing the accuracy of design change inspection.

Method used

Using an automatic visual inspection system based on design change information, the sub-region division module, feature extraction module, feature comparison module, correlation calculation module and channel establishment module are divided into three-dimensional design models as sub-regions, and the extraction model features are consistent with the design features. Comparison of nature, calculate the channel correlation degree, and build a visual channel to display the change characteristics.

Benefits of technology

It realizes the rapid and accurate identification and expression of design change information between the three-dimensional design model and the design work order, reduces the burden of manual matching, improves the inspection efficiency and accuracy of design change information, and provides the latest and most accurate for subsequent workpiece design and manufacturing. design information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118504175B_ABST
    Figure CN118504175B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of data processing, and discloses an automatic visualization inspection system based on design change information; the system comprises the following steps: dividing a three-dimensional design model into sub-areas, extracting model features, extracting design features from a design work order, comparing the design features with the model features for consistency, identifying change features, collecting comprehensive correlation parameters of the change features, calculating channel correlation, and constructing a visualization channel to visualize the change features; compared with the prior art, the system can quickly and accurately identify the design change information between the three-dimensional design model and the design work order without the need for frequent manual matching operations, and based on the correlation of the design change information, establish a corresponding visualization channel to visualize the design change information in the three-dimensional design model, thereby realizing automatic inspection and expression effects of the design change information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and more particularly to an automatic visual inspection system based on design change information. Background Art

[0002] Since aviation hydraulic workpieces vary in size, batch size, and model, the birth of a hydraulic workpiece is often accompanied by a large number of design files, which makes the data content in the design files large and complex. In recent years, with the frequent iteration of aviation hydraulic workpieces, how to ensure the rapid inspection and accurate expression of design change information during the iteration process has become a key issue that needs to be solved urgently. It also provides safety protection for the subsequent manufacturing of aviation hydraulic workpieces. Therefore, it is necessary to design a visual inspection system to accurately check the design change information.

[0003] The patent application with reference publication number CN111177832A discloses a BIM-based electromechanical pipeline comprehensive specification automatic inspection system, which uses three interrelated modules to realize structured storage and query of MEP pipeline comprehensive knowledge, and associates it with the BIM model to perform rule inspection, and finally feeds back the results in a third-party platform to realize the visualization of the knowledge base, solving the "information gap" between BIM engineers and valuable expert experience. Compared with the traditional working method that relies on expert experience and CAD drawings, it can greatly improve the work efficiency and quality level of pipeline comprehensive in-depth design, and reduce the probability of changes and rework in the actual construction process;

[0004] The prior art has the following deficiencies:

[0005] Traditional change checks on the three-dimensional design data of aviation hydraulic parts are still mainly done manually. This inspection method is inefficient and prone to errors, and the visualization effect of change notifications is poor, which affects the rapid and accurate issuance of change data. The existing automatic inspection system checks the changes of design information on the entire three-dimensional design model. It is necessary to check the changes of a large amount of design information at the same time in a short period of time. When the number of changes in design information is also large, a large amount of changed information and unchanged information are easily mixed together, which makes it easy to misjudge the design change information check, thereby reducing the accuracy of the design change check.

[0006] In view of this, the present invention proposes an automatic visual inspection system based on design change information to solve the above problem. Summary of the invention

[0007] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solution: an automatic visual inspection system based on design change information, comprising:

[0008] A sub-region division module is used to divide the three-dimensional design model into sub-regions and mark the characteristic regions in the sub-regions;

[0009] A feature extraction module is used to mark a feature center point in a feature area and extract model features based on the feature center point, wherein the model features include a model bending value and a model concave-convex ratio;

[0010] The feature comparison module is used to extract design features from the design work order. The design features include the design bending value and the design concave-convex ratio. The design features are compared with the model features for consistency to identify the changed features.

[0011] A correlation calculation module, used for collecting comprehensive correlation parameters of the change characteristics, the comprehensive correlation parameters including the first correlation value and the second correlation value, and calculating the channel correlation;

[0012] The channel establishment module is used to generate channel fusion levels according to channel correlation, and to construct visualization channels to visualize the changed features.

[0013] Furthermore, the sub-region division method includes:

[0014] Scan the 3D design model to obtain a scanned image, and mark all the pixels in the scanned image;

[0015] Randomly select a pixel point as the center of the circle and draw a detection circle in the scanned image;

[0016] The radius of the detection circle is continuously adjusted until all pixels are within the detection circle, the target circle is obtained, and the radius of the target circle is measured using a scale.

[0017] Taking the center of the target circle as the starting point and the radius of one third of the target circle as the width of the sub-area, the 3D design model is divided horizontally into sub-areas.

[0018] Furthermore, the method for marking the feature area includes:

[0019] The design work orders are screened out from the work order database, and the points containing design information in the design work orders are identified through natural language processing technology. Design points;

[0020] Measure sequentially in the three-dimensional coordinate axis The x-coordinate value, y-coordinate value and z-coordinate value of the design point are obtained by correspondingly combining the x-coordinate value, y-coordinate value and z-coordinate value. coordinate points;

[0021] exist The sub-areas are marked The location of the coordinate points is obtained Regional points;

[0022] by The center of the circle is the area point, and the radius is one quarter of the width of the sub-area. feature area.

[0023] Furthermore, the method for marking the feature center point includes:

[0024] exist In the feature area, a preset length is used as the standard, the center of the feature area is used as the starting mark position, and the scattering direction is marked. nodes;

[0025] Measure one by one The x-coordinate value, y-coordinate value, and z-coordinate value of each node are based on The x-coordinate value, y-coordinate value and z-coordinate value of each node are generated. Point weight value;

[0026] The expression of point weight is:

[0027] ;

[0028] In the formula, For the The first feature area Point weight, For the Feature area The x-coordinate value of the node, For the Feature area The y coordinate value of the node, For the Feature area The z coordinate value of each node;

[0029] Remove The maximum and minimum values ​​of the weights of the points are obtained, and the node corresponding to the maximum value of the remaining point weights is recorded as the feature center point.

[0030] Furthermore, the method for extracting the model bending value includes:

[0031] Scan along the z-axis direction of the 3D workpiece model feature regions, and obtain A scanning area diagram is formed, and the arc-shaped boundary of the scanning area diagram is marked;

[0032] Draw the arc boundaries of the scan area map non-adjacent two-dimensional coordinates, and record the intersection of the arc boundary of the scanning area graph and the x-axis and y-axis of the two-dimensional coordinates as the x-node and y-node;

[0033] Connect the x node and the y node to form an xy line, and mark the midpoint of the xy line;

[0034] by The origin of the two-dimensional coordinates is the starting point, and a line is drawn through the midpoint of the xy line and ends at the arc boundary of the scanning area diagram to obtain A curved line;

[0035] Measure sequentially using a scale The length of the curved sample line is obtained The individual bending value;

[0036] Will Scan area map The bending values ​​of each sub-group are accumulated and averaged to obtain Model bending value;

[0037] The expression of the model bending value is:

[0038] ;

[0039] In the formula, For the Model bending value, For the The first scan area map The bending value of the child.

[0040] Furthermore, the method for obtaining the model concave-convex ratio includes:

[0041] Measure sequentially using a scale Scan area map The horizontal width of the height position is obtained Horizontal width value, and mark The maximum value of the horizontal width The minimum value of horizontal width;

[0042] based on The maximum values ​​of the horizontal widths are The minimum value of the horizontal width is obtained Width samples;

[0043] The expression of width sample value is:

[0044] ;

[0045] In the formula, For the Width samples, For the The maximum horizontal width value. No. The minimum value of horizontal width;

[0046] Use a width sample value to mark the spacing. The arc boundary of the scan area diagram is marked concave and convex points, and measure them one by one The height value of each concave and convex point;

[0047] The concave and convex points whose height values ​​are greater than the preset lower limit of height are recorded as convex points, and the number of convex points is counted;

[0048] The concave and convex points whose height values ​​are less than the preset upper limit of height are recorded as concave points, and the number of concave points is counted;

[0049] Will The number of convex points in the scan area graph is Compare the number of concave points in the scan area graph to obtain The model concave-convex ratio;

[0050] The expression of the model's concave-convex ratio is:

[0051] ;

[0052] In the formula, For the The model convexity ratio, For the The number of concave points in the scan area map, No. The number of salient points in a scan area graph.

[0053] Furthermore, the extraction method of the design bending value and the design concave-convex ratio includes:

[0054] Identify the design work order with natural language processing technology The corresponding feature area phrases and mark them separately Keywords and key values ​​for each phrase;

[0055] The phrases with the keyword as the bending value are recorded as bending phrases, and the a curved phrase;

[0056] Filter out one by one The key value corresponding to the curved phrase is recorded as Design bending value;

[0057] The phrase with the keyword "concave-convex ratio" is recorded as concave-convex phrase, and the A concave and convex phrase;

[0058] Filter out one by one The key value corresponding to the concave and convex phrases is recorded as A design concave-convex ratio.

[0059] Further, the change feature includes a first change feature and a second change feature;

[0060] The method for identifying the first change feature and the second change feature includes:

[0061] Will Design bending value and The design concave-convex ratios are respectively Model bending values ​​and The concave-convex ratios of the models were compared consistently;

[0062] when Design bending value and The design concave-convex ratios are all Model bending values ​​and When the concave-convex ratios of the two models are consistent, the first change feature and the second change feature cannot be identified;

[0063] When there is When a model bending value is inconsistent with the corresponding design bending value, the model bending value is identified as the first change feature, and the The first change feature;

[0064] When there is When the model concave-convex ratio is inconsistent with the corresponding design concave-convex ratio, the model concave-convex ratio is identified as the second change feature, and the The second change feature.

[0065] Further, the comprehensive correlation parameter includes a first correlation value and a second correlation value;

[0066] The method for obtaining the first associated value and the second associated value includes:

[0067] Will The feature areas are numbered in ascending order from bottom to top;

[0068] Identify one by one The first change feature and The number of the feature area where the second changed feature is located, and the feature areas corresponding to three consecutive numbers are recorded as the changed area;

[0069] Count the number of first changed features and the number of second changed features in all changed areas, and record them as the first feature number and the second feature number respectively;

[0070] Compare the first feature quantity and the second feature quantity with the total amount of the first changed feature and the total amount of the second changed feature, respectively, to obtain a first correlation value and a second correlation value;

[0071] The expression for the first associated value is:

[0072] ;

[0073] In the formula, is the first associated value, is the first feature number, is the total amount of the first changed feature;

[0074] The expression for the second associated value is:

[0075] ;

[0076] In the formula, is the second associated value, is the second characteristic number, is the total amount of the second changed feature;

[0077] The expression of channel correlation is:

[0078] ;

[0079] In the formula, is the channel correlation, is a natural constant.

[0080] Furthermore, the channel fusion level includes a primary fusion level and a secondary fusion level;

[0081] The generation method of the primary fusion level and the secondary fusion level includes:

[0082] Channel correlation Associated with preset channel thresholds Compare;

[0083] when Greater than or equal to When , a first-level fusion level is generated;

[0084] when Less than When , the secondary fusion level is generated;

[0085] The construction method of the visualization channel includes:

[0086] Create a blank first channel and a blank second channel, and mark the blanks in the first channel and the blanks in the second channel at equal intervals. The first information bit and A second information bit;

[0087] Marking the first transmission interface and the second transmission interface of the first channel and the second channel respectively, and establishing a sub-channel between the first transmission interface and the second transmission interface;

[0088] When the channel fusion level is the first-level fusion level, two parallel and independent interaction channels are established in the sub-channel;

[0089] When the channel fusion level is the secondary fusion level, an interactive channel is established within the sub-channel;

[0090] A visual window capable of on / off control is set on the first channel, the second channel and the sub-channel, and an on / off control key is generated;

[0091] Will The first change feature and Import the second changed features one by one The first information bit and The first change feature and the second change feature are visually displayed within the second information bit.

[0092] The technical effects and advantages of the automatic visual inspection system based on design change information of the present invention are as follows:

[0093] The present invention divides a three-dimensional design model into sub-areas, marks feature areas in the sub-areas, marks feature center points in the feature areas, extracts model features, extracts design features from a design work order, compares design features with model features for consistency, identifies change features, collects comprehensive correlation parameters of the change features, calculates channel correlation, generates channel fusion levels based on the channel correlation, and constructs a visualization channel to visualize the change features. Compared with the prior art, the present invention can divide a larger three-dimensional design model into sub-areas, reduce the amount of model information contained in each sub-area, reduce the burden of change inspection, and perform consistency matching between model information and design information in multiple sub-areas, so as to quickly and accurately identify the design change information between the three-dimensional design model and the design work order without manual frequent matching operations, and establishes a corresponding visualization channel based on the correlation of the design change information, and visualizes the design change information in the three-dimensional design model, so as to realize automatic inspection and expression effect of the design change information, accurately obtain the change of the design information of the current version of the workpiece, and provide the latest and most accurate design information for the design and manufacture of subsequent workpieces. BRIEF DESCRIPTION OF THE DRAWINGS

[0094] Figure 1 A schematic diagram of an automatic visual inspection system based on design change information provided by Embodiment 1 of the present invention;

[0095] Figure 2 A schematic flow chart of an automatic visual inspection method based on design change information provided in Embodiment 2 of the present invention;

[0096] Figure 3 A schematic diagram of a structural diagram of an electronic device provided in Embodiment 3 of the present invention;

[0097] Figure 4 A schematic diagram of the structure of a computer-readable storage medium provided in Example 4 of the present invention. DETAILED DESCRIPTION

[0098] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0099] Example 1: Please refer to Figure 1 As shown, the automatic visual inspection system based on design change information described in this embodiment includes:

[0100] A sub-region division module is used to divide the three-dimensional design model into sub-regions and mark the characteristic regions in the sub-regions;

[0101] The 3D design model refers to the 3D model corresponding to the workpiece currently designed and manufactured, and is used as the inspection object for whether the workpiece design information has changed. Since the 3D design model integrates all the workpiece design requirements, the 3D design model contains a large amount of feature information. In order to better accurately inspect the feature information on the 3D design model, the 3D design model needs to be divided into sub-areas containing a small amount of feature information, so that each sub-area can correspond to a certain part of the 3D design model;

[0102] The sub-area division methods include:

[0103] Scan the 3D design model to obtain a scanned image, and mark all the pixels in the scanned image;

[0104] Randomly select a pixel point as the center of the circle and draw a detection circle in the scanned image;

[0105] The radius of the detection circle is continuously adjusted until all pixels are within the detection circle, the target circle is obtained, and the radius of the target circle is measured by a scale. When all pixels are within the detection circle, it can be ensured that all areas and structures of the 3D design model are within the detection circle, avoiding the phenomenon of missing structures in the 3D design model.

[0106] Taking the center of the target circle as the starting point and the radius of one third of the target circle as the width of the sub-area, the 3D design model is divided horizontally into sub-regions;

[0107] The feature area is used to represent the location of the sub-area that contains the design information. When the sub-area is divided, the overall 3D design model will be divided. There are smaller sub-regions, so it is necessary to mark the feature regions in the sub-regions so that the feature regions can represent the design information contained in each sub-region;

[0108] The marking methods of feature areas include:

[0109] The design work orders are screened out from the work order database, and the points containing design information in the design work orders are identified through natural language processing technology. Design points;

[0110] Measure sequentially in the three-dimensional coordinate axis The x-coordinate value, y-coordinate value and z-coordinate value of the design point are obtained by correspondingly combining the x-coordinate value, y-coordinate value and z-coordinate value. coordinate points;

[0111] exist The sub-areas are marked The location of the coordinate points is obtained Regional points;

[0112] by The center of the circle is the area point, and the radius is one quarter of the width of the sub-area. characteristic areas;

[0113] A feature extraction module is used to mark the feature center point in the feature area and extract the model features;

[0114] The feature center point refers to the point at the center of all features in the feature area, which can mark the feature center of the feature area and serve as a reference point for subsequent model feature extraction to ensure the accuracy of the model feature extraction position and extraction range;

[0115] The marking methods of feature center points include:

[0116] exist In the feature area, a preset length is used as the standard, the center of the feature area is used as the starting mark position, and the scattering direction is marked. nodes; the preset length is used to represent the distance between two adjacent nodes, so as to ensure that the two adjacent nodes are not too close or too far away, so as to facilitate the measurement and analysis of the nodes, and also ensure that the number of marked nodes is sufficient to provide sufficient node data for subsequent calculation and analysis; the preset length is set according to the actual node demand;

[0117] Measure one by one The x-coordinate value, y-coordinate value, and z-coordinate value of each node are based on The x-coordinate value, y-coordinate value and z-coordinate value of each node are generated. Point weight value;

[0118] The expression of point weight is:

[0119] ;

[0120] In the formula, For the The first feature area Point weight, For the Feature area The x-coordinate value of the node, For the Feature area The y coordinate value of the node, For the Feature area The z coordinate value of each node;

[0121] Remove The maximum and minimum values ​​of the weights of the points are calculated, and the node corresponding to the maximum value of the remaining point weights is recorded as the feature center point;

[0122] After obtaining the feature center point, the reference point for extracting the model feature can be determined. In this way, the model feature can be extracted within the feature area with the feature center point as the reference point, so that the model feature can accurately represent the design information of the feature area, thereby intuitively and accurately representing the current design information of the three-dimensional workpiece model, providing a basis for the comparison of subsequent design change information.

[0123] Model features include model bending value and model concave-convex ratio;

[0124] The model curvature value refers to the value of the model curvature corresponding to the characteristic area in the three-dimensional workpiece model, which can be used to numerically represent the current curvature of the three-dimensional workpiece model and to represent the change in the curvature of the three-dimensional workpiece model;

[0125] Methods for extracting model bending values ​​include:

[0126] Scan along the z-axis direction of the 3D workpiece model feature regions, and obtain A scanning area diagram is formed, and the arc-shaped boundary of the scanning area diagram is marked;

[0127] Draw the arc boundaries of the scan area map non-adjacent two-dimensional coordinates, and record the intersection of the arc boundary of the scanning area diagram and the x-axis and y-axis of the two-dimensional coordinates as x nodes and y nodes; by drawing non-adjacent two-dimensional coordinates, multiple independent coordinate truncation images can be formed on the arc boundary, thereby dividing the larger arc boundary into multiple smaller areas, which is convenient for the subsequent calculation and analysis of the model bending value;

[0128] Connect the x node and the y node to form an xy line, and mark the midpoint of the xy line;

[0129] by The origin of the two-dimensional coordinates is the starting point, and a line is drawn through the midpoint of the xy line and ends at the arc boundary of the scanning area diagram to obtain A curved line;

[0130] Measure sequentially using a scale The length of the curved sample line is obtained The individual bending value;

[0131] Will Scan area map The bending values ​​of each sub-group are accumulated and averaged to obtain Model bending value;

[0132] The expression of the model bending value is:

[0133] ;

[0134] In the formula, For the Model bending value, For the The first scan area map The individual bending value;

[0135] The model concave-convex ratio refers to the proportion of the model concavity and convexity corresponding to the feature area in the three-dimensional workpiece model, which can be used to numerically represent the current concave-convex ratio of the three-dimensional workpiece model and to represent the changes in the concave-convex aspects of the three-dimensional workpiece model;

[0136] Methods for obtaining the model concave-convex ratio include:

[0137] Measure sequentially using a scale Scan area map The horizontal width of the height position is obtained Horizontal width value, and mark The maximum value of the horizontal width The minimum value of horizontal width;

[0138] based on The maximum values ​​of the horizontal widths are The minimum value of the horizontal width is obtained Width samples;

[0139] The expression of width sample value is:

[0140] ;

[0141] In the formula, For the Width samples, For the The maximum horizontal width value. No. The minimum value of horizontal width;

[0142] Use a width sample value to mark the spacing. The arc boundary of the scan area diagram is marked concave and convex points, and measure them one by one The width sample value is used to represent the distance between two adjacent concave and convex points, ensuring that the two adjacent concave and convex points do not overlap and facilitating the identification of each concave and convex point; the width sample value is obtained by collecting a large number of distances between two adjacent concave and convex points in history and calculating the average value;

[0143] The concave and convex points whose height values ​​are greater than the preset lower limit of height are recorded as convex points, and the number of convex points is counted; the preset lower limit of height is used to numerically represent the minimum value of the height corresponding to the convex point, so as to facilitate the identification of the convex point; the preset lower limit of height is obtained by collecting the minimum values ​​of the heights corresponding to a large number of concave and convex points recorded as convex points in history and calculating the average value thereof;

[0144] The concave-convex points whose height values ​​are less than the preset upper limit of height are recorded as concave points, and the number of concave points is counted; the preset upper limit of height is used to numerically represent the maximum value of the height corresponding to the concave point, so as to facilitate the identification of the concave point; the preset upper limit of height is obtained by collecting the maximum values ​​of the heights corresponding to a large number of concave-convex points recorded as concave points in history and calculating their average value;

[0145] Will The number of convex points in the scan area graph is Compare the number of concave points in the scan area graph to obtain The model concave-convex ratio;

[0146] The expression of the model's concave-convex ratio is:

[0147] ;

[0148] In the formula, For the The model convexity ratio, For the The number of concave points in the scan area map, No. The number of salient points in the scan area map;

[0149] The feature comparison module is used to extract design features from the design work order, compare the design features with the model features for consistency, and identify the changed features;

[0150] Design features refer to the data of the original design information parameters of the workpiece, which are used as the comparison features of the model features in the three-dimensional workpiece model to determine whether there is a change in design information between the design features and the model features;

[0151] The design features include a design curvature value and a design concave-convex ratio; the design curvature value refers to the value of the original curvature of the workpiece, that is, the original curvature of the workpiece can be numerically expressed; the design concave-convex ratio refers to the proportion of the original concavity and convexity corresponding to the workpiece, that is, the original concave-convex ratio of the workpiece can be numerically expressed;

[0152] Methods for extracting the design bending value and the design concave-convex ratio include:

[0153] Identify the design work order with natural language processing technology The corresponding feature area phrases and mark them separately The keywords and key values ​​of a phrase; a phrase refers to the representation of all design information in a design work order, including keywords and key values. Keywords are used to represent the meaning of design information, and key values ​​are used to represent the size of design information;

[0154] The phrases with the keyword as the bending value are recorded as bending phrases, and the a curved phrase;

[0155] Filter out one by one The key value corresponding to the curved phrase is recorded as Design bending value;

[0156] The phrase with the keyword "concave-convex ratio" is recorded as concave-convex phrase, and the convex and concave phrases;

[0157] Filter out one by one The key value corresponding to the concave and convex phrases is recorded as A design concave-convex ratio;

[0158] After the design bending value and the design concavo-convex ratio are obtained, the design bending value and the design concavo-convex ratio can be compared with the model bending value and the model concavo-convex ratio to determine whether the design bending value and the design concavo-convex ratio are consistent with the model bending value and the model concavo-convex ratio, thereby determining whether the design information in the three-dimensional workpiece model has been changed, and after the consistent comparison, the features that are inconsistent with the comparison are recorded as changed features;

[0159] The change feature includes a first change feature and a second change feature, and the identification method of the first change feature and the second change feature includes:

[0160] Will Design bending value and The design concave-convex ratios are respectively Model bending values ​​and The concave-convex ratios of the models were compared consistently;

[0161] when Design bending value and The design concave-convex ratios are all Model bending values ​​and When the concave-convex ratios of the models are consistent, it means that all design features and all model features are consistent, and there is no design information change phenomenon, then the first change feature and the second change feature cannot be identified;

[0162] When there is When the model bending value is inconsistent with the corresponding design bending value, it means that there is a phenomenon that both the design feature and the model feature are inconsistent. Then the model bending value is identified as the first change feature, and the The first change feature;

[0163] When there is When the model concave-convex ratio is inconsistent with the corresponding design concave-convex ratio, it means that there is a phenomenon that both the design feature and the model feature are inconsistent. Then the model concave-convex ratio is identified as the second change feature, and the A second change feature;

[0164] The correlation calculation module is used to collect comprehensive correlation parameters of the change characteristics and calculate the channel correlation;

[0165] The comprehensive association parameter refers to the positional relationship data of the model features identified as the first change feature and the second change feature in the feature area, which is used to associate and represent the positional relationship between the first change feature and the second change feature in the feature area and serves as a basis for subsequently establishing a visualization channel;

[0166] The comprehensive correlation parameter includes a first correlation value and a second correlation value;

[0167] The first correlation value refers to the correlation degree between the front and rear positions of the feature region where the first change feature is located, that is, it can represent the correlation degree of the first change feature. The second correlation value refers to the correlation degree between the front and rear positions of the feature region where the second change feature is located, that is, it can represent the correlation degree of the second change feature.

[0168] The method for obtaining the first associated value and the second associated value includes:

[0169] Will The feature areas are numbered in ascending order from bottom to top;

[0170] Identify one by one The first change feature and The number of the feature area where the second changed feature is located, and the feature areas corresponding to three consecutive numbers are recorded as the changed area;

[0171] Count the number of first changed features and the number of second changed features in all changed areas, and record them as the first feature number and the second feature number respectively;

[0172] Compare the first feature quantity and the second feature quantity with the total amount of the first changed feature and the total amount of the second changed feature, respectively, to obtain a first correlation value and a second correlation value;

[0173] The expression for the first associated value is:

[0174] ;

[0175] In the formula, is the first associated value, is the first feature number, is the total amount of the first changed feature;

[0176] The expression for the second associated value is:

[0177] ;

[0178] In the formula, is the second associated value, is the second characteristic number, is the total amount of the second changed feature;

[0179] The channel correlation is used to numerically represent the closeness between the feature regions where the first changed feature and the second changed feature are located, and serves as a construction element of the subsequent visualization channel;

[0180] The expression of channel correlation is:

[0181] ;

[0182] In the formula, is the channel correlation, is a natural constant;

[0183] The channel establishment module is used to generate the channel fusion level according to the channel correlation, and to construct a visualization channel to visualize the change characteristics;

[0184] The channel fusion level refers to the degree of openness of data fusion interaction between visualization channels. Different channel correlations correspond to different channel fusion levels. The greater the channel correlation, the higher the channel fusion level, and the greater the degree of openness of data fusion interaction between visualization channels.

[0185] The channel fusion level includes the first-level fusion level and the second-level fusion level; the degree of openness corresponding to the first-level fusion level is greater than the degree of openness corresponding to the second-level fusion level;

[0186] The generation method of the primary fusion level and the secondary fusion level includes:

[0187] Channel correlation Associated with preset channel thresholds Comparison; The preset channel correlation threshold is used to compare the numerical value of the fusion level corresponding to the channel correlation, that is, the channel correlation can be divided into a primary fusion level and a secondary fusion level; The preset channel correlation threshold is obtained by collecting a large number of critical values ​​of the channel correlation corresponding to the primary fusion level and the secondary fusion level in history, and then calculating the average value;

[0188] when Greater than or equal to When , it means that the channel correlation is greater than or equal to the preset channel correlation threshold. At this time, the openness of the data fusion interaction of the visualization channel corresponding to the channel correlation is large, and a first-level fusion level is generated;

[0189] when Less than When , it means that the channel correlation is less than the preset channel correlation threshold. At this time, the openness of the data fusion interaction of the visualization channel corresponding to the channel correlation is small, and the secondary fusion level is generated;

[0190] After the channel fusion level is obtained, a visualization channel can be constructed based on the channel fusion level, so that the visualization channel can display all the change features, thereby achieving a visualization inspection effect of the design change information, facilitating the search for change features appearing in the 3D workpiece model, and also improving the inspection efficiency and accuracy of the design change information;

[0191] The visualization channel is a visualization inspection channel with different degrees of openness for the changed features, which is established based on the channel fusion level. It is convenient for visual inspection of the changed features, so as to accurately discover the design change information and meet the needs of accurate search and location of the change information in the design iteration process of the workpiece.

[0192] The construction method of the visualization channel includes:

[0193] Create a blank first channel and a blank second channel, and mark the blanks in the first channel and the blanks in the second channel at equal intervals. The first information bit and The equal-space marking method ensures the independence of each information bit and avoids the phenomenon that the features of two adjacent information bits stick together.

[0194] The first transmission interface and the second transmission interface of the first channel and the second channel are marked respectively, and a sub-channel is established between the first transmission interface and the second transmission interface; the transmission interface realizes the import and export of information transmission in the channel, and is used for information transmission interaction between the two channels;

[0195] When the channel fusion level is the first-level fusion level, two parallel and independent interaction channels are established in the sub-channel;

[0196] When the channel fusion level is the secondary fusion level, an interactive channel is established within the sub-channel;

[0197] A visualization window that can be opened and closed is set on the first channel, the second channel and the sub-channel, and an opening and closing control key is generated; the opening and closing control key is an instruction for controlling the opening or closing of the visualization window, so as to realize the on-demand switching effect of the visualization window between opening and closing, which not only ensures the visualization effect of the channel, but also can play a closed protection effect on the channel;

[0198] Will The first change feature and Import the second changed features one by one The first information bit and The first change feature and the second change feature are visually displayed within the second information bit.

[0199] In this embodiment, by dividing the three-dimensional design model into sub-areas, marking the feature areas in the sub-areas, marking the feature center points in the feature areas, extracting the model features, extracting the design features from the design work order, comparing the design features with the model features for consistency, identifying the changed features, collecting the comprehensive correlation parameters of the changed features, calculating the channel correlation, generating the channel fusion level based on the channel correlation, and constructing a visualization channel to visualize the changed features; compared with the prior art, a larger three-dimensional design model can be divided into sub-areas, reducing the amount of model information contained in each sub-area, and matching the model information and design information in multiple sub-areas for consistency, so as to quickly and accurately identify the design change information between the three-dimensional design model and the design work order, without the need for manual frequent matching operations, and based on the correlation of the design change information, establish a corresponding visualization channel, and visualize the design change information in the three-dimensional design model, so as to realize automatic inspection and expression of the design change information, accurately obtain the change of the design information of the current version of the workpiece, and provide the latest and most accurate design information for the design and manufacture of subsequent workpieces.

[0200] Example 2: Please refer to Figure 2 As shown, the part not described in detail in this embodiment is described in Example 1, and an automatic visual inspection method based on design change information is provided, which is implemented based on an automatic visual inspection system based on design change information, including:

[0201] S1: Divide the 3D design model into sub-regions and mark the characteristic regions in the sub-regions;

[0202] S2: Mark the feature center point in the feature area, and extract the model features based on the feature center point;

[0203] S3: Extract design features from the design work order, compare the design features with the model features for consistency, and identify the changed features;

[0204] S4: Collect comprehensive correlation parameters of the change characteristics and calculate the channel correlation;

[0205] S5: Generate channel fusion level according to channel correlation, and construct visualization channel to visualize the changed features.

[0206] Example 3: Please refer to Figure 3 As shown, this embodiment discloses an electronic device, including a processor and a memory;

[0207] Wherein, the memory stores a computer program that can be called by the processor;

[0208] The processor executes the automatic visual inspection method based on design change information by calling the computer program stored in the memory.

[0209] Since the electronic device introduced in this embodiment is an electronic device used to implement an automatic visual inspection method based on design change information in Example 2 of this application, based on the automatic visual inspection method based on design change information introduced in the embodiment of this application, a person skilled in the art can understand the specific implementation of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of this application is not described in detail here. As long as a person skilled in the art implements an electronic device used in an automatic visual inspection method based on design change information in the embodiment of this application, it belongs to the scope of protection of this application.

[0210] Example 4: Please refer to Figure 4 As shown, this embodiment discloses a computer-readable storage medium on which a rewritable computer program is stored;

[0211] When the computer program is executed, the automatic visual inspection method based on design change information is implemented.

[0212] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A visual automatic inspection system for design change information, characterized in that: include: A sub-region division module is used to divide the three-dimensional design model into sub-regions and mark the characteristic regions in the sub-regions; A feature extraction module is used to mark a feature center point in a feature area and extract model features based on the feature center point, wherein the model features include a model bending value and a model concave-convex ratio; The feature comparison module is used to extract design features from the design work order. The design features include the design bending value and the design concave-convex ratio. The design features are compared with the model features for consistency to identify the changed features. A correlation calculation module, used for collecting comprehensive correlation parameters of the change characteristics, the comprehensive correlation parameters including the first correlation value and the second correlation value, and calculating the channel correlation; The method for obtaining the first associated value and the second associated value includes: Will The feature areas are numbered in ascending order from bottom to top; Identify one by one The first change feature and The number of the feature area where the second changed feature is located, and the feature areas corresponding to three consecutive numbers are recorded as the changed area; Count the number of first changed features and the number of second changed features in all changed areas, and record them as the first feature number and the second feature number respectively; Compare the first feature quantity and the second feature quantity with the total amount of the first changed feature and the total amount of the second changed feature, respectively, to obtain a first correlation value and a second correlation value; The expression for the first associated value is: ; In the formula, is the first associated value, is the first feature number, is the total amount of the first changed feature; The expression for the second associated value is: ; In the formula, is the second associated value, is the second characteristic number, is the total amount of the second changed feature; The expression of channel correlation is: ; In the formula, is the channel correlation, is a natural constant; The channel establishment module is used to generate the channel fusion level according to the channel correlation, and to construct a visualization channel to visualize the change characteristics; The channel fusion level includes the primary fusion level and the secondary fusion level; The generation method of the primary fusion level and the secondary fusion level includes: Channel correlation Associated with preset channel thresholds Compare; when Greater than or equal to When , a first-level fusion level is generated; when Less than When , the secondary fusion level is generated; The construction method of the visualization channel includes: Create a blank first channel and a blank second channel, and mark the blanks in the first channel and the blanks in the second channel at equal intervals. The first information bit and A second information bit; Marking the first transmission interface and the second transmission interface of the first channel and the second channel respectively, and establishing a sub-channel between the first transmission interface and the second transmission interface; When the channel fusion level is the first-level fusion level, two parallel and independent interaction channels are established in the sub-channel; When the channel fusion level is the secondary fusion level, an interactive channel is established within the sub-channel; A visual window capable of on / off control is set on the first channel, the second channel and the sub-channel, and an on / off control key is generated; Will The first change feature and Import the second changed features one by one The first information bit and The first change feature and the second change feature are visually displayed within the second information bit.

2. A visual design change information automatic inspection system according to claim 1, characterized in that: The sub-area division method includes: Scan the 3D design model to obtain a scanned image, and mark all the pixels in the scanned image; Randomly select a pixel point as the center of the circle and draw a detection circle in the scanned image; The radius of the detection circle is continuously adjusted until all pixels are within the detection circle, the target circle is obtained, and the radius of the target circle is measured using a scale. Taking the center of the target circle as the starting point and the radius of one third of the target circle as the width of the sub-area, the 3D design model is divided horizontally into sub-areas.

3. A visual design change information automatic inspection system according to claim 2, characterized in that: The method for marking the characteristic area comprises: The design work orders are screened out from the work order database, and the points containing design information in the design work orders are identified through natural language processing technology. Design points; Measure sequentially in the three-dimensional coordinate axis The x-coordinate value, y-coordinate value and z-coordinate value of the design point are obtained by correspondingly combining the x-coordinate value, y-coordinate value and z-coordinate value. coordinate points; exist The sub-areas are marked The location of the coordinate points is obtained Regional points; by The center of the circle is the area point, and the radius is one quarter of the width of the sub-area. feature area.

4. A visual automatic inspection system for design change information according to claim 3, characterized in that: The method for marking the feature center point includes: exist In the feature area, a preset length is used as the standard, the center of the feature area is used as the starting mark position, and the scattering direction is marked. nodes; Measure one by one The x-coordinate value, y-coordinate value, and z-coordinate value of each node are based on The x-coordinate value, y-coordinate value and z-coordinate value of each node are generated. Point weight value; The expression of point weight is: ; In the formula, For the The first feature area Point weight, For the Feature area The x-coordinate value of the node, For the Feature area The y coordinate value of the node, For the Feature area The z coordinate value of each node; Remove The maximum and minimum values ​​of the weights of the points are obtained, and the node corresponding to the maximum value of the remaining point weights is recorded as the feature center point.

5. A visual automatic inspection system for design change information according to claim 4, characterized in that: The method for extracting the model bending value comprises: Scan along the z-axis direction of the 3D workpiece model feature regions, and obtain A scanning area diagram is formed, and the arc-shaped boundary of the scanning area diagram is marked; Draw the arc boundaries of the scan area map non-adjacent two-dimensional coordinates, and record the intersection of the arc boundary of the scanning area graph and the x-axis and y-axis of the two-dimensional coordinates as the x-node and y-node; Connect the x node and the y node to form an xy line, and mark the midpoint of the xy line; by The origin of the two-dimensional coordinates is the starting point, and a line is drawn through the midpoint of the xy line and ends at the arc boundary of the scanning area diagram to obtain A curved line; Measure sequentially using a scale The length of the curved sample line is obtained The individual bending value; Will Scan area map The bending values ​​of each sub-group are accumulated and averaged to obtain Model bending value; The expression of the model bending value is: ; In the formula, For the Model bending value, For the The first scan area map The bending value of the child.

6. A visual automatic inspection system for design change information according to claim 5, characterized in that: The method for obtaining the model concavo-convex ratio comprises: Measure sequentially using a scale Scan area map The horizontal width of the height position is obtained Horizontal width value, and mark The maximum value of the horizontal width The minimum value of horizontal width; based on The maximum values ​​of the horizontal widths are The minimum value of the horizontal width is obtained Width samples; The expression of width sample value is: ; In the formula, For the Width samples, For the The maximum horizontal width value. No. The minimum value of horizontal width; Use a width sample value to mark the spacing. The arc boundary of the scan area diagram is marked concave and convex points, and measure them one by one The height value of each concave and convex point; The concave and convex points whose height values ​​are greater than the preset lower limit of height are recorded as convex points, and the number of convex points is counted; The concave and convex points whose height values ​​are less than the preset upper limit of height are recorded as concave points, and the number of concave points is counted; Will The number of convex points in the scan area graph is Compare the number of concave points in the scan area graph to obtain The model concave-convex ratio; The expression of the model's concave-convex ratio is: ; In the formula, For the The model convexity ratio, For the The number of concave points in the scan area map, No. The number of salient points in a scan area graph.

7. A visual automatic inspection system for design change information according to claim 6, characterized in that: The method for extracting the designed bending value and the designed concave-convex ratio comprises: Identify the design work order with natural language processing technology The corresponding feature area phrases and mark them separately Keywords and key values ​​for each phrase; The phrases with the keyword as the bending value are recorded as bending phrases, and the a curved phrase; Filter out one by one The key value corresponding to the curved phrase is recorded as Design bending value; The phrase with the keyword "concave-convex ratio" is recorded as concave-convex phrase, and the A concave and convex phrase; Filter out one by one The key value corresponding to the concave and convex phrases is recorded as A design concave-convex ratio.

8. A visual automatic inspection system for design change information according to claim 7, characterized in that: The change feature includes a first change feature and a second change feature; The method for identifying the first change feature and the second change feature includes: Will Design bending value and The design concave-convex ratios are respectively Model bending values ​​and The concave-convex ratios of the models were compared consistently; when Design bending value and The design concave-convex ratios are all the same as the corresponding Model bending values ​​and When the concave-convex ratios of the two models are consistent, the first change feature and the second change feature cannot be identified; When there is When a model bending value is inconsistent with the corresponding design bending value, the model bending value is identified as the first change feature, and the The first change feature; When there is When the model concave-convex ratio is inconsistent with the corresponding design concave-convex ratio, the model concave-convex ratio is identified as the second change feature, and the The second change feature.