Drilling fluid ph monitoring and control

SA518400240B1Undetermined Publication Date: 2022-04-19BAKER HUGHES CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA518400240
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2018-10-14
Publication Date
2022-04-19
Estimated Expiration
2037-04-05
Patent Text Reader

Abstract

Examples of techniques for monitoring and controlling the pH of a drilling fluid are disclosed. In one example implementation, a system may include a first sensor to sense a first pH-value and an associated first temperature of the drilling fluid prior to being heated by a drilling fluid heater and a second sensor to sense a second pH-value and an associated second temperature of the drilling fluid subsequent to being heated by the drilling fluid heater. The system may also include a controller comprising a memory having computer readable instructions and a processing device for executing the computer readable instructions. The computer readable instructions include receiving the first pH-value and first temperature from the first sensor, receiving the second pH-value and second temperature from the second sensor, and determining an amount of additive to add to the drilling fluid to maintain a desired pH-value at the second temperature. FIG. 2
Need to check novelty before this filing date? Find Prior Art

Description

<h2 style=";text-align:left;direction:ltr">Full description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Background of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> REFERENCE TO RELATED APPLICATIONS: This application is based on U.S. Patent Application No. 134,095 / 15, filed April 20, 2016, which is incorporated herein by reference in its entirety.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Technical background of the invention: The present disclosure relates to pH monitoring, and more particularly, to monitoring and controlling the pH in a drilling fluid.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Drill holes are drilled into earth formations to explore for and produce hydrocarbons, subsurface fluids, and minerals. During drilling operations, components in the drill string come into contact with a drilling fluid. Drilling fluids can be water- or oil-based, but sometimes gaseous drilling fluids are also used. The properties of the drilling fluid are adjusted to optimize drilling operations. The pH of the drilling fluid is typically controlled, for example, to maintain certain levels of corrosion protection from the mineral materials present in the drill string.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Demanding service conditions characterized by high-temperature and corrosive environments (e.g., environments containing high chloride concentrations and / or corrosive gases (e.g., etc.) can significantly reduce the reliability of downhole equipment service life. Inappropriate downhole pH levels contribute to corrosion such as pitting corrosion, environmentally assisted cracking (EAC), co-leaching, elastomeric damage, and secondary corrosion. It should be recognized that pH deviations from a required pH range of 8 to 12 can be the primary cause of downhole equipment failures or cause significant damage to drilling equipment. This can result in costly non-productive time (NPT) and high repair costs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General description of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to examples in the present disclosure, technologies are provided that include methods, systems, and / or computer software products for monitoring and controlling the pH value of a drilling fluid. An illustrative system may include a first sensor for sensing a first pH value and a first associated temperature of the drilling fluid before it is heated by a drilling fluid heater, and a second sensor for sensing a second pH value and a second associated temperature of the drilling fluid after it is heated by the drilling fluid heater. The system may further include a control device including a memory containing computer-readable instructions and a processing device for executing the computer-readable instructions. The computer-readable instructions include receiving a first pH value and a first temperature from the first sensor, receiving a second pH value and a second temperature from the second sensor, and determining the amount of additive to be added to the drilling fluid to maintain a desired pH value at the second temperature.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to additional examples contained in the present disclosure, an illustrative method may include monitoring, by a first sensor, a first pH value of the drilling fluid before the drilling fluid is heated. The method may further include monitoring, by a second sensor, a second pH value of the drilling fluid after the drilling fluid is heated. The method may further include determining, by a processing system, the amount of additive that is added to the drilling fluid to change the pH value of the drilling fluid.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to additional examples contained in the present disclosure, an illustrative system may include a sensor for sensing the pH value and associated temperature of the drilling fluid after the drilling fluid has been pumped out of the wellbore and heated by a drilling fluid heater to a temperature representative of the expected downhole temperature of the wellbore. The system may further include a control device comprising a memory containing computer-readable instructions and a processing device for executing the computer-readable instructions. The computer-readable instructions include using an empirical correlation to determine the amount of additive to be added to the drilling fluid to change the pH of the drilling fluid based on the effect of temperature on the drilling fluid pH value determined by sensing the drilling fluid pH value at a temperature representative of the expected downhole temperature of the wellbore.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Additional features and advantages will be realized through the techniques contained in the present disclosure. Other aspects will be described in detail herein and are deemed to form part of the disclosure. To better understand the present disclosure, in addition to the features and advantages, refer to the following description and drawings.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Brief explanation of the drawings<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The subject matter of the invention is specifically stated and distinctly included in the claims at the end of the specification. The foregoing and other features, and their advantages, are evident from the following detailed description with accompanying drawings, where:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 is a block diagram of a pH monitoring environment in a drilling operation in accordance with aspects of the present disclosure;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2 is a block diagram of an alternative environment for monitoring pH in a drilling operation in accordance with aspects of the present disclosure;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 is a block diagram of an alternative environment for monitoring pH in a drilling operation in accordance with aspects of the present disclosure;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 is a block diagram of an alternative environment for monitoring and controlling pH in a drilling operation in accordance with aspects of the present disclosure;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 5 is a block diagram of an alternative environment for monitoring and controlling pH in a drilling operation in accordance with aspects of the present disclosure;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 is a block diagram of an alternative environment for monitoring and controlling pH in a drilling operation in accordance with aspects of the present disclosure;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7 is a block diagram of an alternative environment for monitoring and controlling pH in a drilling operation in accordance with aspects of the present disclosure;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8 is a block diagram of a treatment system for monitoring and controlling pH in a drilling operation in accordance with aspects of the present disclosure;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 9 is a flowchart of a method for monitoring and controlling pH in a drilling operation in accordance with aspects of the present disclosure; and<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 10 is a block diagram of a processing system for implementing the techniques described herein in accordance with examples of the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Detailed description:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Several applications are described below by reference to multiple examples of technologies. One illustrative system includes a first sensor for sensing a first pH value and a first temperature associated with the drilling fluid before it is heated by a drilling fluid heater, and a second sensor for sensing a second pH value and a second temperature associated with the drilling fluid after it is heated by the drilling fluid heater. The system further includes a control device including a memory containing computer-readable instructions and a processing device for executing the computer-readable instructions. The computer-readable instructions include receiving a first pH value and a first temperature from the first sensor, receiving a second pH value and a second temperature from the second sensor, and determining the amount of additive to be added to the drilling fluid to maintain a desired pH value at the second temperature. These and other examples are described in more detail here.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">During normal well operation, the pH of the drilling fluid is typically measured in batches by the technical team at the wellsite at room temperature. Based on the measured results, and as needed, additives (e.g., lime, NaOH, etc.) are added to the drilling fluid to alter the pH and maintain the fluid pH within an acceptable range, such as 8–12. Consequently, pH control depends on the frequency of drilling fluid pH measurements and control. Current techniques are based on two flawed assumptions: 1) that the pH of the drilling fluid does not change with temperature and pressure; and 2) that there is no time lag between the pH assessment, the addition of the pH adjusting additive, and the subsequent verification of the drilling fluid pH.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">However, in reality, the pH value of a drilling fluid at service conditions (i.e., downhole) can differ significantly from the pH value of a drilling fluid at room temperature and atmospheric pressure. Furthermore, the pH deviation with temperature depends on the type of drilling fluid, which can be significant in high-temperature, high-pressure wells. Current technologies can also only check pH values ​​several times a day, causing time delays between pH measurement and control / change.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Although a range of pH 8 to pH 12 is considered acceptable, other values ​​and / or ranges may also be acceptable, and the range(s) disclosed herein are not necessarily limited to the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Current technologies evaluate the effect of temperature and pressure on drilling fluid pH when taking pH measurements and determining whether and how much additive is needed. Furthermore, current technologies allow for real-time or near-real-time adjustments to drilling fluid pH by continuously monitoring the drilling fluid. Current technologies improve downhole equipment reliability, reduce downhole equipment repair costs associated with corrosion damage due to pH deviations, and extend downhole equipment life. These and other advantages will become clear in the following description.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The guidelines contained in the present disclosure can be applied to a variety of well operations. These operations may involve the use of one or more treatment agents to treat the drilling fluid, formation fluid, production fluid, stimulation fluid, wellbore, and / or the equipment in the wellbore, such as production tubing. Treatment agents can be in the form of liquids, gases, solids, semi-solids, and mixtures thereof. Example treatment agents include, but are not limited to, fracture formation and stimulation fluids, acids, steam, water, brines, corrosion inhibitors, H2S scavengers, oxygen scavengers, scale inhibitors, cements, permeability modifiers, drilling fluids, emulsifiers, demulsifiers, tracers, flow enhancers, and so on. Conventional well operations include, but are not limited to, hydraulic fracturing, stimulation, tracer agent injection, cleaning, acidizing, steam injection, waterflooding, cementing, and so on.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In additional aspects of the present disclosure, the techniques described herein may be used to monitor and control a variety of drilling fluid properties in addition to the pH value or a different property. Such properties include, for example, pressure, density, electrical conductivity, thermal conductivity, viscosity, redox potential, and so on, as well as combinations thereof.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 shows a block diagram of an environment 100 for monitoring pH in a drilling operation in accordance with aspects of the present disclosure. The environment 100 includes a sensor 116, a drilling fluid heater 122, a pump 132, and a well 140 connected through the fluid along the drilling fluid flow path 102.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The example in Figure 1 depicts a scenario for monitoring the pH of a drilling fluid as it travels along flow path 102 out of well 140. The environment 100 utilizes sensor 116, which senses the pH value of the drilling fluid as the drilling fluid exits the drilling fluid heater 122. In the examples, sensor 116 also senses the temperature of the drilling fluid. The temperature sensed at sensor 116 may be close to or representative of the expected downhole temperature in well 140. In the examples, the drilling fluid heater 122 is adjusted, such as by a process system or control device, to heat the drilling fluid to a specified temperature, e.g., the expected downhole temperature. This temperature approximation allows for the addition of an additive to adjust the pH value of the drilling fluid as discussed herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2 shows a block diagram of an environment 200 for monitoring pH in a drilling operation in accordance with aspects of the present disclosure. The environment 200 includes sensors 210, 212, a drilling fluid heater 220, a pump 230, and a well 240 connected through the fluid along a drilling fluid flow path 202.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The example in Figure 2 depicts a scenario for monitoring the pH of a drilling fluid as it travels along flow path 202 into well 240. The environment 200 utilizes sensors 210 and 212, which sense the pH values ​​of the drilling fluid as the drilling fluid travels along flow path 202. The pump 230 pumps the drilling fluid along flow path 202. In the examples, sensors 210 and 212 also sense the temperature of the drilling fluid. Sensor 210 senses a first pH value and an associated first temperature of the drilling fluid before the drilling fluid enters and is heated by the drilling fluid heater 220. The first temperature sensed at sensor 210 may be lower than the expected downhole temperature in well 240.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The drilling fluid heater 220 then heats the drilling fluid, for example, to a temperature corresponding to the expected downhole temperature in well 240. In the examples, the drilling fluid heater 220 is adjusted, such as by a process system or control means, to heat the drilling fluid to the expected downhole temperature based on the first temperature. Specifically, the first temperature is used to adjust the drilling fluid heater 220 to heat the drilling fluid to reach the expected downhole temperature.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Sensor 212 then senses a second pH value and a second associated temperature of the drilling fluid after the drilling fluid is heated by the drilling fluid heater 220. The second pH value approximates the downhole pH value of well 240 because the temperature of the drilling fluid after being heated by the drilling fluid heater 220 represents the expected downhole temperature of well 240. This temperature approximation allows for the addition of an additive to adjust the drilling fluid pH as discussed herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 3 shows a block diagram of an alternative environment 300 for monitoring pH in a drilling operation in accordance with aspects of the present disclosure. The environment 300 includes sensors 314, 316, a drilling fluid heater 322, a pump 332, and a well 340 connected through the fluid along the drilling fluid flow path 302.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The example in Figure 3 depicts a scenario for monitoring the pH of a drilling fluid as it travels along flow path 302 out of well 340. Pump 332 pumps the drilling fluid out of well 340 and along flow path 302. Environment 300 utilizes sensors 314, 316, which sense the pH values ​​of the drilling fluid as the drilling fluid travels along flow path 302. In the examples, sensors 314, 316 also sense the temperature of the drilling fluid. Sensor 314 senses a first pH value and an associated first temperature of the drilling fluid before the drilling fluid enters and is heated by the drilling fluid heater 322. The first temperature sensed at sensor 314 may be lower than the expected downhole temperature in well 340.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The drilling fluid heater 322 then heats the drilling fluid, for example, to a temperature corresponding to the expected downhole temperature in well 340. In the examples, the drilling fluid heater 322 is adjusted, such as by a process system or control means, to heat the drilling fluid to the expected downhole temperature based on the first temperature. Specifically, the first temperature is used to adjust the drilling fluid heater 322 to heat the drilling fluid to reach the expected downhole temperature.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Sensor 316 then senses a second pH value and a second associated temperature of the drilling fluid after the drilling fluid is heated by the drilling fluid heater 322. The second pH value approximates the downhole pH value of the drilling fluid in well 340 because the temperature of the drilling fluid after being heated by the drilling fluid heater 322 represents the expected downhole temperature of well 340. This temperature approximation allows for the addition of an additive to adjust the drilling fluid pH as discussed herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 4 shows a block diagram of an alternative environment 400 for monitoring pH in a drilling operation in accordance with aspects of the present disclosure. The environment 400 includes sensors 410, 412, 418, a drilling fluid heater 420, a pump 430, and a well 440 connected through the fluid along a drilling fluid flow path 402.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The example in Figure 4 depicts a visualization of monitoring the pH of a drilling fluid as it travels along flow path 402 within well 440 similar to the environment 200 of Figure 2. Sensors 418 and 410 before and after pump 430, respectively, sense various properties (e.g., pressure, pH level, temperature, viscosity, density, etc.) of the drilling fluid before and after the pressure is increased by pump 430. It should be understood that each of the sensors 410, 412, and 418 may represent a set of sensors or a sensor array for sensing various properties of the drilling fluid.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In this example, sensor 418, for example, senses the pH value, temperature, and pressure of the drilling fluid before its pressure is increased by pump 430. Sensor 410 then senses, for example, the pH value, temperature, and pressure of the drilling fluid before it is heated by the drilling fluid heater 420 but after its pressure is increased by pump 430. After the drilling fluid is heated, sensor 412 senses, for example, the pH value, temperature, and pressure of the drilling fluid after it is heated by the drilling fluid heater 420 and increased in pressure by pump 430 but before it is pumped into the well 440. This allows for comparison of the pH value before and after the pressure increase, since the pH value can vary with temperature and pressure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 shows a block diagram of an alternative environment 500 for monitoring pH in a drilling operation in accordance with aspects of the present disclosure. The environment 500 includes sensors 514, 516, 518, a drilling fluid heater 522, a pump 532, and a well 540 connected through the fluid along a flow path 502 of the drilling fluid.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The example in Figure 5 depicts a visualization of monitoring the pH of a drilling fluid as it travels along the flow path 502 out of the well 540 similar to the environment 300 of Figure 3. Sensors 518 and 514 before and after pump 532, respectively, sense various properties (e.g., pressure, pH value, viscosity, density, etc.) of the drilling fluid before and after the pressure is increased by pump 532. It should be understood that each of sensors 514, 516, and 518 may represent a set of sensors or a sensor array for sensing various properties of the drilling fluid.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In this example, sensor 518 senses, for example, the pH value, temperature, and pressure of the drilling fluid before it exits well 540 but before its pressure is increased by pump 532. After the drilling fluid pressure is increased by pump 532, sensors 514 sense, for example, the pH value, temperature, and pressure of the drilling fluid. A drilling fluid heater 522 then heats the drilling fluid, and sensor 516 senses, for example, the pH value, temperature, and pressure of the drilling fluid. This allows for comparison of the pH value before and after the pressure increase and before and after it is heated, since the pH level can vary with temperature and pressure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 shows a block diagram of an alternative environment 600 for monitoring pH in a drilling operation in accordance with aspects of the present disclosure. Environment 600 includes sensors 610, 612, 614, 616, drilling fluid heaters 620, 622, pumps 630, 632, and a well 640 connected through the fluid along the drilling fluid flow path 602.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The example in Figure 6 depicts a scenario for monitoring the pH of a drilling fluid as it travels along flow path 602 into well 640 and out of well 640. Pump 630 pumps the drilling fluid along flow path 602 into well 640. Environment 600 uses sensors 610 and 612, which sense the pH values ​​of the drilling fluid as the drilling fluid travels along flow path 602. In the examples, sensors 610 and 612 also sense the temperature of the drilling fluid. Sensor 610 senses a first pH value and an associated first temperature of the drilling fluid before the drilling fluid enters and is heated by the drilling fluid heater 620. The first temperature sensed at sensor 610 may be lower than the expected downhole temperature in well 640.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The drilling fluid heater 620 then heats the drilling fluid, for example, to a temperature corresponding to the expected downhole temperature in well 640. The drilling fluid heater 620 may be adjusted, such as by a process system or control means, to heat the drilling fluid to the expected downhole temperature.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Sensor 612 then senses a second pH value and a second associated temperature of the drilling fluid after the drilling fluid is heated by the drilling fluid heater 620. This second pH value approximates the downhole pH value of well 640 because the temperature of the drilling fluid after being heated by the drilling fluid heater 620 represents the expected downhole temperature of well 640. This temperature approximation allows for the addition of an additive to adjust the drilling fluid pH as discussed herein. Pump 620 pumps the heated drilling fluid into the well.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Pump 632 then pumps drilling fluid out of well 640 and along flow path 602. Environment 600 utilizes sensors 614 and 616, which sense drilling fluid pH values ​​as the drilling fluid travels along flow path 602 and out of well 640. In the examples, sensors 614 and 616 also sense drilling fluid temperature. Sensor 614 senses a third pH value and a third associated temperature of the drilling fluid before the drilling fluid enters and is heated by the drilling fluid heater 622. The first temperature sensed at sensor 614 may be lower than the expected downhole temperature in well 640.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The drilling fluid heater 622 then heats the drilling fluid, for example, to a temperature corresponding to the expected downhole temperature in well 640. The drilling fluid heater 622 may be adjusted, such as by a process system or control means, to heat the drilling fluid to the expected downhole temperature based on the third temperature. Specifically, the third temperature is used to adjust the drilling fluid heater 622 to heat the drilling fluid to reach the expected downhole temperature.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Sensor 616 then senses a fourth pH value and an associated fourth temperature of the drilling fluid after the drilling fluid is heated by the drilling fluid heater 622. The fourth pH value approximates the downhole pH value of well 640 because the temperature of the drilling fluid after being heated by the drilling fluid heater 622 represents the expected downhole temperature of well 640. This temperature approximation allows for the addition of an additive to adjust the drilling fluid pH as discussed herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7 shows a block diagram of an alternative environment 700 for monitoring and controlling pH in a drilling operation in accordance with aspects of the present disclosure. Environment 700 includes sensors 710, 712, a drilling fluid heater 720, a pump 730, a well 740, and an additive system 750 connected through the fluid along the drilling fluid flow path 702.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Similar to the example in Figure 2, the example in Figure 7 depicts a visualization of monitoring the pH of a drilling fluid as it travels along flow path 702 within well 740. The environment 700 uses sensors 710, 712, which sense the pH values ​​and temperatures associated with the drilling fluid as the drilling fluid travels along flow path 702 before and after the drilling fluid heater 720 heats the drilling fluid, for example, to a temperature close to the downhole temperature of well 740.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Based on the sensed pH values, the additive system 750 may add an additive to the drilling fluid to maintain a desired pH value in the drilling fluid delivered to well 740. For example, a second pH value sensed by sensor 712 may indicate that the pH value at the predicted downhole temperature in well 740 is too low (i.e., too acidic) or too high (i.e., too basic). If the pH value at the predicted temperature is low compared to a predetermined minimum value (e.g., a pH value of 8), an additive may be added to the drilling fluid to raise the pH. Conversely, if the pH value at the predicted temperature is high compared to a predetermined maximum value (e.g., a pH value of 12), an additive may be added to the drilling fluid to lower the pH.<h2 style=";text-align:left;direction:ltr">In examples, additive system 750 may be operated to maintain the pH value of the drilling fluid within a desired range, such as between 8 and 12, but other pH values ​​may be preferred in other examples.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The additive system 750 and sensors 710, 712 may be coupled to a treatment system (e.g., treatment system 800 of FIG. 8 and / or treatment system 20 of FIG. 9) to monitor the pH values ​​sensed at the sensors 710, 712 and to automatically add the additive to the drilling fluid.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In aspects of the present disclosure, the treatment system may use a correlation model produced, for example, in a laboratory, that describes the relationship between the pH and temperature of a specific drilling fluid. For example, the treatment system may use an empirical correlation to determine the amount of additive to be added to a drilling fluid to change the pH of the drilling fluid based on the effect of temperature on the drilling fluid pH value determined by sensing the drilling fluid pH value at a temperature representative of the expected downhole temperature of the wellbore.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some examples of environments 100, 200, 300, 400, 500, 600, and 700, it should be noted that additional components may be included. For example, with reference to Figure 7, well 740 may include a third pH sensor (not shown) to sense the pH value of the downhole drilling fluid. This reduces the uncertainty in the measurement of the pH of the drilling fluid in contact with the downhole equipment and increases the response time to correct an undesired pH value to a desired level. In some examples, the response time may be halved.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Although the additive system 750 of Figure 7 is shown as fluid-connected to the drilling fluid flow path 702, in other examples, the additive may be added directly downhole in well 740. In addition, pH value data collected using existing technologies may be stored in a data storage medium and used in combination with prediction models to evaluate the remaining service life of downhole equipment to improve reliability and reduce the risk of downhole equipment failure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 8 shows a block diagram of a processing system 800 for monitoring and controlling pH in a drilling operation in accordance with aspects of the present disclosure. The various components, modules, actuators, and so on described by reference to Figure 8 may be implemented in the form of instructions stored on a computer-readable storage medium, such as modular computer components, such as special-purpose computer components (e.g., application-specific computer components, application-specific integrated circuits (ASICs), integrated control devices, wiring harnesses, and so on), or in a combination or combinations thereof. In examples, the actuator(s) described herein may be a combination of computer components and programming. The programming may be processor-executable instructions stored in physical memory, and the computer components may include a processing facility for executing said instructions. Thus, the system memory may store program instructions that, when executed by the processing facility, implement the actuators described herein. Other actuators may also be used to incorporate features and functions described in other examples contained herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The treatment system 800 may include a pH receiving module 810 and an additive determination module 812. The pH receiving module 810 receives a first pH value and an associated first temperature from a first sensor (e.g., sensor 210 of FIG. 2). The first sensor senses the first pH value and an associated first temperature of the drilling fluid before the drilling fluid is heated in a drilling fluid heater (e.g., drilling fluid heater 220 of FIG. 2). The pH receiving module 810 also receives a second pH value and an associated second temperature from a second sensor (e.g., sensor 212 of FIG. 2). The second sensor senses the second pH value and an associated second temperature of the drilling fluid after the drilling fluid is heated by the drilling fluid heater.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The additive determination module 812 determines the amount of additive to be added to the drilling fluid to maintain a desired pH at a second temperature using the second pH value. The second temperature represents an expected downhole temperature for the well (e.g., well 240 shown in Figure 2). An additive may be added to the drilling fluid to adjust the pH value of the drilling fluid within a desired range.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Alternatively or in addition, the processing system 800 may include computer components of the specified type, such as one or more integrated circuits, Application Specific Integrated Circuits (ASICs), Application Specific Processors (ASSPs), Field Programmable Gate Arrays (FPGAs), or any combination of the foregoing examples of computer components of the specified type, to implement the techniques described herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 9 shows a flowchart of method 900 for monitoring and controlling pH in a drilling operation in accordance with aspects of the present disclosure. Method 900 begins at frame 902 and progresses to frame 904.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> At frame 904, method 900 includes monitoring, by a first sensor, a first pH value of the drilling fluid before the drilling fluid is heated. At frame 906, method 900 includes monitoring, by a second sensor, a second pH value of the drilling fluid after the drilling fluid is heated. At frame 908, method 900 includes determining, by a processing system, the amount of additive added to the drilling fluid to change the pH of the drilling fluid. Method 900 proceeds to frame 910 and is terminated.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the examples, the first pH and the second pH are monitored before the drilling fluid is injected into a well. In other examples, the first pH and the second pH are monitored after the drilling fluid is injected into a well. The drilling fluid is heated, for example, to a temperature representative of the downhole temperature of a well.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In aspects of the present disclosure, a first sensor includes a first pH sensor and a first temperature sensor, and a second sensor includes a second pH sensor and a second temperature sensor. In these cases, monitoring the first pH includes monitoring an associated first temperature, and monitoring the second pH value includes monitoring an associated second temperature.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Additional operations may also be included. For example, method 900 may include adding, by means of an additive system, the specified amount of additive to the drilling fluid. Method 900 may further include monitoring, by means of a third sensor, a third pH value, wherein the third sensor is located downhole in a well. It should be understood that the operations depicted in Figure 9 are illustrative, and that other operations may be added or existing operations may be removed, modified, or rearranged without departing from the scope and intent of the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">It is understood in advance that the present disclosure may be implemented in combination with any other type of computing environment now known or later developed. For example, Figure 10 shows a block diagram of a processing system 20 for implementing the techniques described herein. In the examples, the processing system 20 includes one or more central processing units (processors) 21a, 21b, 21c, and so on (collectively or generally referred to as the processor(s) 21 and / or the processing means(s). In aspects of the present disclosure, each processor 21 may include a small-scale data processor for a reduced instruction set computer (RISC). Processors 21 are coupled to system memory (e.g., random access memory (RAM) 24) and various other components via system bus 33. Read-only memory (ROM) 22 is coupled to system bus 33 and may include a basic input / output system (BIOS), which controls certain basic functions of the processing system 20.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">An input / output (I / O) adapter 27 and a communications adapter 26 associated with the system bus 33 are also shown. The I / O adapter 27 may be a small computer system interface (SCSI) adapter that connects to a hard disk 23 and / or a tape drive 25 or other similar component. The I / O adapter 27, the hard disk 23, and the tape drive 25 are collectively referred to here as a mass storage device 34. An operating system 40 executed on the processing system 20 may be stored in the mass storage device 34. A network adapter 26 interfaces the system bus 33 to an external network 36 that allows the processing system 20 to communicate with said other systems.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A display device (e.g., a display monitor) 35 is connected to the system bus 33 by a display device adapter 32, which may include a graphics adapter to improve the performance of graphics-intensive applications and a video control device. In one aspect of the present disclosure, adapters 26, 27, and / or 32 may be connected to one or more I / O buses that are connected to the system bus 33 via an intermediate bus bridge (not shown). I / O buses suitable for connecting peripheral devices such as hard disk controllers, network adapters, and graphics adapters typically include generic protocols, such as Peripheral Component Interconnect (PCI). Additional I / O devices are shown to be connected to the system bus 33 via a user interface adapter 28 and a display device adapter 32. A keyboard 29, a mouse 30, and a speaker 31 may be interfaced to the system bus 33 via a user interface adapter 28, which may include, for example, a super I / O chip that integrates multiple device adapters into a single integrated circuit.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some aspects of the present disclosure, the processing system 20 includes a graphics processing unit 37. The graphics processing unit 37 is a dedicated electronic circuit designed to manipulate and alter memory to accelerate the formation of images in an image buffer intended for output to a display medium. In general, the graphics processing unit 37 is very efficient for processing computer graphics and image processing, and has a highly parallel architecture that makes it more efficient than general-purpose CPUs for algorithms where large blocks of data are processed in parallel.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Thus, as configured herein, the processing system 20 includes processing capability in the form of processors 21, storage capability including system memory (e.g., RAM 24), a mass storage device 34, input means such as a keyboard 29 and a mouse 30, and output capability including a speaker 31 and a display means 35. In some aspects of the present disclosure, a portion of the system memory (e.g., RAM 24) and the mass storage device 34 collectively store an operating system such as IBM Corporation's AIX® operating system to coordinate the functions of the multiple components described in the processing system 20.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present technologies may be implemented in the form of a system, method, and / or computer software product. The computer software product may include a computer-readable storage medium(s) with computer-readable program instructions thereon to cause the processor to execute the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A computer-readable storage medium may be a tangible medium that can hold and store instructions for use by an instruction-executing device. The computer-readable storage medium may be, for example, but not limited to, an electronic storage medium, a magnetic storage medium, an optical storage medium, an electromagnetic storage medium, a semiconductor storage medium, or any suitable combination thereof.<h2 style=";text-align:left;direction:ltr">A non-exhaustive list of more specific examples of computer-readable storage media includes: portable floppy disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital versatile disk (DVD), installation memory, floppy disk, mechanically encoded media such as punched cards or pads in a groove with instructions stored thereon, and any suitable combination of the foregoing. A computer-readable storage medium, as used herein, should not be construed as being temporal signals in themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (for example, light pulses passing through a fiber optic cable), or electrical signals transmitted through a wire.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The computer-readable program instructions described herein are downloaded to relevant computing / processing media from computer-readable storage media or to an external computer or external storage media over a network, e.g., the Internet, a local area network, a wide area network, and / or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless connectivity, routers, firewalls, switches, networked computers, and / or edge service devices. A network adapter or network interface card in each computing or processing media receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in computer-readable storage media in the relevant computing / processing media.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The computer-readable program instructions for implementing the operations of the present disclosure may be assembler instructions, ISA instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setup statements, or any source or object code written in any combination of one or more programming languages, including an object-oriented programming language such as Smalltalk, C++, or the like, and traditional procedural programming languages, such as the C programming language or similar languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter concept, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., over the Internet using an Internet service provider).<h2 style=";text-align:left;direction:ltr">In some examples, an electronic circuit assembly comprising, for example, a programmable logic circuit assembly, a field-programmable gate array (FPGA), or programmable logic arrays (PLA) can execute computer-readable program instructions by using the status information of the computer-readable instructions to diagnose the electronic circuit assembly, to implement aspects of the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Aspects of the present disclosure are described herein by reference to flowcharts and / or frame diagrams of methods, apparatus(es), and computer software products in accordance with aspects of the present disclosure. It will be understood that each frame of the flowchart illustrations and / or frame diagrams, and combinations of frames contained in the flowchart illustrations and / or frame diagrams, can be implemented by computer-readable program instructions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Said computer-readable program instructions may be supplied to a special processor (general purpose computer), special purpose computer, or other programmable data processing device for machine production, such that the instructions, executed via a special processor (computer) or other programmable data processing device, may create means for carrying out the functions / procedures specified in the flowchart and / or block diagram(s). Said computer-readable program instructions may also be stored in a computer-readable storage medium capable of instructing a programmable data processing device (PDPD) computer and / or other means to operate in a specified manner, such that the computer-readable storage medium containing the instructions stored therein comprises a manufacturing product containing instructions that carry out aspects of the function / procedure specified in the flowchart and / or block diagram(s).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The computer-readable program instructions may also be loaded onto a computer, other programmable data processing device, or other means to cause a series of operational steps to be executed on the computer, other programmable device, or other means to produce a process to be executed by a computer, such that the instructions executed on the computer, other programmable device, or other means perform the functions / procedures specified in the flowchart and / or block diagram(s).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The flowchart and frame diagrams in the figures illustrate the structure, function, and operation of possible implementations of systems, methods, and computer software products in accordance with many aspects of the present disclosure. In this regard, each frame in the flowchart or frame diagrams may represent a module, sector, or instruction segment, comprising one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions described in the frame may be executed in the order described in the figures. For example, the two frames shown sequentially may, in fact, be executed substantially simultaneously, or the frames may sometimes be executed in the reverse order, depending on the function involved.<h2 style=";text-align:left;direction:ltr">It will also be recognized that each frame of the frame diagram and / or flowchart illustration, and combinations of frames in the frame diagrams and / or flowchart illustration, can be implemented by special-purpose computer hardware-based systems that perform the specified functions or procedures or execute combinations of hardware instructions and special-purpose computer instructions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Some embodiments of the foregoing disclosure are illustrated below:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Embodiment 1: A system, the system comprising: a first sensor for sensing a first pH value and a first temperature associated with the drilling fluid before it is heated by a drilling fluid heater; a second sensor for sensing a second pH value and a second temperature associated with the drilling fluid after it is heated by the drilling fluid heater; and a control means comprising a memory with computer-readable instructions and a processing means for executing the computer-readable instructions, the computer-readable instructions comprising: receiving a first pH value and a first temperature from the first sensor; receiving a second pH value and a second temperature from the second sensor; and determining the amount of additive to be added to the drilling fluid to maintain a desired pH value at the second temperature.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiment 2: The system according to claim 1, wherein the second temperature represents an expected downhole temperature of a well.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiment 3: The system according to claim 2, further comprising: a drilling fluid heater for heating the drilling fluid.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Embodiment 4: The system according to claim 3, the computer-readable instructions further comprising: setting the drilling fluid heater based on the first temperature to heat the drilling fluid to the downhole temperature.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiment 5: The system according to claim 1, wherein the first sensor includes a first pH sensor and a first temperature sensor, and wherein the second sensor includes a second pH sensor and a second temperature sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiment 6: The system according to claim 1, the computer-readable instructions further comprising: allowing the specified amount of additive to be added to the drilling fluid by an additive system.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiment 7: The system according to claim 1, wherein the drilling fluid heater is a first drilling fluid heater, the system further comprising: a third sensor for sensing a third pH value and a third associated temperature of the drilling fluid prior to being heated by a second drilling fluid heater; a fourth sensor for sensing a fourth pH value and a fourth associated temperature of the drilling fluid prior to being heated by the second drilling fluid heater.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Embodiment 8: The system according to claim 1, further comprising: adjusting the second drilling fluid heater based on the third temperature to heat the drilling fluid to the downhole temperature.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiment 9: A method for, wherein the method comprises: monitoring, by a first sensor, a first pH value of the drilling fluid before the drilling fluid is heated; monitoring, by a second sensor, a second pH value of the drilling fluid after the drilling fluid is heated; and determining, by a treatment system, the amount of additive to be added to the drilling fluid to change the pH of the drilling fluid.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiment 10: The method according to claim 9, wherein the first pH value is monitored and the second pH value is monitored prior to injection of the drilling fluid into a well.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiment 11: The method according to claim 9, wherein the first pH value is monitored and the second pH value is monitored after the drilling fluid is injected into a well.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiment 12: The method according to claim 9, wherein the drilling fluid is heated to a temperature representing the bottomhole temperature of a well.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Embodiment 13: The method according to claim 9, wherein the first sensor includes a first pH sensor and a first temperature sensor, wherein the second sensor includes a second pH sensor and a second temperature sensor, wherein monitoring the first pH value includes monitoring an associated first temperature, and wherein monitoring the second pH value includes monitoring an associated second temperature.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiment 14: The method according to claim 9, the computer-readable instructions further comprising: adding, by means of an additive system, the specified amount of additive to the drilling fluid.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiment 15: The method according to claim 9, monitoring, by a third sensor, a third pH value of the drilling fluid, wherein the third sensor is located downhole in a well.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Embodiment 16: A system for, the system comprising: a sensor for sensing a pH value and associated temperature of the drilling fluid after the drilling fluid has been pumped out of the wellbore and heated by a drilling fluid heater to a temperature representative of the expected downhole temperature of the wellbore; and a control device comprising a memory with computer-readable instructions and a processing device for executing the computer-readable instructions, the computer-readable instructions comprising: using an empirical correlation to determine the amount of additive to be added to the drilling fluid to change the pH value of the drilling fluid based on the effect of temperature on the pH value of the drilling fluid determined by sensing the pH value of the drilling fluid at a temperature representative of the expected downhole temperature of the wellbore.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The various example specifications of the present disclosure are presented for illustrative purposes, but are not intended to be exhaustive or limiting of the disclosed embodiments. Many modifications and variations will be apparent to one of ordinary skill in the art without departing from the scope and intent of the techniques described. The terminology used herein has been selected to best explain the principles of the present techniques, to make a process application or technical improvement to techniques available on the market, or to allow others of ordinary skill in the art to understand the techniques disclosed herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In addition, the term "approximately" is intended to include the degree of error associated with measuring a given quantity based on the equipment available at the time of order placement. For example, the term "approximately" could include a range of ±8%, 5%, or 2% of a specified value.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> While one or more embodiments have been shown and described, modifications and substitutions may be made therein without departing from the intent and scope of the invention. Accordingly, it should be understood that the present invention is described by way of illustration and not by way of limitation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Graphics bookmark<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">140 - Well<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 102 - Flow Path<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 132 - Pump<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 122 - Drilling Fluid Heater<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 116 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 240 - Well<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 212 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 220 - Drilling Fluid Heater<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 210 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 230 - Pump<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 202 - Flow Path<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 340 - Well<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 302 - Flow Path<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 332 - Pump<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 314 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 322 - Drilling Fluid Heater<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 316 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 440 - Well<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 412 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 420 - Drilling Fluid Heater<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 410 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 430 - Pump<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 418 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 402 - Flow Path<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 540 - Well<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 502 - Flow Path<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 518 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 532 - Pump<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 514 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 522 - Drilling Fluid Heater<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 516 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 640 - Well<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 632 - Pump<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 614 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 622 - Drilling Fluid Heater<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 616 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 612 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 620 - Drilling Fluid Heater<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 610 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 630 - Pump<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 602 - Flow Path<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 740 - Well<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 712 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 720 - Drilling Fluid Heater<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 710 - Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 730 - Pump<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 702 - Flow Path<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 750 - Additive Material System<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 800 - Processing System<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 810 - pH Receiver Module<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 812 - Additive Specifier Module<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 9:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 902 - The Beginning<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 904 - Monitoring, by means of a first sensor, a first pH value of the drilling fluid before heating the drilling fluid<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 906 - Monitoring, by a second sensor, a second pH value of the drilling fluid after heating the drilling fluid<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 908 - Determine, by means of a treatment system, the amount of a pH additive to be added to a drilling fluid to change the pH of the drilling fluid.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 910 - The End<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 10:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">40 - Operating System<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 23 - Hard disk<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 25 - Tape Unit<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 21A - CPU<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 21b - CPU<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 21C - CPU<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 22 - ROM<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 24 - RAM<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 27 - I / O adapter<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 26 - Network Configuration<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 36 - Network<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 33 - System carrier<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 28 - User Interface Configurator<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 29 - Keyboard<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 30 - Mouse<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 31 - Headphone<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 32 - Display media formatter<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 35 - Display medium<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 37 - Graphics Processing Unit

Claims

Protection elements<h1 style=";text-align:left;direction:ltr"> 1. System (800) for monitoring and controlling the pH of drilling fluid. The system includes: <h1 style=";text-align:left;direction:ltr"> First sensor (116) for sensing a first pH value and a first temperature associated with the drilling fluid before it is heated by a drilling fluid heater (122);<h1 style=";text-align:left;direction:ltr"> A second sensor (210) for sensing a second pH value and a second temperature associated with the drilling fluid after it has been heated by the drilling fluid heater (220); and <h1 style=";text-align:left;direction:ltr"> A control device comprising a memory containing computer-readable instructions and a processing device for executing the computer-readable instructions, the computer-readable instructions comprising:<h1 style=";text-align:left;direction:ltr"> Receive the first pH value and the first temperature from the first sensor (210);<h1 style=";text-align:left;direction:ltr"> Receive a second pH value and a second temperature from the second sensor; and <h1 style=";text-align:left;direction:ltr"> Determine the amount of additive to be added to the drilling fluid to maintain a desired pH value at the second temperature.<h1 style=";text-align:left;direction:ltr"> 2. System (800) according to claim 1, wherein the second temperature represents an expected downhole temperature of a well.​ 3. The system (800) according to protection element 2, which also includes: A well water heater for heating well water.

4. The system (800) according to protection element 3, the computer-readable instructions also include: Adjusting the well water heater based on the first temperature to heat the well water to a temperature below the well.

5. The system (800) according to protection element 1, wherein the first sensor (210) includes a first hydrogen number sensor and a first temperature sensor, and the second sensor includes a second hydrogen number sensor and a second temperature sensor.

6. The system (800) according to protection element 1, the computer-readable instructions also include: Allowing a predetermined amount of additive to be added to the well water by an additive system.

7. The system (800) according to protection element 1, which includes: Adjusting the second well water heater based on the third temperature to heat the well water to a temperature below the well.

8. Method (900) for monitoring and controlling the pH of a drilling fluid, where the method includes:<h1 style=";text-align:left;direction:ltr"> Monitoring, by means of a first sensor (210), a first pH value of the drilling fluid before heating the drilling fluid;<h1 style=";text-align:left;direction:ltr"> Monitoring, by means of a second sensor, a second pH value of the drilling fluid after the drilling fluid has been heated; and <h1 style=";text-align:left;direction:ltr"> Determine, by means of a treatment system, the amount of additive to be added to the drilling fluid to change the pH of the drilling fluid.<h1 style=";text-align:left;direction:ltr"> 9. Method (900) according to claim 8, wherein the first pH value is monitored and the second pH value is monitored before the drilling fluid is injected into a well.<h1 style=";text-align:left;direction:ltr"> 10. Method (900) according to claim 8, wherein the first pH value is monitored and the second pH value is monitored after the drilling fluid is injected into a well.<h1 style=";text-align:left;direction:ltr"> 11. Method (900) according to claim 8, wherein the drilling fluid is heated to a temperature representing the bottomhole temperature of a well.<h1 style=";text-align:left;direction:ltr"> ​12. Method (900) according to claim 8, wherein the first sensor (210) includes a first pH sensor and a first temperature sensor, wherein the second sensor includes a second pH sensor and a second temperature sensor, wherein monitoring the first pH value includes monitoring an associated first temperature, and wherein monitoring the second pH value includes monitoring an associated second temperature.