Determination method and system for determining content proportion of liquid solvent
The buoyancy value is measured by buoyancy sensors and data converters, and a solvent proportional model is established, which solves the inaccurate and complexity of liquid solvent content determination in the prior art, and realizes a more accurate and simple measurement method, which is suitable for a variety of liquid mixtures.
Patent Information
- Application Number
- CN202411509964.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2024-11-26
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art has inaccuracy and operational complexity in determining the proportion of liquid solvent content, especially in complex mixed solutions, and has high skills requirements for experimental personnel.
The measurement system is constructed using buoyancy sensors and data converters. By measuring the buoyancy values of pure solution and mixed solution, a model is established for converting buoyancy values into solvent ratios. Linear regression analysis and data processing technology are used to simplify operations and improve measurement accuracy.
It realizes accurate determination of the liquid solvent content ratio, reduces the requirements for the skills of the experimenter, is suitable for multiple types of liquid mixtures, simplifies the operation process, and quickly generates result reports through modern data processing technology.
Smart Images

Figure CN119023914A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of chemical analysis, and in particular relates to a method and a system for determining the content ratio of a liquid solvent. Background Art
[0002] In chemical analysis and quantitative research of liquid mixtures, it is crucial to accurately determine the proportion of liquid solvent content. This process usually relies on traditional measurement techniques, including but not limited to spectral analysis, chemical titration and other methods. These traditional techniques are widely used in laboratories and have a certain application basis, but they also have some shortcomings.
[0003] For example, spectral analysis is a technique that quantitatively analyzes the content of each component in a solution by measuring the absorption or scattering of light by the sample. This method requires expensive instruments and complex sample preparation, and it is difficult to interpret the results for multi-component mixed liquids. In addition, changes in the optical properties of the sample may also lead to inaccurate measurements.
[0004] Chemical titration Chemical titration determines the concentration of a solution by gradually adding reagents until the endpoint of a chemical reaction is reached. Titration generally requires a high level of experimental skill and experience, and the selectivity of the reaction and the determination of the endpoint may be affected by interfering substances, resulting in inaccuracy.
[0005] Although traditional measurement techniques have certain effectiveness in the determination of liquid solvent ratios, they are prone to inaccurate measurements and complex operations due to their inherent limitations, especially in complex mixed solutions. Therefore, it is urgent to develop new, more accurate and efficient methods to improve the determination accuracy of liquid solvent content ratios. Summary of the invention
[0006] The purpose of the present invention is to provide a method and system for determining the content ratio of liquid solvents, which solves the technical problem of accurately determining the content ratios of different solutions.
[0007] To achieve the above object, the present invention adopts the following technical solution: A method for determining the content ratio of a liquid solvent comprises the following steps: Step 1: Establish a measuring system for measuring the proportion of liquid solvent content, the measuring system comprising a buoyancy sensor, a data converter and a display; Step 2: Measure the buoyancy values of various pure solutions through the buoyancy sensor, and the data converter obtains the buoyancy value of the pure solution from the buoyancy sensor and stores the records to obtain a pure solution buoyancy database; Step 3: For any two solutions, prepare a plurality of mixed solutions of different concentrations after mixing the two solutions, and measure the buoyancy of the mixed solutions using a buoyancy sensor; For a mixed solution of a certain concentration, the buoyancy value of the mixed solution at the concentration is measured by a buoyancy sensor, and multiple tests are performed; the data converter acquires the data of the buoyancy sensor in real time, obtains a set of buoyancy values at the concentration, and establishes a buoyancy value data set at the concentration; Step 4: Construct a model to convert buoyancy value into solvent ratio. The specific formula is as follows: y = ax 2 + bx + c; Among them, y is the buoyancy value, x is the proportion of a solution in the mixed solution, a is the coefficient of the quadratic term, b is the coefficient of the linear term, and c is the constant term; Step 5: Based on the buoyancy data set, linear regression analysis is used to fit the buoyancy value into a solvent ratio model to obtain the three parameters a, b, and c; Step 6: Convert the buoyancy value into a solvent ratio model for training and optimize the three parameters a, b, and c; Step 7: Calculate the proportion of a certain solution in the test solution according to the trained buoyancy value converted into a solvent ratio model and the buoyancy value of the test solution measured by the buoyancy sensor; and generate a result report; Step 8: The data converter displays the result report on the display.
[0008] Preferably, when executing step 3, the specific steps are as follows: Step 3-1: Select two known solutions and prepare mixed solutions in different proportions to obtain mixed solutions at multiple different concentrations; Step 3-2: Use the buoyancy sensor to measure the mixed solution at each concentration multiple times, and the data converter reads the measurement value of the buoyancy sensor in real time and records the buoyancy value; Step 3-3: Construct a buoyancy value data set. The data structure of the buoyancy value data set is: concentration + buoyancy value set.
[0009] Preferably, when executing step 5, the following steps are specifically included: Step 5-1: construct a fitting data set based on the buoyancy value data set, wherein the fitting data set specifically obtains a buoyancy value set at a certain concentration, calculates the average value of the data in the buoyancy value set, and obtains the average buoyancy value; The average buoyancy value and the concentration are recombined to obtain a fitting data set, and the data structure of the fitting data set is: concentration + average buoyancy value; Step 5-2: Calculate the buoyancy value according to the following formula and convert it into the three parameters a, b, and c in the solvent ratio model: ; ; ; in, represents the average value of the solvent ratio, that is, the mean value of x, where x represents the solvent ratio, represents the average value of buoyancy, represents the actual buoyancy value of the i-th sample, x i represents the solvent ratio of the ith sample.
[0010] Preferably, when executing step 6, the specific steps are as follows: Step 6-1: Measure the mixed liquid at different concentrations, obtain multiple measurement results, and construct a data set based on the obtained data; Step 6-2: Divide the data set into training set and validation set; Step 6-3: Use the training set and fit the buoyancy value according to the method in step 5 to convert it into a solvent ratio model, and train and calculate the a, b, and c parameters; Step 6-4: Use cross validation and Grid Search methods to adjust parameters and select the best model; Step 6-5: Use the validation set to evaluate the model performance, specifically by calculating the mean square error (MSE) indicator, and evaluate the accuracy of the model based on the mean square error (MSE) indicator: ; in, represents the actual buoyancy value of the ith sample, represents the predicted buoyancy value of the i-th sample; Step 6-6: Output the trained model parameters and evaluation indicators, complete the optimization of the three parameters a, b, and c, and convert the trained buoyancy values into a solvent ratio model.
[0011] A measuring system for measuring the proportion of liquid solvent content comprises a buoyancy sensor, a data converter and a display. The buoyancy sensor is connected to the data converter, and the data converter is connected to the display.
[0012] Preferably, the model of the data converter is TJ-190SW03 embedded industrial computer.
[0013] The present invention discloses a method and system for determining the ratio of liquid solvent content, which solves the technical problem of accurately determining the ratio of the content of different solutions. The present invention utilizes buoyancy changes for direct measurement, reduces errors in traditional methods, and provides more accurate ratio data. Compared with complex chemical analysis, the scheme is simpler to operate, reduces the requirements for the skills of experimental personnel, and can be applied to various types of liquid mixtures, providing flexible solutions for different chemical analyses. Through modern data processing technology, the result report can be quickly generated to facilitate subsequent analysis and decision-making. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a flow chart of the present invention; Figure 2 The figure is a linear relationship curve diagram between the buoyancy and the solvent ratio after methanol is dissolved in dichloromethane according to the present invention. DETAILED DESCRIPTION
[0015] Example 1: Figure 1-Figure 2 A method for determining the proportion of liquid solvent content is shown, comprising the following steps: Step 1: Establish a measuring system for measuring the proportion of liquid solvent content, the measuring system comprising a buoyancy sensor, a data converter and a display; In this embodiment, the buoyancy sensor is a density meter. After the density meter measures the liquid density, the buoyancy of the liquid is finally calculated according to the Archimedean principle.
[0016] Step 2: Measure the buoyancy values of various pure solutions through the buoyancy sensor, and the data converter obtains the buoyancy value of the pure solution from the buoyancy sensor and stores the records to obtain a pure solution buoyancy database; In this embodiment, the pure solution is a solution that is not mixed, and its components are one solution component, such as methanol, dichloromethane, etc. When preparing the solution, the buoyancy value of the mixed solution can be compared with the buoyancy value of the pure solution in the database to help determine the mixing ratio, and in step 5, the parameters of the linear regression model can be adjusted through the buoyancy value in the database to ensure the accuracy of the fitting result.
[0017] Step 3: For any two solutions, prepare a plurality of mixed solutions of different concentrations after mixing the two solutions, and measure the buoyancy of the mixed solutions using a buoyancy sensor; For a mixed solution of a certain concentration, the buoyancy value of the mixed solution at the concentration is measured by a buoyancy sensor, and multiple tests are performed; the data converter acquires the data of the buoyancy sensor in real time, obtains a set of buoyancy values at the concentration, and establishes a buoyancy value data set at the concentration; In this embodiment, two known solutions such as methanol and dichloromethane are selected and mixed in different proportions to obtain mixed solutions of various concentrations such as 0%, 10%, 20%, etc. Each solution is measured at least 3 times.
[0018] When executing step 3, the specific steps are as follows: Step 3-1: Select two known solutions and prepare mixed solutions in different proportions to obtain mixed solutions at multiple different concentrations; Step 3-2: Use the buoyancy sensor to measure the mixed solution at each concentration multiple times, and the data converter reads the measurement value of the buoyancy sensor in real time and records the buoyancy value; Step 3-3: Construct a buoyancy value data set. The data structure of the buoyancy value data set is: concentration + buoyancy value set.
[0019] In this embodiment, the mixed solution is a mixture of two solutions, one of which is a desired component. When calculating the concentration, the concentration of the desired component is also calculated. For example, for methanol and dichloromethane, when methanol is used as the desired component, its mixed concentrations of 0%, 10%, and 20% are also the concentrations of methanol. Conversely, when dichloromethane is used as the desired component, its mixed concentrations of 0%, 10%, and 20% are also the concentrations of dichloromethane.
[0020] Step 4: Construct a model to convert buoyancy value into solvent ratio. The specific formula is as follows: y = ax 2 + bx + c; Among them, y is the buoyancy value, x is the proportion of a solution in the mixed solution, a is the coefficient of the quadratic term, b is the coefficient of the linear term, and c is the constant term; In actual calculation, y is the measured buoyancy value, which is calculated by the formula y = ax 2 + bx + c to perform the inverse operation and obtain x, which is the ratio of the solution. In this embodiment, y = ax 2 + bx + c represents the relationship between the buoyancy value y and the proportion x of the solution.
[0021] Step 5: Based on the buoyancy data set, linear regression analysis is used to fit the buoyancy value into a solvent ratio model to obtain the three parameters a, b, and c; When executing step 5, the specific steps include: Step 5-1: construct a fitting data set based on the buoyancy value data set, wherein the fitting data set specifically obtains a buoyancy value set at a certain concentration, calculates the average value of the data in the buoyancy value set, and obtains the average buoyancy value; The average buoyancy value and the concentration are recombined to obtain a fitting data set, and the data structure of the fitting data set is: concentration + average buoyancy value; Step 5-2: Calculate the buoyancy value according to the following formula and convert it into the three parameters a, b, and c in the solvent ratio model: ; ; ; in, represents the average value of the solvent ratio, that is, the mean value of x, where x represents the solvent ratio, represents the average value of buoyancy, represents the actual buoyancy value of the i-th sample, x i represents the solvent ratio of the ith sample.
[0022] Step 6: Convert the buoyancy value into a solvent ratio model for training and optimize the three parameters a, b, and c; In this embodiment, 10 mixed liquids with different concentrations can be selected for measurement, and each mixed liquid with a concentration is measured multiple times.
[0023] When executing step 6, the specific steps are as follows: Step 6-1: Measure the mixed liquid at different concentrations, obtain multiple measurement results, and construct a data set based on the obtained data; Step 6-2: Divide the data set into training set and validation set; Step 6-3: Use the training set and fit the buoyancy value according to the method in step 5 to convert it into a solvent ratio model, and train and calculate the a, b, and c parameters; Step 6-4: Use cross validation and Grid Search methods to adjust parameters and select the best model; Step 6-5: Use the validation set to evaluate the model performance, specifically by calculating the mean square error (MSE) indicator, and evaluate the accuracy of the model based on the mean square error (MSE) indicator: ; in, represents the actual buoyancy value of the ith sample, represents the predicted buoyancy value of the i-th sample; Step 6-6: Output the trained model parameters and evaluation indicators, complete the optimization of the three parameters a, b, and c, and convert the trained buoyancy values into a solvent ratio model.
[0024] Step 7: Calculate the proportion of a certain solution in the test solution according to the trained buoyancy value converted into a solvent ratio model and the buoyancy value of the test solution measured by the buoyancy sensor; and generate a result report; Step 8: The data converter displays the result report on the display.
[0025] Example 2: The measuring system for measuring the ratio of liquid solvent content described in Example 2 is applied to the measuring system for measuring the ratio of liquid solvent content described in Example 1, including a buoyancy sensor, a data converter and a display, the buoyancy sensor is connected to the data converter, and the data converter is connected to the display.
[0026] The model of the data converter is TJ-190SW03 embedded industrial computer.
[0027] In this embodiment, the buoyancy sensor is a liquid density meter, model KBD-120S, and the volume of the ball used for measurement is fixed. When used, the liquid density meter is connected to the industrial computer through a serial port, and the industrial computer obtains the liquid density ρ measured by the liquid density meter. 液体 Since the volume V of the ball used in the liquid density meter is fixed, the buoyancy can be calculated: F b =V⋅ρ 液体 ⋅g; Among them, ρ 液体 is the density of the liquid, F b is the buoyancy of the liquid, g is the acceleration due to gravity, ρ 液体 The value of is obtained by measuring the liquid density meter. The method of calculating the liquid buoyancy by pressure value is a prior art.
[0028] In this embodiment, the buoyancy value of the solution during the experiment is determined by the concentration and properties of the solvent. Since different reagents have different densities in the same volume, the buoyancy generated by the ball completely immersed in the solution will also be different.
[0029] For example, methanol is dissolved in dichloromethane, and its buoyancy value is converted into the solvent ratio model formula: Y=0.1279X 2 −0.21X+1.4322; Among them, the value of b is −0.21.
[0030] As shown in Table 1, when the two are mixed in different proportions, the buoyancy value of the solution will change. These changes can be sorted out into a linear relationship curve through the measured data, such as Figure 2 shown.
[0031] Table 1
[0032] The present invention discloses a method and system for determining the ratio of liquid solvent content, which solves the technical problem of accurately determining the ratio of the content of different solutions. The present invention utilizes buoyancy changes for direct measurement, reduces errors in traditional methods, and provides more accurate ratio data. Compared with complex chemical analysis, the scheme is simpler to operate, reduces the requirements for the skills of experimental personnel, and can be applied to various types of liquid mixtures, providing flexible solutions for different chemical analyses. Through modern data processing technology, the result report can be quickly generated to facilitate subsequent analysis and decision-making.
Claims
1. A method for determining the content ratio of a liquid solvent, characterized in that: The steps include: Step 1: Establish a measuring system for measuring the proportion of liquid solvent content, the measuring system comprising a buoyancy sensor, a data converter and a display; Step 2: Measure the buoyancy values of various pure solutions through the buoyancy sensor, and the data converter obtains the buoyancy value of the pure solution from the buoyancy sensor and stores the records to obtain a pure solution buoyancy database; Step 3: For any two solutions, prepare a plurality of mixed solutions of different concentrations after mixing the two solutions, and measure the buoyancy of the mixed solutions using a buoyancy sensor; For a mixed solution of a certain concentration, the buoyancy value of the mixed solution at the concentration is measured by a buoyancy sensor, and multiple tests are performed; the data converter acquires the data of the buoyancy sensor in real time, obtains a set of buoyancy values at the concentration, and establishes a buoyancy value data set at the concentration; Step 4: Construct a model to convert buoyancy value into solvent ratio. The specific formula is as follows: y = ax 2 + bx + c; Among them, y is the buoyancy value, x is the proportion of a solution in the mixed solution, a is the coefficient of the quadratic term, b is the coefficient of the linear term, and c is the constant term; Step 5: Based on the buoyancy data set, linear regression analysis is used to fit the buoyancy value into a solvent ratio model to obtain the three parameters a, b, and c; Step 6: Convert the buoyancy value into a solvent ratio model for training and optimize the three parameters a, b, and c; Step 7: Calculate the proportion of a certain solution in the solution to be tested based on the trained buoyancy value converted into a solvent ratio model and the buoyancy value of the solution to be tested measured by the buoyancy sensor; and generate a result report; Step 8: The data converter displays the result report on the display.
2. A method for determining the content ratio of a liquid solvent according to claim 1, characterized in that: When executing step 3, the specific steps are as follows: Step 3-1: Select two known solutions and prepare mixed solutions in different proportions to obtain mixed solutions at multiple different concentrations; Step 3-2: Use the buoyancy sensor to measure the mixed solution at each concentration multiple times, and the data converter reads the measurement value of the buoyancy sensor in real time and records the buoyancy value; Step 3-3: Construct a buoyancy value data set. The data structure of the buoyancy value data set is: concentration + buoyancy value set.
3. A method for determining the content ratio of a liquid solvent according to claim 2, characterized in that: When executing step 5, the specific steps include: Step 5-1: construct a fitting data set based on the buoyancy value data set, wherein the fitting data set specifically obtains a buoyancy value set at a certain concentration, calculates the average value of the data in the buoyancy value set, and obtains the average buoyancy value; The average buoyancy value and the concentration are recombined to obtain a fitting data set, and the data structure of the fitting data set is: concentration + average buoyancy value; Step 5-2: Calculate the buoyancy value according to the following formula and convert it into the three parameters a, b, and c in the solvent ratio model: ; ; ; in, represents the average value of the solvent ratio, that is, the mean value of x, where x represents the solvent ratio, represents the average value of buoyancy, represents the actual buoyancy value of the i-th sample, x i represents the solvent ratio of the ith sample.
4. A method for determining the content ratio of a liquid solvent according to claim 1, characterized in that: When executing step 6, the specific steps are as follows: Step 6-1: Measure the mixed liquid at different concentrations, obtain multiple measurement results, and construct a data set based on the obtained data; Step 6-2: Divide the data set into training set and validation set; Step 6-3: Use the training set and fit the buoyancy value according to the method in step 5 to convert it into a solvent ratio model, and train and calculate the a, b, and c parameters; Step 6-4: Use cross validation and Grid Search methods to adjust parameters and select the best model; Step 6-5: Use the validation set to evaluate the model performance, specifically by calculating the mean square error (MSE) indicator, and evaluate the accuracy of the model based on the mean square error (MSE) indicator: ; in, represents the actual buoyancy value of the ith sample, represents the predicted buoyancy value of the i-th sample; Step 6-6: Output the trained model parameters and evaluation indicators, complete the optimization of the three parameters a, b, and c, and convert the trained buoyancy values into a solvent ratio model.
5. A measuring system for measuring the ratio of liquid solvent content, applied to the measuring method for measuring the ratio of liquid solvent content according to any one of claims 1 to 4, characterized in that: The device comprises a buoyancy sensor, a data converter and a display. The buoyancy sensor is connected with the data converter, and the data converter is connected with the display.
6. A measuring system for measuring the proportion of liquid solvent content as claimed in claim 5, characterized in that: The model of the data converter is TJ-190SW03 embedded industrial computer.
Citation Information
Patent Citations
Polyvinyl acetate online concentration control unit
CN102945051A
Two phase fluid phase concentration measuring method based on main component analysis and neuron network
CN1410774A
Coriolis mass flowmeter for measuring a concentration
CN1639546A
Method for determining the concentration of a fluid solution and its use
EP1298427A1
Alcohol concentration meter
JP2008128750A
