Method, device and equipment for measuring pH value and storage medium
By obtaining the temperature value of the solution to be measured and the pH electrode voltage value, and correcting it according to the aging degree of pH electrode, the problem of measurement accuracy of the pH meter when the temperature changes is solved, and the accuracy of the pH value is improved.
Patent Information
- Application Number
- CN202411188899.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-26
AI Technical Summary
When the temperature changes in existing pH meters, the accuracy of measuring pH is affected, resulting in inaccurate measurement of hydrogen ion concentration in the solution.
By obtaining the temperature value of the solution to be tested and the voltage value of the pH electrode in the solution, and correcting it according to the aging degree of the pH electrode, combined with the synchronous influence of the temperature value, a more accurate pH value is determined.
Effectively eliminates the impact of pH electrode aging and temperature changes on pH measurement, and improves the accuracy of pH meter measurement.
Smart Images

Figure CN119023764A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of chemical experiments, and in particular to a pH value measurement method, device, equipment and storage medium. Background Art
[0002] A pH meter is an instrument used to measure the acidity or alkalinity of a solution. Its working principle is based on the concept of a galvanic cell, that is, the pH meter determines the hydrogen ion concentration of the solution through the change in potential between its own glass electrode and the reference electrode, and then measures the acidity or alkalinity of the solution.
[0003] However, in the above technical solution, as the temperature of the environment in which the solution is located changes, the degree of water ionization will be affected, causing the water's autodissociation equilibrium to change, thereby affecting the concentration of hydrogen ions in the solution determined based on the potential change, and ultimately affecting the accuracy of the pH value measured by the pH meter.
[0004] Therefore, how to improve the accuracy of pH value measured by pH meter has become a technical problem to be solved urgently. Summary of the invention
[0005] The present application provides a pH value measurement method, device, equipment and storage medium, which are used to solve the problem of low accuracy of pH value measured by a pH meter.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, the present application provides a method for measuring a pH value, the method comprising: obtaining reference information of a solution to be tested, the reference information comprising: a first temperature value of the solution to be tested, a first voltage value of a pH electrode in the solution to be tested, and a first aging degree of the pH electrode. The first voltage value is corrected based on the first aging degree to obtain a second voltage value. According to the first temperature value and the second voltage value, a target pH value of the solution to be tested is determined.
[0008] The technical solution provided by the present application brings at least the following beneficial effects: based on the aging degree of the pH electrode, the voltage value measured by the pH electrode in the solution to be tested is corrected to eliminate the influence of the aging of the pH electrode on the voltage measurement of the pH electrode, and to provide an accurate voltage reference for the subsequent determination of the pH value. Afterwards, by combining the temperature value of the solution to be tested with the corrected voltage value as a reference, the influence of the change in solution temperature on the pH value of the solution can be synchronized to obtain a more accurate pH value. In this way, by referring to the aging degree of the pH electrode and the solution temperature of the solution to be tested, the influence of the aging of the pH electrode and the change in solution temperature on the pH value of the solution can be avoided, so as to improve the accuracy of the pH value measured by the pH meter.
[0009] Optionally, the above method of "determining the target pH value of the solution to be tested according to the first temperature value and the second voltage value" includes: determining the first pH value according to the first corresponding relationship and the second voltage value, the corresponding relationship is used to indicate the functional relationship between voltage and pH, and one corresponding relationship corresponds to one temperature value. Determine the pH correction factor according to the first difference between the first temperature value and the temperature value corresponding to the first corresponding relationship. Correct the first pH value according to the pH correction factor to obtain the target pH value.
[0010] Optionally, before the above method of “determining the first pH value according to the first correspondence and the second voltage value”, the method further includes: determining whether the first difference is less than a first preset threshold. The above method of “determining the first pH value according to the first correspondence and the second voltage value” includes: determining the first pH value according to the first correspondence and the second voltage value when the first difference is less than the first preset threshold.
[0011] Optionally, the method further includes: determining a target corresponding relationship corresponding to the first temperature value from a plurality of preset corresponding relationships when the first difference is greater than or equal to a first preset threshold value, and determining a target pH value according to the target corresponding relationship and the second voltage value.
[0012] Optionally, the first temperature value is the temperature value of the thermistor in the solution to be tested, and the reference information also includes: a second aging degree of the thermistor. Before the above method of "determining the target pH value of the solution to be tested based on the first temperature value and the second voltage value", the method also includes: correcting the first temperature value based on the second aging degree to obtain the second temperature value. The above method of "determining the target pH value of the solution to be tested based on the first temperature value and the second voltage value" includes: determining the target pH value based on the second temperature value and the second voltage value.
[0013] Optionally, the reference information also includes: a first distance value between the thermistor and the pH electrode, a first wetting area between the thermistor and the solution to be tested, a second wetting area between the pH electrode and the solution to be tested, and a heat transfer coefficient of the solution to be tested. After the above method of "correcting the first temperature value based on the second aging degree to obtain the second temperature value", the method also includes: determining the third temperature value of the pH electrode according to the first voltage value and the first aging degree. Determine the temperature correction factor according to the first distance value, the third temperature value, the first wetting area, the second wetting area and the heat transfer coefficient. Correct the second temperature value according to the temperature correction factor to obtain a fourth temperature value. The above method of "determining the target pH value according to the second temperature value and the second voltage value" includes: determining the target pH value according to the fourth temperature value and the second voltage value.
[0014] In a second aspect, the present application provides a device for measuring pH value, which includes: an acquisition module and a processing module.
[0015] The acquisition module is used to acquire reference information of the solution to be tested, the reference information including: a first temperature value of the solution to be tested, a first voltage value of the pH electrode in the solution to be tested, and a first aging degree of the pH electrode. The processing module is used to correct the first voltage value based on the first aging degree to obtain a second voltage value. The processing module is also used to determine a target pH value of the solution to be tested based on the first temperature value and the second voltage value.
[0016] In a third aspect, the present application provides a pH measuring device, the device comprising: a processor and a memory, the processor and the memory are coupled, the memory is used to store one or more programs, the one or more programs include computer execution instructions, when the pH measuring device is running, the processor executes the computer execution instructions stored in the memory to implement the above-mentioned first aspect or any optional method described in the first aspect.
[0017] In a fourth aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the method described in the first aspect or any optional method in the first aspect.
[0018] In a fifth aspect, the present application provides a computer program product applied to a server, the computer program product comprising computer instructions. When the computer instructions are executed on the server, the server implements the method described in the first aspect or any optional method in the first aspect.
[0019] In the above scheme, the technical problems that can be solved and the technical effects achieved by the pH value measuring device, equipment, computer storage medium or computer program product can refer to the technical problems and technical effects solved by the above first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of a pH value measuring device provided in an embodiment of the present application;
[0021] Figure 2 A schematic diagram of a pH value measurement method provided in an embodiment of the present application;
[0022] Figure 3 A schematic diagram of another method for measuring pH value provided in an embodiment of the present application;
[0023] Figure 4 A schematic diagram of another method for measuring pH value provided in an embodiment of the present application;
[0024] Figure 5A schematic diagram of another method for measuring pH value provided in an embodiment of the present application;
[0025] Figure 6 A schematic diagram of another method for measuring pH value provided in an embodiment of the present application;
[0026] Figure 7 A schematic diagram of the structure of a pH value measuring device provided in an embodiment of the present application;
[0027] Figure 8 A schematic diagram of the structure of a pH value measuring device provided in an embodiment of the present application;
[0028] Fig. 9 A conceptual partial view of a computer program product provided for an embodiment of the present application. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. 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 creative work are within the scope of protection of this application.
[0030] In this article, the character " / " generally indicates that the objects before and after are in an "or" relationship. For example, A / B can be understood as A or B.
[0031] The terms “first” and “second” in the description and claims of the present application are used to distinguish different objects rather than to describe a specific order of the objects.
[0032] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.
[0033] In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present concepts in a specific way.
[0034] Before introducing in detail the pH value measurement method provided in the embodiment of the present application, the implementation environment and application scenarios of the embodiment of the present application are first introduced.
[0035] First, the application scenarios of the embodiments of the present application are introduced.
[0036] As a backup DC power source for communication systems, batteries play a vital role in the reliable power supply of communication systems.
[0037] A pH meter, also known as a pH acidometer or acidometer, is a precision instrument used to measure the pH value of a solution. It works on the principle of a primary cell in chemistry by measuring the electromotive force generated in a battery system consisting of specific electrodes. The magnitude of this electromotive force depends not only on the properties of the electrodes themselves, but also on the concentration of hydrogen ions in the solution. Therefore, a pH meter is essentially a sensor that uses the electrochemical properties of a solution to determine the acidity or alkalinity of a solution by accurately measuring the concentration of hydrogen ions.
[0038] In the process of measuring pH value, pH sensor measures the selected appropriate circuit with sensor according to the characteristics of electrochemical sensor, and then amplifies, filters and converts the signal into analog value according to the functions and accuracy requirements of the instrument.
[0039] However, due to the combined influence of multiple factors such as the inherent asymmetric potential characteristics of the electrode system, changes in the liquid junction potential, and ambient temperature fluctuations, in the actual measurement process, the pH indication may cause indication deviations when the pH meter is measured due to changes in medium temperature, solution temperature at the time of measurement, and electrode aging caused by increasing number of uses.
[0040] Therefore, how to overcome the influence of these factors and improve the accuracy of pH value measured by pH meter has become a technical problem to be solved urgently.
[0041] In order to solve the above problems, an embodiment of the present application provides a method for measuring a pH value, and the method for measuring a pH value provided in an embodiment of the present application is applied to the scenario of measuring a pH value. The embodiment of the present application can correct the voltage value measured by the pH electrode in the solution to be tested based on the degree of aging of the pH electrode, so as to eliminate the influence of the aging of the pH electrode on the voltage measurement of the pH electrode, and provide an accurate voltage reference for the subsequent determination of the pH value. Afterwards, by combining the temperature value of the solution to be tested with the corrected voltage value as a reference, the influence of the change in solution temperature on the pH value of the solution can be synchronized to obtain a more accurate pH value. In this way, by referring to the degree of aging of the pH electrode and the solution temperature of the solution to be tested, the influence of the aging of the pH electrode and the change in solution temperature on the pH value of the solution can be avoided, so as to improve the accuracy of the pH value measured by the pH meter.
[0042] The implementation environment of the embodiments of the present application is introduced below.
[0043] like Figure 1 As shown, it is a schematic diagram of a pH value measuring device provided in an embodiment of the present application, and the pH value measuring device may include: a pH electrochemical sensor 101, an A / D interface circuit 102, a temperature interface circuit 103, a data storage circuit 104, a single-chip microcomputer control system 105, a display circuit 106 and a serial communication module 107.
[0044] Among them, the pH electrochemical sensor 101 can include a pH electrode 108 and a thermistor 109, and the pH electrode 108 can be connected to the A / D interface circuit 102 by wire / wireless connection. The pH electrode 108 can synchronously output a corresponding analog signal (such as an electrical signal: electrode voltage) to the A / D interface circuit 102 based on the change of hydrogen ions in the solution. The A / D interface circuit 102 can perform high-impedance voltage measurement on the electrode voltage output by the pH electrode 108, realize functions such as amplification, filtering, and analog conversion, convert the analog signal into a digital signal, and transmit the digital signal used to reflect the change of hydrogen ions in the solution to the single-chip control system 105.
[0045] The thermistor 109 can be connected to the temperature interface circuit 103 by wire or wirelessly. The thermistor 109 can synchronously transmit the corresponding resistance value to the temperature interface circuit 103 based on the temperature change of the solution in which it is located. The temperature interface circuit 103 can convert the resistance value output by the thermistor 109 into a temperature value, and transmit the temperature value used to reflect the temperature of the solution to the single-chip control system 105.
[0046] The single-chip control system 105 can be connected to the A / D interface circuit 102 , the temperature interface circuit 103 , the data storage circuit 104 , the display circuit 106 , and the serial communication module 107 by wire or wirelessly.
[0047] The single-chip control system 105 can analyze and process the data output by the A / D interface circuit 102 and the temperature interface circuit 103 to obtain the pH value of the current solution, and send the pH value to the data storage circuit 104 for storage and recording, and at the same time send the pH value to the serial communication module 107 for data export, or send the pH value to the display circuit 106 for data display.
[0048] Optionally, the temperature interface circuit 103 can also be connected to the pH electrode 108 by wire or wirelessly, and the temperature interface circuit 103 can obtain the current temperature of the pH electrode 108, and transmit the current temperature of the pH electrode 108 to the single-chip control system 105, so that the single-chip control system 105 can compensate and correct the electrode voltage measured by the pH electrode 108 based on the current temperature of the pH electrode 108, obtain the real electrode voltage, and then determine the accurate pH value. Alternatively, the single-chip control system 105 can compensate and correct the solution temperature measured by the thermistor 109 based on the current temperature of the pH electrode 108, obtain the real solution temperature, and then determine the accurate pH value.
[0049] It should be noted that in the embodiments of the present application, the pH value measuring device can also be called a pH meter, and based on the implementation functions of the pH value measuring device, the pH value measuring device can be divided into hardware design and software design. These functions are respectively implemented by several subroutine modules, each module implements a specific task, and each module is relatively independent, so that it has a certain versatility.
[0050] The hardware design can be divided into measurement circuit design and microprocessor input and output interface circuit design, including the above-mentioned pH electrochemical sensor 101, A / D interface circuit 102 and temperature interface circuit 103, data storage circuit 104, display circuit 106 and serial communication module 107. The main function of the hardware is to obtain and convert pH value and temperature information, and effectively manage and display these data.
[0051] The software design includes the above-mentioned single-chip control system 105, which can be divided into several parts such as measurement program, interrupt program, memory read and write program and data processing program. Among them, the software design of the system fully considers its scalability to facilitate future system upgrades and circuit maintenance. The main function of the software is to sample the input signal through the built-in A / D of the microprocessor, and perform relevant analysis and processing on the sampled data to display the accurate pH value and temperature value of the measured solution.
[0052] Among them, the host computer software exists in the framework of the entire system, connecting and controlling the data flow between various modules. The host computer software exchanges data with the single-chip control system 105 through the serial communication module 107, receives data from the data storage circuit 104, and displays the results on the display circuit 106. In addition, the host computer software can also obtain measurement results through the A / D interface circuit 102 and the temperature interface circuit 103.
[0053] The host computer software can display the pH value in real time and form a pH statistical curve. The host computer software has a data query function and can query parameters according to time. The host computer software can set the upper and lower limits of the pH value measured by the device. The host computer software can query historical data within a week.
[0054] It should be noted that the pH electrode 108 can be a composite electrode, and the output signals at both ends of the signal electrode and the reference electrode are voltage values. The pH electrode 108 is a component of the pH electrochemical sensor 101. The pH electrochemical sensor 101 contains a thermistor 109, which can be used to display the current temperature and perform temperature compensation by converting the change in resistance into a change in voltage and sending it to a microprocessor for processing. When performing temperature compensation, since the internal resistance of the composite electrode is very high, the key to realizing the measurement circuit is to achieve high impedance input, thereby improving the measurement accuracy. In this way, at a certain temperature, as long as an accurate voltage value is obtained, the pH value of the solution can be known.
[0055] There are many sensors for measuring the pH value of solutions, such as photochemical pH sensors, ion-sensitive pH sensors, glass electrode pH sensors, antimony electrode sensors, enzyme sensors, etc. Among them, glass electrode sensors have the characteristics of wide measurement range, good repeatability, high stability, and high precision compared with other sensors. Therefore, the potentiometric measurement method using glass electrodes as sensors has been widely used. However, factors such as the high internal resistance of glass electrodes and the temperature of the solution will affect the accuracy of this measurement method. The current acidity meter uses a platinum resistance temperature sensor and a bridge measurement circuit to detect the temperature of the solution, and the deviation and nonlinearity in the temperature measurement circuit are calibrated by software.
[0056] The pH value measuring device is introduced below with reference to specific examples.
[0057] Exemplarily, the pH electrode portion of the pH value measuring device is in the solution during measurement, and the pH value measuring device can perform high impedance voltage measurement on the electrode voltage through the A / D interface circuit, and at the same time, measure the pH electrode temperature through the temperature measurement portion, so that the subsequent microprocessor control portion can compensate and correct the measured pH electrode voltage value based on the pH electrode temperature. The microprocessor control portion in the pH value measuring device can realize the measurement of voltage and temperature signals, temperature compensation, and measurement data storage, and display them on the display screen.
[0058] Optionally, the display screen in the pH value measuring device can be displayed by a digital tube, and the pH value measuring device can also have function keys, RS485 (a serial communication standard) data communication parts and the like.
[0059] After introducing the application scenarios and implementation environment of the embodiments of the present application, the pH value measurement method provided in the embodiments of the present application is described in detail below, taking the pH value measurement device as a pH meter as an example, in combination with the above-mentioned implementation environment.
[0060] The methods in the following embodiments can all be implemented in the above application scenarios and implementation environments. The embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0061] Figure 2 A schematic diagram of a pH value measurement method provided in an embodiment of the present application. Figure 2 As shown, the method may include: S201-S203.
[0062] S201, obtaining reference information of the solution to be tested.
[0063] The reference information may include: a first voltage value of the pH electrode in the solution to be tested.
[0064] As a possible implementation manner, the pH meter may include a pH electrode, and the pH meter may obtain the first voltage value through the pH electrode.
[0065] It should be noted that the process of obtaining the first voltage value by the pH meter through the pH electrode can refer to the description of measuring the electrode voltage of the pH electrode based on the change of hydrogen ions in the solution in the prior art, which will not be described in detail here.
[0066] In the embodiment of the present application, the reference information may further include: a first aging degree of the pH electrode.
[0067] The first aging degree of the pH electrode is used to indicate the degree to which the performance of the pH electrode decreases over time.
[0068] For example, if the initial performance of the pH electrode is 1 and the current performance of the pH electrode is 0.4, the first aging degree of the pH electrode may be 0.6.
[0069] As a possible implementation, the pH meter may include an aging degree recording module. The first aging degree of the pH electrode may be obtained by the pH meter recording the aging degree through the recording module.
[0070] In the embodiment of the present application, the reference information may further include: a first temperature value of the solution to be tested.
[0071] As a possible implementation, the pH meter may further include a thermistor. The first temperature value may be measured by the thermistor in the pH meter.
[0072] S202: Correct the first voltage value based on the first aging degree to obtain a second voltage value.
[0073] It should be noted that the second voltage value is used to indicate a more accurate voltage value after eliminating the influence of aging of the pH electrode on the basis of the first voltage value.
[0074] That is to say, the aging of the pH electrode will cause the internal resistance to increase, thereby reducing the output voltage of the pH electrode. The first voltage value is affected by the aging of the pH electrode, and the indication of the first voltage value is lower than the actual voltage value that is not affected by the aging of the pH electrode. The second voltage value is corrected based on the aging degree of the pH electrode, and is closer to the actual voltage value than the first voltage value, that is, the second voltage value has a smaller measurement accuracy error than the first voltage value.
[0075] It should be noted that the embodiment of the present application does not limit the mathematical relationship between the second voltage value, the first aging degree and the first voltage value. For example, the second voltage value is equal to the sum of the voltage correction value of the first aging degree and the first voltage value. For another example, the second voltage value is equal to the product of the voltage correction value of the first aging degree and the first voltage value. For another example, the second voltage value is equal to the difference between the voltage correction value of the first aging degree and the first voltage value.
[0076] Optionally, the degree of aging may be reflected by an aging coefficient.
[0077] Exemplarily, for every 1% increase in the aging coefficient, the voltage of the electrode decreases by 0.01 volt (volt, V), and taking the second voltage value being equal to the sum of the voltage correction value of the first aging degree and the first voltage value as an example, if the aging coefficient of the first aging degree is 10% and the first voltage value is 3.5V, then the second voltage value is 3.6V.
[0078] S203: Determine a target pH value of the solution to be tested according to the first temperature value and the second voltage value.
[0079] According to the potentiometric method and the Nernst equation, the pH value of the solution is a function of voltage and temperature, and the temperature of the solution at the time of measurement is also a very important factor. In other words, the target pH value can be obtained according to the functional relationship between the first temperature value, the second voltage value and the pH value.
[0080] It should be noted that in the embodiment of the present application, the functional relationship between the target pH value and the first temperature value and the second voltage value can be a linear functional relationship, or the functional relationship between the target pH value and the first temperature value and the second voltage value can be a nonlinear functional relationship.
[0081] As a possible implementation, taking the linear functional relationship between the target pH value and the first temperature value and the second voltage value as an example, the functional relationship between the first temperature value, the second voltage value and the pH value can be expressed by Formula 1:
[0082] pH(u,T)=α·u+β·T+γ Formula 1.
[0083] Wherein, T is used to indicate the solution temperature (i.e., the first temperature value), and T may be 25 degrees Celsius (°C), u is used to indicate the electrode voltage of the pH electrode (i.e., the second voltage value), pH(u) is used to indicate the pH value corresponding to u and T, α is used to indicate the slope coefficient between the pH value and the voltage value, β is used to indicate the slope coefficient between the pH value and the temperature value, and γ is a constant.
[0084] It should be noted that in order to overcome the indication deviation caused by changes in medium temperature (i.e. solution temperature), the pH meter can use negative feedback technology for automatic compensation.
[0085] Optionally, the pH meter can determine the function slope between the electrode voltage and the pH value corresponding to different temperature sections, and use compensation coefficients corresponding to different temperature sections with multiple slopes, and use a two-point calibration method under the same slope to improve the measurement accuracy of the pH value. Among them, the compensation coefficient is used to eliminate the influence of different temperatures on the indication deviation of the electrode voltage / the influence of the indication deviation of the pH value.
[0086] That is, since the functional relationships of different temperature segments are different, the compensation coefficient can be expanded into multiple segments, so that each segment has its own compensation coefficient to perform multi-slope compensation.
[0087] For example, it is assumed that the function slopes corresponding to different temperature ranges are as follows:
[0088] In the interval A between 20°C and 30°C, the function slope is -59.0 millivolt (mV) / pH;
[0089] In interval B from 30°C to 40°C, the function slope is -58.8 mV / pH;
[0090] In the interval C from 40°C to 50°C, the function slope is -58.6 mV / pH;
[0091] In this way, after multi-slope compensation, the function slope between 20°C and 50°C can be -58.8mV / pH, and the compensation coefficient A corresponding to interval A is used to indicate an increase in the function slope of 0.2mV / pH, the compensation coefficient B corresponding to interval B is used to indicate no change in the function slope, and the compensation coefficient C corresponding to interval C is used to indicate a decrease in the function slope of 0.2mV / pH.
[0092] The slope of each temperature segment is actually the functional relationship between the electrode voltage and pH value in that segment. When measuring pH, first measure the temperature of the solution, then determine which temperature segment it belongs to based on the measured temperature, and use the slope of that segment to determine the pH corresponding to the electrode voltage. For example, if the solution temperature to be measured is 35°C, then -58.8mV / pH should be used as the slope for function mapping, and -58.8mV / pH is the function slope of that segment.
[0093] Alternatively, after determining the temperature segment to which the measured temperature belongs, the function slope of the segment can be temperature compensated based on the function slope of the segment and the function slope of the adjacent segment, and then the pH value corresponding to the electrode voltage can be determined based on the compensated function slope. For example, if the solution temperature to be measured is 35°C, then based on the function slope -58.8mV / pH corresponding to interval B where 35°C is located, and the function slope -59.0mV / pH corresponding to interval A adjacent to interval B, and the function slope -58.6mV / pH corresponding to interval C, the function slope -58.8mV / pH corresponding to interval B after temperature compensation is determined, and then the function mapping of electrode voltage and pH value is performed based on -58.8mV / pH.
[0094] It should be noted that, based on the multi-slope compensation, a two-point calibration method is usually used under the same slope to further improve the measurement accuracy.
[0095] The technical solution provided by the above embodiment brings at least the following beneficial effects: based on the aging degree of the pH electrode, the voltage value measured by the pH electrode in the solution to be tested is corrected to eliminate the influence of the aging of the pH electrode on the voltage measurement of the pH electrode, and provide an accurate voltage reference for the subsequent determination of the pH value. Afterwards, by combining the temperature value of the solution to be tested with the corrected voltage value as a reference, the influence of the change in solution temperature on the pH value of the solution can be synchronized to obtain a more accurate pH value. In this way, by referring to the aging degree of the pH electrode and the solution temperature of the solution to be tested, the influence of the aging of the pH electrode and the change in solution temperature on the pH value of the solution can be avoided, so as to improve the accuracy of the pH value measured by the pH meter.
[0096] In some embodiments, Figure 3 As shown, S203 may include: S301-S303.
[0097] S301. Determine a first pH value according to a first corresponding relationship and a second voltage value.
[0098] The corresponding relationship is used to indicate the functional relationship between voltage and pH.
[0099] As a possible implementation manner, one temperature value may correspond to one corresponding relationship.
[0100] Exemplarily, the corresponding relationship of a temperature value can be expressed by Formula 2:
[0101] pH T (u) = A T ·u+B T Formula 2.
[0102] Among them, pH T (u) is used to indicate the functional relationship between the voltage value corresponding to the first temperature value t and the pH value, u is used to indicate the electrode voltage of the pH electrode (i.e., the second voltage value), A T It is used to indicate the slope coefficient between pH value and voltage value at the first temperature value T, B T Used to indicate a constant at a first temperature value T.
[0103] For example, if the first temperature value is T1 and the second voltage value is u1, the slope coefficient between the pH value and the voltage value when the first temperature value is T1 is The constant when the first temperature is T1 is The first pH value is Then the functional relationship between the voltage value corresponding to the first temperature value T1 and the pH value is If the first temperature value is T2 and the second voltage value is u2, the slope coefficient between the pH value and the voltage value when the first temperature value is T2 is The constant when the first temperature is T2 is The first pH value is Then the functional relationship between the voltage value corresponding to the first temperature value T2 and the pH value is:
[0104] It should be noted that, for the functional relationship between the voltage value and the pH value, reference may be made to the functional formula for calculating the pH value by the voltage value in the prior art, which will not be elaborated herein.
[0105] As a possible implementation, the first correspondence is a correspondence pre-stored in the pH meter, and the first correspondence may be a correspondence used by the pH meter by default. The pH meter may input the second voltage value into the first correspondence to determine the first pH value.
[0106] S302: Determine a pH correction factor according to a first difference between the first temperature value and the temperature value corresponding to the first corresponding relationship.
[0107] As a possible implementation, the correspondence between the first difference and the pH correction factor may be a linear correspondence or a nonlinear correspondence. The following describes the embodiment of the present application by taking the linear correspondence as an example.
[0108] As a possible implementation manner, the corresponding relationship between the first difference and the pH correction factor can be expressed by Formula 3:
[0109] pH 修正因子 =A*T 差 +B Formula 3.
[0110] Among them, pH 修正因子 Used to indicate pH correction factor, T 差 It is used to indicate the first difference, A is used to indicate the slope coefficient between the temperature difference and the pH correction factor, and B is a constant.
[0111] S303: Correct the first pH value according to the pH correction factor to obtain a target pH value.
[0112] It should be noted that the mathematical relationship between the pH correction factor, the first pH value and the target pH value is not limited in the embodiments of the present application. For example, the target pH value is the sum of the first pH value and the pH correction factor. For another example, the target pH value is the product of the first pH value and the pH correction factor. For another example, the target pH value is the difference between the first pH value and the pH correction factor.
[0113] Exemplarily, taking the target pH value as the sum of the first pH value and the pH correction factor, if the first pH value is pH=7 and the pH correction factor is 1, the target pH value is pH=8.
[0114] It can be understood that by correcting the temperature value of the solution to be measured and the temperature value in the corresponding relationship to obtain a pH correction factor, and then correcting the measured pH value, a pH value with higher accuracy can be obtained.
[0115] In some embodiments, Figure 4 As shown, before S301, the pH value measurement method may further include: S401.
[0116] S401: Determine whether a first difference is less than a first preset threshold.
[0117] The first preset threshold is used to determine whether the difference between the current solution temperature and the applicable temperature of the default function (ie, the temperature corresponding to the first corresponding relationship) affects the accuracy of the correction of the pH value.
[0118] That is, when the difference between the current solution temperature and the applicable temperature of the default function is large, the accuracy of the corrected pH value may be reduced.
[0119] As a possible implementation manner, a first preset threshold is pre-stored in the pH meter, and the pH meter selects a method for determining the pH value based on a magnitude relationship between the first difference and the first preset threshold.
[0120] The pH value may be determined by any one of the following methods (1) to (3):
[0121] (1) Determine the pH value corresponding to the pH electrode voltage based on the functional relationship corresponding to the current solution temperature;
[0122] (2) Based on the default functional relationship, determine the pH value corresponding to the pH electrode voltage, and correct the pH value based on the solution temperature to obtain the final pH value (i.e., S301-S303 above);
[0123] (3) The pH electrode voltage is corrected based on the solution temperature, and the pH value corresponding to the corrected pH electrode voltage is determined based on a default functional relationship.
[0124] In some embodiments, when the first difference is less than the first preset threshold, the pH meter may execute S301.
[0125] That is, when the difference between the current solution temperature and the applicable temperature of the default function is small, the pH value can be corrected based on the correction factor through the above S301-S303 to ensure the accuracy of the pH value.
[0126] In some other embodiments, when the first difference is greater than or equal to the first preset threshold, S402 may be executed.
[0127] That is to say, when the difference between the current solution temperature and the applicable temperature of the default function is large, it is difficult to ensure the accuracy of the corrected pH value due to the correction factor. Therefore, a function corresponding to the current solution temperature can be selected to determine the pH value corresponding to the pH electrode voltage to ensure the accuracy of the pH value.
[0128] S402: Determine a target corresponding relationship corresponding to the first temperature value from a plurality of preset corresponding relationships.
[0129] As a possible implementation method, multiple preset correspondences are pre-stored in the pH meter. The pH meter determines the correspondence corresponding to the first temperature value in the multiple preset correspondences, and uses the correspondence corresponding to the first temperature value in the multiple preset correspondences as the target correspondence to obtain the target correspondence.
[0130] Exemplarily, the plurality of preset corresponding relationships include: corresponding relationship 1, corresponding relationship 2 and corresponding relationship 3, and corresponding relationship 1 corresponds to temperature value A, corresponding relationship 2 corresponds to temperature value B, and corresponding relationship 3 corresponds to temperature value C. If the first temperature value is temperature value B, the target corresponding relationship is corresponding relationship 2.
[0131] It should be noted that the first corresponding relationship may be any corresponding relationship among a plurality of preset corresponding relationships. In other words, the default corresponding relationship in the embodiment of the present application may be any corresponding relationship among a plurality of stored corresponding relationships.
[0132] S403: Determine a target pH value according to the target corresponding relationship and the second voltage value.
[0133] It should be noted that, for the process of the pH meter determining the target pH value based on the target correspondence and the second voltage value, reference can be made to the introduction of the pH meter determining the first pH value (i.e., S301) based on the first correspondence and the second voltage value in the above embodiment, which will not be repeated here.
[0134] It is understandable that, according to the magnitude relationship between the first difference and the first preset threshold, a suitable pH value determination method is selected, so that the pH value determination process can be further subdivided, thereby ensuring the accuracy of the pH value.
[0135] It should be noted that, in the process of determining the pH value of the solution by referring to the solution temperature measured by the thermistor, the measurement performance of the thermistor for the solution temperature will also decrease with the increase of time, that is, the aging degree of the thermistor will affect the measurement accuracy of the solution temperature. Therefore, in the embodiment of the present application, the pH meter can also determine the pH value of the solution by referring to the aging degree of the thermistor to eliminate the influence of the aging of the thermistor on the pH value of the solution.
[0136] In some embodiments, Figure 5 As shown, before S203, the pH value measurement method may further include: S501.
[0137] S501 . Correct the first temperature value based on the second aging degree to obtain a second temperature value.
[0138] The reference information also includes: a second aging degree of the thermistor.
[0139] It should be noted that, for the introduction of the second aging degree of the thermistor, reference may be made to the description of the first aging degree of the pH electrode in the above embodiment, which will not be described in detail here.
[0140] Furthermore, for the process of correcting the first temperature value based on the second aging degree, reference may also be made to the description of correcting the first voltage value based on the first aging degree (ie, S202 ) in the above embodiment, which will not be described in detail here.
[0141] In the embodiment of the present application, the second temperature value is used to indicate a more accurate temperature value obtained after eliminating the influence of thermistor aging on the basis of the first temperature value.
[0142] That is to say, the aging of the resistor will cause the resistance value to increase or the internal structure to change, resulting in uneven heating, which will generate more heat and affect the accuracy of the temperature value during measurement. The first temperature value is affected by the aging of the thermistor, and the indication of the first temperature value is higher than the actual temperature value that is not affected by the aging of the thermistor. The second temperature value is corrected based on the aging degree of the thermistor and is closer to the actual temperature value than the first temperature value, that is, the second temperature value has higher measurement accuracy than the first temperature value.
[0143] In the embodiment of the present application, the first difference in the above embodiment may specifically be the difference between the second temperature value and the temperature value corresponding to the first corresponding relationship.
[0144] In the embodiment of the present application, in the process in which the pH meter determines the target pH value of the solution to be tested according to the first temperature value and the second voltage value (ie, S203), the pH meter can determine the target pH value according to the second temperature value and the second voltage value.
[0145] Optionally, in the above embodiments S301-S303 and / or S401-S403, the pH meter may replace the first temperature value with the second temperature value and execute the corresponding embodiments.
[0146] It can be understood that by eliminating the influence of the temperature value during measurement caused by more heat generated by electrode aging, a more accurate temperature value can be obtained, thereby obtaining a more accurate pH value through the correspondence between the voltage value, temperature value and pH value.
[0147] It should be noted that in the process of the pH meter determining the pH value of the solution by referring to the electrode voltage measured by the pH electrode, the pH electrode will generate heat by itself, thereby affecting the accuracy of the solution temperature measured by the thermistor. Therefore, in the embodiment of the present application, the pH meter can also refer to the heat generated by the pH electrode itself and the relative position relationship between the pH electrode and the thermistor to correct the solution temperature measured by the thermistor to eliminate the influence of the heat generated by the pH electrode itself during operation on the pH value of the solution.
[0148] In some embodiments, Figure 6 As shown, after S501, the pH value measurement method may further include: S601-S603.
[0149] S601. Determine a third temperature value of the pH electrode according to the first voltage value and the first aging degree.
[0150] The third temperature value is used to indicate the heat generated by the pH electrode itself in the current state (ie, the first voltage value and the first aging degree).
[0151] It should be noted that, for the process of determining the third temperature value of the pH electrode according to the first voltage value and the first aging degree, reference can be made to the temperature measurement method of electronic components in operation in the prior art (such as Joule's law), which will not be elaborated here.
[0152] In the embodiment of the present application, the reference information may further include: a first distance value, a first wetting area, a second wetting area and a heat transfer coefficient.
[0153] Among them, the first distance value is used to indicate the distance between the thermistor and the pH electrode, the first wetting area is used to indicate the contact area between the thermistor and the solution to be tested, the second wetting area is used to indicate the contact area between the pH electrode and the solution to be tested, and the heat transfer coefficient is used to indicate the ability of the solution to be tested to transfer heat.
[0154] S602: Determine a temperature correction factor according to the first distance value, the third temperature value, the first wetted area, the second wetted area, and the heat transfer coefficient.
[0155] It should be noted that the temperature correction factor is used to indicate a coefficient used to compensate for a measurement value deviation of the thermistor caused by a temperature change.
[0156] S603: Correct the second temperature value according to the temperature correction factor to obtain a fourth temperature value.
[0157] It should be noted that the embodiment of the present application does not limit the calculation method for obtaining the fourth temperature value. For example, the calculation method for obtaining the fourth temperature value may be a calculation method for finding a difference. For another example, the calculation method for obtaining the fourth temperature value may be a calculation method for finding a sum. For another example, the calculation method for obtaining the fourth temperature value may be a calculation method for finding a product.
[0158] In the embodiment of the present application, the first difference in the above embodiment may also be specifically the difference between the fourth temperature value and the temperature value corresponding to the first corresponding relationship.
[0159] In the embodiment of the present application, in the process in which the pH meter determines the target pH value of the solution to be tested according to the first temperature value and the second voltage value (ie, S203), the pH meter may determine the target pH value according to the fourth temperature value and the second voltage value.
[0160] Optionally, in the above embodiments S301-S303 and / or S401-S403, the pH meter may replace the first temperature value with a fourth temperature value and execute the corresponding embodiments.
[0161] That is to say, according to the correspondence between voltage value, temperature value and pH value, the fourth temperature value corrected by the first distance value, the third temperature value, the first wetting area, the second wetting area and the heat transfer coefficient, and the second voltage value corrected by the first aging degree are substituted into the relationship to obtain a target pH value with higher accuracy.
[0162] It is understandable that by reducing the influence of the distance between thermistor and pH electrode, the wetting area between thermistor and the solution to be measured, the wetting area between pH electrode and the solution to be measured, the heat transfer coefficient of the solution to be measured, and the temperature value after electrode aging correction on the measured temperature of the solution to be measured, the problem that the pH electrode generates heat itself and thus affects the accuracy of the solution temperature measured by the thermistor can be solved. A more accurate temperature value can be obtained, thereby increasing the accuracy of the pH value.
[0163] The above mainly introduces the scheme provided by the embodiment of the present application from the perspective of computer equipment. It is understandable that, in order to realize the above functions, the computer equipment includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in conjunction with the steps of the measurement method of the pH value of each example described in the embodiment disclosed in the present application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0164] The embodiment of the present application also provides a pH value measuring device, which can be a computer device, a CPU in the computer device, a processing module for measuring pH value in the computer device, or a client for measuring pH value in the computer device.
[0165] The embodiment of the present application can divide the pH value measuring device into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division, and there can be other division methods in actual implementation.
[0166] like Figure 7 The structure diagram of a pH value measuring device provided in an embodiment of the present application is shown in FIG. Figure 2 , Figure 3 , Figure 4 , Figure 5 or Figure 6 The pH value measurement method shown in the figure, the pH value measurement device 700 may include: an acquisition module 701 and a processing module 702.
[0167] The acquisition module 701 is used to obtain reference information of the solution to be tested, and the reference information includes: a first temperature value of the solution to be tested, a first voltage value of the pH electrode in the solution to be tested, and a first aging degree of the pH electrode. The processing module 702 is used to correct the first voltage value based on the first aging degree to obtain a second voltage value. The processing module 702 is also used to determine the target pH value of the solution to be tested based on the first temperature value and the second voltage value.
[0168] Optionally, the processing module 702 is specifically used to determine the first pH value according to the first corresponding relationship and the second voltage value, the corresponding relationship is used to indicate the functional relationship between the voltage and the pH, and one corresponding relationship corresponds to one temperature value. The processing module 702 is also used to determine the pH correction factor according to the first difference between the first temperature value and the temperature value corresponding to the first corresponding relationship. The processing module 702 is also used to correct the first pH value according to the pH correction factor to obtain the target pH value.
[0169] Optionally, the processing module 702 is specifically configured to determine whether the first difference is less than a first preset threshold value. The processing module 702 is further configured to determine the first pH value according to the first corresponding relationship and the second voltage value when the first difference is less than the first preset threshold value.
[0170] Optionally, the processing module 702 is specifically used to determine a target corresponding relationship corresponding to the first temperature value from a plurality of preset corresponding relationships when the first difference is greater than or equal to the first preset threshold value. The processing module 702 is also used to determine a target pH value according to the target corresponding relationship and the second voltage value.
[0171] Optionally, the first temperature value is the temperature value of the thermistor in the solution to be tested, and the reference information further includes: a second aging degree of the thermistor. The processing module 702 is specifically used to correct the first temperature value based on the second aging degree to obtain a second temperature value. The processing module 702 is also used to determine the target pH value according to the second temperature value and the second voltage value.
[0172] Optionally, the reference information also includes: a first distance value between the thermistor and the pH electrode, a first wetting area between the thermistor and the solution to be tested, a second wetting area between the pH electrode and the solution to be tested, and a heat transfer coefficient of the solution to be tested. The processing module 702 is specifically used to determine a third temperature value of the pH electrode according to the first voltage value and the first aging degree. The processing module 702 is also used to determine a temperature correction factor according to the first distance value, the third temperature value, the first wetting area, the second wetting area and the heat transfer coefficient. The processing module 702 is also used to correct the second temperature value according to the temperature correction factor to obtain a fourth temperature value. The processing module 702 is also used to determine a target pH value according to the fourth temperature value and the second voltage value.
[0173] Figure 8 8 is a schematic diagram of a pH value measuring device according to an exemplary embodiment. The device may include a processor 802, and the processor 802 is used to execute application code to implement the pH value measuring method in the present application.
[0174] The processor 802 may be a CPU, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0175] like Figure 8 As shown, the pH value measuring device may further include a memory 803. The memory 803 is used to store application program codes for executing the solution of the present application, and is controlled to be executed by the processor 802.
[0176] The memory 803 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 803 may exist independently and be connected to the processor 802 via the bus 804. The memory 803 may also be integrated with the processor 802.
[0177] like Figure 8 As shown, the pH value measuring device may further include a communication interface 801, wherein the communication interface 801, the processor 802, and the memory 803 may be coupled to each other, for example, via a bus 804. The communication interface 801 is used to exchange information with other devices, for example, to support information exchange between the pH value measuring device and other devices.
[0178] It should be pointed out that Figure 8 The device structure shown in the figure does not constitute a limitation on the pH value measuring device. Figure 8 In addition to the components shown, the pH measuring device may include more or fewer components than shown, or combine certain components, or have a different arrangement of components.
[0179] In actual implementation, the functions implemented by the processing module 702 can be Figure 8 The processor 802 shown calls the program code in the memory 803 to implement.
[0180] The present application also provides a computer-readable storage medium, on which instructions are stored, and when the instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer can execute the pH value measurement method provided in the above-mentioned embodiment. For example, the computer-readable storage medium can be a memory 803 including instructions, and the above instructions can be executed by a processor 802 of a computer device to complete the above method. Optionally, the computer-readable storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0181] Fig. 9 A conceptual partial view of a computer program product provided by an embodiment of the present application is exemplarily shown, where the computer program product includes a computer program for executing a computer process on a computing device.
[0182] In one embodiment, the computer program product is provided using a signal bearing medium 900. The signal bearing medium 900 may include one or more program instructions that, when executed by one or more processors, may provide the above-described Figure 2 , Figure 3 , Figure 4 , Figure 5 or Figure 6 Thus, for example, reference to Figure 2 In the embodiment shown in , one or more features of S201 to S203 may be undertaken by one or more instructions associated with the signal bearing medium 900. In addition, Fig. 9 The program instructions in also describe example instructions.
[0183] In some examples, the signal bearing medium 900 may include a computer readable medium 901, such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM), or a random access memory (RAM), and the like.
[0184] In some implementations, the signal bearing medium 900 may include a computer recordable medium 902 such as, but not limited to, a memory, a read / write (R / W) CD, R / W, DVD, or the like.
[0185] In some implementations, signal bearing medium 900 may include communication medium 903 such as, but not limited to, digital and / or analog communication media (eg, fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).
[0186] The signal bearing medium 900 may be communicated by a wireless form of communication medium 903. The one or more program instructions may be, for example, computer executable instructions or logic implemented instructions.
[0187] In some examples, such as for Figure 7 The described pH measurement device may be configured to provide various operations, functions, or actions in response to one or more program instructions via computer readable medium 901 , computer recordable medium 902 , and / or communication medium 903 .
[0188] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0189] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0190] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0191] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0192] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes various media that can store program codes, such as-U disk, mobile hard disk, ROM, RAM, disk or CD.
[0193] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for measuring pH value, characterized in that: The method comprises: Acquire reference information of the solution to be tested, the reference information comprising: a first temperature value of the solution to be tested, a first voltage value of the pH electrode in the solution to be tested, and a first aging degree of the pH electrode; Correcting the first voltage value based on the first aging degree to obtain a second voltage value; A target pH value of the solution to be tested is determined according to the first temperature value and the second voltage value.
2. The method according to claim 1, characterized in that Determining the target pH value of the solution to be tested according to the first temperature value and the second voltage value includes: Determine a first pH value according to a first corresponding relationship and the second voltage value, the corresponding relationship being used to indicate a functional relationship between voltage and pH, and one corresponding relationship corresponds to one temperature value; determining a pH correction factor according to a first difference between the first temperature value and a temperature value corresponding to the first corresponding relationship; The first pH value is corrected according to the pH correction factor to obtain the target pH value.
3. The method according to claim 2, characterized in that Before determining the first pH value according to the first corresponding relationship and the second voltage value, the method further includes: Determining whether the first difference is less than a first preset threshold; The step of determining the first pH value according to the first corresponding relationship and the second voltage value includes: When the first difference is less than the first preset threshold, the first pH value is determined according to the first corresponding relationship and the second voltage value.
4. The method according to claim 3, characterized in that The method further comprises: When the first difference is greater than or equal to the first preset threshold, determining a target corresponding relationship corresponding to the first temperature value from a plurality of preset corresponding relationships; The target pH value is determined according to the target corresponding relationship and the second voltage value.
5. The method according to claim 1, characterized in that: The first temperature value is a temperature value of the thermistor in the solution to be tested, and the reference information further includes: a second aging degree of the thermistor; Before determining the target pH value of the solution to be tested according to the first temperature value and the second voltage value, the method further includes: Correcting the first temperature value based on the second aging degree to obtain a second temperature value; Determining the target pH value of the solution to be tested according to the first temperature value and the second voltage value includes: The target pH value is determined according to the second temperature value and the second voltage value.
6. The method according to claim 5, characterized in that The reference information further includes: a first distance value between the thermistor and the pH electrode, a first wetting area between the thermistor and the solution to be tested, a second wetting area between the pH electrode and the solution to be tested, and a heat transfer coefficient of the solution to be tested; After the first temperature value is corrected based on the second aging degree to obtain a second temperature value, the method further includes: determining a third temperature value of the pH electrode according to the first voltage value and the first aging degree; determining a temperature correction factor according to the first distance value, the third temperature value, the first wetted area, the second wetted area, and the heat transfer coefficient; Correcting the second temperature value according to the temperature correction factor to obtain a fourth temperature value; Determining the target pH value according to the second temperature value and the second voltage value includes: The target pH value is determined according to the fourth temperature value and the second voltage value.
7. A pH value measuring device, characterized in that: The device comprises: An acquisition module, used for acquiring reference information of the solution to be tested, the reference information comprising: a first temperature value of the solution to be tested, a first voltage value of the pH electrode in the solution to be tested, and a first aging degree of the pH electrode; a processing module, configured to correct the first voltage value based on the first aging degree to obtain a second voltage value; The processing module is further used to determine a target pH value of the solution to be tested according to the first temperature value and the second voltage value.
8. A pH value measuring device, characterized in that: include: Processor and memory; The processor is coupled to the memory; The memory is used to store one or more programs, and the one or more programs include computer-executable instructions. When the pH measuring device is running, the processor executes the computer-executable instructions stored in the memory to enable the pH measuring device to perform the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instructions, the computer performs the method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The computer program product comprises computer program instructions, which implement the method according to any one of claims 1 to 6 when the computer program instructions are executed.
Citation Information
Cited By
Method for improving pH value detection accuracy of metal antimony-based pH electrode
CN122282898A
Method for improving the accuracy of pH detection of metal antimony-based pH electrode
CN122282898B
