1 Introduction

In oil-drilling operations, a filtrate reducer is the most commonly used drilling fluid additive. Its main functions are reducing drilling fluid filtration by forming thin and dense filter cakes on the wellbore, thus reducing the mutual permeability between the mud filtrate and wellbore, minimizing wellbore instability, and ensuring the stability of drilling fluid performance (Zhang and Deng 1998). Partially hydrolyzed sodium polyacrylonitrile with an anionic hydration group, polyacrylonitrile calcium salts, and polyacrylonitrile ammonium salts are widely used as filtrate reducers, which meet the requirements of well drilling operations below 120 °C (Cui and Zhu 1999; Ahmed et al. 2013). The application of an allyl copolymer with cationic groups in the drilling fluid has been reported. This mainly revolves around its application to cationic and zwitterionic drilling fluid systems (Zhang and Deng 1998; Warren et al. 2000). Hydrophobically modified polyacrylamide as a sealing agent has been used in water-based drilling fluid. This can effectively improve the temperature and salt resistance of water-based drilling fluid system (Xie et al. 2013). Lubricants based on water-soluble polyacrylamide have also been used in drilling, particularly in low-density drilling fluid systems (Wang 2013). In recent years, standards of drilling fluid systems have become higher with the increase in deep and complex wells. Therefore, a filtrate reducer containing cationic groups is believed to have a promising application (Zlotnikov et al. 2006). There have been reports about acrylic waste fiber that can enable the drilling fluid loss agent to be cationically grafted under alkaline conditions (Yu et al. 2004; Celik et al. 2012). Still missing are the molecular structure of the cationic agent and the cationic degree of the final products. The characterization of the structure of such reaction products is yet to be reported. The application of the products and their mechanisms of activity in the drilling fluid should be further investigated.

2 Synthesis of cationic fluid loss additive

2.1 Materials and instruments

Industrial by-product waste polyacrylonitrile fiber was provided by the Anqing Chemical Fiber Factory (China). AR NaOH, AR 2,3-epoxypropyltrimethyl ammonium chloride (EPTMAC), and CR Ethanol were provided by Sinopharm Chemical Reagent Beijing Co., Ltd.

Instrumentation included a reflux reaction device; API (American Petroleum Institute) filtration press; high-speed mixer; a Magna-IR 750 Fourier transform infrared spectrometer (Thermo Nicolet Corporation, USA); and a Vario EL element analyzer (Elementar Analysensysteme GmbH, Germany).

2.2 Chemical reaction principle

Cationic fluid loss additive was prepared by reactions of EPTMAC with amide groups, catalyzed by alkali (Tang et al. 1995; Ma and Zhao 1995). The principle of the chemical reaction is shown in Fig. 1.

Fig. 1
figure 1

Schematic diagram of the fluid loss agent made by using cationic acrylic fiber waste a Hydrolysis of acrylic waste fiber, b Cationic agent

2.3 Synthesis of cationic fluid loss additive

A total of 15 g of partially hydrolyzed polyacrylonitrile sodium salt (HPAN) and 150 mL of distilled water were added to a 250 mL three-necked flask, mixed, and then heated to 70–80 °C in a water bath. After that, a cationic additive 2,3-epoxypropyltrimethyl ammonium chloride solution with a mass ratio of 20 %–50 % based on HPAN was added and stirred at constant temperature for three hours.

The reaction product was washed three times with ethanol to obtain viscous products which were dried at 105 ± 5 °C in an oven, and then pulverized to obtain cationic product CPFL with a cationic degree of 0.2–0.5 mmol/g.

3 Structural characterization of cationic fluid loss additives

Acrylic waste fiber, hydrolysis products HPAN, and cationic product CPFL (with a cationic degree of 0.49 mmol/g determined by chemical titration) were tested by Fourier transform infrared spectroscopy. The graft substrate HPAN and cationic fluid loss additive CPFL were characterized by elemental analysis to determine the composition of their molecular chains.

3.1 IR spectrum

Figure 2 shows the infrared spectrum of acrylic waste fiber PAN, partially hydrolyzed polyacrylonitrile sodium HPAN, and fluid loss agent CPFL.

Fig. 2
figure 2

FTIR of raw materials and products

In the infrared spectrum of acrylic waste fiber PAN, the stretching vibration peak of nitrile group was at 2245 cm−1. The peak at 1450 cm−1 was assigned to the variable angle vibration of methylene. These were the characteristic absorption peaks of polyacrylonitrile and there was a strong absorption peak at 1734 cm−1, which was the unique stretching vibration absorption peak of carbonyl groups. It indicated that the raw material contained acrylate, the copolymer of acrylonitrile and acrylic-ester.

In the infrared spectrum of partially hydrolyzed sodium polyacrylonitrile (HPAN), which was boiled for two hours for base-catalyzed hydrolysis at atmospheric pressure, the absorption peak of nitrile group at 2245 cm−1 became very weak, indicating that the vast majority of the nitrile groups were hydrolyzed to amide and carboxyl groups. The amide carbonyl stretching vibration peak was at 1675 cm−1; the N–H stretching vibration absorption peak appeared at 3431 cm−1 and the characteristic peaks of –COO– appeared at 1570 and 1400 cm−1.

