Introduction

Many studies have addressed the subject of oil and water emulsions in recent years. Asphaltene has the ability to stabilize the emulsion because of its moderate capacity to reduce the interfacial tension between water and oil1. McLean and Kilpatrick (1997) showed that asphaltene plays a key role in the stability of W/O emulsion. They also observed that asphaltene shows ability to reduce the water–oil interfacial tension and stabilize the emulsion.

The ingredients and their concentration in emulsion directly affects its stability. Another important factor that influences the emulsion stability is the particle size. A minimal amount of material and particles is required to form an emulsion2,3. Goldszal et al. (2002) studied the effect of naphthenates on the emulsion stability and showed that the emulsion stability of water in acidic oil is higher than less acidic oil4.

Asphaltene is the heaviest and most polar constituent in crude oil. It would be insoluble in low molecular weight alkanes while it would be soluble in aromatics such as toluene and benzene5. One of the most important causes of asphaltene precipitation in oil is pressure changes and the injection of solvents during enhanced oil recovery as well as operating conditions6.

Monitoring the stability of asphaltene in crude oil is still a matter of much debate hence has been studied extensively7. The simultaneous presence of asphaltene and fractions of resins, saturates and aromatics in oil has a profound impact on the formation and stabilization of emulsion8. Asphaltene has the ability to make a stable emulsion due to the reduction of interfacial tension between oil and water1,9,10. Asphaltene influences the emulsion stability before aggregation. Near the starting point of aggregation, it plays an important role, after that, asphaltene becomes unstable, which causes less influence on emulsion stability11,12.

As the concentration of asphaltene increases, the hydrogen bond formed between the asphaltene and the water molecules decrease the interfacial tension between water and oil13. Tchoukov et al.14 investigated a type of emulsion with drainage kinetic analysis and were able to measure the thickness of the asphaltene layer between water and oil. They found that the equilibrium layer was 10–50 nm thick15. The composition of crude oil consists of aliphatic, aromatic hydrocarbons, oxygen, nitrogen, and sulfur, in addition to resin and asphaltene compounds. Many studies showed that the mechanism of forming water in oil emulsion in the presence of asphaltene is through the formation of a viscous film with a high-strength three-dimensional network16,17.

Contrary to oil samples containing a high concentration of asphaltene, in some samples, no asphaltene precipitation has been observed. This was due to thermodynamic conditions, such as temperature, pressure, as well as oil compounds18. More asphaltene precipitation is not related to higher asphaltene content, but rather to saturate and resin contents. Increasing non-polar components, such as saturates, increases oil instability, i.e. more saturates means higher asphaltene precipitation19. Fan et al. (2010) found that at a constant concentration of asphaltene, increasing the solubility of aromatics reduced the elastic strength of the film. As asphaltene content increases, the emulsion becomes more stable. According to microscopic imaging, the size of water droplets decreased when the asphaltene content increased, and the emulsion became unstable when the asphaltene content reached zero20.

The addition of toluene to oil reduces the size of the asphaltene aggregates. Previous studies have shown that the most stable emulsions are formed with more oil and asphaltene in the system21. Furthermore, increasing the water content in the emulsion led to changes in the droplet size and droplet size distribution, which resulted in more asphaltene precipitation. In organic solutions containing less toluene, a more stable emulsion is expected22. The presence of asphaltene in the emulsion structure can make it stable. With the addition of BR bonding resins, stability was reduced as these resins prevent emulsions from being stabilized by asphaltene23.

In addition to increased pressure to an optimal level, increasing the shear stress also leads to smaller water droplets in the oil phase, which results in more stable water in oil emulsion as well as a reduction in the interfacial tension between the two phases. After the optimum pressure, further increase in pressure led to less stable emulsion due to decrease in the amount of asphaltene precipitation at the interface of water and oil. Under such circumstances, the size of water droplets increased, and the interfacial tension between the water and oil increased24(Shams et al., 2022).

