Interactive method and system for Hall effect thickness measurement based on data visualization

Through the Hall effect thickness measurement method of data visualization display, the problem of difficult to manage information dispersion in traditional methods is solved, and intuitive display and efficient analysis of workpiece structure and thickness information is realized, improving the simplicity of user operations and data recognition capabilities.

CN116045785BActive Publication Date: 2025-08-19HEBEI UNIV OF TECH +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310063632.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-13
Publication Date
2025-08-19
Estimated Expiration
2043-01-13

AI Technical Summary

Technical Problem

The traditional Hall effect thickness measurement method cannot effectively manage and query measurement results, resulting in users spending a lot of time on repeated work, inefficient, and unable to intuitively display the arbitrary position and flatness information of the workpiece.

Method used

The data visualization-based method is adopted to display the measurement results of the workpiece through data acquisition, preprocessing, format conversion and multiple visual models, and realize the translation, rotation and scaling functions of the model. Combined with area division and data storage, corresponding data reports are generated.

Benefits of technology

It improves the credibility and comprehensibility of data results, simplifies the operation process, improves the user's ability to identify data and analyzes the data, reduces data management time, and realizes the intuitive display of workpiece structure and thickness information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116045785B_ABST
    Figure CN116045785B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data visualization and discloses an interactive method and system for Hall effect thickness measurement based on data visualization display; a data information acquisition module is used to collect various types of information in the workpiece measurement process; a data information preprocessing module is used to clean up useless data, interpolate data, and select visualization data; a data format conversion module is used to convert between a measurement coordinate system and a visualization coordinate system and convert data format types; a data visualization module is used to realize visualization display in different display modes; a data information storage module is used to store data and generate reports; the present invention combines Hall effect thickness measurement technology and solves the problem that users cannot simultaneously grasp the workpiece structure, thickness at any position, and workpiece flatness through the visualization module, and can intuitively view the thickness value of any area of the workpiece, automatically mine business data information involved in the visualization picture display, and provide timely feedback to the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data visualization, and more specifically, relates to an interactive method and system for Hall effect thickness measurement based on data visualization display. Background Art

[0002] With the rapid development of my country's economy, the requirements for workpiece thickness measurement are becoming increasingly stringent in industries such as aerospace, petrochemicals, and transportation. Thickness is a critical production indicator in the production process. Compared to other thickness measurement methods, Hall effect thickness measurement offers advantages such as the ability to detect the location of complex geometries such as corners and grooves, unaffected by external factors such as temperature, and the ability to measure thickness on non-parallel surfaces. Therefore, using the Hall effect for workpiece thickness measurement holds significant theoretical and practical value. The accuracy and intuitiveness of measurement results directly impact the achievement of key goals for product quality, safety, schedule, and cost. Similarly, with advances in computer technology, the era of big data has arrived. Advances in digital technology have brought computing power into our physical environment. With the booming big data industry, many companies are beginning to utilize data visualization. This approach leverages large amounts of historical and real-time data for application processing, visualization, and abstraction, enabling data-driven business analysis, decision-making, and planning, allowing data iteration to drive enterprise development and progress.

[0003] In current Hall effect thickness measurement application cases, two-dimensional data visualization forms such as line charts and bar charts are usually used to display thickness data changes with position, and discrete measurement data samples are used to express the thickness information of the workpiece. This traditional expression method has rich experience in practical applications and can describe the structure and thickness information of the workpiece to a certain extent, with a high degree of specialization; however, the information such as the workpiece structure and thickness displayed in this way is relatively thin, cannot explain the spatial variation law, cannot grasp the thickness of the workpiece at any position, the thickness change in any direction, the flatness of the workpiece plane, is not three-dimensional, and the display is not intuitive, which is not conducive to the analysis of the quality and safety of the workpiece product and coordination with other professional fields, making it difficult for user members to make efficient decisions and make timely corrections to the workpiece; discrete data makes it difficult to express the authenticity of the spatial changes of the real workpiece.

[0004] In summary, traditional measurement result information is scattered, difficult to manage and query, causing users to spend a lot of time on repetitive work and low efficiency. Summary of the Invention

[0005] In response to the shortcomings of the existing technology, the purpose of the present invention is to provide an interactive Hall effect thickness measurement method and system based on data visualization display, aiming to solve the problem that traditional workpiece measurement results are scattered, difficult to manage and query, causing users to spend a lot of time on repetitive work and low efficiency.

[0006] To achieve the above objectives, in a first aspect, the present invention provides an interactive method for Hall effect thickness measurement based on data visualization, comprising the following steps:

[0007] Collecting measurement data generated during the workpiece Hall effect thickness measurement process; the measurement data includes: workpiece information determined before measurement and workpiece coordinates and workpiece thickness information obtained during the workpiece thickness measurement process;

[0008] Clean outliers, duplicate values, and null values in the measurement data, select the data that needs to be displayed later according to actual needs, and perform discrete encryption processing on it using the inverse distance weighted algorithm;

[0009] Convert the encrypted data into a matrix format so that the relevant measurement data of the workpiece can be displayed in the preset coordinate system;

[0010] Use multiple visualization models to display the measurement results of the workpiece, divide the visualization model of the workpiece into regions, determine the maximum, minimum and average thickness of each region of the workpiece; and realize the translation, rotation and scaling functions of the workpiece visualization model; the multiple visualization models include: 4D stereo model display, 4D grid model display, 3D model display, scatter point display, attribute value color gradient display and color icon display;

[0011] The display data of the visualization model and the regional measurement data are saved in multiple types, and the saved results are used to generate corresponding data reports.

[0012] In an optional example, multiple visualization models are used to display the measurement results of the workpiece, specifically:

[0013] (1) Read the workpiece coordinate point data;

[0014] (2) triangulate the data, clean the data, and then make the edges shareable;

[0015] (3) Add filters to make the triangulated mesh smoother and add mappers to the coordinate point data to form objects to be rendered;

[0016] (4) Calculate the normal vector of the coordinate point data, read the thickness value of the workpiece and calculate the thickness along the normal direction of the coordinate point based on this thickness value, triangulate the normal thickness value data, obtain the maximum and minimum values of the normal thickness value, create a corresponding color table based on the normal thickness value, add a mapper to the normal thickness value data to form an object to be rendered, and create a color icon;

[0017] (5) Merge the workpiece coordinate data and normal thickness data to form the lower plane data, triangulate the data, add filters to make the triangulated mesh smoother, and add a mapper to the data to form an object to be rendered;

[0018] (6) Read the boundary points of the upper and lower planes, convert the points on the boundary into sequential points, clear the data of redundant points, triangulate the data, and add a mapper to the triangulated data to form an object to be rendered;

[0019] (7) Finally, merge all object targets, add bounding boxes for rendering objects and set rendering camera parameters, create a renderer and rendering window, start the window interactor, and finally realize interactive visual graphics display.

[0020] In an optional example, the measurement results of the workpiece are displayed based on the four-dimensional model, specifically:

[0021] (1) Obtain the workpiece coordinate points and corresponding thickness data measured by the Hall effect, and calculate the normal thickness. X, Y, and Z are used to represent the coordinate points, H represents the thickness value, and H' represents the normal thickness value;