The infrared spectrum of cationic filtrate reducer CPFL (Fig. 2) showed that nitrile peak was very weak after the HPAN cationic reaction, indicating that nitrile was hydrolyzed in the cationic process. A pair of peaks appeared at 1415 and 1326 cm−1, which are the characteristic absorption peaks of secondary alcohol, indicating that the epoxy ring was opened, and cationic groups were successfully grafted to HPAN chains.

3.2 Elemental analysis

The elemental analysis results of partially hydrolyzed polyacrylonitrile sodium (HPAN) and its cationic products CPFL are shown in Table 1.

Table 1 Elemental analysis results of HPAN and CPFL

According to the structural formula of the hydrolysis product of acrylic fiber and its cationic products (Li and Zhang 1999), the elemental concentration of C, N, and O can be calculated with the following equations:

Cationic product CPFL:

$$C(\% ) = 12 \times (3x + 3y + 9z)$$
$$N(\% ) = 14 \times (x + 2z)$$
$$O(\% ) = 16 \times (x + 2y + 2z)$$
$${\text{Deduction}}{:}\,x = \frac{O}{ 1 6} - \frac{C}{ 1 8} + \frac{N}{ 7}$$
$$y = \frac{O}{32} - \frac{N}{28}$$
$$z = \frac{C}{ 3 6} - \frac{O}{ 3 2} - \frac{N}{28}$$

With C = 38.05, N = 2.49, and O = 29.54, we obtained x = 0.088, y = 0.834, and z = 0.045. The molar ratio of the three structural units was 9.10/86.2/4.65. The molar masses for each of the structure units were 71, 94, and 222.5 g/mol, respectively.

Among them, the x, y, and z represent the number of chains in three different structure units of HPAN molecular chain, as shown in Fig. 1.

Cationic degree of cationic polymer filtrate reducer CPFL:

$$\frac{{0.045 \times 10^{3} }}{71 \times 0.088 + 94 \times 0.834 + 222.5 \times 0.045} = 0.475{\text{ (mmol/g)}}$$

The calculation from elemental analysis agreed well with the titration data of 0.49 mmol/g. The result of the elemental analysis further demonstrated that the cationic reagent was successfully grafted onto the molecular chain of the partially hydrolyzed polyacrylonitrile sodium salt.

4 Evaluation of drilling fluid performance

4.1 Influence of cationic degree on drilling fluid filtration

The base drilling fluid was prepared as follows: 100 g of bentonite and 8 g of anhydrous Na2CO3 were added to 1000 mL of water, and stirred for about 20 min with a high-speed mixer, and then placed under a sealed condition for about 24 h at room temperature. The property of the drilling fluid was then determined according to the API standard.

CPFL sample (with a concentration of 0.5 or 1.0 wt%) with different cationic degrees was added to the base drilling fluid. The drilling fluid property was tested after 20 min of stirring at a high rate. The results are shown in Table 2.

Table 2 Influence of cationic degree on drilling fluid filtration

Table 2 shows that the drilling fluid filtration decreased with the increase in cationic degree. The CPFL product had a good filter reducing effect in the cationic degree ranging from 0.27 to 0.54 mmol/g. Drilling fluid filtration achieved a minimum at a cationic degree of 0.27 mmol/g.

4.2 Influence of cationic degree on drilling fluid salt resistance

A total of 1.0 % of CPFL sample with different cationic degrees was added to the base drilling mud containing 10 % of bentonite and stirred for 20 min, and then contaminated using 15 % of NaCl, after that CaCl2 with different mass fractions of 1 %, 2 % or 3 % was added. After 20 min of stirring, the performance of the mixed drilling fluid system was evaluated, and the influence of the cationic degree on the performance of contaminated drilling fluids was measured as shown in Fig. 3.

Fig. 3
figure 3

Relationship between cationic degree and drilling fluid filtration loss at different concentrations of CaCl2

The results showed that for the drilling fluid system contaminated by NaCl and CaCl2 salts, the API filtration loss would increase as the CaCl2 concentration increased. When cationic degree reached 0.15 mmol/g, the drilling fluid filtration loss had a sharp decline; at the cationic degree of 0.27 mmol/g, it had its best fluid loss effect.

4.3 Analysis of action mechanism of cationic filtration reducer

The electrostatic attraction between anionic groups and cationic groups was enhanced by the addition of cations to the molecular chain of partially hydrolyzed sodium polyacrylonitrile, which in turn further enhances the electrostatic attraction between filtration reducer cationic groups and clay particle anionic groups. Therefore, a network structure was formed to a certain extent, and could improve the polymer’s resistance to salt pollution and its ability to confine free water. The filtration-reducing effect significantly improved (Wang and Zhang 1995). But when the cationic degree is too big, with the enhancement of the inhibitory effect of cationic quaternary ammonium, flocculation capacity is too strong, the solid particles in the system become excessively big, the number of colloidal microparticles reduces, the density of filter cake becomes small, so the permeability increases, resulting in greater filtration.

5 Conclusion

Partially hydrolyzed sodium polyacrylonitrile was prepared through the hydrolytic reaction of acrylic fiber under alkaline conditions, which grafted cationic monomer to synthesize cation-modified polyacrylonitrile. The synthetic modification process is simple, easy to control, and can synthesize good drilling fluid loss additive cationic products. The characterization of the product molecular structure and the drilling fluid application performance indicated that if the cationic reaction and the cationic degree could be properly controlled, it would be applicable as a drilling fluid loss agent, and have good resistance to calcium chloride contamination.