A method of measurement sequence control for an analytical instrument, system, and storage medium

By acquiring multidimensional process state parameters in real time using precision analytical instruments such as inductively coupled plasma mass spectrometers (ICP-MS), identifying signal drift mechanisms, and dynamically adjusting measurement sequences, the problems of data failure and low efficiency caused by abnormal instrument conditions are solved, enabling more efficient and reliable batch detection.

CN123177250APending Publication Date: 2026-11-27RELAIS (HANGZHOU) MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611514485.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies cannot identify complex drift mechanisms in real time during batch sample testing in precision analytical instruments such as inductively coupled plasma mass spectrometers (ICP-MS), resulting in delayed detection of instrument malfunctions, loss of a large amount of data, and low measurement efficiency.

Method used

By acquiring multidimensional process state parameters in real time during the intervals of the measurement sequence, and using the combination of multidimensional parameter change trends to identify the signal drift mechanism, sequence adjustment commands are dynamically generated to reconstruct subsequent measurement sequences, thereby achieving closed-loop adaptive control.

Benefits of technology

It significantly improves the data reliability and instrument operating efficiency of batch testing, prevents data failure due to drift, and enhances the adaptive adjustment capability of measurement sequences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177250A_ABST
    Figure CN123177250A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of automatic control and data processing of analysis instruments, and provides a measurement sequence control method and system of an analysis instrument and a storage medium, which comprises the following steps: acquiring multi-dimensional process state parameters after each measurement step is completed in the process that the analysis instrument sequentially performs measurement on multiple samples according to a preset measurement sequence; identifying a mechanism type and a drift level of a current signal drift based on the combination of the change trend of each dimension parameter in the multi-dimensional process state parameters relative to a benchmark reference; and dynamically generating sequence adjustment instructions according to the mechanism type and the drift level, so as to perform compensation processing or reconstruction operation on the subsequent measurement sequence and trigger corresponding instrument hardware control actions. The application realizes closed-loop adaptive control of the instrument state, and improves data reliability and operation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automated control and data processing technology for analytical instruments, specifically to a measurement sequence control method, system, and storage medium for an analytical instrument. Background Technology

[0002] In the batch sample detection process of precision analytical instruments such as inductively coupled plasma mass spectrometry (ICP-MS), instrument signals often drift over time. The sources of drift are complex and diverse, including plasma state fluctuations, interface cone contamination, ion suppression caused by the sample matrix, minute mass axis shifts, and memory effects caused by high-concentration samples. Current technologies typically handle drift by pre-setting internal standards, quality control samples, and calibration samples in the sample sequence and performing offline correction via software after measurement. However, this post-processing approach has significant drawbacks: firstly, processing data only after measurement cannot promptly detect serious instrument anomalies, potentially leading to the invalidation of large batches of sample data and the need for retesting, wasting time and reagents; secondly, existing automated sample introduction sequences are usually pre-programmed and fixed, lacking the ability to dynamically adjust subsequent physical measurement steps based on real-time instrument status. When encountering specific types of drift such as transient matrix suppression or memory effects, fixed rinsing or quality control frequencies often fail to balance data reliability and detection efficiency. Furthermore, relying solely on human experience to determine the cause of anomalies and manually intervene in the sequence not only places high demands on operators but is also prone to inconsistencies in quality control standards due to subjective misjudgments. Therefore, there is an urgent need for a control method that can identify the drift mechanism in real time during the measurement process and adaptively reconstruct the physical measurement sequence accordingly. Summary of the Invention

[0003] To address the problem that existing analytical instruments cannot identify complex drift mechanisms and adaptively adjust physical measurement sequences in real time during batch testing, resulting in delayed anomaly detection, large amounts of data failure, or low measurement efficiency, this application provides a measurement sequence control method, system, and medium for analytical instruments. This achieves closed-loop adaptive control of the instrument's state, improving data reliability and instrument operating efficiency.

[0004] To achieve the above objectives, this application adopts the following technical solution:

[0005] A measurement sequence control method for an analytical instrument includes: during the process of the analytical instrument sequentially measuring multiple samples according to a preset measurement sequence, after each measurement step, acquiring multidimensional process state parameters, the multidimensional process state parameters including measurement signal data and instrument operating status data collected from the current and previous measurement steps; identifying the mechanism type and drift level of the current signal drift based on the combination of the changing trends of each dimension parameter relative to a reference in the multidimensional process state parameters; and dynamically generating sequence adjustment instructions according to the mechanism type and the drift level to perform compensation processing or reconstruction operations on subsequent measurement sequences and trigger corresponding instrument hardware control actions.

[0006] The above scheme acquires multi-dimensional process state parameters in real time during the intervals of the measurement sequence, and uses the combination of multi-dimensional parameter change trends to accurately analyze the physical or chemical mechanism of signal drift. Then, based on the identification results, it dynamically generates control commands for the instrument hardware to reconstruct the subsequent measurement sequence, realizing closed-loop adaptive control from state perception to physical execution, which significantly improves the data reliability and instrument operating efficiency of batch testing.

[0007] Preferably, the multidimensional process state parameters include at least two of the following: internal standard data, target element data, blank and flushing data, peak shape data, and instrument operating status data; the mechanism types include at least one of common gain drift, mass segment correlation drift, transient matrix suppression, mass axis offset, and memory effect, thereby constructing a complete observation space from chemical signal to physical state, laying a data foundation for accurately distinguishing different types of drift.