[0022] (2) Store all selected X, Y, and Z in Point1, store all selected X, Y, and H in Point2, and store all selected X, Y, Z+H' in Point3;

[0023] (3) Use the Delaunay2D triangulation algorithm to triangulate Point1, Point2, and Point3 into discrete points respectively;

[0024] (4) adding a filter to make the mesh after triangulation of Point1 and Point3 in step (3) refined and smooth to describe the details of the workpiece;

[0025] (5) Add mappers for Point1 and Point2 in step (4), draw them into rendered entities, and wait for the rendering window;

[0026] (6) According to the change of H value in Point2 in step (3), a color is assigned to the thickness value corresponding to each point using a color gradient algorithm, and the color-assigned Point2 is matched one-to-one with Point1 in step (3), so that Point1 has a color that changes with the H value. A color icon is then set for the gradient color, a mapper is added to the color icon, and the icon is drawn into a rendered entity, waiting for the rendering window;

[0027] (7) Add a mapper to Point1 in step (6) and draw it into a rendered entity, waiting for the rendering window;

[0028] (8) Using the boundary extraction algorithm, extract the boundary of Point1 in step (6) and Point2 in step (4), then add a mapper to it, draw it into a rendered entity, and wait for the rendering window;

[0029] (9) Using the side triangulation algorithm, a triangulated side surface is formed according to the boundary in step (8), and drawn into a rendered entity, waiting for the rendering window;

[0030] (10) Using the triangulated data merging algorithm, the rendering entity in step (5), the rendering entity in step (6), the rendering entity in step (7), the rendering entity in step (8), and the rendering entity in step (9) are merged, and a rendering window is added thereto, and an interactor is added so that the user can use the mouse and keyboard to perform translation, rotation, and scaling operations on the visualized four-dimensional workpiece model, and thus can observe the visualized model from any angle.

[0031] In an optional example, the measurement results of the workpiece are displayed based on the four-dimensional mesh model, specifically:

[0032] (1) Obtain the workpiece coordinate points and corresponding thickness data measured by the Hall effect, and calculate the normal thickness, and use X, Y, and Z to represent the coordinate points, H to represent the thickness value, and H' to represent the normal thickness value;

[0033] (2) Store all selected X, Y, and Z in Point1, store all selected X, Y, and H in Point2, and store all selected X, Y, Z+H' in Point3;

[0034] (3) Use the Delaunay2D triangulation algorithm to triangulate Point1, Point2, and Point3 into discrete points respectively;

[0035] (4) adding a filter to make the mesh after triangulation of Point1 and Point3 in step (3) refined and smooth to describe the details of the workpiece;

[0036] (5) Add mappers to Point1 and Point2 in step (4), draw them into rendered entities, mesh the rendered entities, and wait for the rendering window;

[0037] (6) According to the change of H value in Point2 in step (3), a color is assigned to the thickness value corresponding to each point using a color gradient algorithm, and the color-assigned Point2 is matched one-to-one with Point1 in step (3), so that Point1 has a color that changes with the H value. A color icon is then set for the gradient color, a mapper is added to the color icon, and the icon is drawn into a rendered entity, waiting for the rendering window;

[0038] (7) Add a mapper to Point1 in step (6) and draw it into a rendered entity, then mesh the rendered entity and wait for the rendering window;

[0039] (8) Using the boundary extraction algorithm, extract the boundary of Point1 in step (6) and Point2 in step (4), then add a mapper to it, draw it into a rendered entity, and wait for the rendering window;

[0040] (9) Using the side triangulation algorithm, triangulate the side surface according to the boundary in step (8), draw it into a rendered entity, and then mesh the rendered entity and wait for the rendering window;

[0041] (10) Using the triangulated data merging algorithm, the rendering entity in step (5), the rendering entity in step (6), the rendering entity in step (7), the rendering entity in step (8), and the rendering entity in step (9) are merged, and a rendering window is added thereto, and an interactor is added so that the user can use the mouse and keyboard to perform translation, rotation, and scaling operations on the visualized four-dimensional workpiece model, and thus can observe the visualized model from any angle.

[0042] In an optional example, for a single area partition in the area partitioning of the visualization model, the maximum, minimum, and average thickness values are calculated as follows:

[0043] (1) Obtain all selected visualization data points, define them as Lst1, and assign a vertex value to each vertex; use X, Y, and Z to represent the coordinate point, H to represent the thickness value, and H' to represent the normal thickness value;

[0044] (2) Set the minimum and maximum X values, and the minimum and maximum Y values of the partitioned area;

[0045] (3) Extract the i-th data point of Lst1 in step (1) and compare it with the minimum and maximum values of X in step (2). If it is between the maximum and minimum values, it meets the set requirements and proceeds to the next step;

[0046] (4) Based on the result in step (3), compare it with the minimum and maximum values of Y in step (2). If it is between the maximum and minimum values, it meets the set requirements. Then, store the qualified X, Y, and Z in Point11, X, Y, and H in Point22, and X, Y, Z + H' in Point33. Then store the X, Y, and H data in a new tuple and form a list, which is defined as Lst2.

[0047] (5) Using a For loop, repeat the process of steps (3) and (4) until all the selected visualization data points are traversed and the number of loops is obtained;

[0048] (6) Using the Delaunay2D triangulation algorithm, triangulate the Lst2 discrete data in step (4);

[0049] (7) Use the algorithm to calculate the maximum, minimum, and average values of H of Lst2 in step (6) and display them on the visualization interface;

[0050] (8) Using the data of Point11, Point22, and Point33 in step (4), enter the four-dimensional model visualization module;

[0051] (9) Complete the result output.

[0052] In an optional example, multiple regions are divided simultaneously in the region division of the visualization model, and the maximum, minimum, and average thickness values are calculated, specifically as follows:

[0053] (1) Obtain all selected visualization data points, define them as Lst1, and assign a vertex value to each vertex; use X, Y, and Z to represent the coordinate point, H to represent the thickness value, and H' to represent the normal thickness value;

[0054] (2) Set the minimum and maximum X values, and the minimum and maximum Y values for each partitioned area;

[0055] (3) Extract the i-th data point of Lst1 in step (1) and compare it with the minimum and maximum values of X in each divided area in step (2). If it is between the maximum and minimum values, it meets the set requirements and proceeds to the next step;

[0056] (4) Based on the result in step (3), compare it with the minimum and maximum values of Y of each partition area in step (2). If it is between the maximum and minimum values, it meets the set requirements. Then, X, Y, and Z that meet the standards of each partition area are stored in Point11 of the corresponding partition area, X, Y, and H that meet the standards of each partition area are stored in Point22 of the corresponding partition area, and X, Y, Z+H' that meet the standards of each partition area are stored in Point33 of the corresponding partition area. Then, the X, Y, and H data are stored in a new tuple and formed into a list, which is defined as Lst2.

[0057] (5) Using a For loop, repeat the process of steps (3) and (4) until all the selected visualization data points are traversed and the number of loops for each divided area is obtained;