The aim of this study was to investigate the behavior of W/O emulsions in the presence of asphaltene. For this purpose, the colloidal instability index (CII), which indicates the degree of asphaltene instability, was changed by adding a representative of saturates and aromatics, which can affect the behavior of emulsions. These tests were then compared at ambient and high-pressure conditions. The main difference between this investigation and other studies is that all experiments were performed at high-pressure conditions using the HTHP device. Different test conditions also affected the behavior of asphaltene in oil, which in turn influenced thr formation and stability of emulsions.

Materials and methods

Oil and water

In this study, oil was obtained from one of the oil fields in south of Iran. The average temperature and pressure in this reservoir were 245° F and 4602 psi, respectively. The measured viscosity at 80.6 ℉ was 391 cp. The API gravity and oil density were also 19 and 0.94 g/cm3, respectively. Initially, the oil was centrifuged at 7000 RPM for 10 min to remove any water in the oil phase to ensure that there was no water in the oil phase. Distilled water was used as the aqueous phase.

SARA and colloidal instability index(CII)

SARA analysis of the crude oil was performed using the modified method IP143 of which the results are presented in Table 1. With the help of this test the amounts of asphaltene, resin, saturate, and aromatic compounds were obtained. The colloidal instability index (CII) can be defined using data obtained from SARA analysis. Figure 1 shows a flowchart of the SARA analysis. The solubilities of these components are specified in this flowchart. For example, if an oil sample is added to light alkanes, the aromatics and saturates would be dissolved, but asphaltene and resin precipitate. Thus, the weight percentage of each component can be obtained25.

Table 1 Properties of the investigated crude oil.
Figure 1
figure 1

Flowchart of SARA analysis.

The colloidal instability index considers crude oil as a colloidal system containing asphaltene, saturates, resins, and aromatics. The colloidal instability index is the ratio of the sum of asphaltene and saturates to the sum of aromatics and resins, which can be used as a measure to characterize the stability or instability of asphaltene in crude oil.

$$\mathrm{CII}=\frac{\mathrm{ Asphaltenes}+\mathrm{Asaturates}}{\mathrm{Aromatics}+\mathrm{Resins}}$$
(1)

An oil with a CII below 0.7 is stable, and over 0.9 is considered highly unstable. If the CII is between 0.7 and 0.9, oil has moderate stability26.

Saturate and aromatic representatives

To better understand the behavior of water-in-oil emulsions, changes were made to the crude oil compositions, which were applied to the colloidal instability index (CII). In this study, n-heptane was used as saturate agent and toluene as aromatic.

Experimental setup

An apparatus, as depicted in Fig. 224, was used to assess the stability of emulsions under reservoir conditions. Initially, to form an emulsion, oil and water were pumped from two separate cylinders using an Agilent pump at a specific flow rate. Subsequently, a strong mechanical stirrer was used with a rotational speed of 4000 RPM to mix the two phases. In other words, the engine of the stirrer transfers the required torque to the blades embedded in the fluid chamber. Subsequently, the sample was ready for the visual chamber at specified pressure and temperature. The sample was then placed on a screen before taking images by a microscope by opening the middle valve. The size distribution of water droplets in the oil was examined by image analysis using the ImageJ software. The mechanism of emulsion formation in this device involves the use of shear force. Shear energy causes the droplets to become smaller, thereby increasing the surface area of the emulsion, which leads to an increase in the number of droplets. Other devices, such as homogenizers and ultrasonic and magnetic stirrers, can also provide the required energy to reduce the size of water droplets. The shear energy from the stirrer and homogenizer to reduce the size of water droplets to micro size is from 500 to 12,000 rpm and when ultrasonic is used, the size of water droplets is usually reduced to nano sizes. The emulsion stability depends on various factors, such as the strength of the interface between oil and water, water droplet sizes, average area of the water droplets, that change over time. In order to calculate the average surface area of water droplets and their size distribution, the ImageJ software was used Thereafter, centrifuge was used to separate the two phases of water and oil and also to determine the semulsion tability.

Figure 2
figure 2

General schematic of measuring device formation and stability of emulsion at high temperature and pressure24.

Emulsions can be formed with different stabilities at both ambient and reservoir conditions. One of the ways to check the stability of an emulsion is to use a centrifuge. This stability study was based on the energy input from the centrifuge to separate the two phases of water and oil. In the experiments, model 200 of Hettich centrifuge with a maximum speed of 13,000 RPM was used.