[0008] Preferably, when the background is determined not to have recovered to the preset range based on the information of the preceding high-concentration sample in the blank and washing data, the increase in blank background residue, and the washing time, the identification mechanism type is memory effect; when the peak center of multiple monitoring mass points is determined to be continuously shifted in the same direction and the half-peak width increases, while the change in peak area is less than the preset area threshold, the identification mechanism type is mass axis shift. The memory effect is used to characterize the residual interference of high-concentration sample measurement on subsequent low-concentration sample or blank sample, and the mass axis shift is used to characterize the change in ion transport state or mass analyzer calibration state. The multi-parameter combination discrimination logic effectively avoids misjudgment triggered by a single threshold.

[0009] Preferably, when the decrease in the internal standard response is determined to exceed a preset suppression threshold based on the internal standard data of adjacent samples, and the internal standard response recovers to the reference response range after rinsing or the next blank measurement, the identification mechanism type is transient matrix suppression; when the internal standard responses of multiple internal standards are determined to change according to a preset ratio based on the internal standard data of multiple internal standards, and the peak shape data is within the normal range and the instrument status data does not trigger a hardware alarm, the identification mechanism type is common gain drift. In this case, the transient matrix suppression is used to characterize the transient effect of the sample matrix on the ionization efficiency, and the common gain drift is used to characterize the overall fluctuation of the plasma state or detector gain, thereby effectively distinguishing transient interference from cumulative damage.

[0010] Preferably, when the drift level is minor, a compensation execution instruction is generated and the current measurement sequence is maintained; when the drift level is moderate, a first sequence reconstruction instruction is generated to insert a quality control measurement step or a rinsing step into the subsequent measurement sequence; when the drift level is severe, a second sequence reconstruction instruction is generated to pause the current measurement sequence and trigger a retuning process or a recalibration process, which reflects the engineering safety principle of graded response.

[0011] Preferably, the first sequence reconstruction instruction includes controlling the sample introduction system to switch to the rinsing fluid flow path and extending the rinsing time, and then controlling the sample introduction system to switch to the blank sample flow path for background verification. If the background verification fails, the rinsing and verification process is repeated. The second sequence reconstruction instruction includes stopping the injection and measurement of unknown samples, calling the mass axis calibration process or the automatic tuning verification process to adjust the RF power supply or ion lens voltage, and controlling the sample introduction system to switch to the calibration check sample flow path for measurement verification after the verification passes. If the verification fails, a maintenance prompt instruction is generated to ensure that physical verification is performed before resuming measurement.

[0012] Preferably, when the mechanism type is a compensable drift such as common gain drift or mass segment correlation drift, a mass correlation compensation curve is generated based on the internal standard mass number and the internal standard response change ratio.

[0013] For target elements whose mass numbers fall between two internal standard mass numbers, count compensation is performed using an interpolation compensation coefficient between adjacent internal standards. For target elements whose mass numbers fall outside the internal standard mass numbers, count compensation is performed using the compensation coefficient corresponding to the nearest internal standard mass number, combined with a preset extrapolation limit. This achieves fine-grained correction across the entire mass range and prevents overcompensation. Preferably, when the mechanism type is a memory effect and the background has not recovered to the preset background range based on blank and washing data, a washing step is inserted into the subsequent measurement sequence, and background subtraction or retesting is performed on the affected samples after background recovery. The original count data, compensation coefficients, compensated results, mechanism type, drift level, and sequence adjustment log are simultaneously saved in the data file, and the compensated results do not overwrite the original count data to support complete traceability and auditing of the measurement process.

[0014] As a preferred embodiment, this application also provides a measurement sequence control system for an analytical instrument, including a sequence operation module, a drift identification module, and a sequence adjustment module, which are respectively used to acquire multidimensional process state parameters, identify drift mechanism types and drift levels, and dynamically generate sequence adjustment instructions and trigger instrument hardware control actions.

[0015] Preferably, this application also provides a computer-readable storage medium on which a computer program stored is executed by a processor to implement the measurement sequence control method of the analytical instrument described in any of the above embodiments. Attached Figure Description

[0016] Figure 1 A schematic diagram of the module structure of the measurement sequence control system of the analytical instrument provided in the embodiments of this application;

[0017] Figure 2 A flowchart illustrating the drift identification and real-time compensation method provided in the embodiments of this application;

[0018] Figure 3 This is a schematic diagram of the automatic adjustment process for the measurement sequence provided in an embodiment of this application. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0021] Example 1:

[0022] like Figure 2 As shown, this embodiment provides a measurement sequence control method for an analytical instrument. This method achieves adaptive closed-loop control of instrument drift during batch testing through a linkage mechanism of multi-dimensional parameter fusion identification and dynamic reconstruction of the physical sequence. The control method mainly includes the following steps:

[0023] Step S100: During the process of the analytical instrument performing measurements on multiple samples in sequence according to the preset measurement sequence, after each measurement step is completed, multidimensional process status parameters are acquired. The multidimensional process status parameters include measurement signal data and instrument operating status data collected from the current and previous measurement steps.

[0024] Specifically, the preset measurement sequence typically includes various sample positions such as blank samples, calibration standards, quality control samples, unknown samples, and rinsing solutions. The analytical instrument automatically performs a series of physical operations based on this sequence, including sample injection, ionization, quality analysis, and signal acquisition. In this embodiment, the time window "after each measurement step is completed" does not refer to absolute real-time with zero latency, but rather to utilizing the physical gap between two adjacent sample measurements or the brief processing period after data acquisition to perform data reading and status assessment.

[0025] This timing arrangement ensures timely status monitoring while avoiding resource contention or signal interference caused by parallel computing. The sources of multidimensional process state parameters have clear physical entity correspondences: measurement signal data comes directly from the instrument's detector output or preamplifier, reflecting the ion current intensity or spectral intensity of the target component in the sample; instrument operating status data comes from the status registers of embedded sensors and the underlying controller, reflecting the instantaneous values ​​of key physical quantities such as plasma power, vacuum level, atomizing gas flow rate, and lens voltage.