[0058] (6) Using the Delaunay2D triangulation algorithm, triangulate the Lst2 discrete data in step (4);

[0059] (7) Use the algorithm to calculate the maximum, minimum, and average values of H of Lst2 in each divided area in step (6);

[0060] (8) Using the data of Point11, Point22, and Point33 of each divided area in step (4), enter the four-dimensional stereo model visualization module;

[0061] (9) Complete the result output.

[0062] In an optional example, the display data of the visualization model and the regional measurement data are saved in multiple types, specifically:

[0063] Save the visualization model in multiple types, including VTK, PLY, ODB and STL types;

[0064] Save the results of the visualization model area division in CSV and XLSX formats.

[0065] In an optional example, the saved results are generated into a corresponding data report, specifically:

[0066] (1) Obtaining data to visualize the workpiece;

[0067] (2) Set the part of the workpiece for which the report is to be generated. The maximum and minimum values of the workpiece's horizontal coordinate X are defined as X_max and X_min, and the maximum and minimum values of the workpiece's vertical coordinate Y are defined as Y_max and Y_min;

[0068] (3) Set the parameters related to equal-interval division. The equal-interval division interval in the X direction is defined as X_interval1, and the equal-interval division interval in the Y direction is defined as Y_interval1.

[0069] (4) Set the starting row and column, row interval and column interval of the generated report;

[0070] (5) Setting the parameters of the equally spaced reference area, i.e., the maximum and minimum values of X and the maximum and minimum values of Y of the reference area;

[0071] (6) Create Excel worksheets according to the data types of different calculation results;

[0072] (7) Determine whether X_min+(i+1) in step (2)*X_interval1 in step (3) is not greater than X_max in step (2), and at the same time determine whether Y_min+(i+1) in step (2)*Y_interval1 in step (3) is not greater than Y_max in step (2). If so, proceed to the next step; otherwise, proceed to step (11);

[0073] (8) According to the setting results of steps (2) and (3), the X range and Y range of each small area divided into equal intervals are calculated, and the calculation results are passed to the module for calculating the maximum, minimum, and average values of the thickness of the area. The module calculation results are defined as Features;

[0074] (9) Pass all the set parameters and the Feature in step (8) into the corresponding position of the report;

[0075] (10) Determine the position of the X range and Y range in step (8) relative to the reference area in step (5). The position orientation includes nine options: upper left, upper right, upper left, overlap, right, lower left, lower right, and lower right. The determination of this orientation is the position of the data in the report. Then, store the feature in step (8) in the corresponding position in the report.

[0076] (11) Repeat steps (7) to (10) using a double loop until the model area division is completed and the report generation is finally completed.

[0077] In a second aspect, the present invention provides an interactive Hall effect thickness measurement system based on data visualization, comprising:

[0078] The data information acquisition module is used to collect the measurement data generated during the workpiece Hall effect thickness measurement process; the measurement data includes: the workpiece information determined before the measurement and the workpiece coordinates and workpiece thickness information obtained during the workpiece thickness measurement process;

[0079] The data information preprocessing module is used to clean up outliers, duplicate values and null values in the measurement data, select the data that needs to be displayed later according to actual needs, and perform discrete encryption processing on it using the inverse distance weighted algorithm;

[0080] The data format conversion module is used to convert the encrypted data into a matrix format so that the relevant measurement data of the workpiece can be displayed in a preset coordinate system;

[0081] The data visualization module is used to display the measurement results of the workpiece using multiple visualization models, divide the workpiece visualization model into regions, determine the maximum, minimum, and average thickness of each region of the workpiece, and realize the translation, rotation, and scaling functions of the workpiece visualization model; the multiple visualization models include: four-dimensional model display, four-dimensional grid model display, three-dimensional model display, scattered point display, attribute value color gradient display, and color icon display;

[0082] The data information saving module is used to save the display data and measurement data of the visualization module in multiple types, and generate corresponding data reports based on the saved results.

[0083] In an optional example, the data visualization module uses multiple visualization models to display the measurement results of the workpiece, specifically: (1) reading the workpiece coordinate point data; (2) triangulating the data, cleaning the data, and then sharing the edges; (3) adding a filter to make the triangulated mesh smoother, adding a mapper to the coordinate point data to form an object to be rendered; (4) reading the workpiece thickness value, triangulating the thickness value data, obtaining the maximum and minimum values of the thickness value, creating a corresponding color table according to the thickness value, adding a mapper to the thickness value data to form an object to be rendered, and creating a color icon; (5) The coordinate data and thickness data are merged to form the lower plane data, the data is triangulated, a filter is added to make the triangulated mesh smoother, and a mapper is added to the data to form an object waiting to be rendered; (6) the boundary points of the upper and lower planes are read, the points on the boundary are converted into sequential points, the data of the redundant points are cleared, the data is triangulated, and a mapper is added to the patched data to form an object waiting to be rendered; (7) finally, all object targets are merged, a bounding box is added to the rendered object and the parameters of the rendering camera are set, a renderer and a rendering window are created, the window interactor is started, and finally, interactive visual graphics display is realized.

[0084] In an optional example, the data information storage module generates a corresponding data report by saving the result, specifically: (1) obtaining data for visualizing the workpiece; (2) setting the part of the workpiece for which the report is to be generated, the maximum and minimum values of the workpiece's horizontal coordinate X are defined as X_max and X_min, and the maximum and minimum values of the workpiece's vertical coordinate Y are defined as Y_max and Y_min; (3) setting the relevant parameters for equal-interval division, the equal-division interval in the X direction is defined as X_interval1, and the equal-division interval in the Y direction is defined as Y_interval1; (4) setting the starting row and starting column, row interval and column interval for generating the report; (5) setting the parameters of the reference area of equal-interval division, that is, the maximum and minimum values of X and the maximum and minimum values of Y of the reference area; (6) creating an Excel worksheet according to the data type of different calculation results; (7) judging whether X_min+(i+1)*X_interval1 in step (3) in step (2) is not greater than X_max in step (2), and judging whether Is Y_min+(i+1)*Y_interval1 in step (3) not greater than Y_max in step (2)? If so, proceed to the next step; otherwise, proceed to step (11); (8) According to the setting results of steps (2) and (3), calculate the X range and Y range of each small area divided at equal intervals, and pass the calculation results to the module for calculating the maximum, minimum and average values of the thickness of the area. The module calculation results are defined as Features; (9) All setting parameters and the Features in step (8) are passed to the corresponding positions of the report; (10) Determine the position of the X range and Y range in step (8) relative to the reference area in step (5). The position orientation includes nine positions: upper left, upper right, left, overlap, right, lower left, lower right and lower right. The judgment of this orientation is the position of the data in the report. Then, the Feature in step (8) is stored in the corresponding position of the report; (11) Repeat steps (7) to (10) using a double loop until the area division of the model is completed and the report generation is completed.

[0085] In a third aspect, the present invention provides an electronic device, comprising: a memory and a processor;

[0086] The memory is used to store computer programs;

[0087] The processor is configured to implement the method provided in the first aspect above when executing the computer program.

[0088] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method provided in the first aspect above is implemented.

[0089] In general, the above technical solutions conceived by the present invention have the following beneficial effects compared with the prior art:

