Electrolyte analyzer calibration fault processing method and system
By constructing a calibration fault cause prediction model in an electrolyte analyzer, automatic identification and handling of faults is achieved, the problem of inefficient calibration fault handling in the prior art is solved, and the reliability and operating efficiency of the equipment are improved.
Patent Information
- Application Number
- CN202410316977.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2043-11-24
AI Technical Summary
The existing electrolyte analyzer calibration fault treatment solutions lack intelligent fault prediction and processing mechanisms, resulting in low fault processing efficiency and low accuracy, and increasing the work burden of operators.
By constructing a calibration fault cause prediction model in an electrolyte analyzer, analyzing the instrument status parameters and operating environment parameters using a decision tree algorithm, automatically identifying the faults and providing correction measures or prompt information, realizing automatic correction or manual intervention.
It improves the reliability and stability of the equipment, reduces the need for manual intervention, improves the efficiency and accuracy of fault handling, and reduces the work burden of operators and the risk of human error.
Smart Images

Figure CN118425277B_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application filed on November 24, 2023, with the invention name “Intelligent interactive control method and system for electrolyte analyzer” and application number CN202311580088.4. Technical Field
[0002] The present invention relates to the field of medical devices, and in particular to a calibration fault processing method and system for an electrolyte analyzer. Background Art
[0003] An electrolyte analyzer is a device used to measure the concentration of electrolytes in biological fluids (such as blood, urine, etc.). It is usually used in medical institutions, laboratories and other places, and plays an important role in monitoring patients' electrolyte balance, diagnosing diseases and guiding treatment. Electrolyte analyzers usually contain multiple electrodes and sensors to measure the concentration of various electrolytes in a sample through chemical reactions.
[0004] Before using the electrolyte analyzer, it needs to be calibrated to ensure accuracy and reliability. Calibration is to input a standard solution (calibration solution) of known concentration into the instrument and adjust the instrument according to the output value of the instrument so that it can accurately measure the electrolyte concentration of unknown samples. Calibration is usually performed according to preset methods and standard substances to ensure the accuracy of the measurement results.
[0005] Traditional calibration fault solutions mainly rely on operators to manually check and adjust instruments, or detect calibration faults through simple preset rules. The existing calibration fault solutions have a major problem, that is, the lack of intelligent fault prediction and processing mechanisms. Traditional methods often simply detect faults and handle them through manual intervention or simple rules. Faults cannot be diagnosed and handled in a timely and accurate manner, which leads to low fault handling efficiency and accuracy, and increases the workload of operators. Summary of the invention
[0006] In view of this, an embodiment of the present invention provides an electrolyte analyzer calibration fault handling method and system to solve the problem that the calibration fault handling scheme in the prior art cannot timely and accurately diagnose and handle the fault, which leads to low fault handling efficiency.
[0007] In a first aspect, an embodiment of the present invention provides a method for handling calibration faults of an electrolyte analyzer, characterized in that the method comprises:
[0008] The electrolyte analyzer receives the self-test instruction and controls the electrolyte analyzer to perform a self-test, wherein the self-test includes testing preset reagents in a preset order, and the preset reagents include a calibration solution, an electrode filling solution, an activation solution, a cleaning solution, and a quality control sample;
[0009] In response to the self-test passing, the electrolyte analyzer receives a calibration instruction, and calibrates the electrolyte analyzer using the calibration fluid, which specifically includes:
[0010] The electrolyte analyzer is calibrated according to a preset calibration method, a slope correction solution and a drift correction solution to obtain an actual slope value and an actual drift value of each electrode, wherein the preset calibration method includes a single-point calibration and a two-point calibration, and the correction solution includes a slope correction solution and a drift correction solution;
[0011] When the absolute value of the first difference between the actual slope value and the preset slope value is greater than the first preset difference, and / or the absolute value of the second difference between the actual drift value and the preset drift value is greater than the second preset difference, obtaining instrument state parameters and operating environment parameters of the electrolyte analyzer, wherein the instrument state parameters include electrode state and calibration fluid state, and the operating environment parameters include ambient temperature and ambient humidity;
[0012] Inputting the instrument state parameter, the operating environment parameter, the first difference and the second difference into a pre-constructed calibration fault cause prediction model to obtain a number of calibration fault prediction results and corresponding confidence levels, wherein the calibration fault cause prediction model is constructed based on a decision tree algorithm;
[0013] According to the confidence level, the calibration fault prediction results are sorted in descending order to obtain a list of faults to be processed;
[0014] According to the list of pending faults, automatically calibrate the electrolyte analyzer or generate prompt information to remind an operator to calibrate the electrolyte analyzer;
[0015] Return to the step of calibrating the electrolyte analyzer according to the preset calibration method, the slope correction solution and the drift correction solution to obtain the actual slope value and the actual drift value of each electrode, until the absolute value of the first difference is less than or equal to the first preset difference, and the absolute value of the second difference is less than or equal to the second preset difference, then the calibration is passed.
[0016] As an optional embodiment of the present invention, the step of automatically calibrating the electrolyte analyzer or generating prompt information to remind the operator to calibrate the electrolyte analyzer according to the list of pending faults includes:
[0017] If the cause of the fault in the pending fault list is ambient temperature fluctuation, control the electrolyte analyzer to adjust the temperature to the ideal range;
[0018] If the cause of the fault is a deviation in the concentration of the calibration solution, the electrolyte analyzer is controlled to automatically adjust the input amount of the calibration solution to compensate for the change in concentration;
[0019] If the cause of the fault is that the flow rate to the sample or reagent does not meet the preset parameters, control the electrolyte analyzer to adjust the pump speed or valve opening;
[0020] If the cause of the fault is electrode aging or damage, the electrolyte analyzer is controlled to generate detailed prompt information to inform the operator that a specific electrode needs to be replaced;
[0021] If the cause of the fault is that the calibration fluid is expired or insufficient, the electrolyte analyzer is controlled to display a prompt message for replacing the calibration fluid, including the type and specification of the calibration fluid to be replaced;
[0022] If the cause of the fault is a pipe blockage, the electrolyte analyzer is controlled to display a prompt message to remind the operator to clean or replace a specific pipe component.
[0023] As an optional embodiment of the present invention, the method further includes:
[0024] In response to the calibration being passed, the electrolyte analyzer receives a quality control calibration instruction, and performs quality control calibration on the electrolyte analyzer using a quality control sample;
[0025] Perform electrolyte analysis on the sample to be detected according to the sample information of the sample to be detected, and output the analysis result.
[0026] As an optional embodiment of the present invention, the quality control samples include: a number of random quality control samples with known concentrations, inter-laboratory quality control samples with unknown concentrations, low-value quality control samples with a first preset concentration, and high-value quality control samples with a second preset concentration, wherein the first preset concentration is lower than the second preset concentration, and in response to the calibration being passed, the electrolyte analyzer receives a quality control calibration instruction, and the step of performing quality control calibration on the electrolyte analyzer through the quality control samples includes:
[0027] Randomly selecting a random quality control sample to perform a random quality control test to obtain a first test result;
[0028] Performing an inter-laboratory quality control test according to the inter-laboratory quality control sample to obtain a second test result;
[0029] Perform a low-value fixed-value quality control test according to the low-value quality control sample to obtain a third test result;
[0030] Perform a high-value fixed-value quality control test according to the high-value quality control sample to obtain a fourth test result;
[0031] Determining whether the first test result, the second test result, the third test result, and the fourth test result meet a preset quality control standard;
[0032] If not, adjusting the electrolyte analyzer according to the first test result, the second test result, the third test result and the fourth test result, and returning to the step;
[0033] If satisfied, the quality control passes.
[0034] As an optional embodiment of the present invention, if the condition is not satisfied, the electrolyte analyzer is adjusted according to the first test result, the second test result, the third test result and the fourth test result, and the electrolyte analyzer receives the calibration instruction in response to the self-test passing, and the step of calibrating the electrolyte analyzer with the calibration fluid includes:
[0035] Analyze the first test result, the second test result, the third test result, and the fourth test result to obtain the cause of the quality control failure;
[0036] According to the cause of the quality control failure, adjusting the electrolyte analyzer;
[0037] Associating the quality control failure cause with the instrument status parameter, operating environment parameter, slope parameter and drift value parameter when the quality control failure cause occurs to obtain an actual data set;
[0038] Merging the actual data set and the target training data set to obtain a second training data set, wherein the target training data set is obtained by preprocessing the initial training data set, and the initial training data set includes a plurality of training data, each of which includes an instrument state parameter, an operating environment parameter, a slope parameter, a drift value parameter, and a corresponding calibration fault cause;
[0039] Retraining the calibration fault cause prediction model according to the second training data set to obtain an updated calibration fault cause prediction model;
[0040] Returning to the step in which, in response to the calibration being passed, the electrolyte analyzer receives the quality control calibration instruction, and performs quality control calibration on the electrolyte analyzer using the quality control sample.
[0041] As an optional embodiment of the present invention, the step of performing electrolyte analysis on the sample to be detected according to the sample information of the sample to be detected and outputting the analysis result includes:
[0042] Scanning the sample to be detected to obtain coding information of the sample to be detected;
[0043] According to the coding information, sample information of the sample to be tested is obtained through the LIS laboratory information management system, wherein the sample information includes sample type and test items;
[0044] Preprocessing the sample to be detected according to the sample type to obtain a target detection sample;
[0045] According to the detection items, the target detection sample is extracted for electrolyte analysis, the analysis result is obtained, and the analysis result is automatically printed to generate an electrolyte analysis report.
[0046] As an optional embodiment of the present invention, the step of preprocessing the sample to be detected according to the sample type to obtain a target detection sample includes:
[0047] If the sample type is a urine sample, dilute the sample to be tested according to a preset dilution ratio and a urine diluent, wherein the preset dilution ratio is 1:9;
[0048] Detecting the temperature of the sample to be detected to obtain the sample temperature;
[0049] If the sample temperature is lower than the preset sample temperature, the sample to be detected is heated to obtain a target detection sample.
[0050] As an optional embodiment of the present invention, the preset order is determined based on the usage frequency and expiration risk of the preset reagents.
[0051] As an optional embodiment of the present invention, the electrolyte analyzer receives a self-test instruction, and the step of controlling the electrolyte analyzer to perform a self-test includes:
[0052] Acquiring reagent card information of each of the preset reagents, wherein the reagent card information includes reagent type, production date, expiration date, and remaining amount of the reagent;
[0053] Determining whether each of the preset reagents is within the validity period according to the production date and the expiration date;
[0054] If there is a preset reagent that has exceeded its validity period or a preset reagent whose remaining amount is less than or equal to a remaining amount threshold, controlling the display of the electrolyte analyzer to display a replacement reminder message, wherein the replacement reminder message includes the type of the reagent to be replaced;
[0055] If there is no preset reagent that has exceeded its validity period and the remaining amount of the reagent is greater than the remaining amount threshold, the self-test passes;
[0056] In response to the replacement of the reagent card and the preset reagent, updating the reagent card information;
[0057] According to the updated reagent card information and the type of the reagent to be replaced, determining whether the replaced preset reagent matches the type of the reagent to be replaced;
[0058] If they match, the actual temperature of the replaced preset reagent is obtained;
[0059] If there is no match or the actual temperature does not fall within the preset temperature range, the display is controlled to display a reagent replacement failure message.
[0060] In a second aspect, an embodiment of the present invention provides an electrolyte analyzer calibration fault handling system, the system comprising: a sampling device, a sampling device, an analysis device, a display device and a controller, the sampling device being used to receive a sample to be detected and obtain sample information of the sample to be detected, the sampling device being used to selectively absorb the sample to be detected or absorb the correction fluid, the analysis device being used to perform electrolyte analysis on the sample to be detected, the display device being used to display prompt information or analysis results, and the controller being used to execute the electrolyte analyzer calibration fault handling method described in the first aspect.
[0061] In summary, the beneficial effects of the present invention are as follows:
[0062] The electrolyte analyzer calibration fault handling method and system provided by the embodiment of the present invention can automatically calibrate and detect potential faults through self-test and calibration instructions. When it is detected that the slope value or drift value deviates greatly from the preset value, the system can automatically identify the fault and provide corresponding corrective measures or prompt information, thereby reducing the need for manual intervention and improving the reliability and stability of the equipment. By constructing a calibration fault cause prediction model, the system can predict the possible causes of calibration faults based on instrument status parameters and operating environment parameters and sort them. This predictive maintenance helps to discover potential problems in advance and take corresponding measures to avoid the impact of equipment failures on experimental results, thereby improving the availability and maintainability of the equipment. The automated calibration and troubleshooting process can significantly reduce the workload of operators and reduce the risk of human error. At the same time, the prompt information generated by the system can help operators take measures quickly and accurately, saving time and energy and improving work efficiency.
[0063] In summary, this solution significantly improves the performance and reliability of electrolyte analyzers through automated calibration and troubleshooting processes, combined with the goals of predictive maintenance and optimization of experimental results, providing more stable and reliable support for experimental work. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.
[0065] Figure 1 A schematic structural diagram of an electrolyte analyzer provided in an embodiment of the present invention.
[0066] Figure 2 A schematic flow chart of an intelligent interactive control method for an electrolyte analyzer provided in an embodiment of the present invention.
[0067] Figure 3 The figure is a schematic diagram of a process of self-checking of an electrolyte analyzer according to an embodiment of the present invention.
[0068] Figure 4 Schematic diagram of the reagent management interface of the electrolyte analyzer according to an embodiment of the present invention.
[0069] Figure 5 This is another schematic diagram of a process for performing a self-test on the electrolyte analyzer according to an embodiment of the present invention.
[0070] Figure 6 Schematic diagram of the calibration interface of the electrolyte analyzer according to an embodiment of the present invention.
[0071] Figure 7 It is a structural schematic diagram of an intelligent interactive control system for an electrolyte analyzer according to an embodiment of the present invention.
[0072] Figure numerals: 1. Electrolyte analyzer body; 2. Printer; 3. Touch screen; 4. Fully automatic sample loading rack. DETAILED DESCRIPTION
[0073] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0074] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0075] Example 1
[0076] In a first aspect, an embodiment of the present invention provides an intelligent interactive control method for an electrolyte analyzer, wherein the electrolyte analyzer is Figure 1 As shown, the electrolyte analyzer includes an electrolyte analyzer body 1 for ion selective measurement, a printer 2 for printing sample measurement results, a touch screen display 3 for touch screen selection of device menu and a full-automatic sample loading rack 4 for sample placement, a paper bin extraction structure, which is arranged inside the printer 2 and is used to protect the printer 2, a paper feeding structure, which is arranged inside the paper bin extraction structure and is used to automatically feed paper, and a paper roll structure, which is arranged on one side of the paper feeding structure and is used to place thermal printing paper.
[0077] See also Figure 2 The intelligent interactive control method of the electrolyte analyzer of embodiment 1 of the present invention comprises:
[0078] S1, the electrolyte analyzer receives a self-test instruction and controls the electrolyte analyzer to perform a self-test, wherein the self-test includes testing preset reagents in a preset order, and the preset reagents include a calibration solution, an electrode filling solution, an activation solution, a cleaning solution, and a quality control sample;
[0079] Specifically, self-test is the first step to ensure the normal operation of the instrument. In this step, the electrolyte analyzer will automatically check its key components, including various reagents and consumables. The detection of preset reagents covers calibration solution, electrode filling solution, activation solution, cleaning solution and quality control samples. These reagents are essential to ensure the accuracy and reliability of analytical instruments. Among them, the calibration solution is used to calibrate the instrument to ensure the accuracy of the measurement results, the electrode filling solution provides a suitable chemical environment for the electrode to ensure the normal operation of the electrode, the activation solution is used to activate or reactivate the electrode to improve its performance, the cleaning solution is used to clean the electrode and other instrument parts to prevent contamination and clogging, and the quality control sample is used to verify the accuracy and consistency of the analyzer;
[0080] The preset order can be set based on the frequency of use and expiration risk of reagents and electrode filling liquids. Reagents that are frequently used or close to expiration can be set as priority detection. Prioritizing the detection of reagents with high frequency of use can ensure that the analyzer is in the best condition during most operating times, because these reagents are most likely to be exhausted or deteriorate. By prioritizing the detection of reagents close to expiration, these reagents can be used to the maximum extent to avoid waste caused by their inability to be used after expiration; in one embodiment, under the premise of ensuring the comprehensiveness of self-testing, the test order can be randomized, which can simulate different usage scenarios and ensure that the instrument can work normally in various orders.
[0081] In one embodiment, the self-test also includes a hardware check, which is used to check the various physical components of the instrument, such as pumps, valves, pipes and electrodes, to ensure that they are not worn, blocked or damaged; and a data communication check, which is used to verify whether the data communication between the instrument and an external system (such as a laboratory information management system) is normal.
[0082] See also Figure 3 As an optional embodiment of the present invention, the electrolyte analyzer receives a self-check instruction and controls the electrolyte analyzer to perform a self-check step, including:
[0083] S11, obtaining reagent card information of each of the preset reagents, wherein the reagent card information includes reagent type, production date, expiration date and remaining amount of the reagent;
[0084] Specifically, this step collects and analyzes detailed information of preset reagents, such as reagent type (such as calibration solution, electrode filling solution, etc.), production date, expiration date and remaining quantity, and automatically obtains this information by reading the barcode or RFID tag on the reagent bottle or reagent packaging to ensure the effectiveness and adequacy of the reagent, prevent the use of expired or insufficient reagents, and thus ensure the accuracy of the test results;
[0085] like Figure 4 As shown, after obtaining the actual card information of each of the preset reagents, it can also be displayed through the display device of the electrolyte analyzer. Figure 4 The interface of the reagent type (such as calibration solution, electrode filling solution, etc.), production date, expiration date and remaining amount;
[0086] S12, judging whether each of the preset reagents is within the validity period according to the production date and the expiration date;
[0087] Specifically, in this step, the system automatically compares the current date with the production date and expiration date of the reagent to avoid using expired reagents, as expired reagents may reduce the accuracy of the test.
[0088] S13, if there is a preset reagent that has exceeded its validity period or a preset reagent whose remaining amount is less than or equal to a remaining amount threshold, controlling the display of the electrolyte analyzer to display a replacement reminder message, wherein the replacement reminder message includes the type of the reagent to be replaced;
[0089] When the reagent is out of date or the remaining quantity is insufficient, the system will display a replacement reminder on the display of the electrolyte analyzer to ensure that the operator replaces or replenishes the reagent in time to avoid test interruptions or inaccurate results.
[0090] S14. If there is no preset reagent that has exceeded its validity period and the remaining amount of the reagent is greater than the remaining amount threshold, the self-test passes.
[0091] When all preset reagents are within the validity period and the remaining amount is sufficient, it can be judged that the self-test has passed. These self-test steps improve the reliability and accuracy of the electrolyte analyzer. By ensuring the validity and adequacy of reagents, test errors can be effectively avoided and test delays caused by reagent problems can be reduced. The automation of these steps also improves work efficiency and reduces the possibility of human error.
[0092] See also Figure 5 As an optional embodiment of the present invention, the electrolyte analyzer receives a self-test instruction, and the step of controlling the electrolyte analyzer to perform a self-test further includes:
[0093] S15, in response to the replacement of the reagent card and the preset reagent, updating the reagent card information;
[0094] The operator clicks Figure 4 The reagent replacement button on the interface shown can replace the reagent card and the corresponding preset reagent. When the reagent is replaced, the operator first needs to take out the reagent card of the preset reagent to be replaced, insert the reagent card of the replacement reagent, and replace the preset reagent. The reagent card stores detailed information about the reagent, such as production date, expiration date, batch number, etc. When the reagent card is inserted into the analyzer, the instrument automatically reads the information in the card and updates the information of the reagent card in the system, including the type of the new reagent, production date, expiration date and remaining amount. In one embodiment, before removing the old reagent, make sure to record any necessary information, such as remaining amount, expiration time, etc.
[0095] S16, judging whether the replaced preset reagent matches the type of the reagent to be replaced according to the updated reagent card information and the type of the reagent to be replaced;
[0096] Specifically, this step compares the type of the replaced reagent with the type of the reagent to be replaced to ensure that the correct reagent is installed to avoid test errors or damage to the equipment due to the use of the wrong type of reagent;
[0097] S17. If they match, obtain the actual temperature of the replaced preset reagent;
[0098] If the reagent type matches after replacement, the actual temperature of the reagent is measured and recorded by the built-in temperature sensor. The reagents of the electrolyte analyzer are only used for in vitro diagnosis and are usually stored at room temperature of 18-25°C and can be refrigerated. The chemical reactions in the electrolyte analyzer usually rely on a specific temperature range. If the temperature is not within this range, it may cause changes in reaction rate or incomplete reaction, thereby affecting the accuracy of the test results. Standardization of reagents helps to ensure the consistency and comparability of analysis results. Therefore, temperature detection of replaced reagents is an important step to ensure the suitability of reagents, accuracy of analysis and safety of equipment.
[0099] S18. If there is no match or the actual temperature does not fall within the preset temperature range, the display is controlled to display a reagent replacement failure message.
[0100] If the replaced reagent does not match or its temperature is not within the preset range, the system will prompt an error message on the display to ensure that the operator can correct the error in time to avoid affecting the accuracy and reliability of the test results due to reagent problems.
[0101] S2, in response to the self-test passing, the electrolyte analyzer receives a calibration instruction, and calibrates the electrolyte analyzer using the calibration solution;
[0102] Specifically, after the self-test is passed, the measurement system of the analyzer is calibrated using a calibration fluid, such as Figure 6 As shown, the operator clicks the serum calibration button, and the electrolyte analyzer receives the calibration instruction, and can calibrate the electrolyte analyzer with the calibration solution. Calibration is the process of adjusting the instrument so that its reading is consistent with the true value, thereby improving the accuracy and repeatability of the measurement result, which is crucial to ensure the reliability of the clinical analysis result; calibration is usually achieved through single-point calibration or double-point calibration. For single-point calibration, it is necessary to first save the calibration value of the slope correction solution, and then calibrate the electrode drift solution, and calculate the slope with the measured electrode drift solution value and the saved slope correction solution value. For double-point calibration, the electrode drift solution and the slope correction solution are calibrated each time, and their values are measured, and then the slope is calculated;
[0103] It should be noted that the interface displayed by the display device of the electrolyte analyzer of the present invention is not limited to Figure 4 and Figure 6 As shown in the interface, operators can easily perform complex operations through buttons on the graphical interface without in-depth understanding of the internal working principles of the instrument. They can also remotely operate and monitor the equipment through dedicated remote access software or web interface. The remote monitoring and operation function enables operators to quickly respond to equipment problems or change settings, improve the ability to handle emergencies, reduce the need for travel and on-site maintenance, and thus reduce operating costs.
[0104] As an optional embodiment of the present invention, the calibration fluid includes a slope calibration fluid and a drift calibration fluid, and in response to the self-test passing, the electrolyte analyzer receives a calibration instruction, and the step of calibrating the electrolyte analyzer using the calibration fluid includes:
[0105] S21, calibrating the electrolyte analyzer according to a preset calibration method, the slope correction solution and the drift correction solution to obtain an actual slope value and an actual drift value of each electrode, wherein the preset calibration method includes single-point calibration and two-point calibration; the slope correction solution is used to determine the response sensitivity of the electrode to concentration changes (i.e., slope), and the drift correction solution is used to evaluate the long-term stability of the electrode (i.e., drift), which are electrode performance parameters measured during the calibration process, reflecting the current working state and performance of the electrode;
[0106] In single-point calibration, the slope is determined based on a calibration solution of known concentration. The device reads the response of the calibration solution and then compares it to the known concentration. In single-point calibration, because there is only one calibration point, it is usually assumed that the slope is an ideal value, such as the theoretical response slope of the electrode to a specific ion.
[0107] Two-point calibration uses two calibration solutions of different concentrations. The device reads the response of the two calibration solutions separately. In two-point calibration, drift can be calculated more accurately because there are two calibration points. The changes of these two points over time can be observed.
[0108] S22, obtaining a first difference between the actual slope value and a preset slope value and a second difference between the actual drift value and a preset drift value;
[0109] Specifically, the first difference is the difference between the actual slope value and the preset slope value. If the difference is large, it indicates that the electrode's response to concentration changes is not as expected, which may lead to measurement errors. The second difference is the difference between the actual drift value and the preset drift value. An abnormal drift value indicates that the electrode is not stable, which may change over time and cause inaccurate measurement results.
[0110] S23, if the absolute value of the first difference is greater than the first preset difference and / or the absolute value of the second difference is greater than the second preset difference, automatically calibrate the electrolyte analyzer or generate a prompt message to remind the operator to calibrate the electrolyte analyzer according to the first difference and / or the second difference;
[0111] If the difference exceeds the preset threshold, the device can automatically adjust the parameters to correct the electrode to minimize human intervention and errors. If the device cannot automatically correct, or requires special attention, a prompt message will be generated to remind the operator to perform manual correction.
[0112] Specifically, if the absolute value of the first difference exceeds the first preset difference, possible reasons include too much protein adsorbed on the electrode membrane tube, too low ambient temperature or too high ambient humidity, the end of the electrode life, etc.; if the difference change is caused by temperature or humidity, the instrument can automatically adjust its reading to adapt to environmental changes. For some software-related problems, such as reading deviation, the instrument can self-adjust through a built-in algorithm; if the difference change is caused by electrode aging or damage, expired or contaminated calibration fluid, or hardware circuit problems, a corresponding prompt message can be generated to remind the operator to calibrate the instrument;
[0113] As an optional embodiment of the present invention, if the absolute value of the first difference is greater than a first preset difference and / or the absolute value of the second difference is greater than a second preset difference, the step of automatically calibrating the electrolyte analyzer or generating a prompt message to remind an operator to calibrate the electrolyte analyzer according to the first difference and / or the second difference includes:
[0114] S231, acquiring instrument status parameters and operating environment parameters of the electrolyte analyzer, wherein the instrument status parameters include electrode status and calibration solution status, and the operating environment parameters include ambient temperature and ambient humidity;
[0115] Specifically, the current working status and external environment information of the electrolyte analyzer are collected in order to conduct accurate fault analysis. The internal sensors and controllers of the instrument collect instrument status parameters and operating environment parameters. The instrument status parameters include electrode status and calibration fluid status. The operating environment parameters include ambient temperature and ambient humidity. Electrode status and calibration fluid status are key factors in evaluating the performance of the electrolyte analyzer. Among them, the electrode status includes its sensitivity, reaction time, service life, cleaning and maintenance records, etc., while the calibration fluid status includes the frequency of replacement, validity period and storage conditions of the calibration fluid. These data determine whether the chemical properties of the calibration fluid remain stable. Ambient temperature and ambient humidity also have an important impact on the performance of the electrolyte analyzer. For example, temperature changes may affect the rate of chemical reactions, and humidity changes may affect the physical state of the electrode surface. By obtaining instrument status parameters and operating environment parameters, the accuracy of fault analysis is ensured, which helps to distinguish whether the problem is caused by internal instrument problems or external environmental factors.
[0116] S232, inputting the instrument state parameter, the operating environment parameter, the first difference and the second difference into a pre-constructed calibration fault cause prediction model to obtain a number of calibration fault prediction results and corresponding confidence levels, wherein the calibration fault cause prediction model is constructed based on a preset machine learning algorithm, and the preset machine learning algorithm includes a decision tree algorithm, a random forest algorithm, and a support vector machine algorithm;
[0117] Specifically, this step uses the instrument state parameter, the operating environment parameter, the first difference and the second difference as input parameters, and inputs a pre-built calibration fault cause prediction model, wherein the calibration fault cause prediction model is built based on a preset machine learning algorithm, wherein the preset machine learning algorithm includes a decision tree algorithm, a random forest algorithm and a support vector machine algorithm. Decision trees are usually simple to calculate, especially when the depth and number of branches of the tree are small, they are easy to understand and implement, and are suitable for processing data with obvious decision rules; random forests are composed of multiple decision trees, so the amount of calculation is higher than that of a single decision tree, but compared with a single decision tree, random forests provide better accuracy and robustness; support vector machines perform well in processing complex and nonlinear decision boundaries;
[0118] By inputting the above parameters into the pre-built calibration fault cause prediction model, the model analyzes the instrument status, environmental parameters, difference, etc., and outputs a preset number of predicted causes and corresponding confidence levels. The confidence level is the probability that the model believes the output result is correct, thereby quickly and accurately predicting the cause of the fault and improving the diagnostic efficiency. By outputting the corresponding confidence level, the most likely faults can be processed first, thereby improving the efficiency of calibration.
[0119] As an optional embodiment of the present invention, the preset machine learning algorithm is a decision tree algorithm;
[0120] This embodiment selects the decision tree algorithm as the preset machine learning algorithm. The advantage of the decision tree algorithm is that it has high computational efficiency and relatively low computational complexity when processing large amounts of data. It is suitable for electrolyte analyzer scenarios that require rapid response, and the results of the decision tree are easy to understand and explain, which is very important for diagnosing the cause of the fault and explaining it to the operator.
[0121] S232, inputting the instrument state parameter, the operating environment parameter, the first difference, and the second difference into a pre-built calibration fault cause prediction model to obtain a number of calibration fault prediction results and corresponding confidence levels, specifically comprising:
[0122] S2321, obtaining an initial training data set, wherein the initial training data set includes a plurality of training data, each of which includes an instrument state parameter, an operating environment parameter, a slope parameter, a drift value parameter, and a corresponding calibration fault cause;
[0123] This step collects data containing various possible faults and corresponding parameters as the basis for model training. It also collects historical fault data, including instrument status, environmental parameters, slope and drift values, etc., as well as their corresponding fault causes, to ensure that model training covers a wide range of fault scenarios and improves the accuracy of prediction.
[0124] S2322, preprocessing the initial training data set to obtain a target training data set;
[0125] The purpose of this step is to clean, standardize and convert the original data to ensure that the data quality and format are suitable for model training. The preprocessing includes removing outliers, filling missing values, normalizing or standardizing data, etc. If the data missing is not serious, it can be replaced with the mean, median or mode. For more complex situations, k-nearest neighbor (k-NN) or interpolation methods can be used to ensure data integrity and avoid errors during model training. For categorical data, one-hot encoding (One-Hot Encoding) or label encoding is used. For time series data, it may be necessary to convert to timestamps or extract specific time features;
[0126] S2323, performing Gini impurity calculation on each parameter in the target training data set, and obtaining the Gini impurities of the instrument state parameter, operating environment parameter, slope parameter, and drift value parameter respectively;
[0127] Gini impurity is an indicator used in decision tree algorithms to measure the impurity or confusion of a data set. In the process of building a decision tree, Gini impurity is used to evaluate the quality of the split point, that is, the node that determines where to split the data set to build the tree. For a given data set D, which contains multiple categories, Gini impurity can be calculated using the following formula:
[0128]
[0129] In the formula, p i is the relative frequency of the ith category in the data set D, and n is the total number of categories; for each parameter (such as instrument status parameter, operating environment parameter, slope parameter, and drift value parameter), first determine the relative frequency of each category in the data set. For example, but not limitation, if the instrument status parameter has three states (normal, warning, and fault), calculate the frequency of each state. For each parameter, use the above formula to calculate the Gini impurity; low Gini impurity means that most of the elements in the data set belong to the same category, while high Gini impurity means that the data set contains multiple categories and the distribution is relatively uniform;
[0130] S2324. According to the decision tree algorithm, the parameter with the lowest Gini impurity is used as the root node of the decision tree to construct an initial calibration fault cause prediction model;
[0131] When building a decision tree, Gini impurity is used to evaluate the effectiveness of different split points. The split point that minimizes Gini impurity is usually selected as the decision node. This process is repeated until a specific stop condition is met, such as reaching the maximum depth of the tree or the amount of data in the node is less than a certain threshold, thereby obtaining an initial calibration fault cause prediction model. In this way, Gini impurity helps determine the best tree structure to ensure that the model has high accuracy and generalization ability when predicting.
[0132] S2325, dividing the target training data set according to a preset ratio to obtain a training set and a test set;
[0133] In this step, the target training data set is divided according to a preset ratio to obtain a training set and a test set. The preset ratio can be 7:3, 8:2 or 9:1. The preset ratio can be set according to the actual situation. For example, when the amount of data is not particularly large, a 7:3 division is used to provide sufficient data for training while retaining a reasonable amount of test data to better evaluate the model performance. When the size of the test set has little effect on the accuracy of the model evaluation, an 8:2 division can be used to provide more data for training, which helps the model to better learn the characteristics of the data. The choice of which ratio depends on many factors, including the size and diversity of the data set, the complexity of the model and the needs of the specific application.
[0134] S2326, training the initial calibration fault cause prediction model according to the training set to obtain an intermediate calibration fault cause prediction model;
[0135] In this step, the model is trained using the training set data, and the model parameters are adjusted by learning the training data to obtain an intermediate calibration fault cause prediction model that can accurately predict the fault cause;
[0136] S2327, evaluating the intermediate calibration fault cause prediction model according to the test set to obtain accuracy and recall;
[0137] In this step, the intermediate calibration fault cause prediction model is evaluated through the test set to obtain its accuracy and recall. The two evaluate the accuracy and reliability of the model prediction from different perspectives. The accuracy measures the model's ability to make correct predictions among all predictions. A high accuracy means that the model predicts more accurately overall. The recall measures the model's ability to capture positive examples (such as faults). For fault detection, a high recall means that the model can effectively identify most real faults. In fault prediction models, more attention is usually paid to the recall rate to ensure that as many potential faults as possible can be captured.
[0138] S2328. Adjust the intermediate calibration fault cause prediction model according to the accuracy and recall rate to obtain a calibration fault cause prediction model;
[0139] After we use accuracy and recall to evaluate the performance of the intermediate calibration fault cause prediction model, we need to adjust the model based on these indicators to obtain the final calibration fault cause prediction model. The adjustment may include adjusting the model's hyperparameters such as the depth of the decision tree, the minimum number of leaf node samples, etc. to improve the model performance. If the model performs well on the training set but poorly on the test set, it may be overfitting. This can be solved by simplifying the model, such as reducing the depth of the decision tree. If the model performs poorly on both the training set and the test set, it may be underfitting. At this time, you can try to increase the complexity of the model. These adjustments are to make the model better meet the needs of actual applications and improve its reliability and accuracy in the actual operating environment.
[0140] S2329. Input the instrument status parameter, the operating environment parameter, the first difference, and the second difference into a calibration fault cause prediction model to obtain a number of calibration fault prediction results and corresponding confidence levels.
[0141] Finally, the instrument status parameters, operating environment parameters, first difference and second difference are provided as input to the model, and the calibration fault cause prediction model uses these input parameters to predict the possible fault cause. This process is similar to a classification task, where the input parameters are features, the predicted fault cause is the label, and the model gives a prediction confidence for each possible fault cause. This confidence reflects the confidence of the model in its prediction.
[0142] S233, sorting the calibration fault prediction results in descending order according to the confidence level to obtain a list of faults to be processed;
[0143] In this step, in order to sort the most likely fault causes that the model considers to be likely, the causes are sorted in descending order according to the confidence of each fault cause given by the model (i.e., the probability that the model considers the cause to be correct), ensuring that the most likely fault cause is processed first to improve processing efficiency.
[0144] S234. According to the list of pending faults, the electrolyte analyzer is automatically calibrated or a prompt message is generated to remind an operator to calibrate the electrolyte analyzer.
[0145] In this step, take corresponding corrective measures or remind the operator according to the fault cause in the pending fault list. If the fault can be automatically corrected (such as a small environmental adjustment), the instrument will automatically complete it. If manual intervention is required (such as replacing electrodes or calibration fluid), a prompt message will be generated to inform the operator.
[0146] By way of example and not limitation, if the calibration fault cause prediction model indicates that the fault is caused by a slight ambient temperature fluctuation, such as the temperature slightly exceeding the ideal operating range, the system can automatically activate a built-in temperature control device, such as a heater or cooler, to adjust the temperature to within the ideal range; if the fault cause is a slight deviation in the concentration of the calibration fluid, the system can automatically adjust the input amount of the calibration fluid to compensate for the slight change in concentration; if it is detected that the flow rate of the sample or reagent does not meet the preset parameters, the system can adjust the pump speed or valve opening to ensure that the flow rate meets the requirements. The automatic adjustment of the flow rate ensures the correct ratio of the sample and reagent, thereby improving the accuracy of the test results.
[0147] If the fault prediction indicates that the electrode is aged or damaged, the system will generate detailed prompt information to inform the operator that the specific electrode needs to be replaced. If the calibration fluid is expired or insufficient, the system will display a prompt to replace the calibration fluid, including the type and specification of the calibration fluid that needs to be replaced. If the prediction model shows that pipeline blockage is the cause of the fault, the system will prompt the operator to clean or replace specific pipeline components. Timely manual intervention can prevent test errors or equipment damage caused by pipeline blockage.
[0148] Through these examples, we can see that the intelligent control system provides flexibility in automation and manual intervention to ensure stable operation and high accuracy of the electrolyte analyzer. Automatic correction handles daily minor problems, while complex or major problems guide operators to intervene through prompt information, thus maintaining overall operational efficiency and accuracy.
[0149] S24, returning to the step of calibrating the electrolyte analyzer according to the preset calibration method, the slope correction solution and the drift correction solution to obtain the actual slope value and the actual drift value of each electrode, until the absolute value of the first difference is less than or equal to the first preset difference and the absolute value of the second difference is less than or equal to the second preset difference, then the calibration is passed.
[0150] In this step, the electrolyte analyzer repeatedly performs the slope and drift calibration process, using the slope calibration solution and the drift calibration solution each time. After each calibration, the actual slope value and drift value of the electrode are calculated, and then compared with the preset slope value and drift value to obtain the first difference and the second difference. If the absolute values of these differences are less than or equal to the preset threshold value, the calibration is considered successful; otherwise, the calibration process is repeated.
[0151] Through continuous calibration and comparison, the electrolyte analyzer is ensured to achieve high accuracy before actual measurement. This automated feedback loop reduces the need for manual intervention, improves work efficiency, enables the analyzer to adapt to different environments and operating conditions, and maintains its long-term stability and reliability.
[0152] S3, in response to the self-test passing, the electrolyte analyzer receives a calibration instruction, and calibrates the electrolyte analyzer using the calibration solution;
[0153] Specifically, after the calibration is passed, the electrolyte analyzer is calibrated for quality control using quality control samples. Calibration and quality control are two key steps in the laboratory analysis process. They play different but complementary roles in ensuring the accuracy and reliability of analytical instruments. Quality control is performed after calibration to verify whether the calibration process is completed correctly and to ensure that the instrument can accurately measure samples according to the settings after calibration. Quality control simulates actual sample testing conditions, which helps to confirm whether the instrument can maintain its accuracy and consistency in daily use. If only calibration is performed without quality control, errors occurring in actual use may not be discovered and corrected in a timely manner, which may result in a decrease in data quality.
[0154] In one embodiment, quality control is achieved by the following steps: using quality control samples of known concentration and composition, the electrolyte levels of these samples have been accurately determined, and are used to evaluate the performance of the analyzer. The electrolyte analyzer is then tested with the quality control samples, and the measurement results are recorded. If there is a significant difference between the measured value and the known value, the settings of the analyzer need to be adjusted to ensure its accuracy.
[0155] As an optional embodiment of the present invention, the quality control samples include: a number of random quality control samples with known concentrations, inter-laboratory quality control samples with unknown concentrations, low-value quality control samples with a first preset concentration, and high-value quality control samples with a second preset concentration, wherein the first preset concentration is lower than the second preset concentration; in response to the self-test passing, the electrolyte analyzer receives a calibration instruction, and the step of calibrating the electrolyte analyzer with the calibration fluid includes:
[0156] S31, randomly selecting a random quality control sample to perform a random quality control test to obtain a first test result;
[0157] Random quality control samples with known concentrations are used to simulate daily sample analysis scenarios. The concentrations of these samples are known, so they can be directly used to evaluate the accuracy of the instrument's analysis of samples within a specific concentration range. By using random quality control samples with known concentrations for testing and obtaining the first test results, the actual situation of daily sample analysis is simulated to ensure that the instrument can still maintain accuracy under various random conditions.
[0158] S32, performing an inter-laboratory quality control test according to the inter-laboratory quality control sample to obtain a second test result;
[0159] External quality control samples with unknown concentrations are usually used for quality comparison between laboratories. Their concentrations are unknown to the operator and can be used to simulate real unknown sample testing. Testing with external quality control samples and recording the second test results provide a benchmark for comparison with other laboratories or instruments, helping to ensure consistency and comparability of results.
[0160] S33, performing a low-value fixed-value quality control test according to the low-value quality control sample to obtain a third test result;
[0161] The low-value quality control sample with the first preset concentration is specifically used to test the performance of the instrument in the low concentration range. This is especially important for analyzers that may have variations or inaccurate readings at low concentrations. It ensures that the instrument can accurately measure low-concentration samples. This is particularly important for some clinical diagnoses, such as the diagnosis of hyponatremia. The quality control sample with the first preset low concentration is used for testing to obtain the third test result to evaluate and ensure the accuracy and stability of the instrument at low concentration levels.
[0162] S34, performing a high-value fixed-value quality control test according to the high-value quality control sample to obtain a fourth test result;
[0163] The high-value quality control sample with the second preset concentration is used to evaluate the performance of the instrument at a high concentration level, which is critical to ensure that the instrument does not experience reading saturation or loss of precision due to high-concentration samples, and to ensure the accuracy and reliability of the instrument when processing high-concentration samples, which is critical for the diagnosis of certain pathological conditions (such as hyperkalemia). The quality control sample with the second preset high concentration is tested and the fourth test result is recorded to test the accuracy and reliability of the instrument when processing high-concentration samples.
[0164] S35, determining whether the first test result, the second test result, the third test result and the fourth test result meet a preset quality control standard;
[0165] This step compares the test results with the preset quality control standards, comprehensively evaluates the four test results, and confirms whether they are within the acceptable accuracy and precision range, ensuring that the instrument can provide reliable analysis results in the full concentration range;
[0166] Specifically, the preset quality control standards usually include the allowable error range, the threshold of specific statistical indicators, etc. For samples with known concentrations, directly compare the test results with the preset concentrations to see whether they are within the allowable error range. Use statistical methods (such as mean, standard deviation, etc.) to evaluate the consistency and stability of a series of test results, and analyze the trend of test results over a period of time to identify potential performance degradation or calibration deviations; for example, for quality control samples with known concentrations, the test results should be within ±3% of the expected value, and for a series of repeated tests, the coefficient of variation should be lower than a predetermined threshold (such as 1.5%).
[0167] S36, if not satisfied, adjusting the electrolyte analyzer according to the first test result, the second test result, the third test result and the fourth test result, and returning a response that the self-test is passed, the electrolyte analyzer receives the calibration instruction, and calibrates the electrolyte analyzer using the calibration fluid;
[0168] Based on the test results that do not meet the quality control standards, analyze the possible reasons, check the instrument settings, the status of the calibration fluid, the performance of the electrode, etc., and make corresponding adjustments based on the analysis results. For example, if the calibration fluid is expired or has quality problems, the calibration fluid may need to be replaced; if it is an electrode problem, the electrode may need to be cleaned, reactivated or replaced; if any test results do not meet the preset standards, further analysis is required, which may involve instrument adjustment, repeated testing or more in-depth fault diagnosis; the adjustments made are recorded for future tracking and quality control;
[0169] After adjustment and calibration, use the calibration solution to recalibrate the instrument according to the preset calibration method and test it again with the quality control sample to verify the effectiveness of the adjustment and calibration, so as to effectively ensure the performance of the electrolyte analyzer and the accuracy of the test results.
[0170] In one embodiment, if the condition is not satisfied, adjusting the electrolyte analyzer according to the first test result, the second test result, the third test result and the fourth test result, and returning to the step of calibrating the electrolyte analyzer with the calibration fluid in response to the self-test passing, comprises:
[0171] S361, analyzing the first test result, the second test result, the third test result and the fourth test result to obtain the cause of the quality control failure;
[0172] Specifically, if the first test results, second test results, third test results and fourth test results obtained by random quality control, inter-laboratory quality control, low-value quality control and high-value quality control are not satisfied, the test results are compared with the expected range or the established quality control standard to obtain the cause of the inaccurate quality control. For example, if the test results of the high-value quality control samples are found to be systematically lower than the expected value, it may indicate that the detection sensitivity of the electrolyte analyzer is reduced. By comprehensively analyzing different types of quality control test results (random quality control, inter-laboratory quality control, low-value and high-value quality control), the performance deviation or cause of the failure of the equipment can be more accurately identified. For example, systematic deviations may point to specific hardware or software problems.
[0173] S362, adjusting the electrolyte analyzer according to the cause of the quality control failure;
[0174] Based on the analysis results, make necessary adjustments to the electrolyte analyzer, such as calibration, cleaning or replacement of components. If electrode performance degradation is detected, it may be necessary to reactivate or replace the electrode to improve the performance of the analyzer, reduce the occurrence of erroneous results, and improve overall work efficiency.
[0175] S363, associating the quality control failure cause with the instrument state parameter, operating environment parameter, slope parameter and drift value parameter when the quality control failure cause occurs, to obtain an actual data set;
[0176] The causes of quality control failures are associated with the instrument status parameters, operating environment parameters, slope parameters, and drift value parameters at the time of occurrence to form an actual data set. Quality control failures and calibration failures are usually related to factors such as instrument performance status and operating environment. For example, electrode aging, ambient temperature changes, reagent quality problems, etc. may cause both quality control failures and calibration failures. The problems that may be faced during quality control and calibration usually come from common influencing factors (such as instrument wear, environmental conditions, etc.). Therefore, these data are interoperable to some extent and can be merged with the target training data set. The actual data set can also be preprocessed before merging to ensure that the actual data set is compatible with the calibration failure data in terms of features and format.
[0177] S364, merging the actual data set and the target training data set to obtain a second training data set;
[0178] The newly generated actual data set is merged with the original target training data set to form a second training data set, thereby expanding the training data set and enhancing the model's ability to learn new situations. The use of quality control failure data can increase the diversity and richness of the training set. Especially in practical applications, some types of failures may be relatively rare. By fusing failure data from different sources, the generalization ability of the model can be enhanced. The addition of quality control failure data can help the model learn to make accurate predictions under a wider range of conditions and improve the model's adaptability to unknown situations.
[0179] S365, retraining the calibration fault cause prediction model according to the second training data set to obtain an updated calibration fault cause prediction model;
[0180] Retrain the calibration fault cause prediction model using the updated second training data set. In the case of new data, the new training data may contain new fault modes not covered in the original data set, which helps the model to better identify and respond to these new situations. The model may learn new fault modes and solutions, thereby improving its prediction ability.
[0181] S366, returning to the step of responding to the calibration passing, the electrolyte analyzer receiving the quality control calibration instruction, and performing quality control calibration on the electrolyte analyzer through the quality control sample.
[0182] Returning to the QC calibration step allows the system to re-evaluate its performance after making necessary adjustments, forming a cycle of continuous improvement and optimization. This step ensures that quality control and performance evaluation are ongoing after equipment adjustments and model updates, thereby ensuring the reliability and accuracy of analytical results;
[0183] In summary, this embodiment forms a complete quality assurance and performance improvement cycle through comprehensive analysis, equipment adjustment, data set expansion and continuous optimization of the model, which can significantly improve the accuracy, reliability and efficiency of the electrolyte analyzer.
[0184] S37. If satisfied, quality control passes.
[0185] If all test results meet the preset standards, the quality control passes and the next step of analysis can be performed;
[0186] S4. Performing electrolyte analysis on the sample to be detected according to the sample information to obtain analysis results.
[0187] After self-test, calibration and quality control are completed, the sample to be tested will be used for electrolyte analysis to obtain the analysis results. This step is the core of the intelligent interactive control method of the entire electrolyte analyzer. It is actually used to detect the electrolyte level of the sample. First, prepare the sample to be tested. This usually involves placing the sample in an appropriate container and ensuring that the volume, temperature and other factors of the sample meet the analysis requirements. Enter the relevant information of the sample (such as sample type, collection time, etc.) into the analyzer. This information helps the analyzer select appropriate analysis parameters and methods according to different sample characteristics. Place the sample in the electrolyte analyzer, and the instrument will automatically perform electrolyte analysis. This includes measuring the concentration of specific electrolytes (such as sodium, potassium, chlorine, etc.) in the sample. The analyzer will process the measured data and convert it into electrolyte concentration readings. The final analysis results will be displayed on the instrument interface or printed out for the operator or medical staff to view. The results may include concentration values of various electrolytes and any related warnings or notes.
[0188] As an optional embodiment of the present invention, the step of performing electrolyte analysis on the sample to be detected according to the sample information to obtain the analysis result includes:
[0189] S41, scanning the sample to be detected to obtain coding information of the sample to be detected;
[0190] Use the scanning equipment of the electrolyte analyzer (such as a barcode scanner) to identify the coded information of the sample. These codes usually appear on the sample container in the form of a barcode or a QR code, and the coded information usually contains key information about the sample, such as sample ID, collection time, etc.;
[0191] S42. According to the coding information, obtain the sample information of the sample to be tested through the LIS laboratory information management system, wherein the sample information includes the sample type and the test item;
[0192] LIS (Laboratory Information Management System) is a software system specifically used for laboratory data management. It can store, manage and process a large amount of laboratory test data. Based on the coded information, the LIS system can provide specific sample information, such as sample type (blood, urine, etc.) and test items (specific electrolytes to be measured).
[0193] S43, preprocessing the sample to be detected according to the sample type to obtain a target detection sample;
[0194] Specifically, the sample pretreatment method is determined according to the sample type. Different types of samples may require different treatment methods, such as dilution, temperature adjustment, mixing, etc., to ensure that the sample is suitable for electrolyte analysis, thereby obtaining the target detection sample;
[0195] As an optional embodiment of the present invention, the step of preprocessing the sample to be detected according to the sample type to obtain a target detection sample includes:
[0196] S431, if the sample type is a urine sample, dilute the sample to be tested according to a preset dilution ratio and a urine diluent, wherein the preset dilution ratio is 1:9;
[0197] Specifically, urine samples usually need to be diluted to reduce the concentration of substances in the sample so that it is suitable for the detection range of the electrolyte analyzer. The preset dilution ratio is 1:9, that is, each unit of urine sample will be mixed with nine units of diluent. This ratio is determined based on common electrolyte concentrations and the sensitivity of the analyzer, and can be adjusted according to actual conditions.
[0198] S432, detecting the temperature of the sample to be detected to obtain the sample temperature;
[0199] Temperature has a significant effect on many chemical and biochemical processes, including reactions in electrolyte analysis. The temperature of the sample is measured to ensure that it is within the appropriate temperature range for the analysis.
[0200] S433: If the sample temperature is lower than the preset sample temperature, the temperature of the sample to be detected is increased to obtain a target detection sample.
[0201] If the sample temperature is lower than the preset standard temperature (usually close to room temperature or body temperature), the sample needs to be warmed up to ensure the accuracy of the test, as temperature changes may affect the measurement of electrolyte concentration.
[0202] S44, according to the detection items, extract the target detection sample to perform electrolyte analysis, obtain analysis results, and automatically print the analysis results to generate an electrolyte analysis report.
[0203] In this step, the corresponding analysis method and instrument settings are selected according to the test items, and the pre-treated samples are extracted for specific electrolyte analysis. The analysis results are automatically printed through the printing device to generate an electrolyte analysis report. Electrolyte analysis includes the concentration measurement of electrolytes such as sodium, potassium, chlorine, calcium, and carbon dioxide. After the analysis is completed, the concentration readings of the electrolytes are obtained. These data will be used for clinical diagnosis or scientific research analysis. This process improves the efficiency of data management and analysis through integration with the LIS system, ensures data accuracy, and reduces the possibility of human errors. The printed electrolyte analysis report includes patient information, sample information, test items and results, and result interpretation. The result interpretation includes the marking of abnormal results. If certain electrolyte levels exceed the normal range, they are usually specially marked. The result interpretation also includes possible explanations or remarks. For abnormal results, some preliminary explanations or suggestions may be provided. Through automated sample processing and data acquisition, laboratory work efficiency is significantly improved, which helps to improve the quality of medical care and research.
[0204] Example 2
[0205] See also Figure 7 An embodiment of the present invention provides an intelligent interactive control system for an electrolyte analyzer, the system comprising: a sampling device, a sampling device, an analyzing device, a display device and a controller, the sampling device being used to receive a sample to be detected and obtain sample information of the sample to be detected, the sampling device being used to selectively absorb the sample to be detected or absorb the correction fluid, the analyzing device being used to perform electrolyte analysis on the sample to be detected, the display device being used to display prompt information or analysis results, and the controller being used to execute the above-mentioned intelligent interactive control method for the electrolyte analyzer.
[0206] In summary, the intelligent interactive control method and system for an electrolyte analyzer provided in an embodiment of the present invention controls the electrolyte analyzer to perform a self-test, wherein the self-test includes the detection of preset reagents, and during the self-test, the status of key reagents such as calibration fluid, electrode filling fluid, activation fluid, cleaning fluid and quality control samples are checked to ensure the quality of the reagents, enhance the accuracy and reliability of the overall test, and promptly detect and replace unqualified reagents to prevent misdetection caused by reagent problems; in response to the self-test passing, the electrolyte analyzer receives a calibration instruction, and calibrates the electrolyte analyzer with the calibration fluid, and only when the self-test fails Calibration is performed only after passing the test, ensuring that the prerequisites for calibration are met, improving the accuracy of subsequent analysis, and reducing deviations; in response to the self-test passing, the electrolyte analyzer receives a calibration instruction, calibrates the electrolyte analyzer through the correction fluid, and after the calibration is successful, performs quality control calibration through the quality control sample to further ensure the accuracy of the analysis, and improves the accuracy and repeatability of the overall analysis process through continuous calibration steps; electrolyte analysis is performed on the sample to be tested according to the sample information to obtain the analysis result, and the electrolyte analysis is performed on the sample to be tested using the equipment that has been self-tested, calibrated, and quality controlled. The present invention provides a comprehensive and efficient control system for electrolyte analysis through refined self-test, calibration, and quality control processes. This not only improves the accuracy and reliability of the analysis, but also reduces the risks caused by human operating errors, can effectively improve laboratory work efficiency, ensure the accuracy of patient test data, and thus promote better clinical decision-making.
[0207] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0208] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0209] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0210] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A method for handling calibration faults of an electrolyte analyzer, characterized in that: The method comprises: The electrolyte analyzer receives the self-test instruction and controls the electrolyte analyzer to perform a self-test, wherein the self-test includes testing preset reagents in a preset order, and the preset reagents include a calibration solution, an electrode filling solution, an activation solution, a cleaning solution, and a quality control sample; In response to the self-test passing, the electrolyte analyzer receives a calibration instruction, and calibrates the electrolyte analyzer using the calibration fluid, which specifically includes: The electrolyte analyzer is calibrated according to a preset calibration method, a slope correction solution and a drift correction solution to obtain an actual slope value and an actual drift value of each electrode, wherein the preset calibration method includes a single-point calibration and a two-point calibration, and the correction solution includes a slope correction solution and a drift correction solution; When the absolute value of the first difference between the actual slope value and the preset slope value is greater than the first preset difference, and / or the absolute value of the second difference between the actual drift value and the preset drift value is greater than the second preset difference, obtaining instrument state parameters and operating environment parameters of the electrolyte analyzer, wherein the instrument state parameters include electrode state and calibration fluid state, and the operating environment parameters include ambient temperature and ambient humidity; Inputting the instrument state parameter, the operating environment parameter, the first difference and the second difference into a pre-constructed calibration fault cause prediction model to obtain a number of calibration fault prediction results and corresponding confidence levels, wherein the calibration fault cause prediction model is constructed based on a decision tree algorithm; According to the confidence level, the calibration fault prediction results are sorted in descending order to obtain a list of faults to be processed; According to the list of pending faults, automatically calibrate the electrolyte analyzer or generate prompt information to remind an operator to calibrate the electrolyte analyzer; Returning to the step of calibrating the electrolyte analyzer according to the preset calibration method, the slope correction solution and the drift correction solution to obtain the actual slope value and the actual drift value of each electrode, until the absolute value of the first difference is less than or equal to the first preset difference, and the absolute value of the second difference is less than or equal to the second preset difference, then the calibration is passed; The step of inputting the instrument status parameter, the operating environment parameter, the first difference, and the second difference into a pre-built calibration fault cause prediction model to obtain a number of calibration fault prediction results and corresponding confidence levels includes: Acquire an initial training data set, wherein the initial training data set includes a plurality of training data, each of which includes an instrument state parameter, an operating environment parameter, a slope parameter, a drift value parameter, and a corresponding calibration fault cause; Preprocessing the initial training data set to obtain a target training data set; Performing Gini impurity calculation on each parameter in the target training data set to obtain the Gini impurities of the instrument state parameter, operating environment parameter, slope parameter, and drift value parameter respectively; According to the decision tree algorithm, the parameter with the lowest Gini impurity is used as the root node of the decision tree to build an initial calibration fault cause prediction model; Dividing the target training data set according to a preset ratio to obtain a training set and a test set; Training the initial calibration fault cause prediction model according to the training set to obtain an intermediate calibration fault cause prediction model; Evaluating the intermediate calibration fault cause prediction model according to the test set to obtain the accuracy and recall rate; Adjusting the intermediate calibration fault cause prediction model according to the accuracy and recall rate to obtain a calibration fault cause prediction model; The instrument state parameter, the operating environment parameter, the first difference and the second difference are input into a calibration fault cause prediction model to obtain a number of calibration fault prediction results and corresponding confidence levels.
2. The electrolyte analyzer calibration fault handling method according to claim 1, characterized in that: The step of automatically calibrating the electrolyte analyzer or generating prompt information to remind an operator to calibrate the electrolyte analyzer according to the list of pending faults includes: If the cause of the fault in the pending fault list is ambient temperature fluctuation, control the electrolyte analyzer to adjust the temperature to the ideal range; If the cause of the fault is a deviation in the concentration of the calibration solution, the electrolyte analyzer is controlled to automatically adjust the input amount of the calibration solution to compensate for the change in concentration; If the cause of the fault is that the flow rate of the sample or reagent does not meet the preset parameters, the electrolyte analyzer is controlled to adjust the pump speed or valve opening; If the cause of the fault is electrode aging or damage, the electrolyte analyzer is controlled to generate detailed prompt information to inform the operator that a specific electrode needs to be replaced; If the cause of the fault is that the calibration fluid is expired or insufficient, the electrolyte analyzer is controlled to display a prompt message for replacing the calibration fluid, including the type and specification of the calibration fluid to be replaced; If the cause of the fault is a pipe blockage, the electrolyte analyzer is controlled to display a prompt message to remind the operator to clean or replace a specific pipe component.
3. The calibration fault handling method of the electrolyte analyzer according to claim 1, characterized in that: The method further comprises: In response to the calibration being passed, the electrolyte analyzer receives a quality control calibration instruction, and performs quality control calibration on the electrolyte analyzer using a quality control sample; Perform electrolyte analysis on the sample to be detected according to the sample information of the sample to be detected, and output the analysis result.
4. The electrolyte analyzer calibration fault handling method according to claim 3, characterized in that: The quality control samples include: a plurality of random quality control samples with known concentrations, inter-laboratory quality control samples with unknown concentrations, low-value quality control samples with a first preset concentration, and high-value quality control samples with a second preset concentration, wherein the first preset concentration is lower than the second preset concentration, and in response to the calibration being passed, the electrolyte analyzer receives a quality control calibration instruction, and the step of performing quality control calibration on the electrolyte analyzer through the quality control samples includes: Randomly selecting a random quality control sample to perform a random quality control test to obtain a first test result; Performing an inter-laboratory quality control test according to the inter-laboratory quality control sample to obtain a second test result; Perform a low-value fixed-value quality control test according to the low-value quality control sample to obtain a third test result; Perform a high-value fixed-value quality control test according to the high-value quality control sample to obtain a fourth test result; Determining whether the first test result, the second test result, the third test result, and the fourth test result meet a preset quality control standard; If not, adjusting the electrolyte analyzer according to the first test result, the second test result, the third test result and the fourth test result, and returning to the step; If satisfied, the quality control passes.
5. The calibration fault handling method for an electrolyte analyzer according to claim 4, characterized in that: If the condition is not satisfied, the electrolyte analyzer is adjusted according to the first test result, the second test result, the third test result and the fourth test result, and the electrolyte analyzer is calibrated by the calibration fluid in response to the self-test passing and the electrolyte analyzer receiving the calibration instruction, and the electrolyte analyzer is calibrated by the calibration fluid, comprising: Analyze the first test result, the second test result, the third test result, and the fourth test result to obtain the cause of the quality control failure; According to the cause of the quality control failure, adjusting the electrolyte analyzer; Associating the quality control failure cause with the instrument state parameter, operating environment parameter, slope parameter and drift value parameter when the quality control failure cause occurs to obtain an actual data set; Merging the actual data set and the target training data set to obtain a second training data set; Retraining the calibration fault cause prediction model according to the second training data set to obtain an updated calibration fault cause prediction model; Returning to the step in which, in response to the calibration being passed, the electrolyte analyzer receives the quality control calibration instruction, and performs quality control calibration on the electrolyte analyzer using the quality control sample.
6. The calibration fault handling method for an electrolyte analyzer according to claim 3, characterized in that: The step of performing electrolyte analysis on the sample to be detected according to the sample information of the sample to be detected and outputting the analysis result comprises: Scanning the sample to be detected to obtain coding information of the sample to be detected; According to the coding information, sample information of the sample to be tested is obtained through the LIS laboratory information management system, wherein the sample information includes sample type and test items; Preprocessing the sample to be detected according to the sample type to obtain a target detection sample; According to the detection items, the target detection sample is extracted for electrolyte analysis, the analysis result is obtained, and the analysis result is automatically printed to generate an electrolyte analysis report.
7. The method for handling calibration faults of an electrolyte analyzer according to claim 6, characterized in that: The step of preprocessing the sample to be detected according to the sample type to obtain a target detection sample includes: If the sample type is a urine sample, dilute the sample to be tested according to a preset dilution ratio and a urine diluent, wherein the preset dilution ratio is 1:9; Detecting the temperature of the sample to be detected to obtain the sample temperature; If the sample temperature is lower than the preset sample temperature, the sample to be detected is heated to obtain a target detection sample.
8. The method for handling calibration faults of an electrolyte analyzer according to claim 1, characterized in that: The preset order is determined based on the usage frequency and expiration risk of the preset reagents.
9. The calibration fault handling method of an electrolyte analyzer according to claim 1, characterized in that: The electrolyte analyzer receives a self-test instruction and controls the electrolyte analyzer to perform a self-test, comprising: Acquiring reagent card information of each of the preset reagents, wherein the reagent card information includes reagent type, production date, expiration date, and remaining amount of the reagent; Determining whether each of the preset reagents is within the validity period according to the production date and the expiration date; If there is a preset reagent that has exceeded its validity period or a preset reagent whose remaining amount is less than or equal to a remaining amount threshold, control the display of the electrolyte analyzer to display a replacement reminder message, wherein the replacement reminder message includes the type of the reagent to be replaced; If there is no preset reagent that has exceeded its validity period and the remaining amount of the reagent is greater than the remaining amount threshold, the self-test passes; In response to the replacement of the reagent card and the preset reagent, updating the reagent card information; According to the updated reagent card information and the type of the reagent to be replaced, determining whether the replaced preset reagent matches the type of the reagent to be replaced; If they match, the actual temperature of the replaced preset reagent is obtained; If there is no match or the actual temperature does not fall within the preset temperature range, the display is controlled to display a reagent replacement failure message.
10. An electrolyte analyzer calibration fault processing system, characterized in that: The system includes: a sample injection device, a sampling device, an analysis device, a display device and a controller, wherein the sample injection device is used to receive a sample to be detected and obtain sample information of the sample to be detected, the sampling device is used to selectively absorb the sample to be detected or absorb the calibration liquid, the analysis device is used to perform electrolyte analysis on the sample to be detected, the display device is used to display prompt information or analysis results, and the controller is used to execute the calibration fault handling method of the electrolyte analyzer according to any one of claims 1 to 9.
Citation Information
Patent Citations
An automatic marking method and device for optical communication system single board
CN101145840A
Failure state prediction for automated analyzers for analyzing a biological sample
CN110023764A