[0026] These data together constitute a complete feature space characterizing the current physicochemical state of the instrument, providing an objective material basis for subsequent drift mechanism identification.

[0027] Step S200: Based on the combination of the changing trends of each dimension parameter in the multidimensional process state parameters relative to the reference, identify the mechanism type and drift level of the current signal drift.

[0028] Specifically, the reference can be the initial background value collected after the instrument has warmed up and stabilized, the response factor of the most recent calibration curve, or the statistical average of several previous normal samples.

[0029] The core of this step lies in the "combination of changing trends," meaning that instead of relying on the absolute threshold of a single parameter to trigger an alarm, it infers the physical or chemical causes of the drift by analyzing the coordinated change patterns of multiple parameters over time. For example, when the internal standard signal decreases accompanied by a widening peak shape but the peak area remains essentially unchanged, it indicates a shift in the mass axis rather than a decrease in sensitivity; when all mass point signals decrease proportionally and synchronously with normal peak shapes, it characterizes plasma state fluctuations or detector gain drift.

[0030] The classification of drift levels further combines the magnitude of the drift, the duration of the drift, and the potential impact on data quality, discretizing continuous physical quantities into actionable decision levels, providing a logical basis for differentiated sequence adjustments.

[0031] In step S300, based on the mechanism type and drift level, a sequence adjustment command is dynamically generated to perform compensation processing or reconstruction operations on subsequent measurement sequences and trigger the corresponding instrument hardware control actions.

[0032] Specifically, sequence adjustment instructions are a set of machine-level control commands containing opcodes, target addresses, and parameter values. Essentially, they directly intervene in the physical entities of the instrument, rather than being limited to modifying the data queue in memory. When the identification result shows a slight drift, the generated compensation execution instruction may only involve updating data processing parameters, but it still needs to maintain the current hardware operating state to ensure sequence continuity. When the identification result shows a moderate or severe drift, the generated sequence reconstruction instruction will directly drive the hardware actuators to change the current physical operating state. For example, for a flushing instruction triggered by the memory effect, it will actually control the multi-way valve to switch to the cleaning fluid flow path and drive the peristaltic pump to run at a specific speed for a preset time, before switching back to the sample injection path for blank verification.

[0033] For example, in response to tuning commands triggered by mass axis offset, the output power of the RF power supply or the DC bias voltage of the ion lens group is adjusted via a digital-to-analog converter (DAC), and a scanning program is initiated to re-search for the optimal operating point. These hardware control actions constitute an indispensable technical means in the solution, ensuring that the measurement sequence can be physically adaptively corrected according to the actual state of the instrument. This fundamentally solves the technical shortcomings of existing technologies, such as the inability to recover failed samples through post-processing and the inability of fixed sequences to cope with complex dynamic drifts, significantly improving the data reliability and instrument operating efficiency of batch testing.

[0034] It should be understood that although this embodiment uses an inductively coupled plasma mass spectrometer (ICP-MS) as an example for detailed description, the architecture of this control method is also applicable to other analytical instruments that adopt a continuous sequence injection mode, such as gas chromatography-mass spectrometry (GC-MS), liquid chromatography-mass spectrometry (LC-MS), and inductively coupled plasma optical emission spectrometry (ICP-OES). Any instrument capable of acquiring multidimensional state parameters during measurement intervals and adjusting its hardware operating state in response to commands can be included within the scope of protection of this application.

[0035] Example 2:

[0036] Building upon Example 1, this example further details the combination and identification logic of specific dimensions and mechanism types of multidimensional process state parameters. As a preferred embodiment, the multidimensional process state parameters include at least two of the following: internal standard data, target element data, blank and rinse data, peak shape data, and instrument operating status data. Internal standard data refers to the detector count value of a known concentration of reference element added to each sample and its ratio to the baseline response, used to monitor the overall fluctuations in ionization efficiency and transmission efficiency. Target element data covers the original count of the analyte, the relative standard deviation of repeated measurements, and the linear range status indicator. Blank and rinse data includes reagent blank counts, residual signals after rinsing with cleaning solution, and concentration level labels of preceding samples, serving as a key basis for judging cross-contamination and background elevation. Peak shape data originates from the real-time fitting results of the mass scan spectrum, including peak center position, half-maximum width, peak symmetry, and the ratio of peak area to peak height, characterizing the resolution of the mass analyzer and the focusing state of the ion optical system. Instrument operating status data is acquired from embedded sensors and control registers, such as RF reflected power, nebulizer pressure, interface cone temperature, and detector high voltage value. The simultaneous acquisition of multi-dimensional parameters constructs a complete observation space from chemical signals to physical states.

[0037] Correspondingly, the mechanism types identified based on the aforementioned multidimensional parameters include at least one of the following: common gain drift, mass segment-related drift, transient matrix suppression, mass axis offset, and memory effect. Common gain drift characterizes a slow, overall change in plasma energy or detector gain; mass segment-related drift reflects a non-uniform change in the transport efficiency of the ion lens system for ions with different mass-to-charge ratios; transient matrix suppression specifically refers to the temporary suppression of the ionization process by high-salt or complex matrix samples; mass axis offset indicates that the mass analyzer's calibration state deviates from the preset operating point; and the memory effect describes the interference of adsorption residues of high-concentration sample components at the sample introduction system or interface on subsequent measurements. Mapping signal anomalies to specific physicochemical mechanism types allows the system to selectively choose compensation or reconstruction strategies.