[0090] The present invention provides an interactive Hall effect thickness measurement method and system based on data visualization. Approximately 80% of the information humans acquire from the outside world comes from the visual system. When the workpiece's structure, thickness, and flatness information are displayed visually to the user, the credibility, understandability, and usability of the data results are effectively improved. The present invention allows users to customize the visualization display method and data standards. Thanks to the graphical user interface, operation is simplified, convenient, and flexible. The interactivity of the visualization model enhances the user's ability to identify data, allowing simultaneous observation of different model attributes and from different angles. Furthermore, visualization models of different data and different visualization methods for the same data can be displayed simultaneously across multiple interfaces, providing powerful support for user data analysis. Compared to traditional data storage and reporting methods, the present invention presents data more intuitively, concisely, and reliably, making user analysis more objective and reliable. It also reduces the time users spend managing data and improves work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0091] Figure 1 This is a flow chart of an interactive method for Hall effect thickness measurement based on data visualization provided by an embodiment of the present invention;

[0092] Figure 2 This is an architecture diagram of an interactive Hall effect thickness measurement system based on data visualization provided by an embodiment of the present invention;

[0093] Figure 3 This is a visualization flow chart of a four-dimensional stereo model provided by an embodiment of the present invention;

[0094] Figure 4 This is a flow chart of generating a data report module provided by an embodiment of the present invention;

[0095] Figure 5 This is a data visualization program flow chart provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0096] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0097] In the description of the present invention, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the exemplary expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0098] The present invention relates to the field of data visualization and discloses an interactive Hall effect thickness measurement method based on data visualization display technology, comprising a data information acquisition module, a data information preprocessing module, a data format conversion module, a data visualization module, and a data information storage module; the data information acquisition module is used to collect various types of information in a workpiece measurement process; the data information preprocessing module is used to clean up useless data, perform data interpolation, and select visualized data; the data format conversion module is used to convert between a measurement coordinate system and a visualization coordinate system and convert data format types; the data visualization module is used to realize visualization display in different display modes; and the data information storage module is used to save data and generate reports. The present invention combines Hall effect thickness measurement technology and solves the problem that users cannot simultaneously grasp the workpiece structure, thickness at any position, and flatness of the workpiece through the visualization module, and can intuitively view the thickness value of any area of the workpiece, automatically mine business data information involved in the visualization screen display, and provide timely feedback to the user, and can simply and intuitively save visualization results. The operation is convenient and fast, thereby improving the accuracy and efficiency of user analysis.

[0099] Figure 1 : is a flow chart of an interactive method for Hall effect thickness measurement based on data visualization provided by an embodiment of the present invention; Figure 1 As shown, the following steps are included:

[0100] S101, collecting measurement data generated during the workpiece Hall effect thickness measurement process; the measurement data includes: workpiece information determined before measurement and workpiece coordinates and workpiece thickness information obtained during the workpiece thickness measurement process;

[0101] S102, cleaning outliers, duplicate values and null values in the measurement data, and selecting data to be displayed later according to actual needs, and performing discrete encryption processing on them using an inverse distance weighted algorithm;

[0102] S103, converting the encrypted data into a matrix format so that the relevant measurement data of the workpiece can be displayed in a preset coordinate system;

[0103] S104, using multiple visualization models to display the measurement results of the workpiece, and dividing the visualization model of the workpiece into regions, determining the maximum, minimum, and average thickness of each region of the workpiece; and realizing translation, rotation, and scaling functions of the workpiece visualization model; the multiple visualization models include: four-dimensional model display, four-dimensional grid model display, three-dimensional model display, scattered point display, color gradient display of attribute values, and color icon display;

[0104] S105: saving the display data of the visualization model and the regional measurement data in multiple types, and generating corresponding data reports based on the saved results.

[0105] The detailed implementation of each step can be found in the detailed description in the following embodiments.

[0106] Figure 2 : is an architecture diagram of an interactive Hall effect thickness measurement system based on data visualization provided by an embodiment of the present invention; Figure 2 As shown, including:

[0107] The data information acquisition module is used to collect the measurement data generated during the workpiece Hall effect thickness measurement process; the measurement data includes: the workpiece information determined before the measurement and the workpiece coordinates and workpiece thickness information obtained during the workpiece thickness measurement process;

[0108] The data information preprocessing module is used to clean up outliers, duplicate values and null values in the measurement data, select the data that needs to be displayed later according to actual needs, and perform discrete encryption processing on it using the inverse distance weighted algorithm;

[0109] The data format conversion module is used to convert the encrypted data into a matrix format so that the relevant measurement data of the workpiece can be displayed in a preset coordinate system;

[0110] The data visualization module is used to display the measurement results of the workpiece using multiple visualization models, divide the workpiece visualization model into regions, determine the maximum, minimum, and average thickness of each region of the workpiece, and realize the translation, rotation, and scaling functions of the workpiece visualization model; the multiple visualization models include: four-dimensional model display, four-dimensional grid model display, three-dimensional model display, scattered point display, attribute value color gradient display, and color icon display;

[0111] The data information saving module is used to save the display data and measurement data of the visualization module in multiple types, and generate corresponding data reports based on the saved results.

[0112] In a specific embodiment, the data information acquisition module is used to collect workpiece measurement data generated during the workpiece measurement process. Different measurement steps in the workpiece measurement process generate different data. For example, before measuring a workpiece, it is necessary to clearly identify the workpiece number, name, model, quantity, and production date. During thickness measurement, it is necessary to collect workpiece coordinate information and thickness information.

[0113] The data information collection module can enter the collected information into a computer or database, and can be selected according to user needs, such as entering the data information into a CSV format file.

[0114] The data information processing module processes the collected measurement data to increase the authenticity of the data. The various types of information collected by the data information acquisition module are not necessarily completely useful or helpful, and for a large amount of data, the data that has not been processed contains a lot of invalid information. Before converting the selected visualization data into a matrix format, the data needs to be preprocessed to clean up outliers, duplicate values, and null values in the original data, reduce the time required for data format conversion, and improve the quality of data visualization display. The data information preprocessing module includes the function of selecting data. Sometimes it is not necessary to visualize the entire workpiece, so the function of selecting data according to actual needs can be set. The collected coordinate point data is discretely encrypted and interpolated using the inverse distance weighted algorithm;

[0115] Specifically, the encryption processing of data points is achieved through the inverse distance weighting algorithm. The inverse distance weighting algorithm has the characteristics of assigning a larger weight to a point closer to the predicted location and a smaller weight to a point farther from the predicted location. The specific algorithm steps include:

[0116] (1) Get the data and project it into a variable, which is defined as Line;

[0117] (2) Use a while loop to convert the data of each point into a tuple, and then form the tuples into a list, which is defined as Data_list;

[0118] (3) Enter an unknown point, defined as P0;

[0119] (4) Traverse the distance between point P0 and all sampling points, define the distance storage variable as PTN, if two points coincide, the distance is 0;

[0120] (5) Arrange the traversed distances in ascending order;