Emulsion preparation at ambient condition

To measure and evaluate the stability of water in oil emulsion, 70 vol% oil and 30 vol% water were used. These percentages have been used for two reasons. The first reason was to investigate the effect of water spread for five different volume percentages, which the most stable was at 30 vol% of water. The second reason is that this percentage was close to real conditions of the reservoir. All fluid measurements were performed using a graduated cylinder. For adding the aqueous phase to the oil, it was placed in a magnetic stirrer at 500 RPM before slowly adding water in dropwise manner for 15 min. To investigate the effect of oil composition on emulsion formation and stability, six oil samples with different CII values were also prepared by adding a certain amount of n-heptane and toluene. The weight percentage of each component of the prepared samples in 30 g of oil are given in Table 2.

Table 2 Weight percentage of crude oil components.

Emulsion preparation at reservoir condition

To prepare a W/O emulsion and investigate the effect of oil composition on the formation and stability of emulsions, the high temperature and pressure device described in the previous section was used. The volume of oil was 70 vol% and water 30 vol%, and toluene and n-heptane (Table 2) per 200 gr of base oil have been used to change the colloidal instability index. At the beginning, the desired temperature for the experiments was 80 °C; however, due to a lack of emulsion formation at this temperature, it was decided to reduce the temperature to 27 °C. The pressure in this study was 3500 psi. After adding water slowly into the oil phase, the mixer was then turned on, and the water and oil were mixed for 10 min at a specific pressure.

W/O droplet size distribution

The droplet size distribution was used to analyze the stability of formed emulsions. After preparing the emulsion at ambient conditions and HTHP apparatus, the emulsion was sampled using a syringe and analyzed by an AMS-PZ200TB microscope. In order to ensure the accuracy of the data, several samples were taken, followed vy the calculation of droplet size distribution using the ImageJ software. In order to better analyze and compare the images taken from the microscope, the magnification and scale of all images were similar. To better identify the droplets, a threshold was set for the images to detect the droplet size distribution more accurately. Once this was accomplished then the droplets turned black while the other components of the image became white. The image was then ready for analysis of the droplet size distribution.

Phase separation test

After analyzing the droplet size distribution of emulsions, another method used to evaluate emulsions' stability based on phase separation at different RPMs by centrifugal force with the centrifuge. In this analysis, samples at different conditions, including pressure and CII, were poured into the calibrated 10 ml cylinders and placed in a centrifuge. It started spinning at low speeds, and when 20 vol% of the water in the emulsion separated into the container, then the rotation speed was considered as the final RPM. In order to ensure the reliability and repeatability of the tests, all tests were repeated twice of which their errors have been specified in the following respective figures.

Results and discussion

Emulsion formation and stability at ambient condition

As explained in the previous sections, the formation and stability of W/O emulsions depend on various factors, including, but not limited to, oil-phase and aqueous-phase compounds, as well as thermodynamic conditions such as pressure and temperature. To proceed, firstly, the relationship between aromatics/saturates with the colloidal instability index was examined. Compared with other parts of the oil, aromatics can also be polarizable. Asphaltene stability depends on the relative proportion between the SARA fractions. The presence of aromatic rings in oil next to asphaltene, which has a polar surface, can help the stability of asphaltene in oil. In contrast, saturates in oil are known as a non-polar components, and the higher percentage of saturates corresponds to more oil instability. According to previous studies, oil samples with high saturates and less asphaltene are more vulnerable to asphaltene precipitation than oils with lower saturates and higher asphaltene content19. Nanoscale asphaltene aggregates can activate the oil surface and stabilize the W/O emulsion while still being soluble in the solvent. After preparing the emulsion using the method described in the methodology section, image recording was started using a microscope, before calculating the droplet size distribution. Microscopic images of samples made with different colloidal instability indices are shown in Fig. 3. A diagram of the average size of the water droplets in the oil is shown in Fig. 4. As shown in this figure, the most stable emulsion, formed under ambient conditions, is the M4 sample, with a colloidal instability index of 1.059, which is similar to that of crude oil. On the other hand, the addition of toluene to crude oil reduces the colloidal instability index (CII). Having considered that aromatics are suitable solvents for asphaltene in oil, then they serve as emulsifier (natural surfactant) hence would reduce the stability of the formed emulsion. In other words, by adding toluene to crude oil, the asphaltene in the crude oil becomes more stable and suspended, and a small amount of asphaltene would tend to be trapped at the interface of oil and water to form an emulsion film. This would then reduce the amount of emulsifying agent. In the second stage of the tests, the addition of n-heptane as representative of saturates to crude oil increased the oil colloidal instability index, which caused the instability of asphaltene in crude oil. This, in turn, caused a better placement of asphaltene at the interface between water and oil causing a more stable emulsion compared with when using toluene7,24,27,28.