[0038] In identifying the mechanism type of current signal drift, this application employs a multi-parameter combined discrimination logic rather than a single threshold trigger. Specifically, when the background is determined not to have recovered to a preset range based on the information of the preceding high-concentration sample in the blank and washing data, the increase in blank background residue, and the washing time, the mechanism type is identified as a memory effect. All three conditions are indispensable: an increase in blank background alone cannot distinguish between environmental background pollution and sample residue; a high concentration of the preceding sample alone is insufficient to determine that a memory effect necessarily occurs; and the washing time is a dynamic variable measuring the adequacy of the washing process. Only when the system detects that the concentration of the preceding sample exceeds a preset high-concentration threshold, and the target mass point count of the subsequent blank sample after a standard washing procedure is still higher than a preset multiple of the method detection limit, is a memory effect confirmed. This combined judgment mechanism effectively avoids misjudgments caused by environmental background fluctuations or noise from a single measurement, balancing data quality and operational efficiency.

[0039] Similarly, when multiple monitoring mass points are determined to have their peak centers continuously shifting in the same direction based on peak shape data, and the half-peak width increases while the peak area change is less than a preset area threshold, the identification mechanism is mass axis shift. "Peak area change less than a preset area threshold" is the core criterion for distinguishing mass axis shift from sensitivity reduction. When the ion lens voltage drifts or the mass analyzer is misaligned, the ion beam focus deviates from the detector slit center, causing peak center shift and an increased half-peak width. However, the total amount of ions entering the analyzer does not decrease significantly, so the peak area should remain relatively stable. Conversely, if the peak area decreases significantly in sync with the peak height, it is more likely to indicate plasma extinction risk or sensitivity loss caused by cone blockage. By introducing the peak area as a conserved quantity as a verification factor, the system can accurately identify the specific fault mode of mass axis shift without interrupting measurements.

[0040] For other types of drift, this embodiment also employs a combined identification strategy based on trend and recovery characteristics. Specifically, when the decrease in the internal standard response exceeds a preset suppression threshold based on the internal standard data of adjacent samples, and the internal standard response recovers to the baseline response range after rinsing or the next blank measurement, the identification mechanism is transient matrix suppression. The essence of transient matrix suppression is that high salt content or organic matrix instantaneously changes the ionization balance or causes space charge effects in plasma, and its most significant feature is "recoverability". If the internal standard response decreases and can return to the normal level (e.g., recover to 90%-110% of the baseline value) after simple solvent rinsing or blank injection, irreversible faults such as permanent cone blockage or detector aging can be ruled out. This recoverability verification logic distinguishes between transient interference and cumulative damage, allowing the system to take lightweight measures such as dilution retesting or warning marking for such samples without triggering a shutdown maintenance process, greatly improving the continuity of batch testing.

[0041] Furthermore, when multiple internal standard responses change according to a preset ratio based on internal standard data, and the peak shape data is within the normal range, while the instrument operating status data does not trigger a hardware alarm, the mechanism type is identified as common gain drift. Common gain drift typically originates from small fluctuations in plasma power, slow drift in carrier gas flow rate, or natural decay of detector gain; its impact is global and uniform. The key to judgment lies in the "consistency of multiple internal standard ratios," meaning that the response change rates of light mass number internal standards (e.g., Li-7), medium mass number internal standards (e.g., Rh-103), and high mass number internal standards (e.g., Bi-209) should fall within a narrow band (e.g., the deviation between them does not exceed ±3%). If the differences in the change ratios of each internal standard are significant, it suggests the possible existence of mass discrimination effects or ion lensing misalignment, which does not fall under the category of common gain drift. Simultaneously, it is essential to perform exclusive verification using instrument operating status data to confirm that key parameters such as RF power and gas flow rate have not reached the hardware alarm threshold. Only when all three conditions are met simultaneously—normal peak shape, synchronous changes in multiple internal standards, and no hardware alarms—is the system determined to be a safe-to-compensate common gain drift, and then activates the mathematical model for real-time correction. This rigorous combined discrimination mechanism prevents the risk of amplifying erroneous results due to blindly performing data compensation when there are potential hardware defects in the instrument.

[0042] It should be understood that the typical threshold ranges for the above parameters are not fixed, but can be configured according to the specific analytical method, sample matrix type, and laboratory quality control requirements. For example, in ultra-trace analysis, the background residue threshold for memory effects may be set to twice the method detection limit, while in routine water quality analysis it can be relaxed to five times; for high-precision isotope ratio measurements, the peak center tolerance for mass axis shift may be only 0.01 amu, while for semi-quantitative screening it can be relaxed to 0.1 amu. This flexibility in parameter configuration allows the drift identification logic of this application to be widely adapted to the diverse needs of multiple fields such as environmental monitoring, food safety, clinical testing, and semiconductor material analysis.

[0043] Example 3:

[0044] like Figure 3As shown, in this embodiment, a sequence adjustment command is dynamically generated based on the mechanism type and drift level to perform compensation processing or reconstruction operations on subsequent measurement sequences and trigger corresponding instrument hardware control actions. This step transforms the drift identification result into specific instrument physical behavior, constructing a complete closed loop from state perception to execution control. When the drift level is slight, a compensation execution command is generated and the current measurement sequence is maintained. The instrument hardware retains its original operating parameters and timing unchanged, activating the correction algorithm module only in the data processing link. This is suitable for global, slowly varying signal fluctuations such as common gain drift, and data deviations can be corrected through mathematical models without interrupting the physical measurement process, ensuring the throughput efficiency of batch testing.

[0045] When the drift level is moderate, a first sequence reconstruction instruction is generated to insert a quality control measurement step or a rinsing step into the subsequent measurement sequence. "Insertion" involves sending a real-time queue modification command to the instrument's underlying motion controller, forcibly altering the needle's movement path, valve switching timing, or pump start / stop status. For example, for moderate drift caused by the memory effect, the system physically inserts an additional cleaning procedure and blank detection cycle before the next unknown sample injection, adaptively allocating cleaning resources based on the current contamination level. This avoids both residual exceedances caused by fixed short rinsing and ineffective waiting caused by fixed long rinsing.