[0121] (6) Read the first 15 points of the traversal distance, set the weight to 2, calculate the sum of the squares of the reciprocals of each distance, defined as Sum0, calculate the product of the square of the reciprocal of each distance and the distance, and then perform the sum operation, defined as Sum1;

[0122] (7) Calculate Sum1 / Sum0 to get the value of the interpolation point.

[0123] The data format conversion module needs to perform a data format conversion operation for the coordinate system conversion for the visualization of the workpiece using coordinate points, because the workpiece coordinate system may be different from the computer visualization coordinate system, which also includes the conversion of the coordinate system format. Secondly, the various types of information collected by the data information acquisition module in step one are all in text form, while the format of part of the data required by the data visualization module in step four is floating point number, and the information of the same point is stored in a tuple, and the tuples are then organized into a list format. In addition, the transmission between functions in the data visualization module in step four is also the output and input of different data formats, so the data format must be converted into different categories.

[0124] The data visualization module is connected to the data format conversion module and can provide analysis of multiple variables in the observed data at the same time, while providing mathematical and statistical analysis tools. The data visualization module includes three-dimensional display, namely the display of four-dimensional models, four-dimensional grid model display, three-dimensional model display, scatter point display, color gradient display of attribute values, and color icon display. It supports the arrangement of visual interfaces, interaction of events, adjustment of display results, and selection of background styles to generate different display effects. It displays the file path of the source of the visual data. A default visualization method is built-in. The visual model is divided into regions, and the division methods include single region division, simultaneous division of multiple regions, and equal interval division, and the maximum, minimum, and average thickness values corresponding to each divided small region are calculated. The visualization module includes an interactive module, which is used for users to use the mouse and keyboard to realize the functions of translation, rotation, and scaling of the visual model so that users can observe the workpiece model from any angle.

[0125] Specifically, for the visualization of four-dimensional stereo models, such as Figure 3 As shown, the algorithm flow steps are as follows:

[0126] (1) Obtain the data of the coordinate points and the corresponding thickness, and calculate the normal thickness. X, Y, and Z are used to represent the coordinate points, H is used to represent the thickness value, and H' is used to represent the normal thickness value.

[0127] (2) Store all selected X, Y, and Z in Point1, store all selected X, Y, and H in Point2, and store all selected X, Y, Z+H' in Point3;

[0128] (3) Use the Delaunay2D triangulation algorithm to triangulate Point1, Point2, and Point3 into discrete points respectively;

[0129] (4) Adding filters to refine and smooth the meshes after triangulation of Point1 and Point3 in step (3) to describe the details of the workpiece and improve the quality of visualization;

[0130] (5) Add mappers for Point1 and Point2 in step (4), draw them into rendered entities, and wait for the rendering window;

[0131] (6) According to the change of H value in Point2 in step (3), a color is assigned to the thickness value corresponding to each point using a color gradient algorithm, and the color-assigned Point2 is matched one-to-one with Point1 in step (3), so that Point1 has a color that changes with the H value, and then a color icon is set for the gradient color, a mapper is added to the color icon, and it is drawn into a rendered entity, waiting for the rendering window. There are two color gradient algorithms: one is to set a thickness threshold, and only unqualified thickness values will be assigned a gradient color, and qualified thickness values are white by default; the other is that all thickness values will be assigned a gradient color;

[0132] (7) Add a mapper to Point1 in step (6) and draw it into a rendered entity, waiting for the rendering window;

[0133] (8) Using the boundary extraction algorithm, extract the boundary of Point1 in step (6) and Point2 in step (4), then add a mapper to it, draw it into a rendered entity, and wait for the rendering window;

[0134] (9) Using the side triangulation algorithm, a triangulated side surface is formed according to the boundary in step (8), and drawn into a rendered entity, waiting for the rendering window;

[0135] (10) Using the triangulated data merging algorithm, the rendering entity in step (5), the rendering entity in step (6), the rendering entity in step (7), the rendering entity in step (8), and the rendering entity in step (9) are merged, and a rendering window is added thereto, and an interactor is added so that the user can use the mouse and keyboard to perform translation, rotation, and scaling operations on the visualized four-dimensional workpiece model, and thus can observe the visualized model from any angle.

[0136] Specifically, for the visualization of the four-dimensional grid model, the algorithm flow steps are as follows:

[0137] (1) Obtain the data of the coordinate points and the corresponding thickness, and calculate the normal thickness. X, Y, and Z are used to represent the coordinate points, H is used to represent the thickness value, and H' is used to represent the normal thickness value.

[0138] (2) Store all selected X, Y, and Z in Point1, store all selected X, Y, and H in Point2, and store all selected X, Y, Z+H' in Point3;

[0139] (3) Use the Delaunay2D triangulation algorithm to triangulate Point1, Point2, and Point3 into discrete points respectively;

[0140] (4) Adding filters to refine and smooth the meshes after triangulation of Point1 and Point3 in step (3) to describe the details of the workpiece and improve the quality of visualization;

[0141] (5) Add mappers to Point1 and Point2 in step (4), draw them into rendered entities, mesh the rendered entities, and wait for the rendering window;

[0142] (6) According to the change of H value in Point2 in step (3), a color is assigned to the thickness value corresponding to each point using a color gradient algorithm, and the color-assigned Point2 is matched one-to-one with Point1 in step (3), so that Point1 has a color that changes with the H value, and then a color icon is set for the gradient color, a mapper is added to the color icon, and it is drawn into a rendered entity, waiting for the rendering window. There are two color gradient algorithms: one is to set a thickness threshold, and only unqualified thickness values will be assigned a gradient color, and qualified thickness values are white by default; the other is that all thickness values will be assigned a gradient color;

[0143] (7) Add a mapper to Point1 in step (6) and draw it into a rendered entity, then mesh the rendered entity and wait for the rendering window;

[0144] (8) Using the boundary extraction algorithm, extract the boundary of Point1 in step (6) and Point2 in step (4), then add a mapper to it, draw it into a rendered entity, and wait for the rendering window;

[0145] (9) Using the side triangulation algorithm, triangulate the side surface according to the boundary in step (8), draw it into a rendered entity, and then mesh the rendered entity and wait for the rendering window;

[0146] (10) Using the triangulated data merging algorithm, the rendering entity in step (5), the rendering entity in step (6), the rendering entity in step (7), the rendering entity in step (8), and the rendering entity in step (9) are merged, and a rendering window is added thereto, and an interactor is added so that the user can use the mouse and keyboard to perform translation, rotation, and scaling operations on the visualized four-dimensional workpiece model, and thus can observe the visualized model from any angle.

[0147] Specifically, for the area division of a single area in the visualization model, and calculating the maximum, minimum, and average thickness, the algorithm flow steps are as follows:

[0148] (1) Obtain all selected visualization data points, define them as Lst1, and assign a vertex value to each vertex; use X, Y, and Z to represent the coordinate point, H to represent the thickness value, and H' to represent the normal thickness value;

[0149] (2) Set the minimum and maximum X values, and the minimum and maximum Y values of the partitioned area;

[0150] (3) Extract the i-th data point of Lst1 in step (1) and compare it with the minimum and maximum values of X in step (2). If it is between the maximum and minimum values, it meets the set requirements and proceeds to the next step;

[0151] (4) Based on the result in step (3), compare it with the minimum and maximum values of Y in step (2). If it is between the maximum and minimum values, it meets the set requirements. Then, store the qualified X, Y, and Z in Point11, X, Y, and H in Point22, and X, Y, Z + H' in Point33. Then store the X, Y, and H data in a new tuple and form a list, which is defined as Lst2.

[0152] (5) Using a For loop, repeat the process of steps (3) and (4) until all the selected visualization data points are traversed, and obtain the number of loops, which is defined as NumPts1;

[0153] (6) Using the Delaunay2D triangulation algorithm, triangulate the Lst2 discrete data in step (4);

[0154] (7) Use the algorithm to calculate the maximum, minimum, and average values of H of Lst2 in step (6) and display them on the visualization interface;

[0155] (8) Using the data of Point11, Point22, and Point33 in step (4), enter the four-dimensional model visualization module;

[0156] (9) Complete the result output.

[0157] Specifically, for the area division of the visualization model, multiple areas are divided at the same time, and the maximum, minimum, and average thickness values are calculated. The algorithm flow steps are as follows:

[0158] (1) Obtain all selected visualization data points, define them as Lst1, and assign a vertex value to each vertex; use X, Y, and Z to represent the coordinate point, H to represent the thickness value, and H' to represent the normal thickness value;

[0159] (2) Set the minimum and maximum X values, and the minimum and maximum Y values for each partitioned area;

[0160] (3) Extract the i-th data point of Lst1 in step (1) and compare it with the minimum and maximum values of X in each divided area in step (2). If it is between the maximum and minimum values, it meets the set requirements and proceeds to the next step;

[0161] (4) Based on the result in step (3), compare it with the minimum and maximum values of Y of each partition area in step (2). If it is between the maximum and minimum values, it meets the set requirements. Then, X, Y, and Z that meet the standards of each partition area are stored in Point11 of the corresponding partition area, X, Y, and H that meet the standards of each partition area are stored in Point22 of the corresponding partition area, and X, Y, Z+H' that meet the standards of each partition area are stored in Point33 of the corresponding partition area. Then, the X, Y, and H data are stored in a new tuple and formed into a list, which is defined as Lst2.

[0162] (5) Using a For loop, repeat the process of steps (3) and (4) until all the selected visualization data points are traversed, and the number of loops for each divided area is obtained, which is defined as NumPts1;

[0163] (6) Using the Delaunay2D triangulation algorithm, triangulate the Lst2 discrete data in step (4);

[0164] (7) Use the algorithm to calculate the maximum, minimum, and average values of H of Lst2 in each divided area in step (6);

[0165] (8) Using the data of Point11, Point22, and Point33 of each divided area in step (4), enter the four-dimensional stereo model visualization module;

[0166] (9) Complete the result output.

[0167] The data information preservation module is responsible for the preservation and basic management of the result data after the entire visualization, as well as data management. The data information preservation module includes a data preservation module and a data reporting module. The data preservation module can save the visualization model in multiple types, such as VTK, PLY, ODB, and STL types. It can also save the results of regional division after visualization. The saving type can be CSV or XLSX format, which is convenient for users to view the calculation results in time and grasp the relevant information of the workpiece. The data reporting module generates reports according to the style of the area divided by the visualization model, and fills in the relevant calculation results in each divided area generated in the report, making it more convenient for users to manage data and reduce repetitive work. There are two styles of generated reports, one is that all types of calculation results of each divided area are in one report, and the other is that the same type of calculation results of each divided area are in one report;

[0168] Specifically, the data saving module obtains the geometric information of the workpiece model from the visually displayed object in the visualization module, and then converts all the geometric information of the workpiece into OBJ format for storage. The OBJ file format mainly supports static polygonal models. It is a standard 3D model file format developed by Alias|Wavefront for its set of workstation-based 3D modeling and animation software. Its file format structure is simple and supports almost all three-dimensional building software. The OBJ file stores geometric information such as vertices and normals in the visual model in plain text. At this stage, most of the well-known 3D software on the market support the reading and writing of OBJ format files, so it is the most popular file format at this stage. However, the shortcoming of the OBJ file format is that it cannot contain information such as animation, material properties and dynamics.

[0169] Specifically, the data storage module obtains the workpiece model's geometric information from the objects displayed in the visualization module and then converts all of this workpiece's geometric information into the PLY format for storage. The PLY file format can be understood as a static polygonal model and a computer file format. Based on the OBJ file format, it further improves and optimizes it, addressing the significant shortcomings of the OBJ file format, including the difficulty in expanding groups and arbitrary attributes. Two new keywords, "Property" and "Element," are proposed, providing a general description of concepts such as "group, point, surface, and element." The PLY file format can store not only 3D numerical values obtained from scanning a 3D model, but also data such as the model's color, transparency, and surface normals. Regarding data storage, PLY format files are available in two versions: source code and ACSII code, with significant differences between the versions. PLY format files require less storage space than OBJ format files.

[0170] Specifically, the data saving module obtains the geometric information of the workpiece model from the object visually displayed in the visualization module, and then converts all the geometric information of the workpiece into STL format for storage. The STL file format was established by 3D Systems software company. It was originally a file format used for computer-aided design software for stereolithography machines. It is a universal format file for computers to print three-dimensional data. Due to the simple storage method of this format file and its standardized interface format, it is the most widely used standard file format in rapid prototyping systems at this stage. It can be said that it is widely used in the market, especially in the fields of medical impact and cultural relics preservation. The STL file is a data model that realizes the construction of the surface of a three-dimensional model by stacking many small triangular facets. However, the STL format has some shortcomings, namely, it can only save the geometric data information of the model, the file format is relatively simple, and does not support detailed information such as color and material.

[0171] Specifically, the data storage module obtains the workpiece model's geometric information from the objects displayed in the visualization module and converts all of this information into the VTK format for storage. The VTK format can store geometric model data, including point and surface information, and supports color preservation, storing it in human-readable text format.

[0172] Specifically, if Figure 4 As shown, the steps for generating the data report module are as follows:

[0173] (1) Obtaining data to visualize the workpiece;

[0174] (2) Set the part of the workpiece for which the report is to be generated. The maximum and minimum values of X are defined as X_max and X_min, and the maximum and minimum values of Y are defined as Y_max and Y_min;

[0175] (3) Set the parameters related to equal-interval division. The equal-interval division interval in the X direction is defined as X_interval1, and the equal-interval division interval in the Y direction is defined as Y_interval1.

[0176] (4) Set the starting row and column, row interval and column interval of the generated report;

[0177] (5) Setting the parameters of the equally spaced reference area, i.e., the maximum and minimum values of X and the maximum and minimum values of Y of the reference area;

[0178] (6) Create Excel worksheets according to the data types of different calculation results;

[0179] (7) Determine whether X_min+(i+1) in step (2)*X_interval1 in step (3) is not greater than X_max in step (2), and at the same time determine whether Y_min+(i+1) in step (2)*Y_interval1 in step (3) is not greater than Y_max in step (2). If so, proceed to the next step; otherwise, proceed to step (11);