Figure 3
figure 3

Microscopic image of the emulsion under ambient (25℃, 14.6 psi) conditions (Scale for all photos 200 µm).

Figure 4
figure 4

Average surface area of droplets (μm2)in oil under ambient conditions.

Previous studies have shown that asphaltenes may bind tightly to each other and the interface layer through intermolecular interactions, such as π bonding between aromatic groups, charge transfer interactions, van der Waals interactions, hydrogen bonds, and multipolar forces, resulting in the elasticity of the asphaltene layers and emulsion stability3,29,30.

It is worth mentioning that by adding too much n-heptane to crude oil, asphaltenes in crude oil become unstable and form asphaltene clusters that change with time and thermodynamic conditions. They would gradually precipitate and when this occurs, then asphaltene will not be able to be present at the interface of water and oil. For this reason, there will be no other emulsifying substances that affect the stability of the emulsion. However, the stability of emulsions with a colloidal instability index greater than 1.059 is higher than that of emulsions with values less than 1.059 owing to the presence of asphaltene stabilizers, i.e. aromatics.

Another method to evaluate the stability of the formed emulsion is to investigate the separation of the two phases using a centrifuge. Table 3 implies that the separation of the aqueous phase from the oil phase in each of the formed emulsions is very consistent with the droplet size distribution results. Owing to increased emulsion stability, two-phase separation occurred at higher RPM. Therefore, a higher rotational speed is required to achieve a two-phase separation. Figure 5 shows the RPM diagram of the separation of aqueous phase from oil, and Fig. 6 shows an example of this phase separation by the centrifuge.

Table 3 RPM for separation of water phase from oil under ambient conditions.
Figure 5
figure 5

Variation of RPM with CII for separation of water phase from oil under ambient conditions.

Figure 6
figure 6

Separation of two phases in the centrifuge.

Emulsion formation and stability at high pressure

In this part, the formation and stability of emulsions at high pressure conditions would be presented. As mentioned in Section "Emulsion preparation at reservoir condition", the pressure used to perform the tests was 3500 psi. The process of performing the tests was the same as those at the ambient conditions; that is, by adding toluene and n-heptane, the impact of changes in composition of crude oil has been examined. Given the HTHP device and the volume of the main chamber in which the fluid is placed, then more fluid is required than that under ambient conditions. The operation of this device is described in Section "Results and discussion". All samples were subjected to a pressure of 3500 psi, and the mechanical force required to form the emulsion was applied for 10 min by turning on the mechanical blade installed in the device. Subsequently, microscopic images were taken from the prepared samples, and the droplet size distribution and average droplet surface area were then calculated.

In general, two factors must exist so that an emulsion can be formed and remain stable namely (i) mechanical energy and (ii) chemical energy. Mechanical energy is applied to a fluid by the shear energy of blades, which operates at high and low pressures. Chemical energy refers to the presence of a surfactant, here asphaltene. As a natural surfactant in crude oil, asphaltene is an important factor for the formation and stability of emulsions. Asphaltene has a higher polarity than the other components of crude oil because of the presence of heteroatoms such as oxygen, nitrogen, sulfur, and heavy metals in its structure. Therefore, asphaltene molecules tend to be placed at the interface of water and oil phases to form stable emulsions31,32. As shown in Fig. 7, as the pressure increased to 3500 psi, the droplet size decreased and becomes smaller. It can be inferred that the stability of emulsions formed at the elevated pressure is then higher than those at ambient pressure. Moreover, the average size of water droplets in the emulsion would be decreased, which is attributed to the absorption mechanism (asphaltene presence at the W/O interface) and shear force. As pressure increased, the amount of asphaltene precipitated between the water and oil decreases, causing it to become chemically unstable. Another mechanism that leads to the formation of emulsions and the shrinkage of water droplets is the increase of shear energy.