[0046] When the drift level is critical, a second sequence reconstruction command is generated to pause the current measurement sequence and trigger a retuning or recalibration process. Critical levels correspond to abnormal states such as mass axis misalignment, vacuum leakage, or detector saturation, which could lead to complete data loss or even hardware damage. "Pause" means immediately halting the injection of unknown samples and data acquisition, placing the instrument in a controlled, safe standby mode. The subsequent retuning or recalibration process actively searches for the optimal operating point to restore instrument performance, reflecting the engineering safety principle of "minimizing damage" and effectively preventing the escalation of the abnormal state.

[0047] In a preferred embodiment, a first sequence reconstruction instruction is generated to insert a quality control measurement step or a rinsing step into the subsequent measurement sequence. This includes: controlling the injection system to switch to the rinsing fluid flow path and extending the rinsing time; subsequently, controlling the injection system to switch to the blank sample flow path for background verification; if the background verification fails, the rinsing and verification process is repeated. The sequence adjustment module sends a pulse signal to the multi-port selection valve driver of the injection system, causing the valve core to rotate to the cleaning fluid inlet position. Simultaneously, it sends a speed adjustment instruction to the peristaltic pump or syringe pump controller, causing it to run at a flow rate higher than the normal injection rate, using high shear force to accelerate the desorption of adsorbates on the inner wall of the tubing. The extended rinsing time can be dynamically determined by the severity of drift. After rinsing, the system automatically switches the valve to the blank sample bottle position to perform signal acquisition, comparing the background count value with a preset safety threshold. Only when the background value falls below the threshold is the cleaning deemed qualified and the original sequence restored; otherwise, it automatically enters the next round of the "rinse-verify" cycle until the maximum allowable number of cycles is reached. This closed-loop cleaning strategy based on physical feedback solves the technical problem of uncertain cleaning effect when facing complex matrix samples in traditional open-loop timed cleaning.

[0048] Further, a second sequence reconstruction command is generated to pause the current measurement sequence and trigger a retuning or recalibration process. This includes: stopping the injection and measurement of unknown samples, invoking the mass axis calibration process or automatic tuning verification process to adjust the RF power supply or ion lens voltage, and controlling the sample injection system to switch to the calibration check sample flow path for measurement verification after verification. If the verification fails, a maintenance prompt command is generated. When severe drift such as mass axis offset is detected, the sequence adjustment module first sends an emergency stop or return command to the sample injection system to cut off the sample flow path. Subsequently, the system sends parameter scanning commands to the RF power supply, quadrupole power supply, or ion lens digital-to-analog converter via the internal bus, adjusting the voltage or frequency in steps within a preset range, monitoring the peak shape and intensity response of specific mass points in real time, and locking in a new optimal combination of operating parameters through an optimization algorithm. After the parameters are updated, the system forces a measurement verification of the calibration check sample or quality control sample. The pause is lifted and subsequent sequences continue only if the relative error of the verification result falls within the allowable range; if verification fails, it is determined to be a hardware-level fault or the exhaustion of consumables, and the system automatically generates a maintenance prompt instruction containing error codes and suggested operations, notifying the operator to intervene. This series of actions constitutes a strict hardware-level safety interlock mechanism, ensuring that any operation to resume measurement is physically verified.

[0049] It should be understood that the execution entity of the aforementioned sequence adjustment instructions can be a host computer software, an embedded controller, or an FPGA, as long as it has direct control over the various functional components of the instrument. Simultaneously with inserting the rinsing or tuning step, the system will also record a snapshot of the original data that triggered the action, a comparison of parameters before and after the adjustment, and verification results, forming a complete audit trail log to meet the requirements of data integrity and process traceability.

[0050] Example 4:

[0051] In this embodiment, the specific implementation of the quality-related compensation algorithm and data traceability management is further described in detail. As a preferred implementation, when the mechanism type is common gain drift or quality segment-related drift, a quality-related compensation curve is generated based on the internal standard mass number and the internal standard response change ratio. Common gain drift or quality segment-related drift is characterized by regular signal changes that do not exceed the instrument's linear response range. The process of generating the quality-related compensation curve involves transforming discrete internal standard point observations into a continuous quality-response function model. The system collects the measured response values ​​of all added internal standard elements within the current measurement cycle, calculates their ratios to the baseline response values, and obtains a set of "mass number-response change ratio" data pairs. Regression fitting is then performed using the least squares method. This compensation curve can be obtained using a linear equation. or quadratic polynomial To express, among which Represents the mass number (m / z). This represents the compensation coefficient for the corresponding mass point. , , , These are model parameters obtained through real-time fitting based on the current batch of internal standard data. This method, which generates continuous curves based on multi-point fitting, can more accurately reflect the non-uniform changes in the transport efficiency of ions with different mass-to-charge ratios in the ion lens system compared to using only a single internal standard for global correction, thus significantly improving the accuracy of quantitative analysis of trace elements.

[0052] Based on this, for target elements whose mass number lies between two internal standard mass numbers, interpolation compensation coefficients between adjacent internal standards are used for counting compensation. When the mass number of the target element to be measured falls within the mass number range of two adjacent internal standard elements, the system calculates the theoretical compensation coefficient corresponding to the mass point of the target element based on the mass-related compensation curve, or directly uses the compensation coefficients of two adjacent internal standards for linear interpolation. For example, when the target element As-75 is located between internal standards Sc-45 and Rh-103, its compensation coefficient is obtained by weighting the measured compensation coefficients of the two according to the mass distance, making full use of the local constraint information provided by adjacent internal standard points to ensure that the compensation result of elements in the middle mass segment does not deviate from the actual physical trend.

