Low-precision silver chloride electrode correction method
By generating uniform electric field in low-precision silver chloride electrodes, collecting and processing potential signals, and calculating correction parameters, the problem of low-precision silver chloride electrodes is solved, the measurement accuracy and service life are improved, and the measurement accuracy and service life are achieved universality and accuracy of the method.
Patent Information
- Application Number
- CN202411242012.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-11-15
AI Technical Summary
In practical applications, low-precision silver chloride electrodes have low potential measurement accuracy, resulting in inaccurate measurement results, and lack of effective correction methods to improve their use value and reliability.
By generating uniform electric fields, the potential signal is collected at different electric field strengths using standard silver chloride electrodes and low-precision silver chloride electrodes, wavelet transform denoising, correction parameters are calculated, and stored in the database for subsequent potentials. Correction of signals.
It improves the measurement accuracy of low-precision silver chloride electrodes, extends its service life, and enhances the versatility of the method, suitable for calibration requirements under different operating conditions.
Smart Images

Figure CN118961842A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of detection and correction, and in particular to a low-precision silver chloride electrode correction method. Background Art
[0002] Silver chloride electrodes are widely used in electrochemical measurements because of their stable electrode potential and good electrochemical properties. However, in practical applications, silver chloride electrodes with low precision are affected by manufacturing processes and environmental factors, and their potential measurement accuracy is not high, resulting in inaccurate measurement results. However, low-precision silver chloride electrodes have the advantage of low cost. If their accuracy problem can be overcome by low-cost means, they are very suitable for large-scale use.
[0003] In traditional potential measurement, the non-uniformity of the electric field may lead to inconsistent and unreliable measurement results. Currently, there is a lack of an effective method to correct the measurement errors of these low-precision silver chloride electrodes, thereby improving the use value and reliability of low-precision silver chloride electrodes. Summary of the invention
[0004] The object of the present invention is to provide a correction method for a low-precision silver chloride electrode.
[0005] The technical solution of the present invention is: to provide a low-precision silver chloride electrode correction method, the method comprising:
[0006] S1, generate a uniform electric field, insert the two capacitor plates of the long plate electric field generator in parallel into a potassium chloride solution with a concentration of 0.1M, set the initial electric field strength and frequency parameters and then turn on the power. After a certain period of time, the long plate electric field generator works stably to generate a uniform electric field between the two capacitor plates;
[0007] S2, insert the standard silver chloride electrode into the middle of the two capacitor plates, change the electric field strength of the long plate electric field generator several times, and the amplitude of the electric field strength changed each time is consistent. The data acquisition module collects the potential signal of the standard silver chloride electrode under different conditions through the wire, and inputs it into the computer to obtain standard test data;
[0008] S3, replacing the standard silver chloride electrode with a low-precision silver chloride electrode and extending it between the two capacitor plates, each low-precision silver chloride electrode has a number, changing the electric field strength of the long plate electric field generator in the same order and parameters as step S2, and obtaining the detection data of the low-precision silver chloride electrode with the number; repeating the above operation until the detection data of all the low-precision silver chloride electrodes with the numbers are obtained;
[0009] S4, the computer inputs the standard detection data and the detection data of all numbered low-precision silver chloride electrodes into the filtering module, and the filtering module performs continuous wavelet transform on the potential signals of the standard silver chloride electrode and the low-precision silver chloride electrode to suppress the noise in the time domain signal;
[0010] S5, the filtered potential signal is input into a correction module, and the correction module fits the potential signal of each numbered low-precision silver chloride electrode to obtain a correction parameter of each low-precision silver chloride electrode;
[0011] S6. The computer inputs the correction parameters of each numbered low-precision silver chloride electrode into a correction database for storage. When each numbered low-precision silver chloride electrode is subsequently used, the computer reads the correction parameters of the numbered low-precision silver chloride electrode in the correction database to correct the potential signal newly measured.
[0012] In any of the above technical solutions, further, in steps S2 and S3, only one electrode is extended between two capacitor plates at a time to avoid interference to data caused by overlapping electric potential fields generated by multiple electrodes.
[0013] In any of the above technical solutions, further, step S2 also includes: after the standard silver chloride electrode is extended between the two capacitor plates and stops moving, the electrode position is marked on the outer surface of the glass container containing the potassium chloride solution using a marker pen, and step S3 places the low-precision silver chloride electrode according to the mark of the marker pen.
[0014] In any of the above technical solutions, further, the step of performing continuous wavelet transform in step S4 includes:
[0015] The input potential signal V(t) is subjected to continuous wavelet transform to decompose the signal into wavelet coefficients at different scales and time positions. The mathematical expression of continuous wavelet transform is:
[0016]
[0017] Where W(a,b) is the wavelet coefficient of the signal at scale a and time position b; is the complex conjugate of the mother wavelet function;
[0018] The results of wavelet transform include: low-frequency approximate component A j and high frequency detail component D j , corresponding to the main trend and detailed information of the signal respectively, the decomposition formula is:
[0019] A j =∑ k V[k]·φ(2 j tk);
[0020] Dj =∑ k V[k]·ψ(2 j tk);
[0021] Among them, φ(2 j tk) and ψ(2 j tk) are basis functions related to the signal scale;
[0022] Low frequency approximate component A j Capture the main trend of the signal, while the high-frequency detail components D j Reflects the signal details; the high-frequency detail component D is j After performing denoising and setting the threshold λ, the soft threshold processing formula is as follows:
[0023]
[0024] in is the high-frequency detail component after soft threshold processing, sign(D j ) is D j The symbolic function of D j The sign of D j The positive and negative values of are 1 or -1 respectively;
[0025] Finally, the denoised signal V is obtained denoised (t):
[0026]
[0027] In any of the above technical solutions, further, the fitting step of step S5 specifically includes:
[0028] Calculate the EMD evaluation amplitude deviation between the standard electrode and the low-precision electrode signal. The EMD calculation formula is:
[0029]
[0030] Among them, f i is the mass transfer from the low-precision electrode signal to the standard electrode signal, d i is the corresponding distance;
[0031] The time domain signal is converted into a frequency domain signal using Fourier transform, and the frequency domain characteristic curve V is obtained. std (f) and V x (f); By comparing the frequency domain values of the resonance point, calculate the frequency deviation Δf of the electrode numbered x x :
[0032]
[0033] Where M is the number of resonance points, f std,j and f x,j are the frequencies of the standard electrode and the electrode numbered x at the jth resonance point respectively;
[0034] Then calculate the average potential measured by the standard silver chloride electrode The average potential measured by the low-precision silver chloride electrode numbered x
[0035]
[0036] Where N is the number of different electric field strengths, V std (i) and V x (i) represents the potential of the standard silver chloride electrode and the low-precision silver chloride electrode numbered x under the i-th electric field strength.
[0037] Calculate the slope of the linear regression, which is also the correction factor c for electrode number x x :
[0038]
[0039] In any of the above technical solutions, further, the method of correcting the potential signal newly measured by the low-precision silver chloride electrode in step S6 includes:
[0040] The computer reads the correction factor c of the low-precision silver chloride electrode of this number in the calibration database x 、EMD(V std ,V x ) and frequency deviation Δf x , calculate the corrected potential according to the correction formula, the correction formula is:
[0041]
[0042] Where V correct is the corrected potential, V x_new is the potential before correction.
[0043] In any of the above technical solutions, further, the data stored in the calibration database in step S5 also includes: the solution concentration and water temperature of this calibration test, the distance between the two capacitor plates of the long plate electric field generator, and the detection data of all numbered low-precision silver chloride electrodes.
[0044] In any of the above technical solutions, further, the method also includes:
[0045] S6. Regularly maintain the calibration data of the low-precision silver chloride electrode, and perform a reproduction test based on the calibration experimental environment stored in the calibration database. First, use a standard silver chloride electrode to verify whether the potential signal recorded at each electric field strength has a deviation greater than the first allowable error. If there is no problem, use a marker to mark the electrode position on the outer surface of the container containing the solution, replace the low-precision silver chloride electrodes with different numbers and perform the same verification. The low-precision silver chloride electrodes with a potential signal deviation greater than the second allowable error will be discarded, and the data with this number will be deleted from the calibration database. The newly obtained detection data of the remaining low-precision silver chloride electrodes will overwrite and update the old data in the calibration database.
[0046] The beneficial effects of the present invention are:
[0047] The technical solution of the present invention improves the measurement accuracy by correcting the low-precision electrode through the data of the standard silver chloride electrode; after the low-precision silver chloride electrode is corrected, it can be used in more application scenarios, thereby extending its service life; and by utilizing the variable frequency and variable amplitude electric field, the correction requirements under different working conditions are covered, thereby enhancing the versatility of the method. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The advantages of the above and additional aspects of the present invention will become apparent and easily understood in the description of the embodiments in conjunction with the following drawings, in which:
[0049] Figure 1 is a schematic flow chart of a low-precision silver chloride electrode calibration method according to an embodiment of the present invention;
[0050] Figure 2 is a schematic diagram of a low-precision silver chloride electrode calibration method according to an embodiment of the present invention;
[0051] Figure 3 is a time domain signal diagram of a standard silver chloride electrode according to a low-precision silver chloride electrode correction method of an embodiment of the present invention;
[0052] Figure 4 is a time domain signal diagram of a low-precision silver chloride electrode according to a low-precision silver chloride electrode correction method according to an embodiment of the present invention;
[0053] Figure 5 is a frequency domain signal diagram of a standard silver chloride electrode according to a low-precision silver chloride electrode correction method of an embodiment of the present invention;
[0054] Figure 6 4 is a frequency domain signal diagram of a low-precision silver chloride electrode according to a low-precision silver chloride electrode correction method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0055] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
[0056] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0057] like Figure 1 and Figure 2 As shown, this embodiment provides a low-precision silver chloride electrode calibration method, which includes: inserting two capacitor plates of a long plate electric field generator in parallel into a potassium chloride solution with a concentration of 0.1M, setting the initial electric field strength and frequency parameters and then energizing, after a certain period of time, the long plate electric field generator stably works to generate a uniform electric field between the two capacitor plates, extending a standard silver chloride electrode installed at one end of the wire into the middle of the two capacitor plates, changing the electric field strength of the long plate electric field generator several times, and the amplitude of the electric field strength changed each time is consistent, and the other end of the wire inputs the potential signal under different conditions into a computer through a data acquisition module to obtain standard detection data; replacing the standard silver chloride electrode with a low-precision silver chloride electrode and extending it between the two capacitor plates, each low-precision silver chloride electrode has a number, changing the electric field strength of the long plate electric field generator in the same order and parameters as before, obtaining the detection data of the low-precision silver chloride electrode with the number, and finally obtaining the detection data of all the low-precision silver chloride electrodes with the number.
[0058] Specifically, the potassium chloride solution has high and stable conductivity, which helps the long plate electric field generator to form a uniform electric field in the entire solution. In addition, the potassium chloride solution has good compatibility with the silver chloride electrode, and chemical corrosion will not occur on the electrode surface.
[0059] Only one electrode is extended between the two capacitor plates at a time to avoid overlapping potential fields generated by multiple electrodes, which may interfere with the data. To ensure the consistency of the test environment for multiple electrodes, the position of each electrode in the solution needs to be consistent, and the electrode position is marked with a marker on the outer surface of the glass container containing the potassium chloride solution.
[0060] The computer inputs the standard test data and the test data of all numbered low-precision silver chloride electrodes into the filter module. All test data are recorded with electrode potential data under multiple equally spaced electric field strengths, such as Figure 3 and Figure 4As shown in the figure, the potential time domain signal output by the electrode has noise. The filtering module performs continuous wavelet transform on the potential signals of the standard silver chloride electrode and the low-precision silver chloride electrode, which plays a role in removing noise in the signal and extracting effective potential information. The input potential signal V(t) is subjected to continuous wavelet transform, and the signal is decomposed into wavelet coefficients at different scales and time positions. The mathematical expression of continuous wavelet transform is:
[0061]
[0062] Where W(a,b) is the wavelet coefficient of the signal at scale a and time position b; is the conjugate complex number of the mother wavelet function. Morlet wavelet is often used to optimize the analysis of the characteristics of the potential signal. Morlet wavelet itself is composed of a Gaussian modulated sine wave, which is suitable for processing periodic or oscillatory signals. Potential signals usually have such oscillation characteristics. Therefore, the use of Morlet wavelet can better match the inherent characteristics of the signal, thereby extracting more meaningful information.
[0063] The results of wavelet transform include: low-frequency approximate component A j and high frequency detail component D j , corresponding to the main trend and detailed information of the signal respectively, the decomposition formula is:
[0064] A j =∑ k V[k]·φ(2 j tk);
[0065] D j =∑ k V[k]·ψ(2 j tk);
[0066] Among them, φ(2 j tk) and ψ(2 j tk) are basis functions related to the signal scale.
[0067] Low frequency approximate component A j Capture the main trend of the signal, while the high-frequency detail components D j Reflects the detailed information of the signal. In order to eliminate the noise in the high-frequency part, the high-frequency detail component D is filtered by the soft threshold method. j Perform denoising to obtain the denoised signal V denoised (t):
[0068]
[0069] After wavelet transform processing, the noise in the time domain signal of the low-precision electrode is effectively suppressed and the main trend of the signal is retained.
[0070] Among them, soft thresholding is a technology used for signal denoising, especially widely used in wavelet transform. Its basic idea is to suppress or eliminate high-frequency noise by applying threshold processing to wavelet coefficients while retaining the effective information of the signal as much as possible.
[0071] After setting a threshold λ, the soft threshold processing formula is as follows:
[0072]
[0073] in is the high-frequency detail component after soft threshold processing, sign(D j ) is D j The symbolic function of D j The sign of D j The positive and negative values are 1 or -1 respectively.
[0074] After the filter module performs wavelet denoising on the potential signal, it sends the filtered potential signal to the correction module. The correction module evaluates the amplitude deviation by calculating the Earth Mover's Distance (EMD) between the standard electrode and the low-precision electrode signal. The EMD calculation formula is:
[0075]
[0076] Among them, f i is the mass transfer from the low-precision electrode signal to the standard electrode signal, d i The EMD result can quantify the deviation of the low-precision electrode signal relative to the standard electrode signal.
[0077] In order to further evaluate the frequency deviation of the low-precision electrode signal, the system uses Fourier transform to convert the time domain signal into the frequency domain signal and obtain the frequency domain characteristic curve V std (f) and V x (f). The frequency response curve is as follows Figure 5 and Figure 6 As shown, by comparing the frequency domain values of the resonance point, the frequency deviation Δf of the electrode numbered x is calculated. x :
[0078]
[0079] Where M is the number of resonance points, f std,j and f x,j are the frequencies of the standard electrode and the electrode numbered x at the jth resonance point respectively.
[0080] Then calculate the correction factor a for electrode numbered x x , first calculate the average potential measured by the standard silver chloride electrode The average potential measured by the low-precision silver chloride electrode numbered x
[0081]
[0082] Where N is the number of different electric field strengths, V std (i) and V x (i) represents the potential of the standard silver chloride electrode and the low-precision silver chloride electrode numbered x under the i-th electric field strength.
[0083] Calculate the slope of the linear regression, which is also the correction factor c for electrode number x x :
[0084]
[0085] The calibration module takes the solution concentration, water temperature, the distance between the two capacitor plates of the long plate electric field generator, the detection data of all numbered low-precision silver chloride electrodes and their corresponding calibration factors c of this calibration test. x 、EMD(V std ,V x ) and frequency deviation Δf x Enter the calibration database and save it.
[0086] When the low-precision silver chloride electrode is used subsequently, after obtaining its newly measured potential, the computer reads the correction factor c of the low-precision silver chloride electrode with the number in the correction database. x 、EMD(V std ,V x ) and frequency deviation Δf x , calculate the corrected potential according to the correction formula, the correction formula is:
[0087]
[0088] Where V correct is the corrected potential, V x_new is the potential before correction.
[0089] The calibration data of low-precision silver chloride electrodes are maintained regularly, and reproduction tests are carried out according to the calibration experimental environment (including solution concentration, water temperature and the distance between the two capacitor plates of the long plate electric field generator) saved in the calibration database. First, a standard silver chloride electrode is used to verify whether the potential signal under each electric field strength recorded has a deviation greater than the allowable error. If there is no problem, the electrode position is marked on the outer surface of the container containing the solution with a marker pen, and the low-precision silver chloride electrodes with different numbers are replaced and the same verification is performed. The low-precision silver chloride electrodes with potential signal deviation far greater than (5 times) the allowable error are discarded, and the data with this number are deleted from the calibration database. The newly obtained detection data of the remaining low-precision silver chloride electrodes cover and update the old data in the calibration database.
[0090] The steps in the present invention can be adjusted in order, combined or deleted according to actual needs.
[0091] The units in the device of the present invention can be combined, divided and deleted according to actual needs.
[0092] Although the present invention is disclosed in detail with reference to the accompanying drawings, it should be understood that these descriptions are merely exemplary and are not intended to limit the application of the present invention. The scope of protection of the present invention is defined by the appended claims and may include various modifications, alterations and equivalents made to the invention without departing from the scope and spirit of the present invention.
Claims
1. A low-precision silver chloride electrode calibration method, characterized in that, The method comprises: S1, generate a uniform electric field, insert the two capacitor plates of the long plate electric field generator in parallel into a potassium chloride solution with a concentration of 0.1M, set the initial electric field strength and frequency parameters and then turn on the power. After a certain period of time, the long plate electric field generator works stably to generate a uniform electric field between the two capacitor plates; S2, insert the standard silver chloride electrode into the middle of the two capacitor plates, change the electric field strength of the long plate electric field generator several times, and the amplitude of the electric field strength changed each time is consistent. The data acquisition module collects the potential signal of the standard silver chloride electrode under different conditions through the wire, and inputs it into the computer to obtain standard test data; S3, replacing the standard silver chloride electrode with a low-precision silver chloride electrode and extending it between the two capacitor plates, each low-precision silver chloride electrode has a number, changing the electric field strength of the long plate electric field generator in the same order and parameters as step S2, and obtaining the detection data of the low-precision silver chloride electrode with the number; repeating the above operation until the detection data of all the low-precision silver chloride electrodes with the numbers are obtained; S4, the computer inputs the standard detection data and the detection data of all numbered low-precision silver chloride electrodes into the filtering module, and the filtering module performs continuous wavelet transform on the potential signals of the standard silver chloride electrode and the low-precision silver chloride electrode to suppress the noise in the time domain signal; S5, the filtered potential signal is input into a correction module, and the correction module fits the potential signal of each numbered low-precision silver chloride electrode to obtain a correction parameter of each low-precision silver chloride electrode; S6. The computer inputs the correction parameters of each numbered low-precision silver chloride electrode into a correction database for storage. When each numbered low-precision silver chloride electrode is subsequently used, the computer reads the correction parameters of the numbered low-precision silver chloride electrode in the correction database to correct the potential signal newly measured.
2. The low-precision silver chloride electrode calibration method as claimed in claim 1, characterized in that: In the steps S2 and S3, only one electrode is inserted between the two capacitor plates at a time to avoid interference with data caused by overlapping potential fields generated by multiple electrodes.
3. The low-precision silver chloride electrode calibration method as claimed in claim 2, characterized in that: The step S2 also includes: after the standard silver chloride electrode is inserted between the two capacitor plates and stops moving, the electrode position is marked on the outer surface of the glass container containing the potassium chloride solution with a marker pen, and step S3 places the low-precision silver chloride electrode according to the mark of the marker pen.
4. The low-precision silver chloride electrode calibration method as claimed in claim 1, characterized in that: The step S4 of performing continuous wavelet transform comprises: The input potential signal V(t) is subjected to continuous wavelet transform to decompose the signal into wavelet coefficients at different scales and time positions. The mathematical expression of continuous wavelet transform is: Where W(a,b) is the wavelet coefficient of the signal at scale a and time position b; is the complex conjugate of the mother wavelet function; The results of wavelet transform include: low-frequency approximate component A j and high frequency detail component D j , corresponding to the main trend and detailed information of the signal respectively, the decomposition formula is: A j =∑ k V[k]·φ(2 j t-k); D j =∑ k V[k]·ψ(2 j t-k); Among them, φ(2 j tk) and ψ(2 j tk) are basis functions related to the signal scale; Low frequency approximate component A j Capture the main trend of the signal, while the high-frequency detail components D j Reflects the signal details; the high-frequency detail component D is j After performing denoising and setting the threshold λ, the soft threshold processing formula is as follows: in is the high-frequency detail component after soft threshold processing, sign(D j ) is D j The symbolic function of D j The sign of D j The positive and negative values of are 1 or -1 respectively; Finally, we get the denoised signal V denoised (t):
5. The low-precision silver chloride electrode calibration method as claimed in claim 4, characterized in that: The fitting step of step S5 specifically includes: Calculate the EMD evaluation amplitude deviation between the standard electrode and the low-precision electrode signal. The EMD calculation formula is: Among them, f i is the mass transfer from the low-precision electrode signal to the standard electrode signal, d i is the corresponding distance; The time domain signal is converted into a frequency domain signal using Fourier transform, and the frequency domain characteristic curve V is obtained. std (f) and V x (f); By comparing the frequency domain values of the resonance point, calculate the frequency deviation Δf of the electrode numbered x x : Where M is the number of resonance points, f std,j and f x,j are the frequencies of the standard electrode and the electrode numbered x at the jth resonance point respectively; Then calculate the average potential measured by the standard silver chloride electrode The average potential measured by the low-precision silver chloride electrode numbered x Where N is the number of different electric field strengths, V std (i) and V x (i) represents the potential of the standard silver chloride electrode and the low-precision silver chloride electrode numbered x under the i-th electric field strength. Calculate the slope of the linear regression, which is also the correction factor c for electrode number x x :
6. The low-precision silver chloride electrode calibration method as claimed in claim 5, characterized in that: The method of correcting the potential signal newly measured by the low-precision silver chloride electrode in step S6 includes: The computer reads the correction factor c of the low-precision silver chloride electrode of this number in the calibration database x 、EMD(V std ,V x ) and frequency deviation Δf x , calculate the corrected potential according to the correction formula, the correction formula is: Where V correct is the corrected potential, V x_new is the potential before correction.
7. The low-precision silver chloride electrode calibration method as claimed in claim 1, characterized in that: The data stored in the calibration database in step S5 also include: the solution concentration and water temperature of this calibration test, the distance between the two capacitor plates of the long plate electric field generator, and the detection data of all numbered low-precision silver chloride electrodes.
8. The low-precision silver chloride electrode calibration method according to claim 6, characterized in that: The method further comprises: S6. Regularly maintain the calibration data of the low-precision silver chloride electrode, and perform a reproduction test based on the calibration experimental environment stored in the calibration database. First, use a standard silver chloride electrode to verify whether the potential signal recorded at each electric field strength has a deviation greater than the first allowable error. If there is no problem, use a marker to mark the electrode position on the outer surface of the container containing the solution, replace the low-precision silver chloride electrodes with different numbers and perform the same verification. The low-precision silver chloride electrodes with a potential signal deviation greater than the second allowable error will be discarded, and the data with this number will be deleted from the calibration database. The newly obtained detection data of the remaining low-precision silver chloride electrodes will overwrite and update the old data in the calibration database.
