A calibration method and system suitable for peristaltic pump quantitative filling system
By combining linear correction and interpolation correction methods, the linear midpoint is calculated using the median method, the target angular displacement is determined and the amount of dispensing fluid is measured and corrected, the problem of inaccurate correction of the peristaltic pump quantitative dispensing system in the prior art is solved, and higher correction accuracy and effectiveness are achieved.
Patent Information
- Application Number
- CN202211741595.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2042-12-30
AI Technical Summary
The calibration method of the existing peristaltic pump quantitative dispensing system has nonlinear errors and invalid iterative cycles, resulting in inaccurate correction.
A comprehensive linear correction method and interpolation correction method are used to obtain multiple groups of effective data, calculate the linear midpoint through the median method, determine the target angular displacement, and measure and correct the aggregation volume until the accuracy requirements are met.
The calibration accuracy of the peristaltic pump quantitative dispensing system is improved, the impact of human error is reduced, and the effectiveness of the calibration process is ensured.
Smart Images

Figure CN116241439B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of peristaltic pump dispensing liquid quantity calibration, and in particular to a calibration method and system suitable for a peristaltic pump quantitative dispensing system. Background Art
[0002] Peristaltic pumps can be used for quantitative dispensing operations. Due to the error of the elastic hose and its nonlinear deformation during the extrusion process, the actual amount of liquid dispensed and the angle of rotation of the pump head have nonlinear changes. Therefore, in practical applications, in order to obtain the amount of liquid dispensed that meets the accuracy requirements, it needs to be calibrated.
[0003] Existing correction methods include linear correction and interpolation correction. However, the correction using the linear correction method has nonlinear errors and inaccurate correction results. For difference correction, the correction process is prone to enter an invalid iteration cycle, which leads to inaccurate correction. Summary of the invention
[0004] The purpose of the present invention is to provide a calibration method and system suitable for a peristaltic pump quantitative dispensing system, so as to improve the calibration accuracy of the peristaltic pump quantitative dispensing system.
[0005] To solve the above technical problems, the embodiments of this specification are implemented as follows:
[0006] In a first aspect, a calibration method applicable to a peristaltic pump quantitative dispensing system is provided, comprising:
[0007] Based on the linear correction method and the interpolation correction method, n groups of valid data of the peristaltic pump quantitative filling system are obtained and encoded in sequence; the valid data include the angular displacement of the roller rotation of the peristaltic pump quantitative filling system and the actual filling flow rate; n is greater than or equal to 3;
[0008] sorting the angular displacements in the n groups of valid data by magnitude to obtain sorted valid data;
[0009] Calculate the linear midpoint of each two adjacent sorted valid data using the median method, and encode them in sequence;
[0010] Obtain two adjacent linear midpoints and record them as target linear midpoints;
[0011] The target angular displacement corresponding to the target liquid volume is obtained by combining the two target linear midpoints with a linear algorithm;
[0012] Determine whether the target angular displacement is in a negative flow interval to obtain a first determination result;
[0013] If the first judgment result is yes, the filling starting point position of the peristaltic pump quantitative filling system is adjusted, and the process returns to the step of "obtaining n groups of valid data of the peristaltic pump quantitative filling system based on the linear correction method and the interpolation correction method".
[0014] Optionally, the method further includes:
[0015] If the first judgment result is no, performing a dispensing operation based on the target angular displacement to obtain a measurement value of the dispensing liquid volume;
[0016] It is determined whether the measured value of the sub-packaging liquid volume is the target liquid volume to obtain a second determination result; if the second determination result is yes, the calibration is completed.
[0017] Optionally, the method further includes:
[0018] If the second judgment result is no, taking the measured values of the target angular displacement and the amount of the dispensed liquid as a new set of valid data, and using the new valid data to replace the valid data with the earliest acquisition time among the n sets of valid data;
[0019] The angular displacements of the replaced n groups of valid data are sorted by size, and the process returns to the step of "using the median method to calculate the linear midpoints of every two adjacent sorted valid data, and encoding them in sequence".
[0020] Optionally, the method of obtaining n groups of valid data of the peristaltic pump quantitative filling system based on the linear correction method and the interpolation correction method, and encoding them in sequence, specifically includes:
[0021] The first set of valid data is obtained by combining the empirical coefficients with the linear correction method;
[0022] Based on the first set of valid data, obtaining a second set of valid data using the linear correction method;
[0023] Based on the first group of valid data and the second group of valid data, a third group of valid data is obtained by using an interpolation correction method.
[0024] Optionally, the method further includes:
[0025] Based on the second group of valid data and the third group of valid data, a fourth group of valid data is obtained by using the interpolation correction method.
[0026] Optionally, the using of the median method to calculate the linear midpoint of each two adjacent sorted valid data and encoding them in sequence specifically includes:
[0027] Calculating a first linear midpoint using a median method for the first set of valid data and the second set of valid data;
[0028] The second linear midpoint is calculated for the second group of valid data and the third group of valid data using the median method.
[0029] Optionally, the using of the median method to calculate the linear midpoint of each two adjacent sorted valid data and encoding them in sequence specifically includes:
[0030] Calculating a first linear midpoint using a median method for the first set of valid data and the second set of valid data;
[0031] The second linear midpoint is calculated for the third group of valid data and the fourth group of valid data using the median method.
[0032] In a second aspect, a calibration system suitable for a peristaltic pump quantitative dispensing system is provided, comprising:
[0033] A data acquisition module is used to acquire n groups of valid data of the peristaltic pump quantitative filling system based on a linear correction method and an interpolation correction method, and encode them in sequence; the valid data includes the angular displacement of the roller rotation of the peristaltic pump quantitative filling system and the actual filling flow rate; n is greater than or equal to 3;
[0034] A sorting module, used for sorting the angular displacements in the n groups of valid data to obtain sorted valid data;
[0035] A linear midpoint calculation module, used to calculate the linear midpoint of each two adjacent sorted valid data using the median method, and encode them in sequence;
[0036] A target linear midpoint determination module is used to obtain two adjacent linear midpoints and record them as target linear midpoints;
[0037] A target angular displacement calculation module, used to obtain a target angular displacement corresponding to a target liquid volume according to the two target linear midpoints combined with a linear algorithm;
[0038] A first judgment module, used to judge whether the target angular displacement is in a negative flow interval, and obtain a first judgment result;
[0039] The first adjustment module is used to adjust the filling starting point position of the peristaltic pump quantitative filling system if the first judgment result is yes, and return to the step of "obtaining n groups of valid data of the peristaltic pump quantitative filling system based on the linear correction method and the interpolation correction method".
[0040] Optionally, the system further includes:
[0041] A packaging module, configured to perform a packaging operation based on the target angular displacement to obtain a measurement value of the packaging liquid volume if the first judgment result is no;
[0042] The second judgment module is used to judge whether the measured value of the packaging liquid volume is the target liquid volume, and obtain a second judgment result; if the second judgment result is yes, the calibration is completed.
[0043] Optionally, the system further includes:
[0044] a replacement module, configured to, if the second judgment result is no, use the measured values of the target angular displacement and the amount of the dispensed liquid as a new set of valid data, and use the new valid data to replace the valid data with the earliest acquisition time among the n sets of valid data;
[0045] The sorting and returning module is used to sort the angular displacements of the replaced n groups of valid data by size, and return to the step of "using the median method to calculate the linear midpoints of each two adjacent sorted valid data, and encode them in sequence".
[0046] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:
[0047] This scheme combines the linear correction method and the interpolation correction method to obtain multiple sets of valid data, introduces the idea of multi-point correction, calculates the linear midpoint of the valid data to calculate the target angular displacement, measures the amount of liquid to be filled, and finally completes the correction. The correction process reduces the influence of human errors and improves the accuracy of the correction. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0049] Figure 1 A schematic diagram of the nonlinear error analysis of proportional calibration during linear correction provided by the present invention;
[0050] Figure 2 A schematic diagram showing the effect of human error on the correction process during interpolation correction provided by the present invention;
[0051] Figure 3 A schematic diagram showing the effect of the negative flow interval on the correction process during the interpolation correction provided by the present invention;
[0052] Figure 4 A schematic diagram of a flow rate-angular displacement curve provided by the present invention;
[0053] Figure 5 A flow chart of a calibration method applicable to a peristaltic pump quantitative dispensing system provided in Example 1 of the present invention;
[0054] Figure 6 A schematic diagram illustrating a three-point calibration process provided in Example 1 of the present invention;
[0055] Figure 7 Schematic diagram of compensation for human error by three-point correction provided in Example 1 of the present invention. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0057] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0058] Existing linear correction method: by measuring a set of valid data, calculating the proportional coefficient between the amount of liquid dispensed and the angular displacement, the correction is completed. Applying this coefficient, the angular displacement corresponding to the required amount of liquid dispensed is calculated. Figure 1 As shown in the figure, when D1 (angular displacement and flow rate) is used as the effective data to complete the calibration, the dotted line is the theoretical curve. When the correction coefficient is applied to calculate the angular displacement corresponding to the target liquid volume, nonlinear errors exist at points S1 and S2. Therefore, there is a nonlinear error in the correction using the linear correction method, and the correction result is inaccurate.
[0059] Existing interpolation correction method: 1. By measuring two sets of valid data, use the interpolation method to calculate the angular displacement corresponding to the target filling liquid volume. 2. Use the calculated angular displacement to perform a filling and measure the filling liquid volume. 3. If the filling liquid volume meets the system accuracy requirements, the correction is considered complete. If it does not meet the requirements, select the two sets of data closest to the target liquid volume from the valid data measured this time and the two sets of valid data used for calculation before, and use the interpolation method again to calculate the angular displacement corresponding to the target liquid volume. 4. Repeat steps 2-3 and iterate the correction until the filling liquid volume meets the system accuracy requirements, and the correction is considered complete. The following disadvantages exist: (1) When human errors are introduced, it will lead to multiple invalid iterations and even cause iterative correction failure. Figure 2As shown, when interpolation correction is applied. D1 and D2 are valid data for the first iterative correction, where D2 introduces human error. According to the interpolation correction algorithm, the new data D3 is calculated from the two data D1 and D2. Then, D2 and D3 are iterated twice to obtain data D4. Because the algorithm itself cannot distinguish the introduced human error data D2, D2 is always involved in subsequent iterations as boundary data, causing the iterative correction to infinitely approach an error value, and ultimately the iteration fails. (2) When the target liquid volume is in the negative flow area, since the flow curve in this interval is a non-monotonic function, the interpolation correction will not be able to converge recursively, and the angular displacement calculated by interpolation will jump within a certain range. As shown Figure 3 As shown, when the interpolation correction method is applied. Points D1 and D2 are used as valid data for the initial iterative correction. According to the correction algorithm, the valid data D3 is calculated. Then D2 and D3 are used for secondary iterative correction. Since D3 is in the negative flow interval, after the secondary iterative correction based on D2 and D3, the new valid data D4 deviates further from the target liquid volume S. Therefore, the valid data D2 cannot be used as a new boundary condition for interpolation correction. At this point, the correction fails, and the correction process enters an invalid iterative loop. Therefore, the existing correction methods all have the problem of inaccurate correction.
[0060] The purpose of the present invention is to provide a calibration method and system suitable for a peristaltic pump quantitative filling system, so as to improve the calibration accuracy of the peristaltic pump quantitative filling system, and the method is suitable for a peristaltic pump filling system with a determined initial position and reproducibility.
[0061] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0062] Terminology explanation:
[0063] Peristaltic pump: also known as hose pump, generally refers to a device that transfers fluid by squeezing and releasing an elastic hose.
[0064] Calibration: The process of adjusting relevant parameters (roller rotation angular displacement A) to make the final output result (liquid volume) meet certain requirements (the actual liquid volume does not exceed the required error range).
[0065] Negative flow interval: Due to the particularity of the peristaltic pump to transfer fluid by squeezing the release hose through the roller, the fluid at the pump head outlet flows back during the process of the roller releasing the hose. At this time, the interval corresponding to the roller angular displacement is the negative flow interval. Figure 4 shown.
[0066] Positive flow interval: Corresponding to the negative flow interval, when the roller squeezes the hose, liquid flows out from the outlet of the pump head. At this time, the interval corresponding to the roller angular displacement is the positive flow interval.
[0067] Nonlinearity: When the peristaltic pump roller squeezes and releases the hose, the amount of liquid per unit angular displacement changes greatly. When the roller rotates to certain positions, the amount of liquid per unit angular displacement may be zero or even negative.
[0068] Valid data: During the calibration process, the angle of the roller rotation and the actual packaging flow rate obtained by weighing are combined into a set of valid data.
[0069] Reproducibility: When the roller repeats the movement with the same parameters (including starting position, hose state, rotation angular velocity, end position, characteristics of the transmitted fluid, etc.), the error of the amount of liquid dispensed meets the actual needs, and the system is said to be reproducible. The reproducibility of the system is one of the conditions for it to be calibrated.
[0070] Dispense volume: The volume, mass or other effectively measurable characteristics of the fluid dispensed by the system are collectively referred to as the dispense volume.
[0071] Angular displacement: The angular displacement of the roller during the packaging process, hereinafter referred to as angular displacement.
[0072] Human error: During the calibration process, due to human factors such as human operation errors and liquid volume measurement errors, the effective data error exceeds the error range required by the system. This is called human error.
[0073] Liquid volume curve: A binary curve based on the actual liquid volume and the roller angular displacement is called a flow curve. Analysis of the flow curve is helpful to determine the applicability and reliability of the correction method.
[0074] Recursive convergence: generally refers to the process of obtaining an angular displacement corresponding to a certain amount of liquid after a finite number of corrections. During the correction process, the error between the actual amount of liquid and the target amount of liquid tends to decrease gradually.
[0075] Example 1
[0076] like Figure 5 As shown, this embodiment provides a calibration method applicable to a peristaltic pump quantitative dispensing system, comprising:
[0077] S1: Based on the linear correction method and the interpolation correction method, n groups of valid data of the peristaltic pump quantitative filling system are obtained and encoded in sequence; the valid data include the angular displacement of the roller rotation of the peristaltic pump quantitative filling system and the actual filling flow rate; n is greater than or equal to 3.
[0078] When n=3, step S1 may specifically include:
[0079] According to the empirical coefficients and the linear correction method, a first set of valid data D1 is obtained;
[0080] Based on the first group of valid data D1, a second group of valid data D2 is obtained by using the linear correction method.
[0081] Based on the first group of valid data D1 and the second group of valid data D2, a third group of valid data D3 is obtained by using the interpolation correction method.
[0082] When n=4, step S1 may specifically include:
[0083] Specifically include:
[0084] According to the empirical coefficients and the linear correction method, a first group of valid data E1 is obtained;
[0085] Based on the first group of valid data E1, a second group of valid data E2 is obtained by using the linear correction method.
[0086] Based on the first group of valid data E1 and the second group of valid data E2, the third valid data E3 is obtained by using the interpolation correction method.
[0087] Based on the second group of valid data E2 and the third valid data E3, fourth valid data E4 is obtained by using the interpolation correction method.
[0088] S2: sorting the angular displacements in the n groups of valid data by magnitude to obtain sorted valid data.
[0089] S3: Calculate the linear midpoint of every two adjacent sorted valid data using the median method, and encode them in sequence.
[0090] When n=3, the corresponding step S3 may specifically include:
[0091] The first linear midpoint M1 is calculated for the first group of valid data D1 and the second group of valid data D2 using the median method.
[0092] The second linear midpoint M2 is calculated for the second group of valid data D2 and the third group of valid data D3 using the median method.
[0093] When n=4, the corresponding step S3 may specifically include:
[0094] The first linear midpoint N1 is calculated for the first group of valid data E1 and the second group of valid data E2 using the median method.
[0095] The second linear midpoint N2 is calculated for the third group of valid data E3 and the fourth group of valid data E4 using the median method.
[0096] S4: Obtain two adjacent linear midpoints and record them as target linear midpoints.
[0097] S5: Obtain the target angular displacement corresponding to the target liquid volume according to the two target linear midpoints combined with a linear algorithm.
[0098] S6: Determine whether the target angular displacement is in a negative flow interval, and obtain a first determination result.
[0099] If the first judgment result is yes, the filling starting point position of the peristaltic pump quantitative filling system is adjusted, and the process returns to the step of "obtaining n groups of valid data of the peristaltic pump quantitative filling system based on the linear correction method and the interpolation correction method".
[0100] If the first judgment result is no, a dispensing is performed based on the target angular displacement to obtain a measurement value of the dispensing liquid volume.
[0101] S7: Determine whether the measured value of the dispensing liquid volume is the target liquid volume, and obtain a second determination result;
[0102] If the second judgment result is yes, the calibration is completed.
[0103] If the second judgment result is no, the measured values of the target angular displacement and the amount of the filling liquid are taken as a new set of valid data, and the new valid data are used to replace the valid data with the earliest acquisition time among the n sets of valid data; the angular displacements of the replaced n sets of valid data are sorted by size, and the step of "using the median method to calculate the linear midpoint of each two adjacent sorted valid data, and encoding them in sequence" is returned until the correction is completed.
[0104] In order to enable those skilled in the art to more clearly understand the solution of the present invention, a detailed three-point correction method and a four-point correction method are introduced below.
[0105] By continuously measuring n (n) = 3) valid data (these valid data can be obtained by linear correction and interpolation correction in the above-mentioned background technology), these valid data are arranged from small to large based on angular displacement, and then a function curve is obtained through logical calculation. According to the function curve, the angular displacement corresponding to the target liquid volume is calculated. Use the calculated angular displacement to perform a subpackaging and measure the subpackaging liquid volume. If the subpackaging liquid volume meets the requirements, the calibration is considered to be completed. If not, the data is used to replace the earliest measured data in the valid data group, and the calculation and correction are rearranged until the calibration is completed.
[0106] (1) Three-point correction
[0107] (1) Use the empirical coefficient and linear correction method to obtain the first set of valid data. The empirical coefficient is a hose correction coefficient obtained by using a large amount of experimental data and a statistical algorithm. This coefficient can characterize the flow characteristics of this type of hose within a certain range. Applying this empirical coefficient can obtain a relatively ideal first set of valid parameters that is conducive to rapid completion of the correction.
[0108] (2) Based on the first set of valid data, a second set of valid data is obtained using a linear correction method.
[0109] (3) Based on the first two sets of valid data, the third set of valid data is obtained by using the interpolation correction method.
[0110] (4) Using these three sets of valid data as the valid data set for three-point correction, they are rearranged from small to large based on the angular displacement to obtain valid data arrangements D1, D2, and D3.
[0111] (5) Use the median method to calculate the linear midpoint M1 of D1 and D2. Similarly, calculate the midpoint M2 of D2 and D3.
[0112] (6) Using the median data of M1 and M2, the angular displacement corresponding to the target liquid volume is calculated based on a linear algorithm. If the angular displacement enters the negative flow area, the system's dispensing starting point position is adjusted and the calibration step (1) is returned.
[0113] (7) Perform a dispensing operation using the calculated angular displacement and measure the amount of liquid dispensed.
[0114] (8) If the volume of the dispensed liquid meets the system accuracy requirements, the calibration is considered complete. If it does not meet the requirements, the valid data is used to replace the earliest set of data in the valid data group. Here, "earliest" refers to the earliest acquisition time. The first replacement replaces the first set of data, and the second replacement replaces the second set of data.
[0115] (9) Repeat steps (4) to (8) until the calibration is completed.
[0116] The improvement of three-point correction is as follows:
[0117] ① Automatically avoid negative flow intervals. Recursive convergence can be achieved.
[0118] ② By replacing the earliest data in the data group, the influence of human errors can be gradually eliminated during the iteration process.
[0119] ③Reduce the impact of individual human errors on the correction process by sorting and median processing the data.
[0120] like Figure 6, three-point correction process description. D1, D2 are used as valid data for the first iteration. Based on the interpolation correction method, the valid data D3 is calculated. Arrange D1, D2, D3 according to the angular displacement from small to large to obtain the valid data series D1, D2, D3. The midpoint M1 of D1 and D2 is calculated, and the midpoint M2 of D2 and D3 is calculated similarly. Use M1 and M2 as valid data to obtain the new valid data D4 based on linear operation. The figure shows that D4 is close to the target value S1, and the correction is theoretically completed.
[0121] like Figure 7 , three-point correction can reduce the impact of human error on accuracy. Human error leads to large errors in the effective data D1 and D3. By introducing the median calculation, its impact on the correction result can be reduced, and then the effective data D4 after the second iteration is close to the target value S1.
[0122] Measured data
[0123] Liquid volume target value: 850uL
[0124] Angular displacement: 6400ustep / Rad
[0125]
[0126] (2) Four-point calibration
[0127] (1) Using the empirical coefficients and the linear correction method, the first set of valid data is obtained.
[0128] (2) Based on the first set of valid data, a second set of valid data is obtained using a linear correction method.
[0129] (3) Based on the first two sets of valid data, the third set of valid data is obtained by using the interpolation correction method.
[0130] (4) Based on the latest two sets of valid data, the fourth set of valid data is obtained by using the interpolation correction method.
[0131] (5) Using these four sets of valid data as the valid data set for four-point correction, they are rearranged from small to large based on the angular displacement to obtain valid data arrangements E1, E2, E3, and E4.
[0132] (7) Use the median method to calculate the linear midpoint N1 of E1 and E2. Similarly, calculate the midpoint N2 of E3 and E4.
[0133] (8) Using the median data of N1 and N2, the angular displacement corresponding to the target liquid volume is calculated based on a linear algorithm. If the angular displacement enters the negative flow area, the system's dispensing starting point position is adjusted and the calibration step (1) is returned.
[0134] (9) Perform a dispensing operation using the calculated angular displacement and measure the amount of liquid dispensed.
[0135] (10) If the volume of the dispensed liquid meets the system accuracy requirements, the calibration is considered complete. If it does not meet the requirements, the valid data will replace the earliest set of data in the valid data set.
[0136] (11) Repeat steps (5) to (10) until the calibration is completed.
[0137] The advantages of four-point calibration are:
[0138] 1. It is applicable to both negative flow intervals and non-negative flow intervals, and can achieve recursive convergence.
[0139] 2. By replacing the earliest data in the data group, the influence of human errors can be gradually eliminated during the iteration process.
[0140] 3. By sorting and median processing the data, the impact of individual human errors on the correction process can be reduced.
[0141] The disadvantages of four-point correction are:
[0142] 1. Iterative recursion speed is reduced
[0143] 2. During the iteration process, human error affects the steps for a longer time, and it takes 4 times to eliminate the valid array.
[0144] Example 2
[0145] This embodiment provides a calibration system suitable for a peristaltic pump quantitative dispensing system, comprising:
[0146] A data acquisition module is used to acquire n groups of valid data of the peristaltic pump quantitative filling system based on a linear correction method and an interpolation correction method, and encode them in sequence; the valid data includes the angular displacement of the roller rotation of the peristaltic pump quantitative filling system and the actual filling flow rate; n is greater than or equal to 3;
[0147] A sorting module, used for sorting the angular displacements in the n groups of valid data to obtain sorted valid data;
[0148] A linear midpoint calculation module, used to calculate the linear midpoint of each two adjacent sorted valid data using the median method, and encode them in sequence;
[0149] A target linear midpoint determination module is used to obtain two adjacent linear midpoints and record them as target linear midpoints;
[0150] A target angular displacement calculation module, used to obtain a target angular displacement corresponding to a target liquid volume according to the two target linear midpoints combined with a linear algorithm;
[0151] A first judgment module, used to judge whether the target angular displacement is in a negative flow interval, and obtain a first judgment result;
[0152] The first adjustment module is used to adjust the filling starting point position of the peristaltic pump quantitative filling system if the first judgment result is yes, and return to the step of "obtaining n groups of valid data of the peristaltic pump quantitative filling system based on the linear correction method and the interpolation correction method".
[0153] Optionally, in one or more embodiments, the system may further include:
[0154] A packaging module, configured to perform a packaging operation based on the target angular displacement to obtain a measurement value of the packaging liquid volume if the first judgment result is no;
[0155] The second judgment module is used to judge whether the measured value of the packaging liquid volume is the target liquid volume, and obtain a second judgment result; if the second judgment result is yes, the calibration is completed.
[0156] Optionally, in one or more embodiments, the system may further include:
[0157] a replacement module, configured to, if the second judgment result is no, use the measured values of the target angular displacement and the amount of the dispensed liquid as a new set of valid data, and use the new valid data to replace the valid data with the earliest acquisition time among the n sets of valid data;
[0158] The sorting and returning module is used to sort the angular displacements of the replaced n groups of valid data by size, and return to the step of "using the median method to calculate the linear midpoints of each two adjacent sorted valid data, and encode them in sequence".
[0159] Optionally, in one or more embodiments, the system may further include:
[0160] The second judgment module is used to judge whether the measured value of the filling liquid volume is the target liquid volume, and obtain a second judgment result; if the second judgment result is yes, the calibration is completed; if the second judgment result is no, the target angular displacement and the measured value of the filling liquid volume are used as a new set of valid data, and the new valid data are used to replace the valid data with the earliest acquisition time among the n sets of valid data; the angular displacements of the replaced n sets of valid data are sorted by size, and return to the step of "using the median method to calculate the linear midpoint of each two adjacent sorted valid data, and encode them in sequence".
[0161] Optionally, in one or more embodiments, the data acquisition module may specifically include:
[0162] A first data acquisition unit, used to obtain a first set of valid data D1 according to the empirical coefficients combined with the linear correction method;
[0163] A second data acquisition unit, configured to obtain a second group of valid data D2 based on the first group of valid data D1 by using the linear correction method;
[0164] The third data acquisition unit is used to obtain a third group of valid data D3 based on the first group of valid data D1 and the second group of valid data D2 by using the interpolation correction method.
[0165] Optionally, in one or more embodiments, the data acquisition module may specifically include:
[0166] A fourth data acquisition unit, configured to obtain a first set of valid data E1 according to the empirical coefficients in combination with the linear correction method;
[0167] a fifth data acquisition unit, configured to obtain a second group of valid data E2 by using the linear correction method based on the first group of valid data E1;
[0168] The sixth data acquisition unit is used to obtain third valid data E3 by using the interpolation correction method based on the first group of valid data E1 and the second group of valid data E2.
[0169] The seventh data acquisition unit is used to obtain fourth valid data E4 by using the interpolation correction method based on the second group of valid data E2 and the third valid data E3.
[0170] Optionally, in one or more embodiments, the linear midpoint calculation module specifically includes:
[0171] A first linear midpoint calculation unit, configured to calculate a first linear midpoint M1 for the first group of valid data D1 and the second group of valid data D2 using the median method;
[0172] The second linear midpoint calculation unit is used to calculate the second linear midpoint M2 of the second group of valid data D2 and the third group of valid data D3 by using the median method.
[0173] Optionally, in one or more embodiments, the linear midpoint calculation module specifically includes:
[0174] A third linear midpoint calculation unit, configured to calculate a first linear midpoint N1 for the first group of valid data E1 and the second group of valid data E2 using the median method;
[0175] The fourth linear midpoint calculation unit is used to calculate the second linear midpoint N2 of the third group of valid data E3 and the fourth group of valid data E4 by using the median method.
[0176] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0177] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A calibration method for a peristaltic pump quantitative filling system, characterized in that: include: Based on the linear correction method and the interpolation correction method, n groups of valid data of the peristaltic pump quantitative filling system are obtained and encoded in sequence; the valid data include the angular displacement of the roller rotation of the peristaltic pump quantitative filling system and the actual filling flow rate; n is greater than or equal to 3; sorting the angular displacements in the n groups of valid data by magnitude to obtain sorted valid data; Calculate the linear midpoint of each two adjacent sorted valid data using the median method, and encode them in sequence; Obtain two adjacent linear midpoints and record them as target linear midpoints; The target angular displacement corresponding to the target liquid volume is obtained by combining the two target linear midpoints with a linear algorithm; Determine whether the target angular displacement is in a negative flow interval, and obtain a first determination result; the negative flow interval is an interval corresponding to the roller angular displacement when the peristaltic pump squeezes and releases the hose through the roller to transmit the fluid, causing the fluid at the pump head outlet to reflux during the process of the roller releasing the hose; If the first judgment result is yes, the filling starting point position of the peristaltic pump quantitative filling system is adjusted, and the process returns to the step of "obtaining n groups of valid data of the peristaltic pump quantitative filling system based on the linear correction method and the interpolation correction method".
2. The method according to claim 1, characterized in that The method further comprises: If the first judgment result is no, performing a dispensing operation based on the target angular displacement to obtain a measurement value of the dispensing liquid volume; It is determined whether the measured value of the sub-packaging liquid volume is the target liquid volume to obtain a second determination result; if the second determination result is yes, the calibration is completed.
3. The method according to claim 2, characterized in that The method further comprises: If the second judgment result is no, taking the measured values of the target angular displacement and the amount of the dispensed liquid as a new set of valid data, and using the new valid data to replace the valid data with the earliest acquisition time among the n sets of valid data; The angular displacements of the n groups of replaced valid data are sorted by size, and the process returns to the step of "using the median method to calculate the linear midpoints of each two adjacent sorted valid data, and encoding them in sequence".
4. The method according to claim 1, characterized in that The method of obtaining n groups of valid data of the peristaltic pump quantitative filling system based on the linear correction method and the interpolation correction method and encoding them in sequence specifically includes: The first set of valid data is obtained by combining the empirical coefficients with the linear correction method; Based on the first set of valid data, obtaining a second set of valid data using the linear correction method; Based on the first group of valid data and the second group of valid data, a third group of valid data is obtained by using an interpolation correction method.
5. The method according to claim 4, characterized in that The method further comprises: Based on the second group of valid data and the third group of valid data, a fourth group of valid data is obtained by using the interpolation correction method.
6. The method according to claim 4, characterized in that The method of calculating the linear midpoint of each two adjacent sorted valid data by the median method and encoding them in sequence specifically includes: Calculating a first linear midpoint using a median method for the first set of valid data and the second set of valid data; The second linear midpoint is calculated for the second group of valid data and the third group of valid data using the median method.
7. The method according to claim 5, characterized in that The method of calculating the linear midpoint of each two adjacent sorted valid data by the median method and encoding them in sequence specifically includes: Calculating a first linear midpoint using a median method for the first set of valid data and the second set of valid data; The second linear midpoint is calculated for the third group of valid data and the fourth group of valid data using the median method.
8. A calibration system suitable for a peristaltic pump quantitative filling system, characterized in that: include: A data acquisition module is used to acquire n groups of valid data of the peristaltic pump quantitative filling system based on a linear correction method and an interpolation correction method, and encode them in sequence; the valid data includes the angular displacement of the roller rotation of the peristaltic pump quantitative filling system and the actual filling flow rate; n is greater than or equal to 3; A sorting module, used for sorting the angular displacements in the n groups of valid data to obtain sorted valid data; A linear midpoint calculation module, used to calculate the linear midpoint of each two adjacent sorted valid data using the median method, and encode them in sequence; A target linear midpoint determination module is used to obtain two adjacent linear midpoints and record them as target linear midpoints; A target angular displacement calculation module, used to obtain a target angular displacement corresponding to a target liquid volume according to the two target linear midpoints combined with a linear algorithm; The first judgment module is used to judge whether the target angular displacement is in a negative flow interval, and obtain a first judgment result; the negative flow interval is the interval corresponding to the roller angular displacement when the peristaltic pump squeezes and releases the hose through the roller to transmit the fluid, resulting in the fluid reflux at the outlet of the pump head during the process of the roller releasing the hose; The first adjustment module is used to adjust the filling starting point position of the peristaltic pump quantitative filling system if the first judgment result is yes, and return to the step of "obtaining n groups of valid data of the peristaltic pump quantitative filling system based on the linear correction method and the interpolation correction method".
9. The system according to claim 8, characterized in that The system further comprises: A packaging module, configured to perform a packaging operation based on the target angular displacement to obtain a measurement value of the packaging liquid volume if the first judgment result is no; The second judgment module is used to judge whether the measured value of the packaging liquid volume is the target liquid volume, and obtain a second judgment result; if the second judgment result is yes, the calibration is completed.
10. The system according to claim 9, characterized in that The system further comprises: a replacement module, configured to, if the second judgment result is no, use the measured values of the target angular displacement and the amount of the dispensed liquid as a new set of valid data, and use the new valid data to replace the valid data with the earliest acquisition time among the n sets of valid data; The sorting and returning module is used to sort the angular displacements of the n groups of valid data after replacement, and return to the step of "using the median method to calculate the linear midpoints of each two adjacent sorted valid data, and encode them in sequence".
Citation Information
Patent Citations
Control method for flow of blood purification peristaltic pump
CN103520786A
Intelligent flow correction method and system for peristaltic pump
CN106168209A