[0053] Furthermore, for target elements whose mass numbers are outside the internal standard mass numbers, the compensation coefficient corresponding to the nearest internal standard mass number is used in conjunction with a preset extrapolation limit for counting compensation. When the element to be measured is below the low-quality end or above the high-quality end of the added internal standard coverage area, due to the lack of squeeze constraints from both internal standards, direct extrapolation is prone to cause abnormal compensation coefficients due to the divergence of the curve slope in the edge region. This embodiment introduces a preset extrapolation limit mechanism to set a safe boundary threshold for the compensation coefficient. When the extrapolated compensation coefficient exceeds this safe boundary, the system automatically truncates it to the boundary value or forces the use of the measured compensation coefficient of the nearest neighbor internal standard as a substitute, effectively preventing overcompensation at the low / high quality end due to drastic fluctuations in instrument status or mismatch in the fitting model. Among them, the quality-related compensation curve is obtained by fitting multiple internal standard mass numbers and their corresponding internal standard response change ratios. The preset extrapolation limit is used to constrain the maximum change range of the extrapolated compensation coefficient to prevent overcompensation.

[0054] Regarding data integrity and compliance management, when the mechanism type is memory effect and the background has not recovered to the preset background range based on blank and washing data, a washing step is inserted into the subsequent measurement sequence, and background subtraction or retesting is performed on the affected samples after background recovery. Specifically, memory effect is different from sensitivity drift that can be corrected by mathematical models; it is a physicochemical residual contamination, and simple data compensation cannot eliminate its substantial damage to the signal-to-noise ratio. Therefore, the system adopts a dual strategy of "physical cleaning first, data processing as a fallback." First, as described in the aforementioned embodiments, the system automatically triggers an extended washing procedure until the background signal falls back to within the safe threshold. Second, for samples for which data has been collected during the period when the background has not recovered, the system does not discard them directly, but applies specific processing markings to them in the data record: if the residual background value is stable and quantifiable, the average background value measured during that period is subtracted from the original sample count as the background subtraction result; if the residual background fluctuates drastically or exceeds a specific multiple (such as 10 times) of the method detection limit, the sample data is determined to be unreliable, and it is automatically added to the retest queue and marked as "retesting required." This tiered disposal mechanism not only avoids the waste of resources caused by the invalidation of an entire batch of data due to contamination by a few high-concentration samples, but also strictly adheres to the bottom line of data quality, preventing contaminated data from being mistakenly reported as qualified results.

[0055] To meet the stringent requirements for data traceability under laboratory quality management systems and GLP / GMP regulations, the data file simultaneously stores the original count data, compensation coefficient, compensated result, mechanism type, drift level, and sequence adjustment log, with the compensated result not overwriting the original count data. Specifically, the data file's storage structure is designed as a structured database record containing multiple independent fields. The "Original Count Data" field is permanently locked, allowing only writing and not modification; the "Compensation Coefficient" field records the specific correction factor applied to the sample and its source; the "Compensated Result" field stores the final concentration value after algorithm correction; the "Mechanism Type" and "Drift Level" fields record the instrument's state classification at the time of sample measurement in enumerated values; and the "Sequence Adjustment Log" field records in detail the trigger time, trigger sample identifier, trigger index value, action type, and execution result. This mechanism, which stores raw data and processing metadata in parallel without overwriting each other, allows any third-party auditor to fully reproduce the entire data processing process from the original signal to the final report, clearly identifying which results are directly read by the instrument and which have been compensated and corrected. This completely solves the problem of historical status loss and compliance risks caused by data overwriting in traditional analysis software.

[0056] Example 5:

[0057] like Figure 1 As shown, this embodiment provides a measurement sequence control system for an analytical instrument. This system implements the adaptive control method described in the foregoing embodiments through the collaborative work of hardware modules. The measurement sequence control system for the analytical instrument includes a sequence execution module 201, a drift identification module 203, and a sequence adjustment module 206.

[0058] The sequence execution module 201 is used to acquire multi-dimensional process status parameters after each measurement step during the process of the analytical instrument performing measurements on multiple samples according to a preset measurement sequence. These parameters include measurement signal data acquired from the current and previous measurement steps, as well as instrument operating status data. The physical implementation of the sequence execution module 201 is typically an FPGA or a high-performance real-time microcontroller, directly connected to the analog front-end, analog-to-digital converter, and sensor interface circuitry of the analytical instrument. Internally, the module integrates a hardware timer, direct memory access controller, and high-speed cache, enabling it to independently complete low-level timing tasks such as sample valve switching, integration time control, and raw signal acquisition with microsecond-level precision. Measurement signal data is directly read from the ADC by this module and undergoes preliminary digital filtering and accumulation operations. Instrument operating status data is periodically obtained from various sensors via an on-chip peripheral bus. This architecture, which pushes data acquisition and timing control down to a dedicated hardware layer, ensures deterministic and low-latency acquisition of multi-dimensional process status parameters.

[0059] The drift identification module 203 is used to identify the mechanism type and drift level of the current signal drift based on the combination of the changing trends of each dimension parameter in the multidimensional process state parameters relative to the reference. The physical implementation of the drift identification module 203 can be a host computer CPU, a digital signal processor, or a processor unit integrated within an FPGA. This module establishes a data interaction channel with the sequence execution module 201 via a high-speed internal bus, receiving the pre-processed multidimensional process state parameter stream in real time. Its internal running trend analysis algorithm and pattern matching logic convert the data stream into specific mechanism type and level determination results. In actual hardware implementation, it may be integrated into the same chip package as the sequence execution module 201, or it may be distributed across multiple computing nodes connected via a network.

