[go: up one dir, main page]

CN116069072B - Method, device, equipment and storage medium for controlling addition amount of reagent ammonia water - Google Patents

Method, device, equipment and storage medium for controlling addition amount of reagent ammonia water Download PDF

Info

Publication number
CN116069072B
CN116069072B CN202310233847.3A CN202310233847A CN116069072B CN 116069072 B CN116069072 B CN 116069072B CN 202310233847 A CN202310233847 A CN 202310233847A CN 116069072 B CN116069072 B CN 116069072B
Authority
CN
China
Prior art keywords
addition amount
amount
ammonia water
determining
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310233847.3A
Other languages
Chinese (zh)
Other versions
CN116069072A (en
Inventor
曾扬文
徐鸣
石唯
徐琨璘
薛观强
刘峰
戚剑威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Huadatong Gas Manufacturing Co ltd
Original Assignee
Huizhou Huadatong Gas Manufacturing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou Huadatong Gas Manufacturing Co ltd filed Critical Huizhou Huadatong Gas Manufacturing Co ltd
Priority to CN202310233847.3A priority Critical patent/CN116069072B/en
Publication of CN116069072A publication Critical patent/CN116069072A/en
Application granted granted Critical
Publication of CN116069072B publication Critical patent/CN116069072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D11/00Control of flow ratio
    • G05D11/02Controlling ratio of two or more flows of fluid or fluent material
    • G05D11/035Controlling ratio of two or more flows of fluid or fluent material with auxiliary non-electric power
    • G05D11/08Controlling ratio of two or more flows of fluid or fluent material with auxiliary non-electric power by sensing concentration of mixture, e.g. measuring pH value

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Non-Electrical Variables (AREA)

Abstract

The embodiment of the application is suitable for the technical field of ammonia water and provides a method, a device, equipment and a storage medium for controlling the addition amount of reagent ammonia water, wherein the method comprises the following steps: determining a first duration of opening a flow valve according to a first adding amount of reagent ammonia water to be added and the valve flow of an ammonia water storage tank; determining a second adding amount of reagent ammonia water to be added according to the valve flow, the second time length and the first adding amount; determining a third adding amount to be added according to the first pH value of the mixed solution and the second pH value to be achieved; determining a fourth addition amount to be added according to the residual amount, the initial amount and the first addition amount of the reagent ammonia in the ammonia water storage tank; determining a target addition amount to be added according to the second addition amount, the third addition amount and the fourth addition amount; and determining a third time length for opening the flow valve according to the target addition amount, the residual amount, the initial amount and the second time length. The method can accurately control the amount of reagent ammonia water to be added.

Description

Method, device, equipment and storage medium for controlling addition amount of reagent ammonia water
Technical Field
The application belongs to the technical field of ammonia water, and particularly relates to a method, a device, equipment and a storage medium for controlling the addition amount of reagent ammonia water.
Background
The reagent ammonia water is an aqueous solution formed by dissolving gas ammonia in water, and can be applied to various fields such as chemical industry, food, medicine and the like. For example, when applied to the chemical industry, it can react with acidic substances and metals such as copper and zinc to dissolve articles or adjust the ph of the solution.
At present, when the article is dissolved or the pH value of the solution is regulated, the adding amount of ammonia water needs to be strictly controlled so as to accurately regulate the pH value of the solution and prevent the influence on the subsequent process production.
In the prior art, in order to save manual operation, a device for automatically adding ammonia water is generally adopted to add a certain amount of ammonia water into a preparation device every preset time. However, this method may cause a large fluctuation in the pH of the solution in the preparation apparatus, and there is a problem that the amount of ammonia water actually added is too much or too little, resulting in that the pH of the solution in the preparation apparatus cannot be expected.
Disclosure of Invention
The embodiment of the application provides a method, a device, terminal equipment and a storage medium for controlling the addition amount of reagent ammonia water, which can solve the problem of inaccurate addition amount of the ammonia water.
In a first aspect, an embodiment of the present application provides a method for controlling an addition amount of reagent ammonia, including:
determining a first addition amount of reagent ammonia water to be added into the preparation device;
determining a first duration for opening the flow valve according to the first addition amount and the valve flow of the flow valve in the ammonia water storage tank;
controlling the valve opening of the flow valve for a second period of time; the second time period is less than the first time period;
determining a second adding amount of reagent ammonia water to be added into the preparation device according to the valve flow, the second time length and the first adding amount;
collecting a first pH value of the mixed solution in the preparation device;
determining a third adding amount of reagent ammonia water to be added into the preparation device according to the first pH value and a second pH value to be achieved by the mixed solution;
collecting the residual amount of reagent ammonia water in an ammonia water storage tank;
determining a fourth addition amount of reagent ammonia water to be added to the preparation device according to the residual amount, the first addition amount and the initial amount of the reagent ammonia water in the ammonia water storage tank;
determining a target addition amount of reagent ammonia water to be added according to the second addition amount, the third addition amount and the fourth addition amount;
determining a third time length for opening the flow valve according to the target addition amount, the residual amount, the initial amount and the second time length;
and controlling the valve to open for a third time period.
In a second aspect, an embodiment of the present application provides an addition amount control device of reagent ammonia, including:
the first determining module is used for determining a first adding amount of reagent ammonia water to be added into the preparation device;
the second determining module is used for determining a first duration for opening the flow valve according to the first adding amount and the valve flow of the flow valve in the ammonia water storage tank;
the first control module is used for controlling the valve opening of the flow valve for a second duration; the second time period is less than the first time period;
the third determining module is used for determining a second adding amount of reagent ammonia water to be added into the preparation device according to the valve flow, the second time length and the first adding amount;
the first acquisition module is used for acquiring a first PH value of the mixed solution in the preparation device;
a fourth determining module, configured to determine a third addition amount of reagent ammonia water to be added to the preparation device according to the first PH value and a second PH value to be reached by the mixed solution;
the second acquisition module is used for acquiring the residual amount of reagent ammonia water in the ammonia water storage tank;
a fifth determining module, configured to determine a fourth addition amount of reagent ammonia to be added to the preparation device according to the remaining amount, the first addition amount, and an initial amount of reagent ammonia in the ammonia storage tank;
a sixth determining module, configured to determine a target addition amount of ammonia water to be added according to the second addition amount, the third addition amount, and the fourth addition amount;
a seventh determining module, configured to determine a third duration for opening the flow valve according to the target addition amount, the remaining amount, the initial amount, and the second duration;
and the second control module is used for controlling the valve to be opened for a third time period.
In a third aspect, embodiments of the present application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing a method according to the first aspect as described above when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements a method as in the first aspect described above.
In a fifth aspect, embodiments of the present application provide a computer program product for causing a terminal device to perform the method of the first aspect described above when the computer program product is run on the terminal device.
Compared with the prior art, the embodiment of the application has the beneficial effects that: after determining the first addition amount of reagent ammonia water to be added into the preparation device, the addition amount control device can determine the first time length for opening the flow valve according to the first addition amount and the valve flow of the flow valve in the ammonia water storage tank, and control the second time length for opening the valve of the flow valve. Wherein, because the second time period is less than the first time period, the amount of reagent ammonia water first fed into the preparation device is generally less than the first addition amount. Further, the excessive amount of reagent ammonia water added to the preparation vessel at one time can be avoided to cause corrosion to equipment such as metal in the preparation vessel. And then, the terminal equipment can determine the second adding amount of the reagent ammonia water to be added into the preparation device according to the valve flow, the second time length and the first adding amount. And determining a third addition amount of reagent ammonia water to be added to the preparation device according to the first pH value and the second pH value to be achieved by the mixed solution. And determining a fourth addition amount of reagent ammonia to be added to the preparation according to the residual amount of reagent ammonia in the preparation device, the first addition amount and the initial amount of reagent ammonia in the ammonia storage tank. Thus, when the target addition amount is determined according to the second addition amount, the third addition amount and the fourth addition amount, the target addition amount of the reagent ammonia water which is actually required to be added into the preparation device can be comprehensively determined in a plurality of multi-dimensional modes, and the accuracy of the target addition amount is improved. Furthermore, after the third time period for which the flow valve is to be opened is determined according to the target addition amount, the remaining amount, the initial amount, and the second time period, the addition amount of the reagent ammonia water can be precisely controlled so that the pH value of the final mixed solution in the preparation device can be precisely expected.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart showing an implementation of a method for controlling the addition amount of reagent ammonia water according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for controlling the addition amount of reagent ammonia water according to another embodiment of the present application;
FIG. 3 is a schematic diagram of a device for controlling the amount of reagent ammonia according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
When the pH value of the solution needs to be adjusted, reagent ammonia water is generally adopted for adjustment. At present, a device for automatically adding ammonia water is generally adopted in the prior art, and a certain amount of reagent ammonia water is added into a preparation device at preset time intervals. However, since reagent ammonia has a certain corrosiveness to metal (for example, to a flow valve), the amount of reagent ammonia actually added to the preparation after the flow valve is opened cannot be precisely controlled. Further, the fluctuation of the pH value of the solution in the preparation device is large, and the problem of too much or too little dosage of ammonia water is caused, so that the pH value of the solution in the preparation device cannot be expected.
Based on this, in order to improve the accuracy of the reagent aqueous ammonia added to the preparation so that the PH of the final mixed solution can be accurately expected, the embodiment of the present application provides a method for controlling the addition amount of reagent aqueous ammonia. The method can be applied to an addition amount control device of reagent ammonia water.
Referring to fig. 1, fig. 1 shows a flowchart of an implementation of a method for controlling an addition amount of reagent ammonia water according to an embodiment of the present application, where the method includes the following steps:
s101, determining a first adding amount of reagent ammonia water to be added into the preparation device.
In one embodiment, the preparation device may be a container for adjusting the ph of the solution, which will not be described in detail. Wherein, the purpose of adding reagent ammonia water into the preparation device is to adjust the pH value of the solution in the preparation device. For example, the acidity of the solution is adjusted to be alkaline, or the acidity of the solution is reduced, or the alkalinity of the solution is increased. Thus, the first amount of reagent ammonia added to the preparation vessel may be determined based on the current pH of the reagent ammonia and the second pH to be reached by the mixed solution.
Illustratively, when it is desired to reduce the acidity of the solution, the final mixed solution remains acidic. At this time, the pH is the ratio of the total number of hydrogen ions in the solution to the total amount of the substance. The pH value calculation formula is as follows:
Figure SMS_1
;/>
Figure SMS_2
wherein the pH value is a second pH value to be reached by the final mixed solution;
Figure SMS_3
for>
Figure SMS_4
Is the number of (3); v is the volume of the final mixed solution.
It should be noted that, according to the above formula, in the case where the second PH is constant,
Figure SMS_5
is a known value. The volume V of the final mixed solution at this time may be determined according to the volume of the current solution and the volume of the first addition amount to be added. For example, the volume of the first addition amount of the reagent ammonia water and the volume of the current mixed solution can be processed by using a mixed solution volume calculation formula. Thus, the volume V of the final mixed solution can be characterized using the first additive amount.
And, finally, mixing the solution
Figure SMS_6
For the corresponding +.>
Figure SMS_7
Subtracting the amount of +.f in the third additive amount>
Figure SMS_8
The residual amount after the reaction was carried out. At this time, there is also only one unknown amount, i.e. the firstIn three additive amounts
Figure SMS_9
Is a number of (3). However, in the case of a certain solubility of the actual aqueous ammonia, this +.>
Figure SMS_10
The amount of (2) can also be calculated by the existing chemical formula to be characterized using the third additive amount.
Based on this, there is one and only one unknown amount (third addition amount) in the calculation process, and therefore, the first addition amount can be predicted by the existing chemical reaction and calculation formula.
The above manner of determining the first addition amount is merely an example, and in the embodiment of the present application, the determination may be performed according to other manners, which is not limited thereto.
S102, determining a first time length for opening the flow valve according to the first adding amount and the valve flow of the flow valve in the ammonia water storage tank.
In one embodiment, the ammonia water storage tank is used for storing reagent ammonia water. Wherein the flow valve can count the amount of reagent ammonia water input into the preparation. Wherein, the valve flow is the flow of reagent ammonia water in unit time. Thus, the additive amount control means may determine the ratio of the first additive amount to the valve flow amount as the first period of time for which the flow valve needs to be opened.
S103, controlling the valve opening of the flow valve for a second time period; the second duration is less than the first duration.
In one embodiment, the second period of time is less than the first period of time, and therefore, the amount of reagent ammonia added to the preparation is less than the first addition amount during the second period of time. It is understood that when the amount of reagent ammonia added to the generator is too large, the presence of dissolved oxygen will increase the corrosiveness to the metal. Further, corrosion may occur to the piping, flow valves, or other instrumentation that carries the reagent ammonia.
Specifically, the second period of time may be half of the first period of time, and the amount of the reagent ammonia water added to the preparation device during the second period of time may be approximately equal to the amount of reagent ammonia water still required to be added to the preparation device. Furthermore, reagent ammonia water is added into the preparation device in two times, so that the problem that the reagent ammonia water cannot react with the solution in the preparation device completely when the amount of the reagent ammonia water added at one time is excessive can be avoided.
And S104, determining a second adding amount of reagent ammonia water to be added into the preparation device according to the valve flow, the second time length and the first adding amount.
In one embodiment, the second amount of ammonia is an amount required to be added to the preparation apparatus. Specifically, the addition amount control device may calculate the product of the valve flow rate and the second time period to obtain the added amount of the reagent ammonia water added to the preparation device. Thereafter, the difference between the first addition amount and the product may be determined as the second addition amount.
It should be noted that, the valve of the flow valve or the pipe for transporting the reagent ammonia may be corroded by the reagent ammonia, so that the valve or the pipe may be blocked. Thus, the valve flow of the flow valve may be less than the actual flow. Therefore, the second addition amount directly determined according to step S104 may be inaccurate, resulting in inaccurate amount of reagent aqueous ammonia actually added to the preparation machine at the end.
Based on this, in order to improve the accuracy of the reagent ammonia added, the addition amount control device may further obtain a target addition amount of reagent ammonia to be added with higher accuracy by variously measuring the addition amount according to the following steps S105 to S109. The details are as follows:
s105, collecting the first PH value of the mixed solution in the preparation device.
In an embodiment, the first PH is the PH of the mixed solution after a part of the reagent ammonia water has been added, and may be collected according to an existing PH meter or PH test paper, which is not limited.
Wherein, when reagent ammonia is added to the preparation device, the reagent ammonia solution in the pipeline for conveying the reagent ammonia solution is high in solubility, and the mixed solution in the area is completely reacted with the reagent ammonia solution. However, in other areas where reagent ammonia does not reach, the PH may not change rapidly. Therefore, if only the PH of a certain area in the preparation vessel is collected as the first PH, the accuracy of the first PH of the mixed solution may be low.
Based on this, in order to improve the accuracy of the collected first PH value, the addition amount control device may collect PH values of the mixed solution in different areas by using a plurality of PH values, respectively, and then determine the first PH value according to the plurality of PH values.
Specifically, the adding amount control device may determine at least three target PH meters according to preset mounting positions of the PH meters and the mixed solution in the preparation device; wherein, at least three target PH agents are respectively used for measuring the target PH values of the surface, the middle area and the bottom of the mixed solution. And then determining a first PH value according to at least three target PH values.
The number of the PH meters can be set according to practical situations, and the installation positions of the PH meters can be set in the preparation device at intervals of preset distances. Thus, at least three of the plurality of PH meters may be used to collect a target PH value for the surface, middle area, and bottom of the mixed solution.
It will be appreciated that the target PH meter needs to be determined based on the installation location of each PH meter and the actual storage of the mixed solution in the preparation vessel, since the height of the mixed solution in the preparation vessel is variable each time.
Wherein the surface, middle area and bottom of the mixed solution may be divided in advance. For example, in determining the height h of the mixed solution in the preparation vessel, a region between 0.3h and 0.7h may be determined as the intermediate region; the area smaller than 0.3h is determined as the surface of the mixed solution, and the area larger than 0.7h is determined as the bottom of the mixed solution, which is not limited.
It should be noted that, because the mixed solution is located in the preparation device, the height h occupied by the mixed solution can be determined according to a preset distance sensor, or the preparation device can be a transparent device with scales, so that the measurement device or the staff can conveniently determine the height h, and in this embodiment, the mode of determining h is not limited.
In one embodiment, after obtaining the at least three target PH values, the additive amount control device may weight the at least three target PH values to obtain the first PH value. The weight of the target PH value corresponding to the middle area is larger than that of the target PH value corresponding to the bottom and larger than that of the target PH value corresponding to the surface.
It will be appreciated that because the mixed solution in the intermediate zone is centered in all of the mixed solution, the target pH collected at that zone can be considered to be more useful in characterizing the overall first pH of the mixed solution. Based on this, when the first PH is actually determined, the weight of the target PH corresponding to the middle area may be set to be greater than the weight of the target PH corresponding to the bottom and the surface.
The weight of the target PH corresponding to the bottom of the mixed solution may be equal to the weight of the target PH corresponding to the surface of the mixed solution. For example, the target PH corresponding to the middle region may be weighted by 0.4, and the target PH corresponding to the bottom and surface may be weighted by 0.3, respectively.
S106, determining a third adding amount of reagent ammonia water to be added into the preparation device according to the first pH value and the second pH value to be achieved by the mixed solution.
In an embodiment, the manner of determining the third adding amount according to the first PH value and the second PH value is similar to the manner of determining the first adding amount in S101 described above, which will not be described.
It should be noted that the first addition amount is calculated based on the initial pH of the solution in the preparation vessel and the second pH to be reached. At this time, after the valve is opened for a second period of time and reagent aqueous ammonia is added to the preparation vessel, the actual reaction between the reagent aqueous ammonia and the solution in the preparation vessel is unknown. If the second addition amount to be added is determined based on only the above steps S103 and S104, there may be a certain deviation.
Based on this, in this embodiment, the addition amount control device may further detect the actual first PH value of the mixed solution in the preparation device again after the valve is opened for the second period of time, so as to determine the third addition amount that should be theoretically added according to the first PH value and the second PH value, and determine the target addition amount that should be added according to multiple dimensions.
S107, collecting the residual amount of reagent ammonia in the ammonia water storage tank.
In one embodiment, the above described preparation device may employ a transparent and graduated device. Likewise, the ammonia water storage tank can also adopt a transparent device with scales, so that a measuring device or a worker can accurately determine the residual amount of reagent ammonia water.
Wherein the level of reagent ammonia in the storage tank may not be stable after the reagent ammonia is added to the preparation vessel. Therefore, when the residual quantity is collected, the residual quantity of the reagent ammonia water can be collected after the valve of the flow valve is closed and the fourth time period is reserved.
Meanwhile, in order to further accurately determine the residual amount of the reagent ammonia water, the addition amount control device can control the measuring device to collect the reagent ammonia water for multiple times, and then the average value of the values collected for multiple times is determined to be the residual amount of the reagent ammonia water.
S108, determining a fourth addition amount of reagent ammonia water to be added to the preparation device according to the residual amount, the first addition amount and the initial amount of the reagent ammonia water in the ammonia water storage tank.
In one embodiment, the initial amount is the amount of reagent ammonia stored at the start of the ammonia storage tank. From the initial amount and the remaining amount, the added amount that has been added to the preparation can be accurately determined. After that, the addition amount control means may determine the difference between the first addition amount and the added amount as a fourth addition amount that is also required to be added.
Since the fourth addition amount is clearly and intuitively determined by collecting the reagent ammonia water remaining in the ammonia water storage tank, if the fourth addition amount has an error, the error may be only a measurement error when the liquid level fluctuates, and the error is usually small. Based on this, it is considered that, when the amount of reagent ammonia water to be added is required to be determined based on the first addition amount, the accuracy of the fourth addition amount determined in this manner is high.
And S109, determining the target addition amount of the reagent ammonia water according to the second addition amount, the third addition amount and the fourth addition amount.
In an embodiment, the terminal device may weight the second addition amount, the third addition amount, and the fourth addition amount to obtain the target addition amount. The weights corresponding to the second addition amount, the third addition amount, and the fourth addition amount may be equal to each other, or may be set according to the actual situation, which is not limited.
However, since the third addition amount is a theoretical addition amount calculated based on the first PH value of the mixed solution at this time. It is believed that this third amount may be more closely related to the amount of reagent ammonia actually required to be added. Therefore, the weight corresponding to the third addition amount may be made larger than the weights corresponding to the second addition amount and the fourth addition amount, respectively.
In another embodiment, the error in calculating the second additive amount is due to the possible blockage of the valve. And, when the measuring device has a malfunction or a worker observes a mistake, the remaining amount of the collection thereof may be inaccurate, so that the fourth addition amount may also have an error. Therefore, before the step S109 described above is performed, the addition amount control means may also determine the second addition amount and the fourth addition amount using S201 to S204 as shown in fig. 2 to delete the addition amount having an error. The details are as follows:
s201, calculating an average value of the second addition amount, the third addition amount and the fourth addition amount.
S202, respectively calculating differences between the second addition amount and the average value and the fourth addition amount.
S203, if any difference value is larger than a preset value, deleting the addition quantity corresponding to the difference value.
S204, determining a target addition amount according to the third addition amount and the undeleted addition amount.
In an embodiment, the difference is a first difference between the second addition amount and the average value, and a second difference between the fourth addition amount and the average value, respectively. When any difference is greater than a preset value, the addition corresponding to the difference is considered to have a certain error, so that the addition corresponding to the difference needs to be deleted. The preset value may be set according to actual conditions, and is not limited thereto.
For example, since the second addition amount corresponding to the first difference is determined according to the valve flow, the second duration, and the first addition amount, if the first difference is greater than the preset value, it may be considered that when the second addition amount is determined, the valve flow of the flow valve may have a certain difference from the actual flow. For example, the valve of the flow valve may be affected by reagent ammonia so that the valve flow differs from the actual flow. Based on this, when the first difference is greater than the preset value, the second addition amount corresponding to the first difference needs to be deleted.
Similarly, since the fourth addition amount corresponding to the second difference is determined according to the remaining amount, the first addition amount and the initial amount of the reagent ammonia water, if the second difference is greater than the preset value, it can be considered that when the fourth addition amount is determined, the measuring device may have a fault or a situation that a worker has misidentification, so that the remaining amount or the initial amount may have a certain difference from the actual situation. Based on this, when the second difference is greater than the preset value, the fourth addition amount corresponding to the second difference needs to be deleted.
Wherein, when the target addition amount is determined according to the third addition amount and the undeleted addition amount, the determination may be made according to the above-described weighting manner.
It should be noted that since the third addition amount is calculated based on the second PH value to be achieved and the first PH value of the current mixed solution, it is considered that the third addition amount calculated theoretically can bring the PH value of the final mixed solution to the desired value. In this way, in the present embodiment, the addition amount control device may not need to determine the third addition amount.
In the determining of the obtained second addition amount and the fourth addition amount by using the determined average value, it is possible to avoid that the addition amount control device determines the target addition amount by using the second addition amount or the fourth addition amount having an error due to the erroneous sampling, thereby improving the accuracy of the finally determined target addition amount.
S110, determining a third time length for opening the flow valve according to the target addition amount, the residual amount, the initial amount and the second time length.
S111, controlling the valve to be opened for a third time period.
In one embodiment, in the case of determining the third period of time, it is the ratio of the target addition amount of reagent ammonia to be added to the third period of time in general. However, since the above described valve flow rate may be different from the actual flow rate, the amount of reagent ammonia actually fed into the generator is changed during the second period. Therefore, the third time period determined according to the above manner may not be accurate.
Based on this, in order to control the amount of the reagent ammonia water to be fed into the preparation device to improve the accuracy of the PH value of the final mixed solution, in the embodiment of the present application, the actual added amount of reagent ammonia water in the second period of time may be determined based on the initial amount and the remaining amount of reagent ammonia water in the ammonia water storage tank. Then, the ratio of the added amount to the second period is determined as the actual flow of the flow valve. And finally, determining the ratio of the target addition amount to the actual flow as a third duration.
In this embodiment, after determining the first addition amount of reagent ammonia water to be added to the preparation apparatus, the addition amount control device may determine a first time period for the flow valve to be opened according to the first addition amount and the valve flow rate of the flow valve in the ammonia water storage tank, and control a second time period for the valve to be opened of the flow valve. Wherein, because the second time period is less than the first time period, the amount of reagent ammonia water first fed into the preparation device is generally less than the first addition amount. Further, the excessive amount of reagent ammonia water added to the preparation vessel at one time can be avoided to cause corrosion to equipment such as metal in the preparation vessel. And then, the terminal equipment can determine the second adding amount of the reagent ammonia water to be added into the preparation device according to the valve flow, the second time length and the first adding amount. And determining a third addition amount of reagent ammonia water to be added to the preparation device according to the first pH value and the second pH value to be achieved by the mixed solution. And determining a fourth addition amount of reagent ammonia to be added to the preparation according to the residual amount of reagent ammonia in the preparation device, the first addition amount and the initial amount of reagent ammonia in the ammonia storage tank. Thus, when the target addition amount is determined according to the second addition amount, the third addition amount and the fourth addition amount, the target addition amount of the reagent ammonia water which is actually required to be added into the preparation device can be comprehensively determined in a plurality of multi-dimensional modes, and the accuracy of the target addition amount is improved. Furthermore, after the third time period for which the flow valve is to be opened is determined according to the target addition amount, the remaining amount, the initial amount, and the second time period, the addition amount of the reagent ammonia water can be precisely controlled so that the pH value of the final mixed solution in the preparation device can be precisely expected.
Referring to fig. 3, fig. 3 is a block diagram of an addition amount control device for reagent ammonia according to an embodiment of the present application. The addition amount control device of reagent ammonia in this embodiment includes modules for executing the steps in the embodiments corresponding to fig. 1 to 2. Please refer to fig. 1 to fig. 2 and the related descriptions in the embodiments corresponding to fig. 1 to fig. 2. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 3, the reagent ammonia water addition amount control device 300 may include: the first determination module 310, the second determination module 320, the first control module 330, the third determination module 340, the first acquisition module 350, the fourth determination module 360, the second acquisition module 370, the fifth determination module 380, the sixth determination module 390, the seventh determination module 391, and the second control module 392, wherein:
a first determining module 310 is configured to determine a first addition amount of reagent ammonia to be added to the preparation vessel.
The second determining module 320 is configured to determine a first duration for which the flow valve needs to be opened according to the first addition amount and the valve flow of the flow valve in the ammonia water storage tank.
A first control module 330 for controlling the valve opening of the flow valve for a second period of time; the second duration is less than the first duration.
And a third determining module 340, configured to determine a second addition amount of reagent ammonia water to be added to the preparation device according to the valve flow, the second duration, and the first addition amount.
A first collection module 350 for collecting a first PH of the mixed solution in the preparation vessel.
A fourth determining module 360, configured to determine a third addition amount of reagent ammonia water to be added to the preparation device according to the first PH value and the second PH value to be reached by the mixed solution.
And the second collection module 370 is used for collecting the residual amount of the reagent ammonia water in the ammonia water storage tank.
A fifth determining module 380 is configured to determine a fourth addition amount of reagent ammonia to be added to the preparation device according to the remaining amount, the first addition amount, and the initial amount of reagent ammonia in the ammonia storage tank.
A sixth determining module 390 for determining a target addition amount of reagent ammonia water according to the second addition amount, the third addition amount and the fourth addition amount.
A seventh determining module 391 is configured to determine a third duration for opening the flow valve according to the target addition amount, the remaining amount, the initial amount, and the second duration.
A second control module 392 for controlling the third duration of valve opening.
In an embodiment, the third determining module 340 is further configured to:
calculating the product between the valve flow and the second time period; the difference between the first addition amount and the product is determined as the second addition amount.
In an embodiment, the first acquisition module 350 is further configured to:
determining at least three target PH meters according to the preset installation positions of the PH meters and the mixed solution in the preparation device; the at least three target PH agents are respectively used for collecting target PH values of the surface, the middle area and the bottom of the mixed solution; the first PH is determined based on at least three target PH values.
In an embodiment, the first acquisition module 350 is further configured to:
weighting at least three target PH values to obtain a first PH value; the weight of the target PH value corresponding to the middle area is larger than that of the target PH value corresponding to the bottom and larger than that of the target PH value corresponding to the surface.
In one embodiment, the sixth determination module 390 is further configured to:
weighting the second addition amount, the third addition amount and the fourth addition amount to obtain a target addition amount; the weight corresponding to the third adding amount is larger than the weight corresponding to the second adding amount and larger than the weight corresponding to the fourth adding amount.
In one embodiment, the additive amount control apparatus 300 further includes:
the first calculation module is used for calculating the average value of the second addition amount, the third addition amount and the fourth addition amount.
And the second calculation module is used for calculating the difference value between the second addition amount and the average value and the fourth addition amount respectively.
And the deleting module is used for deleting the addition quantity corresponding to the difference value if any difference value is larger than a preset value.
And an eighth determining module, configured to determine a target addition amount according to the third addition amount and the undeleted addition amount.
In an embodiment, the seventh determining module 391 is further configured to:
determining the actual flow of the flow valve in the second time period according to the residual quantity and the initial quantity; and determining the ratio of the target addition amount to the actual flow as a third duration.
It should be understood that, in the block diagram of the addition amount control device for reagent ammonia water shown in fig. 3, each module is configured to perform each step in the embodiment corresponding to fig. 1 to 2, and each step in the embodiment corresponding to fig. 1 to 2 is explained in detail in the above embodiment, and specific reference is made to fig. 1 to 2 and related descriptions in the embodiment corresponding to fig. 1 to 2, which are not repeated herein.
Fig. 4 is a block diagram of a terminal device according to an embodiment of the present application. As shown in fig. 4, the terminal device 400 of this embodiment includes: a processor 410, a memory 420, and a computer program 430 stored in the memory 420 and executable on the processor 410, such as a program of a method for controlling the addition amount of reagent ammonia. The processor 410, when executing the computer program 430, performs the steps of the respective embodiments of the method for controlling the addition amount of each reagent ammonia water described above, for example, S101 to S111 shown in fig. 1. Alternatively, the processor 410 may perform the functions of the modules in the embodiment corresponding to fig. 3, for example, the functions of the modules 310 to 392 shown in fig. 3, when executing the computer program 430, and refer to the related descriptions in the embodiment corresponding to fig. 3.
For example, the computer program 430 may be divided into one or more modules, and one or more modules are stored in the memory 420 and executed by the processor 410 to implement the method for controlling the addition amount of reagent ammonia provided in the embodiment of the present application. One or more of the modules may be a series of computer program instruction segments capable of performing particular functions for describing the execution of the computer program 430 in the terminal device 400. For example, the computer program 430 may implement the method for controlling the addition amount of reagent ammonia provided in the embodiment of the present application.
Terminal device 400 may include, but is not limited to, a processor 410, a memory 420. It will be appreciated by those skilled in the art that fig. 4 is merely an example of a terminal device 400 and is not limiting of the terminal device 400, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., a terminal device may also include an input-output device, a network access device, a bus, etc.
The processor 410 may be a central processing unit, but may also be other general purpose processors, digital signal processors, application specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 420 may be an internal storage unit of the terminal device 400, such as a hard disk or a memory of the terminal device 400. The memory 420 may also be an external storage device of the terminal device 400, such as a plug-in hard disk, a smart memory card, a flash memory card, etc. provided on the terminal device 400. Further, the memory 420 may also include both internal storage units and external storage devices of the terminal device 400.
The embodiment of the application provides a computer readable storage medium, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to realize the method for controlling the addition amount of the reagent ammonia water in the above embodiments.
The embodiment of the application provides a computer program product, which when run on a terminal device, causes the terminal device to execute the method for controlling the addition amount of reagent ammonia water in each embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A method for controlling the addition amount of reagent ammonia water, which is characterized by comprising the following steps:
determining a first addition amount of reagent ammonia water to be added into the preparation device;
determining a first duration for opening the flow valve according to the first addition amount and the valve flow of the flow valve in the ammonia water storage tank;
controlling the valve opening of the flow valve for a second period of time; the second duration is less than the first duration;
determining a second addition amount of the reagent ammonia water to be added to the preparation device according to the valve flow, the second time length and the first addition amount;
collecting a first pH value of the mixed solution in the preparation device;
determining a third addition amount of the reagent ammonia water to be added to the preparation device according to the first pH value and a second pH value to be achieved by the mixed solution;
collecting the residual amount of the reagent ammonia water in the ammonia water storage tank;
determining a fourth addition amount of the reagent ammonia water to be added to the preparation device according to the residual amount, the first addition amount and the initial amount of the reagent ammonia water in the ammonia water storage tank;
determining a target addition amount of the reagent ammonia water to be added according to the second addition amount, the third addition amount and the fourth addition amount;
determining a third time length for opening the flow valve according to the target adding amount, the residual amount, the initial amount and the second time length;
and controlling the valve to be opened for a third time period.
2. The method of claim 1, wherein determining a second addition amount of the reagent aqueous ammonia to be added to the generator based on the valve flow, the second time period, and the first addition amount comprises:
calculating a product between the valve flow and the second duration;
and determining the difference between the first addition amount and the product as the second addition amount.
3. The method of claim 1, wherein said collecting a first PH of the mixed solution in the preparation vessel comprises:
determining at least three target PH meters according to preset installation positions of a plurality of PH meters and the mixed solution in the preparation device; wherein the at least three target PH values are respectively used for collecting target PH values of the surface, middle area and bottom of the mixed solution;
and determining the first PH value according to at least three target PH values.
4. The method of claim 3, wherein said determining said first PH based on at least three of said target PH values comprises:
weighting at least three target PH values to obtain the first PH value; the weight of the target PH value corresponding to the middle area is larger than that of the target PH value corresponding to the bottom and larger than that of the target PH value corresponding to the surface.
5. The method according to claim 1, wherein the determining the target addition amount of the reagent ammonia to be added further based on the second addition amount, the third addition amount, and the fourth addition amount includes:
weighting the second addition amount, the third addition amount and the fourth addition amount to obtain the target addition amount; wherein the weight corresponding to the third addition amount is greater than the weight corresponding to the second addition amount and greater than the weight corresponding to the fourth addition amount.
6. The method according to any one of claims 1-5, further comprising:
calculating an average of the second addition amount, the third addition amount, and the fourth addition amount;
respectively calculating differences between the second addition amount and the fourth addition amount and an average value;
if any difference value is larger than a preset value, deleting the addition quantity corresponding to the difference value;
and determining the target addition amount according to the third addition amount and the undeleted addition amount.
7. The method according to any one of claims 1-5, wherein determining a third time period for which the flow valve is to be opened based on the target addition amount, the remaining amount, the initial amount, and the second time period includes:
determining an actual flow of the flow valve during the second period of time based on the remaining amount and the initial amount;
and determining the ratio of the target addition amount to the actual flow as the third duration.
8. An addition amount control device of reagent ammonia water, characterized in that the device comprises:
the first determining module is used for determining a first adding amount of reagent ammonia water to be added into the preparation device;
the second determining module is used for determining a first duration for opening the flow valve according to the first addition amount and the valve flow of the flow valve in the ammonia water storage tank;
the first control module is used for controlling the valve opening of the flow valve for a second duration; the second duration is less than the first duration;
the third determining module is used for determining a second adding amount of the reagent ammonia water to be added into the preparation device according to the valve flow, the second duration and the first adding amount;
the first acquisition module is used for acquiring a first PH value of the mixed solution in the preparation device;
a fourth determining module, configured to determine a third addition amount of the reagent ammonia water to be added to the preparation device according to the first PH value and a second PH value to be achieved by the mixed solution;
the second acquisition module is used for acquiring the residual amount of the reagent ammonia water in the ammonia water storage tank;
a fifth determining module, configured to determine a fourth addition amount of the reagent ammonia to be added to the preparation device according to the remaining amount, the first addition amount, and an initial amount of the reagent ammonia in the ammonia storage tank;
a sixth determining module, configured to determine a target addition amount of the reagent ammonia water to be added according to the second addition amount, the third addition amount, and the fourth addition amount;
a seventh determining module, configured to determine a third duration for opening the flow valve according to the target addition amount, the remaining amount, the initial amount, and the second duration;
and the second control module is used for controlling the valve to be opened for a third time period.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 7.
CN202310233847.3A 2023-03-13 2023-03-13 Method, device, equipment and storage medium for controlling addition amount of reagent ammonia water Active CN116069072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310233847.3A CN116069072B (en) 2023-03-13 2023-03-13 Method, device, equipment and storage medium for controlling addition amount of reagent ammonia water

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310233847.3A CN116069072B (en) 2023-03-13 2023-03-13 Method, device, equipment and storage medium for controlling addition amount of reagent ammonia water

Publications (2)

Publication Number Publication Date
CN116069072A CN116069072A (en) 2023-05-05
CN116069072B true CN116069072B (en) 2023-06-06

Family

ID=86178730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310233847.3A Active CN116069072B (en) 2023-03-13 2023-03-13 Method, device, equipment and storage medium for controlling addition amount of reagent ammonia water

Country Status (1)

Country Link
CN (1) CN116069072B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102183520A (en) * 2011-04-26 2011-09-14 东北电力大学 Water hardness on-line measurement device based on solution image technology and measurement method thereof
CN104512865A (en) * 2013-09-26 2015-04-15 宝山钢铁股份有限公司 Method for controlling addition amount of ammonia water (neutralizing agent) in silicon-removing neutralization reaction
CN106378020A (en) * 2016-11-23 2017-02-08 沐康源科技(北京)有限公司 Control method and device as well as system for preparation of mixed liquor
CN106957953A (en) * 2017-04-13 2017-07-18 宣化钢铁集团有限责任公司 Automatic system and control method with addition of red soil in a kind of sinter mixture
CN111157681A (en) * 2019-12-31 2020-05-15 陕西中良智能科技有限公司 Automatic liquid ph value adjusting system and method
CN111233104A (en) * 2020-01-20 2020-06-05 汕头大学 Method for accurately controlling pH of system in electrolysis process

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6793908B2 (en) * 2002-05-09 2004-09-21 Cheng Loong Corporation Method for preparing ITO nanometer powders

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102183520A (en) * 2011-04-26 2011-09-14 东北电力大学 Water hardness on-line measurement device based on solution image technology and measurement method thereof
CN104512865A (en) * 2013-09-26 2015-04-15 宝山钢铁股份有限公司 Method for controlling addition amount of ammonia water (neutralizing agent) in silicon-removing neutralization reaction
CN106378020A (en) * 2016-11-23 2017-02-08 沐康源科技(北京)有限公司 Control method and device as well as system for preparation of mixed liquor
CN106957953A (en) * 2017-04-13 2017-07-18 宣化钢铁集团有限责任公司 Automatic system and control method with addition of red soil in a kind of sinter mixture
CN111157681A (en) * 2019-12-31 2020-05-15 陕西中良智能科技有限公司 Automatic liquid ph value adjusting system and method
CN111233104A (en) * 2020-01-20 2020-06-05 汕头大学 Method for accurately controlling pH of system in electrolysis process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高氨氮废水装置运行总结;孙晶 等;《河南化工》;第39卷(第11期);第48-50页全文 *

Also Published As

Publication number Publication date
CN116069072A (en) 2023-05-05

Similar Documents

Publication Publication Date Title
MX2011004492A (en) METHOD FOR REDUCING CORROSION AND SUBPRODUCT DEPOSIT IN A CRUDE UNIT.
CN106830265A (en) A kind of pH value automatic regulating system
KR102148076B1 (en) Method and Device for analyzing inorganic ion concentration in sample
CN105788666A (en) Nuclear reactor critical process control method
CN116069072B (en) Method, device, equipment and storage medium for controlling addition amount of reagent ammonia water
CN115849471A (en) Water treatment agent dosing accuracy self-calibration method
CN111352058B (en) Method for in-process calibration of a potentiometric sensor of a measuring device
Önnerth et al. Advanced computer controlbased on real and software sensors
Shinskey Control of pH
CN114699985B (en) Aqueous solution configuration method, apparatus, and computer-readable storage medium
CN116637553B (en) Automatic regulating method and system for ammonia water preparation
CN116101657B (en) Early warning method, device and equipment for ammonia water storage equipment and storage medium
CN114906913B (en) Intelligent learning-based chemical dephosphorization accurate dosing system and device
CN105304462A (en) Etching liquid management device and method, and determination method of ingredient concentration of etching liquid
CN216191139U (en) Molybdate concentration regulating and controlling device for closed circulating water system
CN207502529U (en) A kind of oil truck with alarm system is unloaded moisture content metering device
CN116573736A (en) Dosing control system and dosing control method
CN108982890A (en) The automatic quality control system of water quality and function compounding method, data checking method
CN213680038U (en) Circulating water automatic control system based on intelligent instrument
CN105274532B (en) Solids recycle removal device and liquid, solution, etching solution managing device
CN106442408A (en) Chemical-mechanical polishing liquid automatic preparation control system
CN110857913B (en) Measuring device, etching system, silicon concentration measuring method, and silicon concentration measuring program
CN100359642C (en) Soup concentration controller of semiconductor processing appts.
CN115870104A (en) Dosing control method and device, terminal equipment and storage medium
CN110081957A (en) A kind of calibration method applied to drainage system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant