A vacuum pump test data visualization method, device, equipment and storage medium
By identifying and cleaning dirty data in vacuum pump test data and adaptively reconstructing a multimodal coordinate system, the problems of difficult header identification and single coordinate system in existing technologies are solved, realizing efficient and flexible data visualization analysis and improving the robustness and efficiency of analysis.
Patent Information
- Application Number
- CN202611353820.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-02
- Publication Date
- 2026-11-24
AI Technical Summary
In vacuum pump test data analysis, existing technologies cannot adaptively identify the true headers when faced with mixed equipment information, remarks, and empty rows and columns, leading to data corruption. Furthermore, the coordinate system construction method is simplistic, making it difficult to achieve stable visualization of phase diagrams for multiple physical quantities, resulting in insufficient robustness and flexibility.
By counting the number of valid non-empty cells in a two-dimensional data matrix row by row, the system identifies the true header row and cleans up dirty data. It supports adaptive reconstruction of multimodal coordinate systems, including data type recognition, coordinate axis type determination, and anti-collision rendering, and generates visual charts.
It enables automatic identification and cleaning of dirty data in tables, supports adaptive reconstruction of multimodal coordinate systems, improves the robustness and flexibility of industrial test data analysis, reduces the risk of human error, and improves analysis efficiency and fault location accuracy.
Smart Images