Figure 7
figure 7

Microscopic images of emulsions at high pressure conditions (3500 psi) (Scale for all photos 100 µm).

As pressure increased, the amount of shear energy applied by the mechanical blades into the chamber increased, and the size of the oil droplets decreased, resulting in a more stable emulsion7,24,33. Despite the two mechanisms of mechanical and chemical energy, at a pressure of 3500 psi, mechanical energy prevails over chemical energy and causes droplet size to decrease. As the emulsion became more stable, the water droplets became finer. The average level of water droplets in the oil at a pressure of 3500 psi when toluene and heptane were added is shown in Fig. 8.

Figure 8
figure 8

Average surface area of droplets (μm2) in oil at high pressure conditions.

At ambient conditions, the method of two-phase separation was used to evaluate the stability of emulsions formed at high pressures. By placing the samples prepared at different conditions inside the centrifuge and using different RPM, the separation of the two phases for each sample from each other at a given RPM is provided in Table 4, as well as Fig. 9.

Table 4 The required RPM for separation of water from oil under high pressure conditions.
Figure 9
figure 9

RPM diagram for separation of water phase from oil under high-pressure conditions.

Comparison of thermodynamic conditions for stability of emulsions

According to Fig. 10, the average size of water droplets is lower at high pressures compared to that at ambient conditions. This implies that the formed emulsions are more stable at higher pressure. The degree of stability and emulsion formation for the M4 sample (CII = 1.059) at both ambient and high pressure conditions are close to each other. As mentioned in the previous section, the cause of emulsion formation is the instability of asphaltene, and according to previous studies, when the colloidal instability index is between 0.9 and 0.7, then it is relatively stable, and when less than 0.734, it is stable and the emulsion would be unstable when CII is greater than 0.9. At 1.059, asphaltene was unstable when no substance was added to the oil. The asphaltene instabilities under ambient and high pressure conditions were close to each other, resulting in relatively equal stabilities of the two emulsions. The difference in droplet sizes under ambient and high pressure conditions can be related to the amount of asphaltene in the colloidal instability index. With the addition of toluene, the asphaltene was stabilized and dispersed in the oil phase. This, in turn, reduced the amount of asphaltene at the oil–water interface thus a less stable emulsion should be expected. The reason for the difference in slope between the two lines of the diagram around point 1.059 at ambient and high pressure conditions is the dominance of respective mechanism affecting the stability of the emulsion. As pressure increased, the exerted mechanical energy would be increased from that at ambient conditions, which made the water droplets finer and emulsion more stable. The difference in slope between the two side edges is the amount of mechanical energy applied to the emulsion.

Figure 10
figure 10

Comparison between the stability of emulsions formed under ambient and high pressure conditions.

Conclusions

The primary purpose of this study was to investigate the effects of oil compounds under different thermodynamic conditions on the formation and stability of W/O emulsions. Various factors that would affect the formation of emulsions including the thermodynamic conditions, and oil composition were investigated. In this study, asphaltene acted as a natural emulsifier and surfactant thus the stability of asphaltene would govern the behaviour of emulsion. For this purpose, using heptane and toluene as representatives of saturates and aromatics, six oil samples were prepared with six different colloidal instability indices. The results showed that the most stable emulsion was the M4 sample and the most unstable emulsion was the M1 sample under both ambient and high pressure conditions. In addition, the results showed that by increasing the pressure near the bubble point, the asphaltene in the crude oil became unstable, making the W/O emulsion more stable. At the elevated pressure, more asphaltene was available at the interface of water and oil due to lower solubility of asphaltene,. This makes the W/O emulsion more stable at high pressures than that at the ambient conditions.