[0060] The sequence adjustment module 206 dynamically generates sequence adjustment commands based on the mechanism type and drift level to perform compensation or reconstruction operations on subsequent measurement sequences and trigger corresponding instrument hardware control actions. The sequence adjustment module 206 serves as the physical hub connecting the decision-making and execution layers, with its outputs directly or indirectly connected to the drive circuits of each actuator in the analytical instrument. This module can send pulse signals to the multi-port valve driver via GPIO or a serial communication interface to switch flow paths, write new setpoints to the RF power supply or ion lens voltage adjustment circuit via a DAC, or send reset and positioning commands to the autosampler via a motor control interface. The sequence adjustment module 206 also includes hardware interlocking and safety monitoring circuits, automatically verifying the current state of the actuators before performing reconstruction operations to prevent mechanical collisions or electrical damage caused by logical conflicts, thus achieving a complete closed loop from state perception to physical execution.

[0061] It should be understood that Figure 1 The module division shown is only a schematic diagram of logical functions. In actual products, the drift feature generation function, drift level judgment function, compensation coefficient calculation function, and data recording function can be integrated into the drift identification module 203 or the sequence adjustment module 206. The above modules can be merged or split according to hardware resources. As long as the system has the ability to acquire multi-dimensional states during measurement intervals, identify drift mechanisms based on combined trends, and trigger hardware-level sequence adjustment accordingly, it falls within the protection scope of this application.

[0062] Example 6:

[0063] This embodiment provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the measurement sequence control method of the analytical instrument described in any of the foregoing embodiments of this application.

[0064] Computer-readable storage media refers to a physical entity capable of carrying and persistently or temporarily storing instruction code, including types such as ROM, RAM, EEPROM, flash memory, SSD, HDD, and optical disc. Regardless of its physical form, as long as it can be read and parsed into executable machine instructions by the processing unit of an instrument, it falls within the protection scope of this application.

[0065] When the computer program stored on the medium is loaded and executed by the processor of the analytical instrument, the processor will sequentially complete the acquisition of multi-dimensional process state parameters, drift mechanism and level identification, and sequence adjustment instruction generation and hardware triggering actions according to the logical flow defined in the program code, so that the instrument has the ability to adaptively respond to complex drifts during batch testing.

[0066] The storage medium containing the aforementioned computer program can be sold or licensed as a standalone software product, or it can be packaged as a firmware upgrade package and deployed into existing analytical instruments, enabling users to obtain the real-time drift identification and sequence dynamic reconstruction capabilities provided by this application without replacing hardware.

[0067] Example 7:

[0068] This embodiment provides a comprehensive application scenario for batch sample testing using inductively coupled plasma mass spectrometry (ICP-MS). The preset measurement sequence sequentially includes a method blank, calibration standard solution, initial quality control sample, fifty environmental water samples with unknown quality, periodic rinsing solution, and final quality control sample. Five internal standards are added online to each sample to cover the entire mass range. The system operates as follows: Figure 2 and Figure 3 The process shown adaptively controls the batch testing process.

[0069] In the initial stage of sequence execution, the system detected that the response values ​​of all five internal standards decreased by approximately 8% compared to the baseline values, with deviations between them less than 2%. Simultaneously, peak shape parameters and instrument operating status data remained normal. Based on the combined characteristic of synchronous changes in multiple internal standards and normal peak shapes, the system identified the mechanism as common gain drift and determined the drift level to be slight. The sequence adjustment module generated compensation execution instructions while maintaining the current measurement sequence unchanged. Based on the internal standard mass number and the ratio of internal standard response changes, it generated a mass-related compensation curve and performed interpolation compensation or extrapolation constraint compensation for subsequent samples. The system simultaneously saved the original count data, compensation coefficients, compensation results, and sequence adjustment logs to ensure data integrity and traceability.

[0070] As the sequence continues, after measuring a high-concentration heavy metal sample, the system detects that the background count of the blank sample at the target mass point exceeds five times the method detection limit, and this count has not recovered even after standard rinsing. The system identifies the mechanism as a memory effect and determines the drift level to be moderate. The sequence adjustment module generates the first sequence reconstruction instruction: controlling the multi-way valve to switch to the rinsing fluid flow path, increasing the peristaltic pump speed and extending the rinsing time to 120 seconds, and then automatically switching back to the blank sample flow path for background verification. If the verification fails, the rinsing and verification process is automatically repeated. For low-concentration samples whose data were collected during the affected period, background subtraction is performed or the sample is added to the retest queue after background recovery.

[0071] During the later stages of sequence execution, the system detected that the peak centers of multiple monitored mass points continuously shifted towards the high-mass end by 0.05 atomic mass units, with a 15% increase in half-peak width, but the peak area change was only 3%. The system identified the mechanism as mass axis shift and determined the drift level to be severe. The sequence adjustment module immediately generated a second sequence reconstruction instruction: stop the injection and measurement of unknown samples, automatically invoke the mass axis calibration process to re-search for the optimal operating point, and force a switch to the calibration check sample flow path for verification after tuning. The pause was lifted and subsequent sequences continued only if the measured recovery rate of the calibration check sample was within the allowable range; if the verification failed, a maintenance prompt instruction was generated and the operator was notified to intervene. The entire process was fully recorded in the sequence adjustment log, including the trigger time, peak center shift value, parameter comparison before and after tuning, and verification results.

[0072] It should be understood that the above-described comprehensive application scenarios are merely illustrative examples. In actual deployments, the triggering sequence, severity, and specific response parameters of drift types can be configured according to the sample matrix characteristics and laboratory quality control standards. As long as the system can continuously acquire multi-dimensional process state parameters during the measurement sequence operation, accurately identify the drift mechanism and level based on the combination of parameter change trends, and dynamically generate sequence adjustment commands to trigger corresponding instrument hardware control actions, the adaptive closed-loop control technology claimed in this application is achieved.

