Methods, devices and electronic equipment for coal mechanized sampling quality assessment
By generating a dataset of planned sampling points and calculating the positional deviation, the problem of inaccurate sampling quality assessment in existing technologies is solved. This enables precise quantification and multi-dimensional analysis of sampling positional deviation, thereby improving the execution accuracy of sampling tasks and the efficiency of outlier identification.
Patent Information
- Application Number
- CN202611289174.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-24
- Publication Date
- 2026-11-17
AI Technical Summary
In existing technologies, coal mechanized sampling equipment lacks quantitative analysis and multi-dimensional statistics on the deviation between the actual sampling point and the planned sampling point, and lacks an automated anomaly detection mechanism, resulting in inaccurate sampling quality assessment and low efficiency in anomaly point identification.
By generating a planned sampling point dataset, collecting actual pulse position numbers and planned pulse position numbers, calculating position deviations, and generating task-level summary indicators, interval-level quantile comparison tables, and six-dimensional chart data, the precise quantification of sampling position deviations and the automatic identification of outliers are achieved.
It enables precise quantification of sampling position deviation and multi-dimensional quality analysis, improving the accuracy and comprehensiveness of sampling task execution precision assessment, and supporting independent comparison of different sampling intervals.
Smart Images

Figure CN123117900A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of quality control technology for coal sampling, and in particular to a method, apparatus and electronic equipment for assessing the quality of mechanized coal sampling. Background Technology
[0002] Mechanized coal sampling is a crucial step in ensuring the accuracy of coal product quality testing. During coal sampling from trains or coal piles, mechanical sampling equipment drills and collects samples at designated sampling points according to a predetermined sampling plan. The quality of the samples directly affects the representativeness of subsequent test results and has a significant impact on coal trade settlement and product quality control.
[0003] In related technologies, mechanical sampling equipment drills and samples at planned sampling points according to a predetermined sampling plan. The completion status of the sampling task is recorded through a sampling management system. When sampling points with large deviations occur, the original data is manually reviewed for judgment. The original data output by different models of mechanical sampling equipment is recorded in the form of pulse signals, coordinate values, etc.
[0004] However, in related technologies, since only the completion status of the sampling task is recorded, there is a lack of quantitative analysis and multi-dimensional statistics on the deviation between the actual sampling point and the planned sampling point, making it difficult to accurately assess the sampling quality. Furthermore, due to the lack of an automated anomaly detection mechanism, the inability to independently perform quality statistics and comparisons by car or coal pile section, and the inconsistent original data formats of different equipment, the efficiency of anomaly point identification is low and the standards are inconsistent. The differences in sampling quality between different sections cannot be independently compared, making subsequent analysis difficult and urgently needing improvement. Summary of the Invention
[0005] This application provides a method, device, and electronic equipment for assessing the quality of mechanized coal sampling, in order to solve the problems in related technologies, such as the lack of quantitative analysis and multi-dimensional statistics on the deviation between the actual sampling point and the planned sampling point, the lack of an automated anomaly detection mechanism and independent comparison between different intervals, and the inconsistent original data formats of different devices, which lead to the inability to accurately assess the execution accuracy of a single sampling task, the difficulty in comprehensively reflecting the sampling quality, and the low efficiency of anomaly point identification.
[0006] The first aspect of this application provides a method for quality assessment of mechanized coal sampling, comprising the following steps: generating a planned sampling point dataset for the target sampling task based on task information of the target sampling task, and collecting the actual pulse position number and planned pulse position number of each planned sampling point in the planned sampling point dataset; determining the actual physical position identifier and planned physical position identifier of each planned sampling point based on the actual pulse position number and the planned pulse position number, and calculating the position deviation between the actual physical position identifier and the planned physical position identifier of each planned sampling point; and determining at least one evaluation indicator among the task-level summary index, interval-level quantile comparison table, six-dimensional chart data, and anomaly list of the target sampling task based on the position deviation of all planned sampling points in the planned sampling point dataset, so as to generate a quality assessment result of the target sampling task based on at least one of the evaluation indicators.
[0007] Through the above-mentioned technical means, the embodiments of this application can generate planned sampling points according to the target sampling task and collect the actual pulse position number and planned pulse position number of each planned sampling point, and determine the actual physical position identifier, planned physical position identifier and position deviation, so as to determine at least one evaluation indicator among the task-level summary index, interval-level quantile comparison table, six-dimensional chart data and anomaly list, and generate quality evaluation results. In this way, pulse signals can be automatically collected and converted into physical position coordinates, realizing accurate quantification of sampling position deviation, multi-dimensional quality analysis and automatic identification of anomalies, and supporting independent comparison of different sampling intervals, thereby improving the accuracy of coal mechanized sampling task execution precision evaluation and the comprehensiveness of sampling quality evaluation.
[0008] Optionally, in one embodiment of this application, determining at least one evaluation indicator among the task-level summary index, interval-level quantile comparison table, six-dimensional chart data, and anomaly list of the target sampling task based on the position deviation of all planned sampling points in the planned sampling point dataset includes: filtering a set of valid sampling points that meet preset conditions for the target sampling task based on the actual pulse position number, and determining the number of valid sampling points in the set of valid sampling points; calculating the average deviation, maximum deviation, and standard deviation of the target sampling task based on the position deviation of all sampling points in the set of valid sampling points; determining the abnormal sampling points in the set of valid sampling points whose position deviation is greater than or equal to a preset abnormal threshold and the qualified sampling points whose position deviation is less than the preset abnormal threshold, so as to determine the sampling pass rate and the number of abnormal sampling points of the target sampling task; and generating the task-level summary index and the anomaly list based on the number of valid sampling points, the average deviation, the maximum deviation, the standard deviation of the deviation, the sampling pass rate, and the number of abnormal sampling points.
[0009] Through the above-mentioned technical means, the embodiments of this application can filter the set of valid sampling points based on the actual pulse position sequence, and calculate statistics such as average deviation, maximum deviation, and standard deviation of deviation accordingly. At the same time, abnormal sampling points are automatically filtered based on configurable deviation thresholds, and the sampling pass rate and number of abnormalities are determined, thereby generating task-level summary indicators and an abnormal point list. By replacing manual inspection with automated threshold judgment, abnormal samples are accurately located, which greatly improves the efficiency of abnormal detection and standard consistency.
[0010] Optionally, in one embodiment of this application, determining at least one evaluation indicator among the task-level summary indicator, interval-level quantile comparison table, six-dimensional chart data, and anomaly list of the target sampling task based on the positional deviation of all planned sampling points in the planned sampling point dataset includes: dividing the sampling interval of the target sampling task based on the sampling object of the target sampling task; calculating the quantile of the positional deviation of all planned sampling points in each sampling interval, so as to generate the interval-level quantile comparison table based on the quantile.
[0011] Through the above-mentioned technical means, the embodiments of this application can divide independent sampling intervals according to the sampling object, calculate quantiles for the positional deviations in each interval and generate an interval-level quantile comparison table, thereby independently evaluating the sampling quality of each car or coal pile interval through interval-level quantile analysis, while supporting the comparison of sampling quality distribution characteristics of different cars, which facilitates the accurate location of quality weak intervals with large sampling deviations.
[0012] Optionally, in one embodiment of this application, determining at least one evaluation indicator among the task-level summary indicator, interval-level quantile comparison table, six-dimensional chart data, and outlier list of the target sampling task based on the positional deviation of all planned sampling points in the planned sampling point dataset includes: determining interval grouping based on the actual interval of the positional deviation value, and counting the number of planned sampling points in each interval group to generate a distance distribution histogram of the target sampling task; generating a target cross-section hierarchical statistical result of the target sampling task based on the target cross-section index of each planned sampling point; generating a sampling depth distribution result of the target sampling task based on the sampling depth of each planned sampling point and the target cross-section index; and based on... The location deviation is used to count the number of sampling points with positive, zero, and negative deviations for the target sampling task, thereby generating a deviation direction distribution result for the target sampling task. Based on the sampling point number of each planned sampling point, the planned location trend curve, actual location trend curve, and deviation value trend curve for the target sampling task are determined to generate a deviation trend map for the target sampling task. Based on the location deviation, the sampling depth, and the target cross-section index, a depth-deviation relationship scatter plot for the target sampling task is generated. Based on the distance distribution histogram, the target cross-section hierarchical statistical results, the sampling depth distribution results, the deviation direction distribution results, the deviation trend map, and the depth-deviation relationship scatter plot, the six-dimensional chart data is determined.
[0013] Through the above-mentioned technical means, the embodiments of this application can analyze the sampling quality from six dimensions: deviation distance distribution, cross-sectional stratification statistics, sampling depth distribution, deviation direction distribution, deviation trend change, and the relationship between depth and deviation. This generates visualized chart data, providing multi-dimensional and graphical analysis basis for sampling quality assessment. It comprehensively displays the spatial distribution characteristics of sampling points, deviation statistical laws, and variable correlation characteristics, making up for the shortcomings of related technologies that only record the completion status and lack multi-dimensional statistical analysis capabilities.
[0014] Optionally, in one embodiment of this application, the formula for calculating the physical location coordinates is: plannedPosition=pointId×K, in, plannedPosition The physical location coordinates, pointId This refers to the actual pulse position number. K This is the preset pulse-distance conversion factor.
[0015] Through the above-mentioned technical means, the embodiments of this application can convert the pulse signals of different models of mechanical sampling equipment into physical position coordinates by setting a pulse-distance conversion coefficient, thereby eliminating the impact of equipment differences on quality assessment, overcoming the defect that related technologies cannot quantify deviations, and realizing accurate quantitative assessment of sampling execution accuracy.
[0016] A second aspect of this application provides a coal mechanized sampling quality assessment device, comprising: a data acquisition module, configured to generate a planned sampling point dataset for the target sampling task based on task information of the target sampling task, to acquire the actual pulse position number and the planned pulse position number of each planned sampling point in the planned sampling point dataset; a calculation module, configured to determine the actual physical position identifier and the planned physical position identifier of each planned sampling point based on the actual pulse position number and the planned pulse position number, and to calculate the position deviation between the actual physical position identifier and the planned physical position identifier of each planned sampling point; and an assessment module, configured to determine at least one assessment indicator among the task-level summary indicator, the interval-level quantile comparison table, the six-dimensional chart data, and the anomaly list of the target sampling task based on the position deviation of all planned sampling points in the planned sampling point dataset, to generate a quality assessment result of the target sampling task based on at least one of the assessment indicators.
[0017] Through the above-mentioned technical means, the embodiments of this application can generate planned sampling points according to the target sampling task and collect the actual pulse position number and planned pulse position number of each planned sampling point, and determine the actual physical position identifier, planned physical position identifier and position deviation, so as to determine at least one evaluation indicator among the task-level summary index, interval-level quantile comparison table, six-dimensional chart data and anomaly list, and generate quality evaluation results. In this way, pulse signals can be automatically collected and converted into physical position coordinates, realizing accurate quantification of sampling position deviation, multi-dimensional quality analysis and automatic identification of anomalies, and supporting independent comparison of different sampling intervals, thereby improving the accuracy of coal mechanized sampling task execution precision evaluation and the comprehensiveness of sampling quality evaluation.
[0018] Optionally, in one embodiment of this application, the evaluation module includes: a filtering unit, configured to filter a set of valid sampling points that meet preset conditions for the target sampling task based on the actual pulse position number, and determine the number of valid sampling points in the set of valid sampling points; a calculation unit, configured to calculate the average deviation, maximum deviation, and standard deviation of the target sampling task based on the position deviation of all sampling points in the set of valid sampling points; a first determination unit, configured to determine abnormal sampling points in the set of valid sampling points whose position deviation is greater than or equal to a preset abnormal threshold and qualified sampling points whose position deviation is less than the preset abnormal threshold, so as to determine the sampling pass rate and the number of abnormal sampling points of the target sampling task; and a first generation unit, configured to generate the task-level summary index and the list of abnormal points based on the number of valid sampling points, the average deviation, the maximum deviation, the standard deviation of the deviation, the sampling pass rate, and the number of abnormal sampling points.
[0019] Through the above-mentioned technical means, the embodiments of this application can filter the set of valid sampling points based on the actual pulse position sequence, and calculate statistics such as average deviation, maximum deviation, and standard deviation of deviation accordingly. At the same time, abnormal sampling points are automatically filtered based on configurable deviation thresholds, and the sampling pass rate and number of abnormalities are determined, thereby generating task-level summary indicators and an abnormal point list. By replacing manual inspection with automated threshold judgment, abnormal samples are accurately located, which greatly improves the efficiency of abnormal detection and standard consistency.
[0020] Optionally, in one embodiment of this application, the evaluation module includes: a division unit, configured to divide the sampling interval of the target sampling task based on the sampling objects of the target sampling task; and a second generation unit, configured to calculate the quantiles of the positional deviations of all planned sampling points in each sampling interval, so as to generate the interval-level quantile comparison table based on the quantiles.
[0021] Through the above-mentioned technical means, the embodiments of this application can divide independent sampling intervals according to the sampling object, calculate quantiles for the positional deviations in each interval and generate an interval-level quantile comparison table, thereby independently evaluating the sampling quality of each car or coal pile interval through interval-level quantile analysis, while supporting the comparison of sampling quality distribution characteristics of different cars, which facilitates the accurate location of quality weak intervals with large sampling deviations.
[0022] Optionally, in one embodiment of this application, the evaluation module includes: a third generation unit, configured to determine interval grouping based on the actual interval of the position deviation value, and count the number of planned sampling points for each interval group to generate a distance distribution histogram of the target sampling task; a fourth generation unit, configured to generate a target cross-section hierarchical statistical result of the target sampling task based on the target cross-section index of each planned sampling point; a fifth generation unit, configured to generate a sampling depth distribution result of the target sampling task based on the sampling depth of each planned sampling point and the target cross-section index; and a sixth generation unit, configured to count the number of sampling points for positive deviation, zero deviation, and negative deviation of the target sampling task based on the position deviation. The system generates a deviation direction distribution result for the target sampling task; the seventh generation unit is used to determine the planned position trend curve, actual position trend curve, and deviation value trend curve of the target sampling task based on the sampling point number of each planned sampling point, so as to generate a deviation trend map of the target sampling task; the eighth generation unit is used to generate a depth-deviation relationship scatter plot of the target sampling task based on the position deviation, the sampling depth, and the target cross-section index; the second determination unit is used to determine the six-dimensional chart data based on the distance distribution histogram, the target cross-section hierarchical statistical results, the sampling depth distribution results, the deviation direction distribution results, the deviation trend map, and the depth-deviation relationship scatter plot.
[0023] Through the above-mentioned technical means, the embodiments of this application can analyze the sampling quality from six dimensions: deviation distance distribution, cross-sectional stratification statistics, sampling depth distribution, deviation direction distribution, deviation trend change, and the relationship between depth and deviation. This generates visualized chart data, providing multi-dimensional and graphical analysis basis for sampling quality assessment. It comprehensively displays the spatial distribution characteristics of sampling points, deviation statistical laws, and variable correlation characteristics, making up for the shortcomings of related technologies that only record the completion status and lack multi-dimensional statistical analysis capabilities.
[0024] Optionally, in one embodiment of this application, the formula for calculating the physical location coordinates is: plannedPosition=pointId×K, in, plannedPosition The physical location coordinates, pointId This refers to the actual pulse position number. K This is the preset pulse-distance conversion factor.
[0025] Through the above-mentioned technical means, the embodiments of this application can convert the pulse signals of different models of mechanical sampling equipment into physical position coordinates by setting a pulse-distance conversion coefficient, thereby eliminating the impact of equipment differences on quality assessment, overcoming the defect that related technologies cannot quantify deviations, and realizing accurate quantitative assessment of sampling execution accuracy.
[0026] 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 program to implement the coal mechanized sampling quality assessment method as described in the above embodiments.
[0027] A fourth aspect of this application provides a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described coal mechanized sampling quality assessment method.
[0028] A fifth aspect of this application provides a computer program product that stores a computer program that, when executed by a processor, implements the above-described coal mechanized sampling quality assessment method.
[0029] This application embodiment can generate planned sampling points according to the target sampling task and collect the actual pulse position sequence number and planned pulse position sequence number of each planned sampling point. It also determines the actual physical position identifier, planned physical position identifier, and position deviation to determine at least one evaluation indicator from the task-level summary index, interval-level quantile comparison table, six-dimensional chart data, and anomaly list, generating a quality evaluation result. This allows for the automatic acquisition of pulse signals and conversion into physical position coordinates, achieving precise quantification of sampling position deviation, multi-dimensional quality analysis, and automatic anomaly identification. It also supports independent comparison of different sampling intervals, improving the accuracy of coal mechanized sampling task execution precision evaluation and the comprehensiveness of sampling quality evaluation. Therefore, it solves the problems in related technologies, such as only recording the sampling task completion status, lacking quantitative analysis and multi-dimensional statistics of the position deviation between actual and planned sampling points, lacking automated anomaly detection mechanisms and independent comparison between intervals, and inconsistent original data formats of different devices, which lead to inaccurate evaluation of the execution precision of a single sampling task, difficulty in comprehensively reflecting sampling quality, and low efficiency in anomaly identification.
[0030] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0031] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This is a flowchart of a coal mechanized sampling quality assessment method provided according to an embodiment of this application; Figure 2 This is a schematic diagram of the sampling interval division and spatial distribution of sampling points according to an embodiment of this application; Figure 3 This is a schematic diagram illustrating the pulse signal to physical position conversion and deviation calculation according to an embodiment of this application; Figure 4 This is a schematic diagram illustrating the principle of quantile calculation (linear interpolation) according to an embodiment of this application; Figure 5 This is a data flow diagram for multi-dimensional statistical analysis provided according to an embodiment of this application; Figure 6 This is a schematic diagram of the deviation direction distribution statistics according to an embodiment of this application; Figure 7 This is a module architecture diagram provided according to an embodiment of this application; Figure 8 This is a schematic diagram of a coal mechanized sampling quality assessment device provided according to an embodiment of this application; Figure 9 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of this application.
[0032] Figure label: 10-Coal mechanized sampling quality assessment device; 100-Sampling module, 200-Calculation module, 300-Assessment module; 901-Memory, 902-Processor, 903-Communication interface. Detailed Implementation
[0033] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0034] The following describes a coal mechanized sampling quality assessment method, apparatus, and electronic equipment according to embodiments of this application, with reference to the accompanying drawings. Addressing the issues raised in the background section regarding related technologies, which only record the completion status of sampling tasks, lack quantitative analysis and multi-dimensional statistics of the positional deviation between actual and planned sampling points, lack automated anomaly detection mechanisms and independent comparison between different intervals, and suffer from inconsistent raw data formats across different devices, this application provides a coal mechanized sampling quality assessment method. In this method, planned sampling points are generated based on the target sampling task, and the actual pulse position number and planned pulse position number of each planned sampling point are collected. The actual physical position identifier, planned physical position identifier, and position deviation are determined to identify at least one assessment indicator from among task-level summary indicators, interval-level quantile comparison tables, six-dimensional chart data, and anomaly list. This generates a quality assessment result, enabling automatic acquisition of pulse signals and conversion into physical position coordinates. This achieves precise quantification of sampling position deviation, multi-dimensional quality analysis, and automatic anomaly identification, and supports independent comparison between different sampling intervals, improving the accuracy of coal mechanized sampling task execution accuracy assessment and the comprehensiveness of sampling quality assessment. This solves the problems in related technologies, such as the lack of quantitative analysis and multi-dimensional statistics on the deviation between the actual sampling point and the planned sampling point position, the lack of automated anomaly detection mechanism and independent comparison between intervals, and the inconsistent original data formats of different devices, which lead to the inability to accurately evaluate the execution accuracy of a single sampling task, the difficulty in fully reflecting the sampling quality, and the low efficiency of anomaly point identification.
[0035] Specifically, Figure 1 This is a flowchart illustrating a method for assessing the quality of mechanized coal sampling provided in an embodiment of this application.
[0036] like Figure 1 As shown, the method for assessing the quality of mechanized coal sampling includes the following steps: In step S101, a planned sampling point dataset for the target sampling task is generated based on the task information of the target sampling task, so as to collect the actual pulse position number and the planned pulse position number of each planned sampling point in the planned sampling point dataset.
[0037] It is understood that, in this embodiment of the application, the target sampling task refers to a single mechanical sampling operation targeting a specific coal transportation unit or coal pile. Task information may include task ID, sampling station, vehicle type information, etc. The planned sampling point dataset refers to the set of data records for all planned sampling points determined based on the task information. Each planned sampling point's data record includes information such as the planned point number, target section index, and depth. The actual pulse position sequence number refers to the pulse count output by the encoder of the motion mechanism of the mechanical sampling equipment when performing the sampling action, used to reflect the actual position reached by the sampling head.
[0038] In actual execution, this application embodiment can receive a sampling task creation request, which includes basic information such as task ID, sampling site, and vehicle model information. Based on the sampling task, a planned sampling point dataset is generated. Each planned sampling point includes a planned pulse position number pointId, a Y-section index yIndex, and a sampling depth deep. The actual pulse position number (realPointId) corresponding to each planned sampling point is collected after the mechanical sampling equipment performs sampling.
[0039] Among them, the planned pulse position number represents the pulse position number (integer) on the sampling equipment panel; the Y section index represents the layer position of the sampling point on the transverse section, with values of 0 (near end), 1 (middle), and 2 (far end). The value of the Y section index can be set by those skilled in the art according to the actual situation, and no specific restrictions are imposed here; the sampling depth represents the longitudinal drilling depth of the sampling point in the coal seam, in meters.
[0040] like Figure 2 As shown, in this embodiment of the application, the sampling area can also be divided into multiple continuous intervals according to the physical structure of the sampling object (train carriage or coal pile). Each interval is defined by the start pulse position startPointId and the end pulse position endPointId, and the physical length of the interval is calculated according to the formula: sectionLength=(endPointId-startPointId)×K, Where sectionLength is the physical length of the interval in meters, and K is the preset pulse-distance conversion factor, with a value of 0.185 meters / pulse.
[0041] Taking coal sampling by train as an example, each train contains multiple carriages (e.g., 60 carriages), and each carriage is an independent sampling interval. The rules for dividing the sampling interval are as follows: determine the sampling range based on the maximum number of pulses on the sampling equipment panel, determine the sampling density based on the total number of theoretical sampling points, and determine the sampling range of each carriage by solving for the start and end pulse positions of the interval.
[0042] In this embodiment of the application, the interval information can be stored in an interval table. Each interval record includes: interval number sectionIndex (corresponding to carriage number), start pulse position startPointId, end pulse position endPointId, and interval physical length sectionLength.
[0043] Furthermore, in this embodiment of the application, the mechanical sampling device can record the actual sampling position realPointId corresponding to each planned sampling point in real time during the execution of the sampling task. The actual sampling position realPointId is represented by a pulse position sequence number, and the sampling depth parameter is also recorded.
[0044] The actual pulse position data can be transmitted from the sampling device to the subsequent evaluation system through an encrypted communication channel. In this embodiment, the AES / ECB / PKCS5Padding encryption algorithm can be used, with appid as the key index identifier, to ensure data transmission security.
[0045] Specifically, the data is reported to the system in encrypted JSON format via an HTTP POST interface. The data reporting interface address can be: / api / wgm / samplePointLocation.
[0046] The reported data can include: task ID, a list of sampling points, and for each sampling point, a planned location (pointId), an actual location (realPointId), a cross-section index (yIndex), and a depth (deep). After data collection, the data is stored in three related data tables. Specifically: the main table (sampling point location configuration table) stores task-level summary information (maximum number of pulses, total theoretical number of sampling points, vehicle type information); the interval table (coal pile interval table) stores interval division information; and the planned sampling point data table stores detailed data for each sampling point, including planned location, actual location, cross-section index, and depth.
[0047] This application embodiment can protect against duplicate reporting. Each task ID is only allowed to report the sampling point location data once to prevent data from being written repeatedly.
[0048] This application embodiment can generate a structured planned sampling point dataset based on the task information of the target sampling task, and automatically collect the actual pulse position number and planned pulse position number of each planned sampling point, realizing the synchronous acquisition and matching of raw pulse data, providing a unified data source for subsequent position deviation calculation, thereby reducing the workload of manual data processing and improving the standardization and traceability of data acquisition.
[0049] In step S102, based on the actual pulse position number and the planned pulse position number, the actual physical position identifier and the planned physical position identifier of each planned sampling point are determined, and the position deviation between the actual physical position identifier and the planned physical position identifier of each planned sampling point is calculated.
[0050] It is understood that, in the embodiments of this application, the physical location identifier refers to converting pulse counts into a location representation with physical length meaning, used to uniformly measure the actual placement of sampling points. The location deviation is the difference between the actual physical location and the planned physical location, used to quantify the degree of offset of the sampling point position.
[0051] In actual implementation, this embodiment can convert the actual pulse position number of each sampling point into the actual physical position in meters using a preset conversion rule, serving as the physical position identifier of that point. Then, it retrieves the planned physical position identifiers of the corresponding points in the planned sampling point dataset, calculates the difference between the two, and obtains the directional position deviation of each sampling point. For example, a position coordinate system is established along the length of the carriage. The actual pulse number is converted into the actual physical position identifier in this coordinate system. The physical position identifier is subtracted from the actual physical position identifier; a positive value indicates that the actual position is offset along the positive coordinate direction, and a negative value indicates that it is offset along the negative coordinate direction, ultimately yielding the position deviation value for each planned sampling point.
[0052] This application embodiment can convert pulse position numbers into unified physical position coordinates and automatically calculate the position deviation between the actual physical position identifier and the planned physical position identifier of each planned sampling point, thereby realizing the quantitative calculation of sampling position deviation, providing basic data for subsequent statistical analysis and anomaly identification, and avoiding the problem of being unable to directly compare due to inconsistent original data formats.
[0053] Optionally, in one embodiment of this application, the formula for calculating the physical location coordinates is: plannedPosition=pointId×K, in, plannedPosition For physical location coordinates, pointId This is the actual pulse position number. K This is the preset pulse-distance conversion factor.
[0054] It is understood that in the embodiments of this application, the preset pulse-distance conversion factor K can represent the actual displacement corresponding to each pulse output by the device encoder. The preset pulse-distance conversion factor K can be 0.185. The basis for determining the preset pulse-distance conversion factor K is: each pulse unit rotation of the mechanical sampling device disk corresponds to a linear displacement of 0.185 meters. The preset pulse-distance conversion factor K is a built-in constant of the system (PULSE_TO_METER=0.185), which is applicable to the current sampling device model. For different models of devices, it can be adjusted through configuration parameters. The preset pulse-distance conversion factor can be set by those skilled in the art according to the actual situation, and no specific restrictions are made here.
[0055] In actual implementation, the embodiments of this application can perform unified physical quantity conversion on pulse position data, such as... Figure 3 As shown, using a preset pulse-distance conversion factor K, the acquired pulse signal data is uniformly converted into physical quantity, transforming the pulse position sequence into physical position coordinates in meters: plannedPosition = pointId × K, actualPosition = realPointId × K, Where K = 0.185 m / pulse, actualPosition For actual physical location identification, plannedPosition This is the physical location identifier for the plan.
[0056] For each sampling point that has been sampled, calculate the absolute deviation between the actual physical location identifier and the planned physical location identifier: deviation =| realPointId - pointId |× K , deviation =| actualPosition - plannedPosition |, in, deviation The positional deviation, expressed in meters, reflects the accuracy of the sampling equipment's positional execution at that point.
[0057] Meanwhile, embodiments of this application can calculate the position offset containing direction information: positionOffset = realPointId - pointId , in, positionOffset >0 indicates that the actual position is ahead of the planned position; positionOffset =0 indicates that the actual position is equal to the planned position; positionOffset<0 indicates that the actual position is behind the planned position.
[0058] This application embodiment can convert the pulse signals of different models of mechanical sampling equipment into physical position coordinates by setting a pulse-distance conversion coefficient, thereby eliminating the impact of equipment differences on quality assessment, overcoming the defect that related technologies cannot quantify deviations, and realizing accurate quantitative assessment of sampling execution accuracy.
[0059] In step S103, based on the positional deviation of all planned sampling points in the planned sampling point dataset, at least one evaluation indicator is determined from the following: task-level summary indicator of the target sampling task, interval-level quantile comparison table, six-dimensional chart data, and anomaly list, so as to generate a quality evaluation result of the target sampling task based on at least one evaluation indicator.
[0060] It is understood that, in this application embodiment, the task-level summary index refers to the index obtained by summarizing and statistically analyzing the overall deviation level of the target sampling task, such as the number of valid sampling points, average deviation, maximum deviation, standard deviation of deviation, sampling pass rate, and number of abnormal sampling points. The interval-level quantile comparison table refers to dividing the target sampling task into multiple sampling intervals according to the sampling object, calculating the quantiles of the positional deviation within each interval, and displaying them in tabular form. The six-dimensional chart data refers to the visualized statistical data generated from six dimensions: distance distribution, cross-sectional stratification, depth distribution, deviation direction, deviation trend, and depth-deviation relationship. The anomaly list refers to the automatically identified list of sampling points whose deviation exceeds a preset anomaly threshold. The preset anomaly threshold can be 10 pulses (corresponding to 1.85 meters), and this threshold can be set by those skilled in the art according to actual conditions; no specific limitations are imposed here. The quality assessment result can be a report, chart, or data file containing one or more of the above assessment indicators.
[0061] In actual implementation, the embodiments of this application can generate a sampling quality assessment report as the quality assessment result. The sampling quality assessment report may include at least one of the following: task-level summary indicators, interval-level quantile comparison, six-dimensional chart analysis data, and an outlier list.
[0062] The embodiments of this application can generate a structured quality assessment report, which may include: basic task information, such as task ID, station, vehicle type, and sampling date; task-level summary indicators, such as completion rate, average deviation, maximum deviation, standard deviation, quality pass rate, and number of outliers; interval-level quantile comparison table, such as Q1 / Median / Q3 and basic statistics for each carriage; six-dimensional chart data, such as distance distribution, Y-section statistics, depth distribution, direction distribution, trend chart, and scatter plot; and a list of outliers (with complete annotation information).
[0063] This application embodiment can automatically generate at least one evaluation indicator from among the following: task-level summary indicators, interval-level quantile comparison tables, six-dimensional chart data, and anomaly list, based on the location deviation of all planned sampling points. Based on this, a quality evaluation result is formed, thereby realizing multi-dimensional and automated evaluation of sampling quality. This overcomes the limitations of a single completion rate indicator and reflects sampling quality from the overall to the local, and from numerical statistics to visualization presentation, providing a scientific basis for equipment maintenance and process optimization.
[0064] Optionally, in one embodiment of this application, based on the positional deviations of all planned sampling points in the planned sampling point dataset, at least one evaluation indicator is determined from the following: a task-level summary indicator for the target sampling task, an interval-level quantile comparison table, six-dimensional chart data, and an anomaly list. This includes: filtering a set of valid sampling points for the target sampling task that meet preset conditions based on the actual pulse position sequence number, and determining the number of valid sampling points in the set of valid sampling points; calculating the average deviation, maximum deviation, and standard deviation of the target sampling task based on the positional deviations of all sampling points in the set of valid sampling points; determining the anomaly sampling points in the set of valid sampling points whose positional deviations are greater than or equal to a preset anomaly threshold and the qualified sampling points whose positional deviations are less than the preset anomaly threshold, so as to determine the sampling pass rate and the number of anomaly sampling points for the target sampling task; and generating a task-level summary indicator and an anomaly list based on the number of valid sampling points, average deviation, maximum deviation, standard deviation of deviation, sampling pass rate, and number of anomaly sampling points.
[0065] It is understood that the preset condition in this embodiment can be that the actual pulse position number (REAL_POINT_ID) is not empty and not zero. The preset condition can be set by those skilled in the art according to the actual situation, and no specific restrictions are imposed here. The preset anomaly threshold can be set to 10 pulses (corresponding to 1.85 meters) by default, and custom configuration is supported. The preset anomaly threshold can be set by those skilled in the art according to the actual situation, and no specific restrictions are imposed here. The average deviation refers to the arithmetic mean of the deviations of all sampled points; the maximum deviation refers to the maximum value of the deviations of all sampled points; the standard deviation of the deviation refers to the overall standard deviation of the deviations of all sampled points; the quality pass rate refers to the percentage of sampled points with deviations less than the preset quality pass threshold out of the total number of sampled points; the number of anomalies refers to the number of sampled points with deviations exceeding the preset anomaly threshold.
[0066] In actual execution, the embodiments of this application can filter all sampling records under the current sampling task, retain only valid sampling points whose actual pulse position number (REAL_POINT_ID) is not empty and not zero, and perform statistical summary on the filtered set of valid sampling points to determine the total number of sampling points, the number of sampled points, the number of unsampled points, the sampling completion rate, the average deviation, the maximum deviation, the standard deviation of the deviation, the quality pass rate, and the number of outliers.
[0067] Specifically, in this embodiment of the application, the number of sampling records obtained after screening can be counted to obtain the total number of valid sampling points, which can be used as the calculation base for subsequent indicators; In this embodiment, for each valid sampling point, the absolute value of the difference between its actual pulse position number and the planned pulse position number (POINT_ID) is calculated, and then multiplied by the pulse-distance conversion factor 0.185 (unit: meters / pulse) to obtain the position deviation of the sampling point (unit: meters). Based on this, the average value, maximum value and standard deviation of the position deviations of all valid sampling points are calculated to determine the average deviation, maximum deviation and standard deviation of the sampling task as an overall measure of the task-level deviation level.
[0068] This application embodiment compares the positional deviation of each valid sampling point with a preset anomaly threshold one by one; counts the number of abnormal sampling points whose positional deviation is less than the preset anomaly threshold, divides this number by the total number of valid sampling points, and then multiplies by 100 to obtain the sampling pass rate expressed as a percentage. This application embodiment can also count the number of sampling points whose positional deviation is greater than the preset anomaly threshold.
[0069] The total number of valid sampling points, average deviation, maximum deviation, standard deviation of deviation, sampling pass rate, and number of abnormal sampling points are summarized as the task-level statistical summary output of the target sampling task.
[0070] Furthermore, in this embodiment, abnormal sampling points that are greater than or equal to a configurable preset abnormal threshold can be automatically filtered based on a preset abnormal threshold. For each abnormal sampling point, the following information is marked and arranged in ascending order according to the actual pulse position number pointId: sampling point number, carriage / section to which it belongs, Y-section position (near / middle / far), sampling depth, planned position (meters), actual position (meters), position deviation (meters), and abnormal status mark.
[0071] The embodiments of this application can filter the set of valid sampling points based on the actual pulse position sequence, and calculate statistics such as average deviation, maximum deviation, and standard deviation of deviation accordingly. At the same time, abnormal sampling points are automatically filtered based on configurable deviation thresholds, and the sampling pass rate and number of abnormalities are determined, thereby generating task-level summary indicators and an abnormal point list. By replacing manual inspection with automated threshold judgment, abnormal samples are accurately located, which greatly improves the efficiency of abnormality detection and standard consistency.
[0072] Optionally, in one embodiment of this application, determining at least one evaluation indicator among the following—task-level summary indicator, interval-level quantile comparison table, six-dimensional chart data, and anomaly list—based on the positional deviation of all planned sampling points in the planned sampling point dataset, includes: dividing the sampling interval of the target sampling task based on the sampling object of the target sampling task; calculating the quantile of the positional deviation of all planned sampling points in each sampling interval to generate an interval-level quantile comparison table based on the quantile.
[0073] It is understood that, in the embodiments of this application, the sampling object refers to the coal carrier targeted by the sampling task, such as a train carriage or a coal pile. A quantile refers to the value at a specific percentage position after sorting all positional deviations within a certain sampling interval by magnitude, such as the 25th quantile, 50th quantile (median), and 75th quantile.
[0074] In actual implementation, the embodiments of this application can group the sampling points according to their respective intervals (carriage / coal pile segments), and independently calculate the quantiles of the deviation data in each interval, calculating the first quartile Q1 (25th quantile), the median (50th quantile), and the third quartile Q3 (75th quantile).
[0075] Specifically, in this embodiment of the application, the sampling area can be divided into multiple continuous intervals according to the physical structure of the sampling object (train carriage or coal pile). Each interval is defined by the start pulse position startPointId and the end pulse position endPointId, and the physical length of the interval is calculated according to the formula: sectionLength=(endPointId-startPointId)×K, Where sectionLength is the physical length of the interval in meters, and K is the preset pulse-distance conversion factor, with a value of 0.185 meters / pulse.
[0076] Taking coal sampling by train as an example, each train contains multiple carriages (e.g., 60 carriages), and each carriage is an independent sampling interval. The rules for dividing the sampling interval are as follows: determine the sampling range based on the maximum number of pulses on the sampling equipment panel, determine the sampling density based on the total number of theoretical sampling points, and determine the sampling range of each carriage by solving for the start and end pulse positions of the interval.
[0077] Furthermore, embodiments of this application can group the deviation data by interval and calculate the quantiles independently within each interval. Since the quantile calculation accuracy of standard SQL (Structured Query Language) functions is limited, embodiments of this application can employ methods such as... Figure 4 The diagram shows a hybrid architecture that combines raw deviation data from database queries with linear interpolation calculations at the application layer.
[0078] Specifically, at the database layer, this embodiment can filter valid sampling records from the sampling point data table where the actual pulse position number (REAL_POINT_ID) is neither empty nor zero under the current sampling task. For each valid sampling record, two data items are output: one is the interval number (SECTION_INDEX) to which the sampling point belongs, and the other is the position deviation of the sampling point. This position deviation is obtained by multiplying the absolute value of the difference between the actual pulse position number and the planned pulse position number (POINT_ID) by the pulse-distance conversion factor of 0.185, in meters. The final result set is then sorted in ascending order by interval number, and within the same interval, in ascending order by deviation value, and output to the application layer.
[0079] After receiving the result set returned by the database layer, the application layer first divides the result set into buckets according to the interval index, obtaining the deviation sequence in ascending order within each interval; then, for the deviation sequence of each interval, the arbitrary quantile is calculated using linear interpolation.
[0080] Specifically, let the length of the deviation sequence in this interval be n, and the quantile proportion to be calculated be p (p is between 0 and 1). Let the sorted deviation sequence be x0, x1, ..., x n-1 ; Calculate the theoretical position pos = (n-1) × p corresponding to the quantile ratio p; Take the integer subscript idx of the theoretical position pos as the integer part of pos, and the fractional part fraction = pos If idx+1 is less than n (i.e., the theoretical position does not fall at the end of the sequence), then the value of this quantile is obtained by linear interpolation: quantile = idx-th deviation value in the sequence + fraction × (idx+1-th deviation value in the sequence) The quantile is the idx-th deviation value in the sequence; if idx+1 is not less than n (i.e., the theoretical position falls exactly at the end of the sequence), then the quantile is directly taken as the idx-th deviation value in the sequence.
[0081] Based on the linear interpolation method, this embodiment calculates the lower quartile (p=0.25), median (p=0.50), and upper quartile (p=0.75) for each interval. In addition, the following basic statistics are calculated for each interval: total number of sampling points, number of sampled points, number of unsampled points, sampling completion rate, minimum deviation, average deviation, and maximum deviation. Thus, through interval-level quantile analysis, the sampling quality distribution characteristics of different carriages can be compared, and intervals with large sampling deviations can be identified.
[0082] This application embodiment can divide the sampling object into independent sampling intervals, calculate the quantiles of the positional deviations in each interval, and generate an interval-level quantile comparison table. Thus, through interval-level quantile analysis, the sampling quality of each car or coal pile interval can be independently evaluated. At the same time, it supports the comparison of the sampling quality distribution characteristics of different cars, which is convenient for accurately locating the quality weak intervals with large sampling deviations.
[0083] Optionally, in one embodiment of this application, determining at least one evaluation indicator from among the following—task-level summary indicators, interval-level quantile comparison tables, six-dimensional chart data, and anomaly lists—based on the positional deviations of all planned sampling points in the planned sampling point dataset, includes: determining interval groups based on the actual intervals where the positional deviation values are located, and counting the number of planned sampling points in each interval group to generate a distance distribution histogram for the target sampling task; generating hierarchical statistical results of the target cross-section for the target sampling task based on the target cross-section index of each planned sampling point; and generating a sampling depth distribution for the target sampling task based on the sampling depth and target cross-section index of each planned sampling point. Results: Based on positional deviation, the number of sampling points with positive, zero, and negative deviations for the target sampling task was counted to generate the deviation direction distribution results for the target sampling task; based on the sampling point number of each planned sampling point, the planned position trend curve, actual position trend curve, and deviation value trend curve for the target sampling task were determined to generate the deviation trend map for the target sampling task; based on positional deviation, sampling depth, and target cross-section index, a depth-deviation relationship scatter plot for the target sampling task was generated; based on the distance distribution histogram, target cross-section hierarchical statistical results, sampling depth distribution results, deviation direction distribution results, deviation trend map, and depth-deviation relationship scatter plot, six-dimensional chart data were determined.
[0084] It is understood that in the embodiments of this application, the target section index is the Y section index, which represents the layer position of the sampling point on the transverse section, and takes the values 0 (near end), 1 (middle), and 2 (far end). The value of the Y section index can be set by those skilled in the art according to the actual situation, and no specific restrictions are made here.
[0085] In actual implementation, the embodiments of this application can analyze sampling quality from six statistical dimensions, such as... Figure 5 The generated visualization chart data is shown.
[0086] Specifically, in this embodiment, the deviation values can be grouped into 5 preset intervals: 0-0.5m (high-precision sampling points), 0.5-1m (normal-precision sampling points), 1-1.5m (general-precision sampling points), 1.5-2m (lower-precision sampling points), and >2m (lower-precision sampling points). The number of sampling points in each interval is counted, and the overall distribution characteristics of the deviation are displayed in the form of a histogram to generate a distance distribution histogram.
[0087] In the embodiments of the present application, sampling points may be grouped according to the Y-section index yIndex (0=near, 1=middle, 2=far), the planned number of sampling points, the actual number of sampling points and the number of unsampled points for each section are counted, so as to generate a target section layered statistical result for evaluating the lateral uniformity of sampling execution. If the completion rates of the three sections differ greatly, it indicates that there is a difference in the execution capability of the sampling device at different lateral positions.
[0088] In the embodiments of the present application, cross grouping may be performed according to depth intervals (one interval every 0.5 meters, totaling 9 intervals from 0-0.5m to >4m) and the Y-section dimension, and the number of sampling points in each combination is counted to generate a sampling depth distribution result, which reflects the distribution density of sampling points at different depths and the difference in depth distribution at different lateral positions.
[0089] In the embodiments of the present application, the number and proportion of sampling points in three deviation directions may be counted: positive deviation (realPointId>pointId) where the actual position is ahead, zero deviation (realPointId = pointId) where the position is accurately hit, and negative deviation (realPointId<pointId) where the actual position lags behind, so as to generate the Figure 6 deviation direction distribution result as shown, and evaluate the systematic offset trend of the sampling device. When the proportion of positive deviation or negative deviation is significantly high, it indicates that the sampling device has a systematic offset.
[0090] In the embodiments of the present application, sampling points may be sorted by sampling point number (pointId), and three curves are drawn: a planned position curve, an actual position curve, and a deviation curve, so as to generate a deviation trend graph for intuitively observing the rule of deviation changing with position.
[0091] In the embodiments of the present application, a scatter plot may be drawn with sampling depth (deep) as the horizontal axis and position deviation (deviation) as the vertical axis, using different markers according to the Y-section (near / middle / far), so as to obtain a depth-deviation relationship scatter plot for analyzing the correlation between deviation and sampling depth, and whether there is a difference in the deviation-depth relationship at different lateral positions.
[0092] In the embodiments of the present application, sampling quality may be analyzed from six dimensions: deviation distance distribution, section layered statistics, sampling depth distribution, deviation direction distribution, deviation trend change, and depth-deviation correlation relationship, so as to generate visualized chart data, which provides a multi-dimensional and graphical analysis basis for sampling quality evaluation, comprehensively demonstrates the spatial distribution features, deviation statistical rules and variable correlation characteristics of sampling points, and makes up for the deficiency in the related art that only records the completion status but lacks the multi-dimensional statistical analysis capability.
[0093] Specifically, it is possible to combine Figure 7As shown, the working principle of the coal mechanized sampling quality assessment method in this application is explained in detail with a specific embodiment.
[0094] like Figure 7 As shown, the embodiments of this application can adopt a layered architecture design, including a data acquisition layer, a data processing layer, an analysis engine layer, and a display output layer, to achieve fully automated processing from raw data acquisition to visualization of quality assessment results.
[0095] The data acquisition layer is responsible for communicating with the mechanical sampling equipment, transmitting data via the HTTP protocol, and protecting the communication content with AES / ECB / PKCS5Padding encryption. The appid is used as the key index identifier. The actual pulse position data is transmitted from the sampling equipment to the evaluation system through the AES encrypted communication channel. The system uses a three-table linkage storage system consisting of a main table, an interval table, and a sampling point data table, and sets up a duplicate reporting protection mechanism to prevent the same data from being written multiple times.
[0096] The data processing layer includes pulse-distance conversion, deviation calculation, and statistical aggregation. Specifically, embodiments of this application can be based on preset conversion coefficients. K =0.185 meters / pulse, used to convert pulse sequence number into physical distance and calculate the position deviation of each sampling point; the embodiments of this application can calculate task-level statistical indicators such as completion rate, average deviation, maximum deviation, standard deviation and pass rate.
[0097] The data analysis layer includes a multi-dimensional data analysis engine and anomaly detection. Specifically, embodiments of this application can support parallel computation of six statistical dimensions to generate multi-dimensional chart data; embodiments of this application can automatically filter sampling points based on configurable thresholds to identify anomaly sampling points with deviations greater than or equal to the threshold.
[0098] The output layer provides task list display, statistical summary display, interval comparison display, chart visualization display, and outlier list display. The task list display supports dynamic completion rate calculation and shows task details including carriage configuration and raw data information; the interval comparison display includes quantile box plots; and the outlier list display supports pagination and multi-condition filtering, allowing users to view the sampling quality assessment results from different perspectives.
[0099] Taking a sampling task on a 60-car train as an example, each car needs to be sampled at three Y-section positions: near, middle, and far, totaling approximately 1800 sampling points for the entire train. The sampling vehicle executes the sampling task according to the sampling plan issued by the system, and reports the sampling point location data through an encrypted channel after sampling is completed. After receiving the data, the system first converts the pulse positions of the 1800 sampling points into physical positions (meters), then calculates the positional deviation of each sampling point, and performs a multi-dimensional quality assessment based on this.
[0100] For example, the multi-dimensional quality assessment results may include: the generated task-level summary indicators show a completion rate of 97.5%, an average deviation of 0.32 meters, a maximum deviation of 2.85 meters, a standard deviation of 0.41 meters, a quality pass rate of 89.2%, and 23 outliers identified for manual review and confirmation.
[0101] The positional deviation quantiles were calculated for each of the 60 carriages. The third quartile (Q3) of the 35th carriage was 1.52 meters, which was significantly higher than the overall deviation of 0.78 meters for the entire train, thus accurately locating the weak points in the quality.
[0102] At the multi-dimensional feature analysis level, the distance distribution histogram shows that 85% of the sampling points have a deviation within 1 meter. Y-section statistics indicate that the completion rate of the "far" section is 92%, lower than the 99% of the "near" section, suggesting weaker execution capability of the equipment at distant locations. The deviation direction distribution shows that positive deviation accounts for 62%, negative deviation for 35%, and zero deviation for 3%, indicating a systematic trend of leading deviation. The deviation trend graph shows a significant increase in deviation between sampling points 300 and 400, coinciding with the location of carriage 35; the depth-deviation scatter plot shows that the deviation increases with sampling depth, suggesting a decrease in accuracy at deeper sampling depths.
[0103] The coal mechanized sampling quality assessment method proposed in this application can generate planned sampling points based on the target sampling task, collect the actual pulse position number and planned pulse position number of each planned sampling point, and determine the actual physical position identifier, planned physical position identifier, and position deviation. It then determines at least one assessment indicator from among task-level summary indicators, interval-level quantile comparison tables, six-dimensional chart data, and anomaly list to generate quality assessment results. This method can automatically collect pulse signals and convert them into physical position coordinates, achieving precise quantification of sampling position deviation, multi-dimensional quality analysis, and automatic anomaly identification. It also supports independent comparison of different sampling intervals, improving the accuracy of coal mechanized sampling task execution precision assessment and the comprehensiveness of sampling quality assessment. Therefore, it solves the problems in related technologies where only the sampling task completion status is recorded, lacking quantitative analysis and multi-dimensional statistics of the position deviation between actual and planned sampling points, lacking automated anomaly detection mechanisms and independent comparison between intervals, and having inconsistent original data formats for different equipment. These issues lead to inaccurate assessment of the execution precision of a single sampling task, difficulty in comprehensively reflecting sampling quality, and low anomaly identification efficiency.
[0104] Next, referring to the accompanying drawings, we describe the coal mechanized sampling quality assessment device proposed according to the embodiments of this application.
[0105] Figure 8 This is a schematic diagram of the structure of the coal mechanized sampling quality assessment device according to an embodiment of this application.
[0106] like Figure 8 As shown, the coal mechanized sampling quality assessment device 10 includes: a data acquisition module 100, a calculation module 200, and an assessment module 300.
[0107] The acquisition module 100 is used to generate a planned sampling point dataset for the target sampling task based on the task information of the target sampling task, so as to collect the actual pulse position number and the planned pulse position number of each planned sampling point in the planned sampling point dataset.
[0108] The calculation module 200 is used to determine the actual physical location identifier and the planned physical location identifier of each planned sampling point based on the actual pulse location sequence number and the planned pulse location sequence number, and to calculate the position deviation between the actual physical location identifier and the planned physical location identifier of each planned sampling point. The evaluation module 300 is used to determine at least one evaluation indicator from the following sources based on the positional deviation of all planned sampling points in the planned sampling point dataset: task-level summary indicator, interval-level quantile comparison table, six-dimensional chart data, and outlier list, so as to generate a quality evaluation result of the target sampling task based on at least one evaluation indicator.
[0109] Optionally, in one embodiment of this application, the evaluation module 300 includes: a screening unit, a calculation unit, a first determination unit, and a first generation unit.
[0110] The filtering unit is used to filter the set of valid sampling points that meet the preset conditions for the target sampling task based on the actual pulse position number, and to determine the number of valid sampling points in the set of valid sampling points.
[0111] The calculation unit is used to calculate the average deviation, maximum deviation, and standard deviation of the target sampling task based on the positional deviation of all sampling points in the set of valid sampling points.
[0112] The first determining unit is used to determine abnormal sampling points with position deviations greater than or equal to a preset abnormal threshold and qualified sampling points with position deviations less than the preset abnormal threshold in the set of valid sampling points, so as to determine the sampling pass rate and the number of abnormal sampling points of the target sampling task.
[0113] The first generation unit is used to generate task-level summary indicators and an anomaly list based on the number of valid sampling points, average deviation, maximum deviation, standard deviation of deviation, sampling pass rate, and number of abnormal sampling points.
[0114] Optionally, in one embodiment of this application, the evaluation module 300 includes: a partitioning unit and a second generation unit.
[0115] The partitioning unit is used to divide the sampling interval of the target sampling task based on the sampling object of the target sampling task.
[0116] The second generation unit is used to calculate the quantiles of the positional deviations of all planned sampling points in each sampling interval, so as to generate an interval-level quantile comparison table based on the quantiles.
[0117] Optionally, in one embodiment of this application, the evaluation module 300 includes: a third generation unit, a fourth generation unit, a fifth generation unit, a sixth generation unit, a seventh generation unit, an eighth generation unit, and a second determination unit.
[0118] The third generation unit is used to determine the interval grouping based on the actual interval of the position deviation value, and count the planned sampling points of each interval group to generate a distance distribution histogram of the target sampling task.
[0119] The fourth generation unit is used to generate hierarchical statistical results of the target cross-section of the target sampling task based on the target cross-section index of each planned sampling point.
[0120] The fifth generation unit is used to generate the sampling depth distribution results of the target sampling task based on the sampling depth and target cross-section index of each planned sampling point.
[0121] The sixth generation unit is used to count the number of sampling points with positive, zero, and negative deviations of the target sampling task based on the positional deviation, so as to generate the deviation direction distribution result of the target sampling task.
[0122] The seventh generation unit is used to determine the planned location trend curve, actual location trend curve, and deviation value trend curve of the target sampling task based on the sampling point number of each planned sampling point, so as to generate the deviation trend map of the target sampling task.
[0123] The eighth generation unit is used to generate a depth-deviation scatter plot of the target sampling task based on the positional deviation, sampling depth, and target cross-section index.
[0124] The second determining unit is used to determine six-dimensional chart data based on the distance distribution histogram, the target cross-section layered statistical results, the sampling depth distribution results, the deviation direction distribution results, the deviation trend chart, and the depth-deviation relationship scatter plot.
[0125] Optionally, in one embodiment of this application, the formula for calculating the physical location coordinates is: plannedPosition=pointId×K, in, plannedPosition For physical location coordinates, pointId This is the actual pulse position number. K This is the preset pulse-distance conversion factor.
[0126] It should be noted that the foregoing explanation of the coal mechanized sampling quality assessment method embodiment also applies to the coal mechanized sampling quality assessment device of this embodiment, and will not be repeated here.
[0127] The coal mechanized sampling quality assessment device proposed in this application can generate planned sampling points according to the target sampling task and collect the actual pulse position number and planned pulse position number of each planned sampling point. It also determines the actual physical position identifier, planned physical position identifier, and position deviation to determine at least one assessment indicator from task-level summary indicators, interval-level quantile comparison tables, six-dimensional chart data, and anomaly list, generating a quality assessment result. This allows for the automatic acquisition of pulse signals and conversion into physical position coordinates, achieving precise quantification of sampling position deviation, multi-dimensional quality analysis, and automatic anomaly identification. It also supports independent comparison of different sampling intervals, improving the accuracy of coal mechanized sampling task execution precision assessment and the comprehensiveness of sampling quality assessment. Therefore, it solves the problems in related technologies where only the sampling task completion status is recorded, lacking quantitative analysis and multi-dimensional statistics of the position deviation between actual and planned sampling points, lacking automated anomaly detection mechanisms and independent interval comparisons, and having inconsistent original data formats across different devices. These issues lead to inaccurate assessment of the execution precision of a single sampling task, difficulty in comprehensively reflecting sampling quality, and low anomaly identification efficiency.
[0128] Figure 9 A schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include: The memory 901, the processor 902, and the computer program stored on the memory 901 and capable of running on the processor 902.
[0129] When the processor 902 executes the program, it implements the coal mechanized sampling quality assessment method provided in the above embodiments.
[0130] Furthermore, electronic devices also include: Communication interface 903 is used for communication between memory 901 and processor 902.
[0131] The memory 901 is used to store computer programs that can run on the processor 902.
[0132] The memory 901 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0133] If the memory 901, processor 902, and communication interface 903 are implemented independently, then the communication interface 903, memory 901, and processor 902 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 9 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0134] Optionally, in a specific implementation, if the memory 901, processor 902, and communication interface 903 are integrated on a single chip, then the memory 901, processor 902, and communication interface 903 can communicate with each other through an internal interface.
[0135] The processor 902 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0136] This application also provides a non-volatile computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described coal mechanized sampling quality assessment method.
[0137] This application also provides a computer program product storing a computer program that, when executed by a processor, implements the above-described coal mechanized sampling quality assessment method.
[0138] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0139] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0140] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0141] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0142] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or more of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0143] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0144] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0145] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A method for assessing the quality of mechanized coal sampling, characterized in that, Includes the following steps: Generate a planned sampling point dataset for the target sampling task based on the task information of the target sampling task, and collect the actual pulse position number and planned pulse position number of each planned sampling point in the planned sampling point dataset; Based on the actual pulse position number and the planned pulse position number, determine the actual physical position identifier and the planned physical position identifier for each planned sampling point, and calculate the position deviation between the actual physical position identifier and the planned physical position identifier for each planned sampling point; Based on the positional deviation of all planned sampling points in the planned sampling point dataset, at least one evaluation indicator is determined from the following: task-level summary indicator, interval-level quantile comparison table, six-dimensional chart data, and outlier list for the target sampling task, so as to generate a quality evaluation result of the target sampling task according to at least one of the evaluation indicators.
2. The method according to claim 1, characterized in that, The determination of at least one evaluation metric from the following based on the positional deviation of all planned sampling points in the planned sampling point dataset: task-level summary metric, interval-level quantile comparison table, six-dimensional chart data, and outlier list, including: Based on the actual pulse position number, filter the set of valid sampling points that meet the preset conditions for the target sampling task, and determine the number of valid sampling points in the set of valid sampling points; Based on the positional deviations of all sampling points in the set of effective sampling points, calculate the average deviation, maximum deviation, and standard deviation of the target sampling task. In the set of valid sampling points, abnormal sampling points whose position deviation is greater than or equal to a preset abnormal threshold and qualified sampling points whose position deviation is less than the preset abnormal threshold are identified, so as to determine the sampling pass rate and the number of abnormal sampling points of the target sampling task. Based on the number of valid sampling points, the average deviation, the maximum deviation, the standard deviation of the deviation, the sampling pass rate, and the number of abnormal sampling points, the task-level summary indicators and the list of abnormal points are generated.
3. The method according to claim 1, characterized in that, The determination of at least one evaluation metric from the following based on the positional deviation of all planned sampling points in the planned sampling point dataset: task-level summary metric, interval-level quantile comparison table, six-dimensional chart data, and outlier list, including: Based on the sampling objects of the target sampling task, the sampling interval of the target sampling task is divided; Calculate the quantiles of the positional deviations of all planned sampling points in each sampling interval, and generate the interval-level quantile comparison table based on the quantiles.
4. The method according to claim 1, characterized in that, The determination of at least one evaluation metric from the following based on the positional deviation of all planned sampling points in the planned sampling point dataset: task-level summary metric, interval-level quantile comparison table, six-dimensional chart data, and outlier list, including: Based on the actual interval of the location deviation value, the interval grouping is determined, and the number of planned sampling points for each interval group is counted to generate a distance distribution histogram for the target sampling task. Based on the target cross-section index of each of the planned sampling points, generate the hierarchical statistical results of the target cross-section for the target sampling task; Based on the sampling depth of each planned sampling point and the target cross-section index, the sampling depth distribution result of the target sampling task is generated; Based on the positional deviation, the number of sampling points with positive deviation, zero deviation, and negative deviation of the target sampling task is counted to generate the deviation direction distribution result of the target sampling task; Based on the sampling point number of each of the planned sampling points, the planned location trend curve, actual location trend curve, and deviation value trend curve of the target sampling task are determined to generate the deviation trend map of the target sampling task. Based on the positional deviation, the sampling depth, and the target cross-section index, a scatter plot of the depth-deviation relationship for the target sampling task is generated; Based on the distance distribution histogram, the target cross-section layered statistical results, the sampling depth distribution results, the deviation direction distribution results, the deviation trend chart, and the depth-deviation relationship scatter plot, the six-dimensional chart data is determined.
5. The method according to claim 1, characterized in that, The formula for calculating the physical location coordinates is: plannedPosition=pointId×K, in, plannedPosition The physical location coordinates, pointId This refers to the actual pulse position number. K This is the preset pulse-distance conversion factor.
6. A mechanized coal sampling quality assessment device, characterized in that, include: The acquisition module is used to generate a planned sampling point dataset for the target sampling task based on the task information of the target sampling task, so as to collect the actual pulse position number and the planned pulse position number of each planned sampling point in the planned sampling point dataset; The calculation module is used to determine the actual physical location identifier and the planned physical location identifier of each planned sampling point based on the actual pulse location sequence number and the planned pulse location sequence number, and to calculate the position deviation between the actual physical location identifier and the planned physical location identifier of each planned sampling point; The evaluation module is used to determine at least one evaluation indicator among the following: task-level summary indicator, interval-level quantile comparison table, six-dimensional chart data, and outlier list, based on the positional deviation of all planned sampling points in the planned sampling point dataset, so as to generate a quality evaluation result of the target sampling task according to at least one of the evaluation indicators.
7. The apparatus according to claim 6, characterized in that, The evaluation module includes: The filtering unit is used to filter the set of valid sampling points that meet the preset conditions for the target sampling task based on the actual pulse position number, and to determine the number of valid sampling points in the set of valid sampling points. The calculation unit is used to calculate the average deviation, maximum deviation, and standard deviation of the target sampling task based on the positional deviation of all sampling points in the set of effective sampling points; The first determining unit is used to determine the abnormal sampling points whose position deviation is greater than or equal to a preset abnormal threshold and the qualified sampling points whose position deviation is less than the preset abnormal threshold in the set of valid sampling points, so as to determine the sampling pass rate and the number of abnormal sampling points of the target sampling task. The first generation unit is used to generate the task-level summary index and the list of abnormal points based on the number of valid sampling points, the average deviation, the maximum deviation, the standard deviation of the deviation, the sampling pass rate, and the number of abnormal sampling points.
8. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and capable of running on the processor, the processor executing the program to implement the coal mechanized sampling quality assessment method as described in any one of claims 1-5.
9. A non-volatile computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the coal mechanized sampling quality assessment method as described in any one of claims 1-5.
10. A computer program product, comprising a computer program, characterized in that, The computer program is executed to implement the coal mechanized sampling quality assessment method as described in any one of claims 1-5.
