Dissolved hydrogen measuring device and method, computer program product and electrode manufacturing method
By combining the color change electrode with the test electrode, and connecting the solution to be tested and the inorganic salt solution through a salt bridge, the dissolved hydrogen content is monitored by using the color change of the dye substance, the problem of difficult real-time detection of dissolved hydrogen in the prior art is solved, and the problem of real-time detection of dissolved hydrogen is achieved. Efficient and accurate monitoring of dissolved hydrogen.
Patent Information
- Application Number
- CN202510080383.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-20
- Publication Date
- 2025-02-21
AI Technical Summary
The prior art is difficult to achieve rapid, in-situ and real-time detection of dissolved hydrogen, and cannot meet the real-time monitoring of dissolved hydrogen content during the hydroelectric hydrogen production process.
The method of combining the color change electrode with the test electrode is used to connect the solution to be tested and the inorganic salt solution through a salt bridge. The dye substances undergo color changes when obtaining electrons are used to monitor the dissolved hydrogen content in the solution to be tested in real time.
Real-time and accurate detection of dissolved hydrogen content is achieved, and the problem that the existing technology cannot achieve rapid, in-situ and real-time monitoring is solved, and the safety and efficiency of the electrolytic production process is improved.
Smart Images

Figure CN119492729A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of dissolved hydrogen detection, and in particular to a dissolved hydrogen measurement device and method, a computer program product, and an electrode manufacturing method. Background Art
[0002] In the field of water electrolysis hydrogen production, it is usually necessary to monitor the content of gaseous hydrogen to ensure and optimize the electrolysis production process. The inventors of the present application have found that the detection of dissolved hydrogen content can also be a key parameter in such fields, which can timely evaluate the system status and provide corresponding feedback to the system.
[0003] To ensure the safety and efficiency of the hydrogen energy generation process, it is becoming increasingly necessary to develop effective and low-cost sensors for real-time detection of dissolved hydrogen.
[0004] In the prior art, gas chromatography is a mature method for determining dissolved hydrogen, but it cannot achieve rapid, in-situ, real-time monitoring and analysis. With the improvement of electrolysis technology, real-time, in-situ determination of dissolved hydrogen content has become an important demand. Summary of the invention
[0005] In order to solve or at least partially solve the above technical problems, the present application provides a method for measuring the content of dissolved hydrogen, comprising: Insert the test electrode into the solution to be tested.
[0006] The color-changing electrode is inserted into an inorganic salt solution. The color-changing electrode has a dye substance on it. The dye substance can react with ions in the inorganic salt solution to change its own color when it obtains electrons.
[0007] The test solution and the inorganic salt solution are connected through a salt bridge.
[0008] The dissolved hydrogen content in the solution to be tested is determined according to the current color of the color-changing electrode.
[0009] Preferably, the dye substance is Prussian blue, the inorganic salt solution is a potassium salt solution, and the dye substance undergoes the following reaction when obtaining electrons: ; Converts Prussian Blue to Prussian White.
[0010] Preferably, the step of determining the dissolved hydrogen content in the solution to be tested according to the current color of the color-changing electrode comprises: The color displayed by the color-changing electrode is obtained and converted into color parameters.
[0011] The dissolved hydrogen content in the solution to be tested is obtained based on the color parameters.
[0012] Preferably, the color parameter includes the color gray value of the color-changing electrode in the image, and the color gray value is obtained by the following steps: Among the pixels in the area occupied by the color-changing electrode in the image, the pixels used to outline the outline are removed.
[0013] Get the median of the grayscale values of the remaining pixels; or, Remove the pixels whose grayscale values are in the maximum 5%-20% range, and remove the pixels whose grayscale values are in the minimum 5%-20% range, and obtain the average grayscale values of the remaining pixels.
[0014] The embodiment of the present application also discloses a dissolved hydrogen content measuring device, comprising: an inorganic salt solution tank, a color-changing electrode, a test electrode and a salt bridge. The color-changing electrode is inserted into the inorganic salt solution of the inorganic salt solution tank, and the color-changing electrode has a dye substance, and the dye substance can react with the ions in the inorganic salt solution when obtaining electrons to change its own color. The test electrode is electrically connected to the color-changing electrode, and the test electrode is inserted into the solution to be tested. The two ends of the salt bridge are respectively connected to the solution to be tested and the inorganic salt solution. The color of the dye substance on the color-changing electrode after obtaining electrons from the test electrode can be used to characterize the dissolved hydrogen content in the solution to be tested.
[0015] Preferably, the color-changing electrode comprises: an ITO body and a Prussian blue film layer, and the Prussian blue film layer is modified on the ITO body.
[0016] Preferably, the test electrode is conductive glass modified with a catalyst, and the inorganic salt solution is K2SO4 or KCl.
[0017] Preferably, the test electrode is ITO with nano-Pt particles modified on the surface, and the diameter of the nano-Pt particles is about 70 nm.
[0018] Preferably, the measuring device further comprises: a display, an image acquisition device and a controller. The image acquisition device is used to acquire an image of the color-changing electrode. The controller is respectively connected to the display and the image acquisition device for communication, and is used to obtain the color of the color-changing electrode in the image and convert it into a color parameter. The controller is also used to convert the color parameter into the dissolved hydrogen content in the solution to be measured, and send it to the display for display.
[0019] The embodiments of the present application further disclose a computer program product. When a computer program in the computer program product is executed by a processor, the computer program can implement the following steps: Acquire an image of the color-changing electrode; Convert the color displayed by the color-changing electrode in the image into color parameters; The dissolved hydrogen content in the solution to be tested is obtained according to the color parameters; The dissolved hydrogen content is sent to a display for display.
[0020] Preferably, the color parameter includes the color gray value of the color-changing electrode in the image, and the color gray value is obtained by the following steps: Among the pixels in the area occupied by the color-changing electrode in the image, the pixels used to outline the outline are removed.
[0021] Get the median of the grayscale values of the remaining pixels; or, Remove the pixels whose grayscale values are in the maximum 5%-20% range, and remove the pixels whose grayscale values are in the minimum 5%-20% range, and obtain the average grayscale values of the remaining pixels.
[0022] Preferably, the step of obtaining the dissolved hydrogen content in the solution to be tested according to the color parameter comprises: The dissolved hydrogen content is calculated according to the following rule: G = 113.2 + 34.45 c Where G is the color parameter, c is the dissolved hydrogen content, and the range of c is 162 ppb-1.62 ppm.
[0023] The embodiment of the present application also includes a method for manufacturing a color-changing electrode, the manufacturing method comprising: ITO is placed in a solution containing K3[Fe(CN)6], FeCl3 and HCl, wherein the molar concentration ratio of K3[Fe(CN)6], FeCl3 and HCl is 1:1:2.
[0024] A voltage of 0.3 V was applied to the solution for 30 s.
[0025] The ITO was heated at 100° C. for 4 h.
[0026] Compared to the prior art, the present application sets a test electrode in a test solution with dissolved hydrogen, inserts a color-changing electrode into an inorganic salt solution, and connects the color-changing electrode to the test electrode via a cable. When the dissolved hydrogen in the test solution reacts with the test electrode, electrons will be generated on the surface of the test electrode, and the generated electrons will be directed toward the color-changing electrode. The color-changing electrode will change color after obtaining electrons, and the color of the color-changing electrode will also change accordingly in real time with the change in the number of electron transfers. At this time, by comparing the color of the color-changing electrode with the concentration of dissolved hydrogen, the concentration of dissolved hydrogen in the test solution can be obtained in real time, thereby realizing real-time detection of the dissolved hydrogen concentration. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the implementation of the present application, the following is a brief introduction to the relevant drawings. It is understood that the drawings described below are only used to illustrate some implementations of the present application, and those skilled in the art can also obtain many other technical features and connection relationships not mentioned in this document based on these drawings.
[0028] Figure 1 It is a schematic structural diagram of a dissolved hydrogen content measuring device according to an embodiment of the present application; Figure 2 It is a schematic structural diagram of a dissolved hydrogen content measuring device according to an embodiment of the present application; Figure 3 is a perspective change rate of a color-changing electrode in an embodiment of the present application; Figure 4 It is the reversibility of the color change of a color-changing electrode under different voltages in an embodiment of the present application; Figure 5 is the color of the color-changing electrode corresponding to different concentrations of dissolved hydrogen in the embodiment of the present application; Figure 6 is a linear relationship between the gray value of the color of the color-changing electrode and the dissolved hydrogen concentration in the embodiment of the present application; Figure 7 It is a flow chart of a method for measuring dissolved hydrogen content according to an embodiment of the present application.
[0029] Description of reference numerals: 1. Test electrode; 2. Color-changing electrode; 3. Inorganic salt solution; 4. Wire; 5. Salt bridge; 6. Solution to be tested. DETAILED DESCRIPTION
[0030] The present application is described in detail below in conjunction with the accompanying drawings.
[0031] In the prior art, gas chromatography is a mature method for determining dissolved hydrogen, but it cannot achieve rapid, in-situ, real-time monitoring and analysis. Self-powered sensors have attracted more and more attention due to their lack of external power supply, low cost and real-time monitoring capabilities. Introducing color changes into self-powered sensors further simplifies the construction and instrument requirements of the sensors. Electrochromic materials not only participate in electrode reactions, but also serve as signal output devices. Prussian blue has a satisfactory molar extinction coefficient of about 10 4 L ·mol -1 cm -1 and suitable electrochromic potential, making it suitable for use in self-powered electrochromic sensors.
[0032] However, the poor cycling stability, dissolution or shedding of common Prussian blue over a wide voltage range limits its application. With the improvement of electrolysis technology, real-time, in-situ determination of dissolved hydrogen content has become an important demand.
[0033] In view of this, the first embodiment of the present application proposes a dissolved hydrogen measurement device and method, a computer program product, and an electrode manufacturing method to solve the above technical problems.
[0034] First embodiment refer to Figure 7 The present application provides a method for measuring dissolved hydrogen content, comprising: S1. Insert the test electrode 1 into the solution 6 to be tested.
[0035] S2. Insert the color-changing electrode 2 into the inorganic salt solution 3. The color-changing electrode 2 has a dye substance. When the dye substance obtains electrons, it can react with ions in the inorganic salt solution 3 to change its own color.
[0036] S3, connecting the solution to be tested 6 and the inorganic salt solution 3 via the salt bridge 5.
[0037] S4. Determine the dissolved hydrogen content in the solution 6 to be tested according to the current color of the color-changing electrode 2.
[0038] When detecting the concentration of dissolved hydrogen in the solution to be tested 6, the test electrode 1 needs to be placed in the solution to be tested 6. In this way, the test electrode 1 and the dissolved hydrogen in the solution to be tested 6 will undergo a spontaneous oxidation reaction and form a potential difference. At the same time, the electrons generated on the surface of the test electrode 1 will undergo directional migration. Since the salt bridge 5 connects the solution to be tested 6 and the inorganic salt solution 3, the two ends of the salt bridge 5 are respectively connected to the solution to be tested 6 and the inorganic salt solution 3. Because the solution to be tested 6 is different from the inorganic salt solution 3, the difference in the migration speed of positive and negative ions through the solution junction will form a double electric layer at the interface, thereby generating a liquid junction potential. Liquid junction potential is one of the main causes of potential analysis errors. Inserting a salt bridge 5 between the solution to be tested 6 and the inorganic salt solution 3 instead of direct contact between the two solutions can reduce and stabilize the liquid junction potential. At this time, the electrons generated by the test electrode 1 will move to the color-changing electrode 2 through the wire 4 between the test electrode 1 and the color-changing electrode 2. And due to the effect of the salt bridge 5, the electrons transferred between the test electrode 1 and the color-changing electrode 2 all come from the reaction between the test electrode 1 and the dissolved hydrogen.
[0039] Specifically, refer to Figure 5As shown, when the color-changing electrode 2 obtains different numbers of electrons, the color it presents will change in real time, and the number of electrons generated by the test electrode 1 will also change in real time according to the concentration of dissolved hydrogen. Therefore, by converting the color presented by the color-changing electrode 2 in real time, the concentration of dissolved hydrogen in the test solution 6 at this time can be obtained.
[0040] At the same time, the dye substance is Prussian blue, and the inorganic salt solution 3 is a potassium salt solution. When the dye substance obtains electrons, the following reaction occurs: ; Converts Prussian Blue to Prussian White.
[0041] It is not difficult to see from the above formula that the surface of the color-changing electrode 2 contains Prussian blue. When Prussian blue obtains electrons generated by the reaction between the test electrode 1 and dissolved hydrogen and potassium ions in the potassium salt solution, a reaction will occur and gradually transform into Prussian white. At the same time, the color depth of the converted Prussian blue will change in real time according to the number of electrons obtained by the test electrode 1. Figure 4 As shown, after the Prussian blue on the color-changing electrode 2 obtains electrons and is converted into Prussian white, it will turn blue again when a positive voltage is applied or only in the presence of air. Therefore, when the dissolved hydrogen content in the solution 6 to be tested changes, the number of electrons obtained by the color-changing electrode 2 will also change accordingly. The color change presented by the color-changing electrode 2 will not be affected by the previously obtained electrons and the color change caused by them, thereby ensuring the accuracy and real-time performance of the detection of dissolved hydrogen concentration.
[0042] Further, the step of determining the dissolved hydrogen content in the test solution 6 according to the current color of the color-changing electrode 2 includes: S5. Obtain the color displayed by the color-changing electrode 2 and convert it into a color parameter.
[0043] S6. Determine the dissolved hydrogen content in the solution 6 to be tested according to the color parameter.
[0044] The color-changing electrode 2 changes color when it obtains the electrons generated by the reaction between the test electrode 1 and the dissolved hydrogen. However, when the difference in the number of electrons is small, the color change presented by the color-changing electrode 2 is also small. Therefore, direct observation cannot accurately obtain the color change of the color-changing electrode 2. By converting the color of the color-changing electrode 2 into color parameters and analyzing these color parameters, the concentration content of dissolved hydrogen in the test solution 6 can be obtained more accurately.
[0045] Specifically, the color parameter includes the color gray value of the color-changing electrode 2 in the image, and the color gray value is obtained by the following steps: S7. Among the pixel points in the area occupied by the color-changing electrode 2 in the image, remove the pixel points used to outline the outline.
[0046] S8, obtaining the median of the grayscale values of the remaining pixels; or, Remove the pixels whose grayscale values are in the maximum 5%-20% range, and remove the pixels whose grayscale values are in the minimum 5%-20% range, and obtain the average grayscale values of the remaining pixels.
[0047] Color images contain three color channels: red, green, and blue, each with 256 levels of intensity, which can represent a total of about 16.77 million colors. Grayscale images have only one channel, brightness, which ranges from 0 to 255, which greatly reduces the amount of data. This simplification makes subsequent data processing and calculation more efficient. Since data needs to be acquired quickly and in real time when obtaining dissolved hydrogen concentration, the speed of processing and analyzing images is significantly improved by acquiring pixels of the grayscale value of the color-changing electrode 2 due to the reduction in the amount of data in the grayscale image. This improves the computing speed for real-time concentration monitoring scenarios that require a fast response.
[0048] Furthermore, removing the pixels of the outline can reduce the interference items caused by the shadows at the edge of the obtained image during shooting, thereby ensuring the accuracy of the grayscale value read, and then ensuring the accuracy of the dissolved hydrogen concentration calculation. At the same time, when obtaining the color of the color-changing electrode 2, the external light will affect the brightness of the surface of the color-changing electrode 2, thereby affecting the grayscale value of the obtained color-changing electrode 2. Therefore, when calculating the grayscale value of the color-changing electrode 2, the calculation method of obtaining the average is used to reduce the digital error caused by the high light or too dark place of the external light, so as to ensure the accuracy of the dissolved hydrogen concentration after acquisition and calculation.
[0049] Second embodiment The second embodiment of the present application refers to Figure 1 The figure also discloses a dissolved hydrogen content measuring device, comprising: an inorganic salt solution 3 tank, a color-changing electrode 2, a test electrode 1 and a salt bridge 5. The color-changing electrode 2 is inserted into the inorganic salt solution 3 in the inorganic salt solution 3 tank, and the color-changing electrode 2 has a dye substance, and the dye substance can react with the ions in the inorganic salt solution 3 when obtaining electrons to change its own color. The test electrode 1 is electrically connected to the color-changing electrode 2, and the test electrode 1 is inserted into the solution to be tested 6. The two ends of the salt bridge 5 are respectively connected to the solution to be tested 6 and the inorganic salt solution 3. The color of the dye substance on the color-changing electrode 2 after obtaining electrons from the test electrode 1 can be used to characterize the dissolved hydrogen content in the solution to be tested 6.
[0050] Since there is a natural potential difference in each solution, the potential difference between the test solution 6 and the inorganic salt solution 3 can be balanced through the salt bridge 5, thereby avoiding the influence of the directional movement of electrons caused by the natural potential difference between the test solution 6 and the inorganic salt solution 3 on the detection result.
[0051] The test electrode 1 can react with the dissolved hydrogen in the solution to be tested 6, causing a qualitative transfer of electrons. These transferred electrons can move to the color-changing electrode 2 immersed in the inorganic salt solution 3. After the color-changing electrode 2 obtains the electrons transferred from the test electrode 1, it changes color in combination with the inorganic salt solution 3. The color-changing electrode 2 changes its color in real time according to the number of electrons obtained. Therefore, by real-time monitoring of the color of the color-changing electrode 2, it can be converted into real-time data of the dissolved hydrogen concentration, thereby realizing real-time measurement of the dissolved hydrogen concentration in the solution to be tested 6.
[0052] Further, refer to Figure 2 As shown, the above-mentioned inorganic salt solution 3 tank, color-changing electrode 2, test electrode 1 and salt bridge 5 can be integrated into a test pen. The inorganic salt solution 3 is stored inside the test pen shell, and the test pen shell is set to be transparent, and the color-changing electrode 2 arranged in the shell and immersed in the inorganic salt solution 3 can be directly observed through the transparent shell. At the detection end of the test pen, the salt bridge 5 and the test electrode 1 both extend through the detection end, and the other end of the salt bridge 5 extends into the inorganic salt solution 3 stored in the shell. Similarly, the test electrode 1 also extends from the inside of the shell, and the part of the test electrode 1 located in the shell is connected to the color-changing electrode 2 immersed in the inorganic salt solution 3 through the wire 4.
[0053] When the detection pen is inserted into the solution to be tested 6, the salt bridge 5 and the test electrode 1 extending to the outside of the shell will extend into the solution to be tested 6, and the concentration of dissolved hydrogen in the solution to be tested 6 will be reflected on the color-changing electrode 2. The real-time concentration of dissolved hydrogen in the solution to be tested 6 is obtained by the color displayed by the color-changing electrode 2.
[0054] By integrating the detection components into a detection pen, the dissolved hydrogen content measuring device can be easily carried. And because all the components are integrated in a detection pen, when the test liquid needs to be tested, the preparation of the previous equipment is omitted, which improves the efficiency of dissolved hydrogen concentration detection.
[0055] Meanwhile, the color-changing electrode 2 includes: an ITO main body and a Prussian blue film layer, and the Prussian blue film layer is modified on the ITO main body.
[0056] Refer to the following change formula: ; When Prussian blue is immersed in an inorganic salt solution 3 and gains electrons, it gradually changes to Prussian white. Figure 5As shown, when the color-changing electrode 2 obtains different electrons so that different potential differences are generated between the color-changing electrode 2 and the test electrode 1, the color-changing electrode 2 can present different colors. Therefore, according to the change degree of the Prussian blue color on the color-changing electrode 2, the real-time concentration of dissolved hydrogen in the test solution 6 at this time can be determined. Figure 3 As shown in the figure, the transmittance of Prussian blue modified ITO changes to 76.3% at 700nm. The infrared spectrum shows that the characteristic peak of Prussian blue is at 2080cm -1 and 450-600 cm -1 , which can be convenient for observation.
[0057] Further, refer to Figure 4 As shown in the figure, the current does not drop significantly when the circuit is cycled 80 times between -0.4 V and -0.7 V; good reversibility is maintained when the circuit is cycled under different wider fading voltages. It can be understood that the color-changing electrode 2 will turn blue again after the reaction, so even if the concentration of dissolved hydrogen in the test solution 6 changes at this time, the color-changing electrode 2 can still respond to the dissolved hydrogen after the concentration changes, avoiding the previous detection results interfering with the detection of the change in dissolved hydrogen concentration.
[0058] Preferably, the test electrode 1 is a conductive glass modified with a catalyst, and the inorganic salt solution 3 is K2SO4 or KCl. K2SO4 or KCl has a high solubility, and the external temperature has little effect on the two, so that K2SO4 or KCl is prevented from changing when facing different test solutions 6. In addition, the cost of K2SO4 or KCl is low, which can effectively reduce the production cost of the dissolved hydrogen content measurement device.
[0059] Preferably, the test electrode 1 is ITO with nano-Pt particles modified on the surface, and the diameter of the nano-Pt particles is about 70 nm.
[0060] Since Pt is a precious metal, it has extremely high electrochemical stability, which means that it will not react chemically or corrode in most electrolyte solutions. This inertness makes Pt an ideal electrode material because it will not react with other components in the electrolyte, so that Pt only reacts with the electrolyte solution as a catalyst, ensuring the accuracy of the detection structure. At the same time, Pt is an excellent conductor that can effectively transmit electrons. In electrochemical reactions, electrons need to be transferred through electrodes, and the high conductivity of Pt ensures the efficient conduction of this process, thereby improving the efficiency of electrochemical reactions. The test electrode 1 needs to transfer the electrons generated by the nano Pt particles as a catalyst and the dissolved hydrogen in the solution to be tested 6 to the counter electrode, so the ITO modified with nano Pt can react better while ensuring the directional migration of electrons, thereby forming a potential difference.
[0061] Furthermore, Pt is considered a valuable resource due to its scarcity and wide range of applications. Especially in the field of electrochemical sensing, the use of pure Pt to manufacture test electrodes1 not only increases production costs but also limits the possibility of large-scale applications. To this end, researchers have explored a more cost-effective method to replace the traditional solution, that is, to form a composite structure using Pt particles of a specific size, such as about 70nm, deposited on an ITO substrate as a working electrode. This method not only significantly reduces the mass of Pt required per unit area, but also benefits from the nanoscale effect. These tiny but numerous Pt grains can greatly increase the surface area to volume ratio, thereby enhancing the overall catalytic activity and selectivity.
[0062] In addition, the measuring device also includes: a display, an image acquisition device and a controller. The image acquisition device is used to acquire an image of the color-changing electrode 2. The controller is connected to the display and the image acquisition device for communication, and is used to obtain the color of the color-changing electrode 2 in the image and convert it into a color parameter. The controller is also used to convert the color parameter into the dissolved hydrogen content in the solution 6 to be tested, and send it to the display for display.
[0063] When converting the color presented by the color-changing electrode 2 to the dissolved hydrogen concentration, it is necessary to acquire the color presented by the color-changing electrode 2, analyze the acquired color, and finally obtain the concentration of dissolved hydrogen in the test solution 6 detected at this time. Therefore, the image acquisition device can capture the color presented by the color-changing electrode 2, and the controller can process the captured image and convert the color parameters corresponding to the color-changing electrode 2. The dissolved hydrogen concentration converted by the controller can be displayed on the display, so that the user can quickly and intuitively grasp the concentration of dissolved hydrogen in the test solution 6 at this time. Of course, the display, image acquisition device and controller can also be integrated into a Figure 2 In the pen-shaped detection device shown in the figure, a display is arranged on the surface of the housing, and when the detection end of the detection device is inserted into the solution 6 to be detected, the display can directly show the concentration of dissolved hydrogen in the solution 6 to be detected at this time.
[0064] By integrating the image acquisition device, controller and display into a pen-shaped detection device, the dissolved hydrogen content measurement device is made more portable. This design not only improves the portability of the device, but also simplifies the operation process, allowing users to easily detect dissolved hydrogen concentration at any time and any place. In addition, the high contrast and good viewing angle of the display ensure that users can easily read the measurement results, while the controller provides powerful data processing capabilities to ensure the accuracy and reliability of the measurement results.
[0065] Third embodiment After obtaining the color presented by the color-changing electrode 2, it is necessary to analyze the color of the color-changing electrode 2 at this time and calculate the dissolved hydrogen concentration corresponding to the presented color.
[0066] In view of this, the third embodiment of the present application further discloses a computer program product. When the computer program in the computer program product is executed by a processor, the following steps can be implemented: S9, acquiring an image of the color-changing electrode 2; S10, converting the color displayed by the color-changing electrode 2 in the image into color parameters; S11, obtaining the dissolved hydrogen content in the solution 6 to be tested according to the color parameter; S12. Send the dissolved hydrogen content to a display for display.
[0067] By converting the color presented by the color-changing electrode 2 into color parameters, and calculating the corresponding concentration of dissolved hydrogen at this time according to the obtained color parameters, and finally displaying the calculated dissolved hydrogen concentration on a display, the user can directly grasp the concentration of dissolved hydrogen in the test solution 6 at this time.
[0068] In addition, the color parameter includes the color gray value of the color-changing electrode 2 in the image, and the color gray value is obtained by the following steps: S13, among the pixels in the area occupied by the color-changing electrode 2 in the image, remove the pixels used to outline the outline.
[0069] S14, obtaining the median of the grayscale values of the remaining pixels; or, Remove the pixels whose grayscale values are in the maximum 5%-20% range, and remove the pixels whose grayscale values are in the minimum 5%-20% range, and obtain the average grayscale values of the remaining pixels.
[0070] Color images contain three color channels, red, green, and blue, each with 256 levels of intensity, which can represent a total of about 16.77 million colors. Grayscale images have only one channel, brightness, ranging from 0 to 255, which greatly reduces the amount of data. This simplification makes subsequent data processing and calculation more efficient. Since the concentration of dissolved hydrogen needs to be acquired in real time and quickly when obtaining the concentration of dissolved hydrogen, the speed of processing and analyzing images is significantly improved by acquiring the pixels of the grayscale value of the color-changing electrode 2 due to the reduction in the amount of data of the grayscale image. This improves the computing speed for real-time concentration monitoring scenarios that require a fast response.
[0071] Furthermore, removing the pixels of the outline can reduce the interference items caused by the shadows during shooting at the edge of the obtained image, thereby ensuring the accuracy of the grayscale value read, and thus ensuring the accuracy of the dissolved hydrogen concentration calculation. At the same time, since the external light will affect the brightness of the surface of the color-changing electrode 2 when obtaining the color of the color-changing electrode 2, it will affect the grayscale value of the obtained color-changing electrode 2. Therefore, when calculating the grayscale value of the color-changing electrode 2, the calculation method of obtaining the average is used to reduce the digital error caused by the highlight or dark area of the external light, so as to ensure the accuracy of the dissolved hydrogen concentration after acquisition and calculation.
[0072] Preferably, the step of obtaining the dissolved hydrogen content in the test solution 6 according to the color parameter comprises: S15. Calculate the dissolved hydrogen content according to the following rules: G = 113.2 + 34.45 c Where G is the color parameter, c is the dissolved hydrogen content, and the range of c is 162 ppb-1.62 ppm.
[0073] refer to Figure 6 As shown, when the concentration of dissolved hydrogen to be detected is in the range of 162 ppb to 1.62 ppm, the grayscale value of the color presented by the color-changing electrode 2 will be linearly related to the concentration of dissolved hydrogen. By converting the grayscale value of the color-changing electrode 2 through a linear relationship, the concentration of dissolved hydrogen in the solution 6 to be tested can be detected more quickly. Detection within the range of a linear relationship can simplify the time for calculating the concentration of dissolved hydrogen, allowing the user to obtain the concentration value more quickly.
[0074] Fourth embodiment In the present application, the color presented by the color-changing electrode 2 after obtaining electrons is required, and the concentration of dissolved hydrogen in the test solution 6 at this time is calculated by converting the obtained color data. Therefore, the color-changing electrode 2 plays a key role, and the color presented by the color-changing electrode 2 and the stability of the color-changing electrode 2 will directly affect the accuracy of the detection result.
[0075] The embodiment of the present application also includes a method for manufacturing a color-changing electrode 2, the manufacturing method comprising: ITO is placed in a solution containing K3[Fe(CN)6], FeCl3 and HCl, wherein the molar concentration ratio of K3[Fe(CN)6], FeCl3 and HCl is 1:1:2.
[0076] A voltage of 0.3 V was applied to the solution for 30 s.
[0077] The ITO was heated at 100° C. for 4 h.
[0078] refer to Figure 3 , Figure 4 and Figure 5 As shown, the Prussian blue at this time has good light transmittance, which is conducive to the acquisition of color data. At the same time, the color-changing electrode 2 produced according to this manufacturing method has excellent reversibility and stability. After 80 cycles between -0.4 V and -0.7 V, the current did not drop significantly. In addition, even when cycled at a wider fading voltage, the color-changing electrode 2 still maintains good reversibility, so that the color-changing electrode 2 can be used repeatedly, which improves the cycle rate of the color-changing electrode 2 and reduces the cost of use.
[0079] Finally, it should be noted that those skilled in the art can understand that in order to enable readers to better understand the present application, the embodiments of the present application provide many technical details. However, even without these technical details and various changes and modifications based on the above-mentioned embodiments, the technical solutions claimed for protection by the claims of the present application can be basically realized. Therefore, in practical applications, various changes can be made to the above-mentioned embodiments in form and detail without departing from the spirit and scope of the present application.
Claims
1. A method for measuring dissolved hydrogen content, characterized in that: include: Insert the test electrode into the solution to be tested; Inserting a color-changing electrode into an inorganic salt solution, wherein the color-changing electrode has a dye substance, and the dye substance can react with ions in the inorganic salt solution to change its own color when obtaining electrons; Connecting the test solution and the inorganic salt solution via a salt bridge; The dissolved hydrogen content in the solution to be tested is determined according to the current color of the color-changing electrode.
2. The method for measuring dissolved hydrogen content according to claim 1, characterized in that: The dye substance is Prussian blue, the inorganic salt solution is a potassium salt solution, and the dye substance undergoes the following reaction when obtaining electrons: ; The Prussian blue is converted to Prussian white.
3. The method for measuring dissolved hydrogen content according to claim 1, characterized in that: The step of determining the dissolved hydrogen content in the solution to be tested according to the current color of the color-changing electrode comprises: Obtaining the color displayed by the color-changing electrode and converting it into color parameters; The dissolved hydrogen content in the solution to be tested is obtained according to the color parameter.
4. The method for measuring dissolved hydrogen content according to claim 3, characterized in that: The color parameter includes the color gray value of the color-changing electrode in the image, and the color gray value is obtained by the following steps: Among the pixels in the area occupied by the color-changing electrode in the image, removing the pixels used to outline the image; Get the median of the grayscale values of the remaining pixels; or, Remove the pixels whose grayscale values are in the maximum 5%-20% range, and remove the pixels whose grayscale values are in the minimum 5%-20% range, and obtain the average grayscale values of the remaining pixels.
5. A dissolved hydrogen content measuring device, characterized in that: include: An inorganic salt solution tank and a color-changing electrode, wherein the color-changing electrode is inserted into the inorganic salt solution in the inorganic salt solution tank, and the color-changing electrode has a dye substance, and the dye substance can react with ions in the inorganic salt solution to change its own color when it obtains electrons; A test electrode, electrically connected to the color-changing electrode, and the test electrode is inserted into the solution to be tested; A salt bridge, two ends of which respectively connect the solution to be tested and the inorganic salt solution; The color changed by the dye substance on the color-changing electrode after obtaining electrons from the test electrode can be used to characterize the dissolved hydrogen content in the solution to be tested.
6. The dissolved hydrogen content measuring device according to claim 5, characterized in that: The color-changing electrode comprises: ITO entity; A Prussian blue film layer is modified on the ITO main body.
7. The dissolved hydrogen content measuring device according to claim 6, characterized in that: The test electrode is conductive glass modified with a catalyst; The inorganic salt solution is K2SO4 or KCl.
8. The dissolved hydrogen content measuring device according to claim 6, characterized in that: The test electrode is ITO with nano Pt particles modified on the surface; The diameter of the nano Pt particles is about 70 nm.
9. The dissolved hydrogen content measuring device according to any one of claims 5 to 8, characterized in that: Also includes: monitor, An image acquisition device, used to acquire an image of the color-changing electrode; A controller is respectively connected to the display and the image acquisition device for communication, and is used to obtain the color of the color-changing electrode in the image and convert it into color parameters. The controller is also used to convert the color parameters into the dissolved hydrogen content in the solution to be tested and send it to the display for display.
10. A computer program product, characterized in that When the computer program in the computer program product is executed by a processor, the computer program can implement the following steps: Acquire an image of the color-changing electrode; Converting the color displayed by the color-changing electrode in the image into a color parameter; Determining the dissolved hydrogen content in the solution to be tested according to the color parameter; The dissolved hydrogen content is sent to a display for display.
11. The computer program product according to claim 10, characterized in that The color parameter includes the color gray value of the color-changing electrode in the image, and the color gray value is obtained by the following steps: Among the pixels in the area occupied by the color-changing electrode in the image, removing the pixels used to outline the image; Get the median of the grayscale values of the remaining pixels; or, Remove the pixels whose grayscale values are in the maximum 5%-20% range, and remove the pixels whose grayscale values are in the minimum 5%-20% range, and obtain the average grayscale values of the remaining pixels.
12. The computer program product according to claim 10, characterized in that The step of obtaining the dissolved hydrogen content in the solution to be tested according to the color parameter comprises: The dissolved hydrogen content is calculated according to the following rule: G = 113.2 + 34.45 c Where G is the color parameter, c is the dissolved hydrogen content, and the range of c is 162 ppb-1.62 ppm.
13. A method for manufacturing a color-changing electrode, characterized in that: include: ITO is placed in a solution containing K3[Fe(CN)6], FeCl3 and HCl, wherein the molar concentration ratio of K3[Fe(CN)6], FeCl3 and HCl is 1:1:2; A voltage of 0.3 V was applied to the solution for 30 s; The ITO was heated at 100° C. for 4 h.
Citation Information
Patent Citations
Visualized bipolar electrode detection device and application thereof
CN106226364A
Hydrogen sensor and its manufacturing method
JP2006322926A
Hydrogen detection method and hydrogen detection device
JP2018124211A