[0180] (8) According to the setting results of steps (2) and (3), the X range and Y range of each small area divided into equal intervals are calculated, and the calculation results are passed to the module for calculating the maximum, minimum, and average values of the thickness of the area. The module calculation results are defined as Features;

[0181] (9) All set parameters and the Features in step (8) are passed into the report generation module;

[0182] (10) Determine the position of the X range and Y range in step (8) relative to the reference area in step (5). The position orientation includes nine options: upper left, upper right, upper left, overlap, right, lower left, lower right, and lower right. The determination of this orientation is the position of the data in the report. Then, store the feature in step (8) in the corresponding position in the report.

[0183] (11) Repeat steps (7) to (10) using a double loop until the model area division is completed and the report generation is finally completed.

[0184] According to one embodiment of the present invention, Figure 5 As shown, the data visualization program flow is as follows:

[0185] (1) Using Python language, read coordinate point data;

[0186] (2) triangulate the data, clean the data, and then make the edges shareable;

[0187] (3) Add filters to make the triangulated mesh smoother and add mappers to the coordinate point data to form objects to be rendered;

[0188] (4) Read the thickness value, triangulate the thickness value data, obtain the maximum and minimum values of the thickness value, create a corresponding color table according to the thickness value, add a mapper to the thickness value data to form an object to be rendered, and create a color icon;

[0189] (5) Merge the coordinate data and thickness data to form the lower plane data, triangulate the data, add filters to make the triangulated mesh smoother, and add a mapper to the data to form an object to be rendered;

[0190] (6) Read the boundary points of the upper and lower planes, convert the points on the boundary into sequential points, clear the data of redundant points, triangulate the data, and add a mapper to the triangulated data to form an object to be rendered;

[0191] (7) Finally, merge all object targets, add bounding boxes for rendering objects and set rendering camera parameters, create a renderer and rendering window, start the window interactor, and finally achieve friendly interactive visual graphics display.

[0192] In addition, in order to make it easier for users to use our program, we have also designed a graphical user interface, in which users can easily use the relevant functions of data visualization.

[0193] In addition, an embodiment of the present invention provides an electronic device, which includes: a memory and a processor; the memory is used to store a computer program; and the processor is used to implement the method in the above embodiment when executing the computer program.

[0194] In addition, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method in the above embodiment is implemented.

[0195] Based on the method in the above embodiment, an embodiment of the present invention provides a computer program product. When the computer program product runs on a processor, the processor executes the method in the above embodiment.

[0196] Based on the method in the above embodiment, an embodiment of the present invention further provides a chip, including one or more processors and an interface circuit. Optionally, the chip may also include a bus.

[0197] The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, a digital communicator (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. The various methods and steps disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0198] The interface circuit can be used to send or receive data, instructions or information. The processor can use the data, instructions or other information received by the interface circuit to process it, and can send the processing completion information through the interface circuit.

[0199] Optionally, the chip also includes a memory, which may include a read-only memory and a random access memory, and provides operating instructions and data to the processor. A portion of the memory may also include non-volatile random access memory (NVRAM). Optionally, the memory stores executable software modules or data structures, and the processor can perform corresponding operations by calling operating instructions stored in the memory (the operating instructions may be stored in the operating system). Optionally, the interface circuit can be used to output the execution results of the processor.

[0200] It should be noted that the functions of the processor and the interface circuit can be implemented through hardware design, software design, or a combination of hardware and software, without limitation. It should be understood that each step of the above method embodiment can be completed by hardware logic circuits in the processor or software instructions.

[0201] It is understood that the order of execution of the steps in the above embodiments does not necessarily imply a specific order of execution. The order of execution of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. In addition, in some possible implementations, the steps in the above embodiments can be selectively executed according to actual circumstances, and can be executed partially or completely, which is not limited here.

[0202] It is understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0203] The method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC.

[0204] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted via the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)).

[0205] It will be easily understood by those skilled in the art that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. An interactive method for Hall effect thickness measurement based on data visualization, characterized in that: The following steps are involved: Collecting measurement data generated during the workpiece Hall effect thickness measurement process; the measurement data includes: workpiece information determined before measurement and workpiece coordinates and workpiece thickness information obtained during the workpiece thickness measurement process; The following processing is performed on the workpiece coordinates and workpiece thickness information in the measurement data: outliers, duplicate values and null values in the measurement data are cleaned, and the data to be displayed later is selected according to actual needs, and discrete encryption is performed on it using the inverse distance weighted algorithm; Convert the encrypted data into a matrix format so that the relevant measurement data of the workpiece can be displayed in the preset coordinate system; Use multiple visualization models to display the measurement results of the workpiece, divide the visualization model of the workpiece into regions, determine the maximum, minimum and average thickness of each region of the workpiece; and realize the translation, rotation and scaling functions of the workpiece visualization model; the multiple visualization models include: 4D stereo model display, 4D grid model display, 3D model display, scatter point display, attribute value color gradient display and color icon display; The display data of the visualization model and the regional measurement data are saved in multiple types, and the saved results are used to generate corresponding data reports.

2. The method according to claim 1, characterized in that A variety of visualization models are used to display the measurement results of the workpiece, specifically: (1) Read the workpiece coordinate point data; (2) triangulate the data, clean the data, and then make the edges shareable; (3) Add filters to make the triangulated mesh smoother and add mappers to the coordinate point data to form objects to be rendered; (4) Calculate the normal vector of the coordinate point data, read the thickness value of the workpiece and calculate the thickness along the normal direction of the coordinate point based on this thickness value, triangulate the normal thickness value data, obtain the maximum and minimum values of the normal thickness value, create a corresponding color table based on the normal thickness value, add a mapper to the normal thickness value data to form an object to be rendered, and create a color icon; (5) Merge the workpiece coordinate data and normal thickness data to form the lower plane data, triangulate the data, add filters to make the triangulated mesh smoother, and add a mapper to the data to form an object to be rendered; (6) Read the boundary points of the upper and lower planes, convert the points on the boundary into sequential points, clear the data of redundant points, triangulate the data, and add a mapper to the triangulated data to form an object to be rendered; (7) Finally, merge all object targets, add bounding boxes for rendering objects and set rendering camera parameters, create a renderer and rendering window, start the window interactor, and finally realize interactive visual graphics display.

3. The method according to claim 1 or 2, characterized in that For a single area in the area division of the visualization model, the maximum, minimum, and average thickness values are calculated as follows: (1) Obtain all selected visualization data points, define them as Lst1, and assign a vertex value to each vertex; use X, Y, and Z to represent the coordinate point, H to represent the thickness value, and H' to represent the normal thickness value; (2) Set the minimum and maximum X values, and the minimum and maximum Y values of the partitioned area; (3) Extract the i-th data point of Lst1 in step (1) and compare it with the minimum and maximum values of X in step (2). If it is between the maximum and minimum values, it meets the set requirements and proceeds to the next step; (4) Based on the result in step (3), compare it with the minimum and maximum values of Y in step (2). If it is between the maximum and minimum values, it meets the set requirements. Then, store the qualified X, Y, and Z in Point11, X, Y, and H in Point22, and X, Y, Z + H' in Point33. Then store the X, Y, and H data in a new tuple and form a list, which is defined as Lst2. (5) Using a For loop, repeat the process of steps (3) and (4) until all the selected visualization data points are traversed and the number of loops is obtained; (6) Using the Delaunay2D triangulation algorithm, triangulate the Lst2 discrete data in step (4); (7) Use the algorithm to calculate the maximum, minimum, and average values of H of Lst2 in step (6) and display them on the visualization interface; (8) Using the data of Point11, Point22, and Point33 in step (4), enter the four-dimensional model visualization module; (9) Complete the result output.