Figure CN123158035A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data visualization technology, specifically to a method, apparatus, equipment, and storage medium for visualizing vacuum pump test data. Background Technology
[0002] In the research, development, testing, and reliability verification of industrial equipment (such as vacuum pumps and motors), it is typically necessary to use data acquisition instruments, programmable logic controllers (PLCs), or host computer software to record various physical parameters of the equipment during operation over extended periods. This generates large two-dimensional tabular data (such as CSV or Excel format) containing dozens of feature columns, including timestamps, current, voltage, power, temperature, pressure, and operating status indicators. In-depth analysis of this data is a crucial step in evaluating product performance and diagnosing potential faults.
[0003] Currently, the processing of such industrial test data mainly relies on general-purpose spreadsheet software, equipment-specific host computers, or commercial data analysis platforms. However, these existing methods have some technical shortcomings in practical applications. For example, in the scenario of vacuum pump test data analysis, existing general-purpose spreadsheets, equipment-specific host computers, or commercial analysis platforms read raw test files in a fixed row and column manner. When faced with mixed equipment information, notes, empty rows and columns, etc., they cannot adaptively identify the true headers. Header offsets can easily cause data corruption, requiring manual preprocessing, which is inefficient. At the same time, existing tools have a single coordinate system construction method, mostly supporting only time or sampling sequence as the horizontal axis. When physical quantities are selected as the X-axis for plotting, curve distortion and rendering abnormalities are prone to occur, making it difficult to stably achieve multi-physical quantity phase diagram visualization. The robustness and flexibility of industrial test data analysis are insufficient. Summary of the Invention
[0004] The purpose of this application is to provide a method, apparatus, electronic device, and storage medium for visualizing vacuum pump test data, in order to solve at least one of the problems in the prior art.
[0005] The first aspect of this application provides a method for visualizing vacuum pump test data, including: Obtain the original test data file of the vacuum pump, wherein the original test data file is a two-dimensional data matrix containing header rows and numerical areas; Within the preset scanning depth range of the two-dimensional data matrix, the number of valid non-empty cells is counted row by row to form a density distribution; The row containing the maximum number of valid non-empty cells in the density distribution is determined to be the true header row; The data rows above the actual header row are discarded as dirty data, and the data matrix above and below the actual header row is extracted as the core data area. Receive user selection instructions for coordinate axis parameters in the core data area, and determine the X-axis feature column and Y-axis feature column according to the selection instructions; Data type identification and coordinate axis type determination are performed on the data in the X-axis feature column and Y-axis feature column to obtain the coordinate axis type determination result; Perform coordinate axis reconstruction and data rendering operations corresponding to the coordinate axis type determination result to generate and display a visual chart.
[0006] In one possible implementation, the step of identifying the data type and determining the coordinate axis type of the data in the X-axis feature column and Y-axis feature column to obtain the coordinate axis type determination result includes: Calculate the number of unique values in the X-axis feature column; If the number of unique values is less than or equal to 1, the X-axis feature column is determined to be a constant text axis, and the data of the X-axis feature column is implicitly mapped to continuous integer index values as the X-axis coordinates of the chart. If the number of unique values is greater than 1, then the data in the X-axis feature column are batch-converted and converted into power. If the conversion power is higher than a preset threshold, the X-axis feature column is determined to be a continuous physical quantity axis, and the original arrangement order of the data in the X-axis feature column is retained, and monotonic timeline sorting is prohibited.
[0007] In one possible implementation, the coordinate axis reconstruction and data rendering operation corresponding to the coordinate axis type determination result includes: When a user adjusts the chart display range by sliding, generating a view slice, the left and right boundary values of the view slice on the continuous physical quantity axis are obtained. Determine whether the left boundary value is equal to the right boundary value; If they are equal, a first preset offset is added to the right boundary value as the corrected right boundary to complete the anti-collision rendering.
[0008] In one possible implementation, the method further includes: Identify the working status column in the core data area, and based on the changes in the data in the working status column, cut the continuous test data into multiple independent status blocks corresponding to different working states.
[0009] In one possible implementation, the method further includes: Receive monitoring tolerance coefficients input by the user; For at least one parameter channel specified by the user on the Y-axis, within each of the independent state blocks, the local arithmetic mean of that parameter channel is calculated; Based on the local arithmetic mean, and in conjunction with the monitoring tolerance coefficient, calculate the upper limit and lower limit of the tolerance band within the independent state block; In the visualization chart, an adaptive fluctuation tolerance zone is plotted for each of the independent state blocks, defined by its corresponding upper and lower tolerance zone values.
[0010] In one possible implementation, during the process of plotting the adaptive fluctuation tolerance zone, if it is detected that the maximum and minimum values of the data within the current state block are equal, a second preset offset is added to the corresponding boundary of the chart coordinate axis.
[0011] In one possible implementation, the method further includes: Real-time two-way binding of the time axis slider displacement event dragged by the user with the chart axis display range change event; During the user's drag-and-drop process, the focus data frame corresponding to the center of the current chart window is located in real time; Extract the maximum value, minimum value, and local average value of at least one monitoring parameter within the working state interval where the focus data frame is located; The maximum, minimum, and local average values are pushed and displayed on the front panel.
[0012] A second aspect of this application provides a vacuum pump test data visualization device, comprising: The header lookup module is used to obtain the original test data file of the vacuum pump. The original test data file is a two-dimensional data matrix containing header rows and value areas. Within a preset scan depth range of the two-dimensional data matrix, the number of valid non-empty cells is counted row by row to form a density distribution. The row containing the maximum number of valid non-empty cells in the density distribution is determined as the real header row. The axis feature column determination module is used to discard data rows above the actual header row as dirty data, extract the data matrix below the actual header row as the core data area; receive user selection instructions for coordinate axis parameters in the core data area, and determine the X-axis feature column and Y-axis feature column according to the selection instructions; The visualization module is used to identify the data type and determine the coordinate axis type of the data in the X-axis feature column and Y-axis feature column, and obtain the coordinate axis type determination result; perform coordinate axis reconstruction and data rendering operations corresponding to the coordinate axis type determination result, and generate and display the visualization chart.
[0013] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the vacuum pump test data visualization method described in the first aspect of this application.
[0014] The fourth aspect of this application provides a computer-readable storage medium having computer-readable instructions stored thereon, which can be executed by a processor to implement the vacuum pump test data visualization method described in the first aspect of this application.
[0015] The vacuum pump test data visualization method, apparatus, electronic device, and storage medium provided in this application acquire a two-dimensional data matrix of the original test data file; within a preset scan depth range of the matrix, the number of valid non-empty cells is counted row by row to form a density distribution, and the row with the maximum number of valid non-empty cells is determined as the true header row; dirty data above the header row is discarded, and the data at and below the header row is extracted as the core data area; user selection instructions for coordinate axis parameters are received to determine the X-axis and Y-axis feature columns; data type identification and coordinate axis type determination are performed on the feature column data; and corresponding coordinate axis reconstruction and data rendering operations are performed according to the determination results to generate and display a visualization chart. This invention can automatically identify and clean dirty data in tables, supports adaptive reconstruction of multimodal coordinate systems, and effectively improves the robustness, flexibility, and work efficiency of industrial test data analysis. Attached Figure Description
[0016] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 A flowchart of a method for visualizing vacuum pump test data provided in this application is shown; Figure 2a A schematic diagram of the main import interface of the system provided in this application is shown; Figure 2b This document shows a schematic diagram of the chart parameter configuration pop-up window provided in this application; Figure 2c This paper shows a schematic diagram of the main interface for displaying waveform results provided in this application; Figure 3 The flowchart of the dynamic header tracing and data cleaning algorithm provided in this application is shown; Figure 4 This application provides an overall flowchart of a specific method for visualizing vacuum pump test data. Figure 5 This application provides a schematic diagram of the structure of a vacuum pump test data visualization device. Figure 6 A schematic diagram of the structure of an electronic device provided in this application is shown. Detailed Implementation
[0017] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0018] It should be noted that, unless otherwise stated, the technical or scientific terms used in this application shall have the ordinary meaning as understood by one of ordinary skill in the art to which this application pertains.
[0019] Furthermore, the terms "first" and "second," etc., are used to distinguish different objects, not to describe a specific order. Additionally, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to those processes, methods, products, or apparatuses.
[0020] This application provides a method and apparatus for visualizing vacuum pump test data, an electronic device, and a computer-readable storage medium, which will be described below with reference to the accompanying drawings.
[0021] Figure 1 This document illustrates a flowchart of a vacuum pump test data visualization method provided in an embodiment of this application. Figure 1 As shown, the method specifically includes the following steps: Step S101: Obtain the raw test data file of the vacuum pump. The raw test data file is a two-dimensional data matrix containing header rows and numerical data areas. This file is essentially a two-dimensional data matrix, such as an Excel spreadsheet or CSV file exported from a PLC or data acquisition unit. While structurally containing header rows and numerical data areas, it often contains contaminated data. The raw test data file is data directly generated by the data acquisition system during the vacuum pump testing process, without any data filtering, calibration, correction, or conversion. The testing task is one or more test items and test cases with clearly defined test objectives, methods, and evaluation criteria, executed to comprehensively evaluate the performance of the vacuum pump.
[0022] In one embodiment, after obtaining the original test data file, a preprocessing step may be included: executing a two-dimensional boundary scan algorithm to automatically identify and delete the outermost empty rows and columns of the two-dimensional data matrix to obtain an inner data matrix, and then using the inner data matrix to find the table header. This boundary scan step effectively removes potentially redundant blank areas around the data file, narrows the search range for the table header, and further improves data cleaning efficiency.
[0023] Step S102: Within the preset scan depth range of the two-dimensional data matrix, count the number of valid non-empty cells row by row to form a density distribution. For example, within the first N rows (e.g., the first 20 rows) of the matrix, count the number of valid non-empty cells row by row to form a density distribution.
[0024] In one embodiment, step S102 can be implemented as follows: for each row within the preset scan depth range, after removing invalid cells marked as null values (such as NaN), non-numeric values, or empty strings, count the number of remaining valid non-empty cells in that row. By removing invalid cells, the accuracy of determining the true header can be improved, avoiding misjudgments caused by interference from special characters or null values.
[0025] Step S103: The row containing the maximum number of valid non-empty cells in the density distribution is determined as the real header row.
[0026] Step S104: Discard the data rows above the actual header row as dirty data, and extract the data matrix below the actual header row as the core data area.
[0027] In a specific implementation scenario, the engineer exported a file named "Vacuum_Pump_Test_Data.csv" from a vacuum pump test bench. The first 20 lines of this file contain test report information, such as "TestReport" in the first line, "Product SN: VP-2026-001" in the second line, and a blank line in the fifth line. The actual header, containing fields such as "Time", "Current (A)", "Power (W)", and "Status", is only found in the 21st line.
[0028] Figure 2a The image shown is a schematic diagram of the main import interface of the system provided in this application; Figure 2b The image shown is a schematic diagram of the chart parameter configuration pop-up window provided in this application; Figure 2c The image shown is a schematic diagram of the main interface for displaying waveform results provided in this application.
[0029] Figure 2a In the middle, the first step button: Select Excel / CSV test data table to import into the system, triggering... Figure 3The algorithm for dynamic header tracking and data cleaning is shown; the text box displays the import data loading status; the blue button for the second step indicates that after data cleaning is complete, proceed to... Figure 2b The parameter configuration pop-up window is shown.
[0030] First, the system of this invention obtains the original test data file, which is a two-dimensional data matrix, through an import interface. Then, the system executes a two-dimensional boundary scan algorithm, scanning layer by layer inwards from the outermost edge of the matrix, automatically identifying and deleting rows and columns where all cells are empty. After this step, the completely empty rows at the top and bottom of the file, and the empty columns on the left and right sides, are cleared, resulting in a compact internal data matrix.
[0031] Next, the system enters the dynamic header tracking phase. The system presets a scan depth N=20 (i.e., the first 20 rows). Within this preset scan depth range, the system begins to count the number of valid non-empty cells row by row. During the count, the system intelligently removes various invalid identifiers, such as "NaN", "None", and empty strings in the table. For example, the first row "TestReport" has only 1 valid non-empty cell; the fifth row is empty, with 0 valid cells; while the 21st row (the actual header) contains 8 valid fields, including "Time", "Current", "Power", and "Status", and its number of valid non-empty cells is 8, which is the maximum value within the first 20 rows.
[0032] The system identifies the row containing the maximum number of valid non-empty cells (row 21 in this example) as the "true header row." After this identification, the system discards all data rows above row 21 (rows 1-20) as dirty data and divides all data rows from row 21 down into the core data area. At this point, the system has automatically completed the data cleaning process without any manual intervention from the user.
[0033] Step S105: Receive the user's selection instruction for the coordinate axis parameters in the core data area, and determine the X-axis feature column and Y-axis feature column according to the selection instruction. Specifically, receive the user's selection instruction for the coordinate axis parameters in the core data area, and determine the X-axis feature column and one or more Y-axis feature columns for plotting.
[0034] Step S106: Data type identification and coordinate axis type determination are performed on the data in the X-axis feature column and Y-axis feature column to obtain the coordinate axis type determination result.
[0035] The system analyzes the selected feature columns to determine their data type and axis type.
[0036] In one embodiment, step S106 can be implemented as follows: calculating the number of unique values in the X-axis feature column; if the number of unique values is less than or equal to 1, then the X-axis feature column is determined to be a constant text axis, and the data in the X-axis feature column is implicitly mapped to consecutive integer index values as the X-axis coordinates of the chart. This processing method can effectively handle columns that are entirely fixed text (such as device serial numbers), avoiding plotting errors caused by unchanged X-axis data.
[0037] In another embodiment, step S106 can also be implemented as follows: calculating the number of unique values in the data of the X-axis feature column; if the number of unique values is greater than 1, performing batch numerical conversion on the data of the X-axis feature column and calculating the conversion power; if the conversion power is higher than a preset threshold, determining the X-axis feature column as a continuous physical quantity axis, and retaining the original arrangement order of the X-axis feature column data, prohibiting monotonic sorting of it on a timeline. This processing method enables the system to draw phase diagrams using the physical parameters themselves (rather than time) as the horizontal axis, and retains the original time-series trajectory of the data, avoiding trajectory folding.
[0038] Step S107: Perform coordinate axis reconstruction and data rendering operations corresponding to the coordinate axis type determination result to generate and display a visualization chart.
[0039] In one embodiment, step S107, which involves performing coordinate axis reconstruction and data rendering operations corresponding to the coordinate axis type determination result, further includes an anti-collision processing step: when a user adjusts the chart display range through a sliding operation to generate a viewport slice, the left and right boundary values of the viewport slice on the continuous physical quantity axis are obtained; it is determined whether the left boundary value and the right boundary value are equal; if they are equal, a first preset offset is added to the right boundary value, which is a preset minimum offset (e.g., 0.001), as the corrected right boundary to complete the anti-collision rendering. This anti-collision mechanism can effectively avoid underlying drawing anomalies caused by the coordinate axis boundary range being zero.
[0040] In one embodiment, the method of this application further includes a state block segmentation step: identifying the working state column in the core data area, and segmenting the continuous test data into multiple independent state blocks corresponding to different working states based on the changes in the data in the working state column. This step allows the continuous unsteady-state test process to be divided into multiple stable segments with the same operating conditions, providing a basis for subsequent refined analysis.
[0041] In one embodiment, the method of this application further includes an adaptive tolerance zone plotting step: receiving a monitoring tolerance coefficient input by a user; for at least one parameter channel specified by the user on the Y-axis, calculating the local arithmetic mean of the parameter channel within each independent state block; using the local arithmetic mean as a reference, and combining it with the monitoring tolerance coefficient, calculating the upper and lower limits of the tolerance zone within the independent state block; and plotting an adaptive fluctuation tolerance zone defined by its corresponding upper and lower limits in the visualization chart for each independent state block. Through this step, the system can dynamically generate monitoring boundaries that fit the actual working state of the device, significantly improving the accuracy and targeting of anomaly detection.
[0042] In one embodiment, during the process of plotting the adaptive fluctuation tolerance zone, if it is detected that the maximum and minimum values of the data within the current state block are equal, a second preset offset is added to the corresponding boundary of the chart coordinate axis. This second preset offset is also a very small offset (e.g., 0.001) to avoid abnormal coordinate axis limits due to no change in data.
[0043] In one embodiment, the method of this application further includes a viewport-linked real-time calculation step: real-time bidirectional binding of the user-dragped time axis slider displacement event with the chart coordinate axis display range change event; real-time positioning of the focus data frame corresponding to the center of the current chart window during user dragging; extraction of the maximum, minimum, and local average values of at least one monitoring parameter within the working state interval of the focus data frame; and pushing and displaying the maximum, minimum, and local average values on the front-end monitoring panel. Through this step, users can simultaneously obtain accurate statistical information of the current window's focus area while browsing massive data waveforms, greatly improving the efficiency of data review and the accuracy of fault location.
[0044] Figure 2b In the middle, the X-axis drop-down selection supports time or arbitrary physical parameters (current, power, etc.) to realize multi-modal coordinate axis reconstruction; the Y-axis checkbox allows you to select the vacuum pump parameters that need to be visualized (no-load current, pressurization power, etc.); the number of rows displayed per page controls the dynamic window size, and the bottom slider allows you to browse massive amounts of data locally; the auxiliary line for drawing the average value of each state interval is automatically calculated according to no-load / pressurization / gas rupture; the mean tolerance envelope is enabled: the core innovation of this invention is the state slice adaptive tolerance band, which is ±20% by default and automatically generates upper and lower monitoring dashed lines; the "Generate Chart Now" button renders the waveform results and displays them on the main interface after submitting parameters (Figure 2c).
[0045] In Figure 2c, the interface partitions are labeled (corresponding to numbers 1, 2, 3, and 4 in the figure): 1 is the bottom sliding window control bar: a dynamic window slider that can be dragged to switch between local data ranges and link charts and monitoring panels in two directions; 2 is the left-side control console: export high-definition charts, export raw data after cleaning, and filter the focus conditions (no load / pressurization); 3. HUD radar data monitoring panel: When the slider moves, the maximum (high), minimum (low), and average (mean) values of the parameters in the current screen are calculated in real time, and transient fault values are displayed instantly; 4 is the core chart display area: horizontal dashed line: adaptive mean line for each working condition; automatic envelope tolerance zone: burrs exceeding the dashed line area are abnormal burrs, quickly locating potential equipment performance problems; First, based on the extracted core data area, users can... Figure 2b The parameter configuration interface shown allows users to freely specify physical quantities for the X and Y axes. Existing technologies typically only support "time" as the X-axis, while this invention allows users to flexibly choose according to their analysis needs.
[0046] Scenario A (Constant Text Axis Processing): In a batch of motor tests, the data file imported by the engineer contained a "Device Number" column, where all rows had the value "MOTOR-07". When the user selected "Device Number" in the X-axis dropdown menu, the system backend calculated the number of unique values in this column. The calculation showed that the number of unique values was 1 (≤1), so the system determined this X-axis to be a constant text axis. In the underlying rendering engine, the system did not directly use this repeated text; instead, it implicitly mapped it to consecutive integer indices (e.g., 0, 1, 2, 3…), using these index values as the X-axis coordinates for plotting. This avoided plotting errors caused by unchanged X-axis data.
[0047] Scenario B (Continuous physical quantity axis processing): To analyze the dynamic characteristics of the motor, engineers chose to plot a PI phase diagram with "current" as the X-axis and "power" as the Y-axis. Upon receiving this instruction, the system first performs batch numerical conversion on the "current" column and calculates the converted power. If the vast majority of data in this column (e.g., exceeding a preset threshold of 80%) can be successfully converted to floating-point numbers, the system then determines that the X-axis as a continuous physical quantity axis.
[0048] The key is that once the system determines that a column is a continuous physical quantity axis, it explicitly prohibits the regular monotonic sorting operation on that column, instead preserving the original arrangement order of the data as it oscillates back and forth over time in the physical multidimensional space. Thus, when the system renders, the current value moves left and right on the X-axis along the time series, thereby drawing a closed or oscillating curve on the screen that accurately reflects the dynamic working trajectory of the motor without any folds.
[0049] Furthermore, when a user views this PI phase diagram, they can use the horizontal slider at the bottom (such as...) Figure 2c Partition 1) captures a partial viewport slice. When the system backend calculates the X-axis display range of this slice, an extreme situation may occur: the left boundary value of the captured viewport slice is exactly equal to the right boundary value (for example, capturing a small segment of data with a constant current of 5A). In this case, directly using this boundary value to set the coordinate axis limits of the graphics engine will result in the coordinate axis range being zero (i.e., upper limit = lower limit), thereby triggering a division-by-zero exception or rendering crash in the underlying graphics library.
[0050] To address this issue, this invention implements a boundary collision avoidance rendering method. When the system detects that the left boundary value of a viewport slice is exactly equal to the right boundary value, it automatically adds a preset minimum offset, such as epsilon=0.001, to the right boundary value. As a result, the display range of the coordinate axes is corrected to [left boundary, right boundary + 0.001], completely avoiding the situation where the coordinate axis boundary interval is zero, thus ensuring the stability and high availability of the drawing process.
[0051] During continuous testing of the vacuum pump, its operating status switches periodically. The system first identifies the operating status column (usually text data) in the core data area. By scanning the change points in this column, the system can automatically divide the continuous test data stream into multiple independent status blocks. For example, [rows 100-500] is the "no load" status block, [rows 501-1200] is the "pressurization" status block, and [rows 1201-1500] is the "gas rupture" status block.
[0052] Engineers Figure 2b The "Tolerance Ratio" input box is set with a monitoring tolerance coefficient N=20 (i.e., ±20%), and the parameter to be monitored is specified as power. After receiving the instruction, the system will calculate for each individual status block separately.
[0053] Within the "no-load" state block, the system calculates the local arithmetic mean of all power data within that time period, denoted as P1. Then, using P1 as a reference, it calculates the upper limit of the tolerance band (P1) within this state block by offsetting upwards and downwards by 20% respectively. 1.2) and the lower limit of the tolerance zone (P1) 0.8). Similarly, the system will also calculate the upper and lower limits of the tolerance bands for the "pressurization" state block (mean value P2) and the "ventilation" state block (mean value P3) respectively. Now Figure 2c In partition 4, the left side is the "unloaded" status block and the right side is the "pressurized" status block.
[0054] After the calculation is completed, the system displays the results in a visual chart (such as...). Figure 2cAs shown in the diagram, two dashed lines defined by the upper and lower limits of each state block are drawn as adaptive controlled tolerance zones. In this case, even if the average power differs greatly between different states (e.g., P2 is twice that of P1), the tolerance zone generated by this invention can adaptively adjust in real time following state switching, perfectly meeting the monitoring needs under varying operating conditions. If the data within a state block is all constant values, resulting in the maximum and minimum values being equal, the system will also automatically add a minimum offset to the corresponding boundary of the coordinate axis during drawing to ensure the stability of the drawing.
[0055] When the chart (such as) Figure 2c (As shown) After rendering is complete, engineers can drag the horizontal slider at the bottom to browse waveform details over different time periods. The system of this invention performs real-time bidirectional binding between the slider's displacement events and the chart's axis boundary change events.
[0056] During the drag-and-drop process, the system backend uses a highly efficient binary search algorithm to locate the data frame (focus data frame) corresponding to the center point of the current chart viewport in the massive dataset at millisecond speed. Subsequently, the system extracts all data within the working state interval (e.g., the "pressure" state block) where the focus data frame is located.
[0057] Next, the system will calculate in real time the maximum, minimum, and local average values of the parameters of interest (specified by the engineer on the Y-axis) within that state interval. These calculated values will be pushed and refreshed in real time and displayed on the HUD radar data monitoring panel floating on the left. Figure 2c Partition 3) in the middle.
[0058] For example, when an engineer drags a waveform to a region containing transient spikes, the "High (Maximum)" on the left monitoring panel will immediately update to the value of that spike. If this value exceeds the tolerance band corresponding to that state block (for example, exceeding the upper limit of the tolerance band in the "Pressure" state), the engineer can quickly and accurately locate the abnormal moment through the numerical feedback on the panel, thereby greatly improving the efficiency and reliability of troubleshooting.
[0059] For ease of understanding, this application also provides, as follows: Figure 4 The diagram shows the overall flowchart of a specific method for visualizing vacuum pump test data.
[0060] The beneficial effects of the vacuum pump test data visualization method provided in this application are as follows: First, this invention, through a dynamic header tracking and cleaning method based on non-empty element density, can directly process various non-standardized test export files that contain header offsets or redundant report headers. This adaptive tracking and cleaning mechanism completely eliminates the tedious work of engineers manually deleting and modifying headers and adjusting row and column offsets, significantly reducing the risk of human error and greatly improving the overall efficiency of test data analysis.
[0061] Secondly, this invention innovatively proposes a multimodal X-axis reconstruction method, breaking away from the traditional paradigm of using only linear time as the X-axis, and perfectly supporting the phase diagram analysis mechanism for key physical parameters in industrial scenarios. Simultaneously, through a boundary collision-avoidance rendering scheme, it effectively avoids division-by-zero anomalies and rendering crashes caused by zero coordinate axis boundary intervals, ensuring high system availability under extremely harsh operating conditions. This provides engineers with a powerful tool for in-depth analysis of equipment dynamic characteristics and uncovering potential fault mechanisms.
[0062] Third, the adaptive mean tolerance band calculation method based on state slicing in this invention can automatically cut continuous test data into independent state blocks according to changes in the equipment's operating state, and calculate and draw a dynamic tolerance band that fits its actual mean for each state block. Compared with the globally uniform static alarm line in the prior art, the tolerance band generated by this invention can adaptively adjust with the switching of operating conditions, so that chaotic and sudden changes can be visually deviated from the normal tolerance band instantly, achieving rapid and accurate anomaly identification and effectively avoiding missed and false judgments.
[0063] In the above embodiments, a method for visualizing vacuum pump test data is provided. Correspondingly, this application also provides a device for visualizing vacuum pump test data. The vacuum pump test data visualization device provided in this application can implement the above-described method for visualizing vacuum pump test data. This device can be implemented through software, hardware, or a combination of both. For example, the device may include integrated or separate functional modules or units to perform the corresponding steps in the above methods. Please refer to... Figure 5 This illustration shows a schematic diagram of a vacuum pump test data visualization device provided in an embodiment of this application. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple; relevant details can be found in the description of the method embodiment. The device embodiment described below is merely illustrative.
[0064] like Figure 5 As shown, the vacuum pump test data visualization device 10 includes: The header lookup module 101 is used to obtain the original test data file of the vacuum pump. The original test data file is a two-dimensional data matrix containing header rows and value areas. Within a preset scan depth range of the two-dimensional data matrix, the number of valid non-empty cells is counted row by row to form a density distribution. The row containing the maximum number of valid non-empty cells in the density distribution is determined as the real header row. The axis feature column determination module 102 is used to discard the data rows above the actual header row as dirty data, extract the data matrix below the actual header row as the core data area; receive the user's selection instruction for the coordinate axis parameters in the core data area, and determine the X-axis feature column and Y-axis feature column according to the selection instruction; The visualization module 103 is used to identify the data type and determine the coordinate axis type of the data in the X-axis feature column and Y-axis feature column, and obtain the coordinate axis type determination result; perform coordinate axis reconstruction and data rendering operations corresponding to the coordinate axis type determination result, and generate and display the visualization chart.
[0065] In one possible implementation, the header lookup module 101 is further configured to: A two-dimensional boundary scan algorithm is executed to automatically identify and delete the outermost empty rows and columns of the two-dimensional data matrix to obtain the inner data matrix, and the table header is found based on the inner data matrix.
[0066] In one possible implementation, the header lookup module 101 is specifically used for: For each row within the preset scan depth range, after removing invalid cells marked as null, non-numeric, or empty strings, the number of remaining valid non-empty cells in that row is counted.
[0067] In one possible implementation, the visualization module 103 is specifically used for: Calculate the number of unique values in the X-axis feature column; If the number of unique values is less than or equal to 1, the X-axis is determined to be a constant text axis, and its data is implicitly mapped to consecutive integer index values as the X-axis coordinates of the chart.
[0068] In one possible implementation, the visualization module 103 is specifically used for: Calculate the number of unique values in the X-axis feature column; If the number of unique values is greater than 1, then the data in the X-axis feature column are batch-converted and converted into power. If the conversion power is higher than a preset threshold, the X-axis feature column is determined to be a continuous physical quantity axis, and the original arrangement order of the data in the column is retained, and monotonic timeline sorting is prohibited.
[0069] In one possible implementation, the visualization module 103 is specifically used for: When a user adjusts the chart display range by sliding, generating a view slice, the left and right boundary values of the view slice on the continuous physical quantity axis are obtained. Determine whether the left boundary value is equal to the right boundary value; If they are equal, a first preset offset is added to the right boundary value as the corrected right boundary to complete the anti-collision rendering.
[0070] In one possible implementation, the visualization module 103 is further configured to: Identify the working status column in the core data area, and based on the changes in the data in the working status column, cut the continuous test data into multiple independent status blocks corresponding to different working states.
[0071] In one possible implementation, the visualization module 103 is further configured to: Receive monitoring tolerance coefficients input by the user; For at least one parameter channel specified by the user on the Y-axis, within each of the independent state blocks, the local arithmetic mean of that parameter channel is calculated; Based on the local arithmetic mean, and in conjunction with the monitoring tolerance coefficient, calculate the upper limit and lower limit of the tolerance band within the independent state block; In the visualization chart, an adaptive fluctuation tolerance zone is plotted for each independent state block, defined by its corresponding upper and lower tolerance zone values.
[0072] In one possible implementation, the visualization module 103 is further configured to: during the process of drawing the adaptive fluctuation tolerance zone, if it is detected that the maximum value and minimum value of the data in the current state block are equal, then add a second preset offset to the corresponding boundary of the chart coordinate axis.
[0073] In one possible implementation, the visualization module 103 is further configured to: Real-time two-way binding of the time axis slider displacement event dragged by the user with the chart axis display range change event; During the user's drag-and-drop process, the focus data frame corresponding to the center of the current chart window is located in real time; Extract the maximum value, minimum value, and local average value of at least one monitoring parameter within the working state interval where the focus data frame is located; The maximum, minimum, and local average values are pushed and displayed on the front panel.
[0074] The vacuum pump test data visualization device and the vacuum pump test data visualization method provided in this application are based on the same inventive concept and have the same beneficial effects as the methods they adopt, operate or implement.
[0075] This application also provides an electronic device corresponding to the vacuum pump test data visualization method provided in the foregoing embodiments. The electronic device may be a mobile phone, laptop computer, tablet computer, desktop computer, etc., to execute the above-mentioned vacuum pump test data visualization method.
[0076] Please refer to Figure 6 This illustrates a schematic diagram of an electronic device provided by some embodiments of this application. For example... Figure 6 As shown, the electronic device 20 includes: a processor 200, a memory 201, a bus 202, and a communication interface 203. The processor 200, the communication interface 203, and the memory 201 are connected via the bus 202. The memory 201 stores a computer program that can run on the processor 200. When the processor 200 runs the computer program, it executes the vacuum pump test data visualization method provided in any of the foregoing embodiments of this application.
[0077] The memory 201 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 203 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network.
[0078] Bus 202 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used to store programs. After receiving an execution instruction, the processor 200 executes the program. The vacuum pump test data visualization method disclosed in any of the foregoing embodiments of this application can be applied to the processor 200, or implemented by the processor 200.
[0079] The processor 200 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of the processor 200 or by instructions in software form. The processor 200 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 201. The processor 200 reads the information in memory 201 and, in conjunction with its hardware, completes the steps of the above method.
[0080] The electronic device provided in this application embodiment and the vacuum pump test data visualization method provided in this application embodiment are based on the same inventive concept and have the same beneficial effects as the methods they adopt, operate or implement.
[0081] This application also provides a computer-readable storage medium corresponding to the vacuum pump test data visualization method provided in the foregoing embodiments. The computer-readable storage medium may be an optical disc, on which a computer program (i.e., a program product) is stored. When the computer program is run by a processor, it executes the vacuum pump test data visualization method provided in any of the foregoing embodiments.
[0082] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical and magnetic storage media, which will not be elaborated here.
[0083] The computer-readable storage medium provided in the above embodiments of this application and the vacuum pump test data visualization method provided in the embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the applications stored therein.
[0084] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application, and they should all be covered within the scope of the claims and specification of this application.
Claims
1. A method for visualizing vacuum pump test data, characterized in that, include: Obtain the original test data file of the vacuum pump, wherein the original test data file is a two-dimensional data matrix containing header rows and numerical areas; Within the preset scanning depth range of the two-dimensional data matrix, the number of valid non-empty cells is counted row by row to form a density distribution; The row containing the maximum number of valid non-empty cells in the density distribution is determined to be the true header row; The data rows above the actual header row are discarded as dirty data, and the data matrix above and below the actual header row is extracted as the core data area. Receive user selection instructions for coordinate axis parameters in the core data area, and determine the X-axis feature column and Y-axis feature column according to the selection instructions; Data type identification and coordinate axis type determination are performed on the data in the X-axis feature column and Y-axis feature column to obtain the coordinate axis type determination result; Perform coordinate axis reconstruction and data rendering operations corresponding to the coordinate axis type determination result to generate and display a visual chart.
2. The method according to claim 1, characterized in that, The step of identifying the data type and determining the coordinate axis type of the data in the X-axis and Y-axis feature columns to obtain the coordinate axis type determination result includes: Calculate the number of unique values in the X-axis feature column; If the number of unique values is less than or equal to 1, the X-axis feature column is determined to be a constant text axis, and the data of the X-axis feature column is implicitly mapped to continuous integer index values as the X-axis coordinates of the chart. If the number of unique values is greater than 1, then the data in the X-axis feature column are batch-converted and converted into power. If the conversion power is higher than a preset threshold, the X-axis feature column is determined to be a continuous physical quantity axis, and the original arrangement order of the data in the X-axis feature column is retained, and monotonic timeline sorting is prohibited.
3. The method according to claim 2, characterized in that, The coordinate axis reconstruction and data rendering operation corresponding to the coordinate axis type determination result includes: When a user adjusts the chart display range by sliding, generating a view slice, the left and right boundary values of the view slice on the continuous physical quantity axis are obtained. Determine whether the left boundary value is equal to the right boundary value; If they are equal, a first preset offset is added to the right boundary value as the corrected right boundary to complete the anti-collision rendering.
4. The method according to claim 1, characterized in that, The method further includes: Identify the working status column in the core data area, and based on the changes in the data in the working status column, cut the continuous test data into multiple independent status blocks corresponding to different working states.
5. The method according to claim 4, characterized in that, The method further includes: Receive monitoring tolerance coefficients input by the user; For at least one parameter channel specified by the user on the Y-axis, within each of the independent state blocks, the local arithmetic mean of that parameter channel is calculated; Based on the local arithmetic mean, and in conjunction with the monitoring tolerance coefficient, calculate the upper limit and lower limit of the tolerance band within the independent state block; In the visualization chart, an adaptive fluctuation tolerance zone is plotted for each of the independent state blocks, defined by its corresponding upper and lower tolerance zone values.
6. The method according to claim 5, characterized in that, During the process of plotting the adaptive fluctuation tolerance zone, if the maximum and minimum values of the data in the current state block are detected to be equal, a second preset offset is added to the corresponding boundary of the chart coordinate axis.
7. The method according to claim 1, characterized in that, The method further includes: Real-time two-way binding of the time axis slider displacement event dragged by the user with the chart axis display range change event; During the user's drag-and-drop process, the focus data frame corresponding to the center of the current chart window is located in real time; Extract the maximum value, minimum value, and local average value of at least one monitoring parameter within the working state interval where the focus data frame is located; The maximum, minimum, and local average values are pushed and displayed on the front panel.
8. A vacuum pump test data visualization device, characterized in that, include: The header lookup module is used to obtain the original test data file of the vacuum pump. The original test data file is a two-dimensional data matrix containing header rows and numerical areas. Within the preset scanning depth range of the two-dimensional data matrix, the number of valid non-empty cells is counted row by row to form a density distribution; The row containing the maximum number of valid non-empty cells in the density distribution is determined to be the true header row; The axis feature column determination module is used to discard data rows above the actual header row as dirty data, extract the data matrix below the actual header row as the core data area; receive user selection instructions for coordinate axis parameters in the core data area, and determine the X-axis feature column and Y-axis feature column according to the selection instructions; The visualization module is used to identify the data types and determine the coordinate axis types of the data in the X-axis feature column and Y-axis feature column, and obtain the coordinate axis type determination results. Perform coordinate axis reconstruction and data rendering operations corresponding to the coordinate axis type determination result to generate and display a visual chart.
9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, It stores computer-readable instructions that can be executed by a processor to implement the method as described in any one of claims 1 to 7.