[0073] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A measurement sequence control method for an analytical instrument, characterized in that, include: During the process of the analytical instrument performing measurements on multiple samples in sequence according to a preset measurement sequence, after each measurement step is completed, multidimensional process status parameters are acquired. The multidimensional process status parameters include measurement signal data and instrument operating status data collected from the current and previous measurement steps. Based on the combination of the changing trends of each dimension parameter in the multidimensional process state parameters relative to the reference, the mechanism type and drift level of the current signal drift are identified; Based on the mechanism type and the drift level, a sequence adjustment instruction is dynamically generated to perform compensation processing or reconstruction operations on subsequent measurement sequences and trigger corresponding instrument hardware control actions.

2. The method according to claim 1, characterized in that, The multidimensional process status parameters include at least two of the following: internal standard data, target element data, blank and flushing data, peak shape data, and instrument status data. The mechanism types include at least one of common gain drift, mass segment correlation drift, transient matrix suppression, mass axis shift, and memory effect.

3. The method according to claim 2, characterized in that, The identification of the current signal drift mechanism type based on the multidimensional process state parameters includes: When it is determined that the background has not recovered to the preset range based on the information of the preceding high-concentration sample in the blank and washing data, the increase of blank background residue, and the washing time, the mechanism type is identified as memory effect; When it is determined from the peak shape data that the peak centers of multiple monitoring quality points continuously shift in the same direction, and the half-peak width increases while the peak area change is less than a preset area threshold, the mechanism type is identified as mass axis shift. The memory effect is used to characterize the residual interference of high-concentration sample measurement on subsequent low-concentration sample or blank sample, and the mass axis offset is used to characterize the change in ion transport state or mass analyzer calibration state.

4. The method according to claim 2, characterized in that, The method of identifying the mechanism type of the current signal drift based on the multidimensional process state parameters also includes: When the decrease in the internal standard response is determined to exceed a preset suppression threshold based on the internal standard data of adjacent samples, and the internal standard response recovers to the baseline response range after rinsing or the next blank measurement, the mechanism type is identified as transient matrix suppression. When the internal standard data based on multiple internal standards determine that the responses of multiple internal standards change according to a preset ratio, and the peak shape data is within the normal range, and the instrument operating status data does not trigger a hardware alarm, the mechanism type is identified as common gain drift. The transient matrix suppression is used to characterize the transient effect of the sample matrix on the ionization efficiency, and the common gain drift is used to characterize the overall fluctuation of the plasma state or detector gain.

5. The method according to claim 1, characterized in that, The step of dynamically generating sequence adjustment instructions based on the mechanism type and the drift level includes: When the drift level is slight, a compensation execution instruction is generated and the current measurement sequence is maintained; When the drift level is medium, a first sequence reconstruction instruction is generated to insert a quality control measurement step or a rinsing step into the subsequent measurement sequence. When the drift level is severe, a second sequence reconstruction instruction is generated to pause the current measurement sequence and trigger a retuning or recalibration process.

6. The method according to claim 5, characterized in that, The generation of the first sequence reconstruction instruction, to insert a quality control measurement step or a rinsing step into the subsequent measurement sequence, includes: The sample injection system is switched to the rinsing fluid flow path and the rinsing time is extended. Then the sample injection system is switched to the blank sample flow path for background verification. If the background verification fails, the rinsing and verification process is repeated. The generation of the second sequence reconstruction instruction, to pause the current measurement sequence and trigger a retuning or recalibration process, includes: Stop the injection and measurement of unknown samples, call the mass axis calibration process or automatic tuning verification process to adjust the RF power supply or ion lens voltage, and control the injection system to switch to the calibration check sample flow path for measurement verification after the verification is passed. If the verification fails, a maintenance prompt instruction is generated.

7. The method according to claim 2, characterized in that, The method further includes: When the mechanism type is common gain drift or mass segment related drift, a mass-related compensation curve is generated based on the internal standard mass number and the internal standard response change ratio. For target elements whose mass number lies between the mass numbers of two internal standards, the interpolation compensation coefficient between adjacent internal standards is used for counting compensation. For target elements whose mass number is outside the internal standard mass number, the compensation coefficient corresponding to the nearest internal standard mass number is used in combination with the preset extrapolation limit for counting compensation. The quality-related compensation curve is obtained by fitting multiple internal standard quality numbers and their corresponding internal standard response change ratios. The preset extrapolation limit is used to constrain the maximum change range of the extrapolation compensation coefficient to prevent overcompensation.

8. The method according to claim 2, characterized in that, The method further includes: When the mechanism type is the memory effect and the background is determined not to have recovered to the preset background range based on the blank and flushing data, a flushing step is inserted into the subsequent measurement sequence, and background subtraction or retesting is performed on the affected sample after the background is recovered; The data file simultaneously stores the original count data, compensation coefficient, compensation result, mechanism type, drift level, and sequence adjustment log, and the compensation result does not overwrite the original count data; The sequence adjustment log records the trigger time, trigger sample identifier, trigger index value, action type, and execution result to support complete traceability and auditing of the measurement process.

9. A measurement sequence control system for an analytical instrument, characterized in that, include: The sequence operation module is used to acquire multi-dimensional process status parameters after each measurement step is completed during the process of the analytical instrument performing measurements on multiple samples in sequence according to a preset measurement sequence. The multi-dimensional process status parameters include measurement signal data and instrument operation status data collected from the current and previous measurement steps. The drift identification module is used to identify the mechanism type and drift level of the current signal drift based on the combination of the changing trends of the parameters of each dimension in the multidimensional process state parameters relative to the reference. The sequence adjustment module is used to dynamically generate sequence adjustment instructions based on the mechanism type and the drift level, so as to perform compensation processing or reconstruction operations on subsequent measurement sequences and trigger corresponding instrument hardware control actions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the measurement sequence control method of the analytical instrument as described in any one of claims 1 to 8.