4. The method according to claim 1, wherein The display data of the visualization model and the regional measurement data are saved in multiple types, specifically: Save the visualization model in multiple types, including VTK, PLY, ODB and STL types; Save the results of the visualization model area division in CSV and XLSX formats.

5. The method according to claim 1, wherein The saved results will generate corresponding data reports, specifically: (1) Obtaining data to visualize the workpiece; (2) Set the part of the workpiece for which the report is to be generated. The maximum and minimum values of the workpiece's horizontal coordinate X are defined as X_max and X_min, and the maximum and minimum values of the workpiece's vertical coordinate Y are defined as Y_max and Y_min; (3) Set the parameters related to equal-interval division. The equal-interval division interval in the X direction is defined as X_interval1, and the equal-interval division interval in the Y direction is defined as Y_interval1. (4) Set the starting row and column, row interval and column interval of the generated report; (5) Setting the parameters of the equally spaced reference area, i.e., the maximum and minimum values of X and the maximum and minimum values of Y of the reference area; (6) Create Excel worksheets according to the data types of different calculation results; (7) Determine X_min+(i+1) in step (2) Is X_interval1 in step (3) not greater than X_max in step (2)? Also, check Y_min+(i+1) in step (2) Is Y_interval1 in step (3) not greater than Y_max in step (2)? If so, proceed to the next step; otherwise, proceed to step (11); (8) According to the setting results of steps (2) and (3), the X range and Y range of each small area divided into equal intervals are calculated, and the calculation results are passed to the module for calculating the maximum, minimum, and average values of the thickness of the area. The module calculation results are defined as Features; (9) Pass all the set parameters and the Feature in step (8) into the corresponding position of the report; (10) Determine the position of the X range and Y range in step (8) relative to the reference area in step (5). The position orientation includes nine options: upper left, upper right, upper left, overlap, right, lower left, lower right, and lower right. The determination of this orientation is the position of the data in the report. Then, store the feature in step (8) in the corresponding position in the report. (11) Repeat steps (7) to (10) using a double loop until the model area division is completed and the report generation is finally completed.

6. An interactive Hall effect thickness measurement system based on data visualization, characterized in that: include: Data information acquisition module, used to collect measurement data generated during the workpiece Hall effect thickness measurement process; The measurement data includes: workpiece information determined before measurement and workpiece coordinates and workpiece thickness information obtained during the workpiece thickness measurement process; The data information preprocessing module is used to perform the following processing on the workpiece coordinates and workpiece thickness information in the measurement data: clean up outliers, duplicate values and null values in the measurement data, select the data to be displayed later according to actual needs, and perform discrete encryption processing on it using the inverse distance weighted algorithm; The data format conversion module is used to convert the encrypted data into a matrix format so that the relevant measurement data of the workpiece can be displayed in a preset coordinate system; The data visualization module is used to display the measurement results of the workpiece using multiple visualization models, divide the workpiece visualization model into regions, determine the maximum, minimum, and average thickness of each region of the workpiece, and realize the translation, rotation, and scaling functions of the workpiece visualization model; the multiple visualization models include: four-dimensional model display, four-dimensional grid model display, three-dimensional model display, scattered point display, attribute value color gradient display, and color icon display; The data information saving module is used to save the display data and measurement data of the visualization module in multiple types, and generate corresponding data reports based on the saved results.

7. The system according to claim 6, characterized in that The data visualization module uses multiple visualization models to display the measurement results of the workpiece, specifically: (1) reading the workpiece coordinate point data; (2) triangulating the data, cleaning the data, and then sharing the edges; (3) adding a filter to make the triangulated mesh smoother, adding a mapper to the coordinate point data to form an object to be rendered; (4) reading the workpiece thickness value, triangulating the thickness value data, obtaining the maximum and minimum thickness values, creating a corresponding color table based on the thickness value, adding a mapper to the thickness value data to form an object to be rendered, and creating a color icon; (5) Merge the workpiece coordinate data and thickness data to form the lower plane data, triangulate the data, add filters to make the triangulated mesh smoother, and add a mapper to the data to form an object waiting to be rendered; (6) Read the boundary points of the upper and lower planes, convert the points on the boundary into sequential points, clear the data of redundant points, triangulate the data, and add a mapper to the triangulated data to form an object waiting to be rendered; (7) Finally, merge all object targets, add a bounding box to the rendered object and set the parameters of the rendering camera, create a renderer and rendering window, start the window interactor, and finally realize interactive visual graphics display.

8. The system according to claim 6 or 7, characterized in that The data information saving module generates corresponding data reports by saving the results, specifically: (1) obtaining data for visualizing the workpiece; (2) setting the part of the workpiece for which the report is to be generated, the maximum and minimum values of the workpiece's horizontal coordinate X are defined as X_max and X_min, and the maximum and minimum values of the workpiece's vertical coordinate Y are defined as Y_max and Y_min; (3) setting the relevant parameters for equal-interval division, the equal-division interval in the X direction is defined as X_interval1, and the equal-division interval in the Y direction is defined as Y_interval1; (4) setting the starting row and starting column, row interval and column interval for generating the report; (5) setting the parameters of the reference area of equal-interval division, that is, the maximum and minimum values of X and the maximum and minimum values of Y of the reference area; (6) creating an Excel worksheet according to the data types of different calculation results; (7) judging X_min+(i+1) in step (2 Is X_interval1 in step (3) not greater than X_max in step (2)? Also, check Y_min+(i+1) in step (2) Is Y_interval1 in step (3) not greater than Y_max in step (2)? If so, proceed to the next step; otherwise, proceed to step (11); (8) According to the setting results of steps (2) and (3), calculate the X range and Y range of each small area divided at equal intervals, and pass the calculation results to the module for calculating the maximum, minimum and average values of the thickness of the area. The module calculation results are defined as Features; (9) All setting parameters and the Features in step (8) are passed to the corresponding positions of the report; (10) Determine the position of the X range and Y range in step (8) relative to the reference area in step (5). The position orientation includes nine options: upper left, upper right, left, overlap, right, lower left, lower right and lower right. The judgment of this orientation is the position of the data in the report. Then, the Feature in step (8) is stored in the corresponding position of the report; (11) Repeat steps (7) to (10) using a double loop until the area division of the model is completed and the report generation is completed.

Citation Information

Patent Citations

  • Prefabricated part strip-shaped groove joint surface roughness evaluation method based on white light scanning

    CN111561885A

  • Automatic online film thickness measurement system for enameled flat wire

    CN113624120A