Introduction

HMB is a homatropine quaternary derivative (Fig. 1). It has an antimuscarinic action, so it is combined with a few medicines to treat gastrointestinal cramps [1]. There are several analytical methods for determining the HMB, including: turbidimetric [2], spectrophotometric [3], titration [4], and chromatographic [5].

Fig. 1
figure 1

Chemical structure of HMB

Molecularly imprinted polymers (MIPs) are porous macromolecular materials produced with a tailored binding affinity for a target chemical (Template). They act as plastic antibodies, receptors or enzymes as they have a high affinity that is comparable to their biological counterparts with the added benefit of being more durable than them [6]. The targeted template, a functional monomer (FM), a crosslinker, a polymerization initiator, and a porogen constitute the MIP components. The spatial arrangement of FMs around the template is determined by intermolecular interactions between them, the subsequent polymerization of the FMs in an excess amount of the crosslinker which acts as a glue fixes the the three-dimensional structure. After the template is removed, chemically and sterically complementary void volume like template structure is left in the polymer network that serve as sites of molecular recognition for same template [7, 8]. They have been used in promising analytical methods due to their high specificity towards their target molecules, as sorbents in matrix pretreatment, as packing material in separation stationary phases in chromatographic techniques [9,10,11,12]. The initial stage of MIP preparation involves the formation of a complex between a template and FM through non-covalent interactions in the self-assembly process and is called a pre-polymerized complex. The stability of this complex is important in this step and relies on the strong binding of the FM with the template and ultimately gives the efficient performance of the MIP properties of high binding capacity, selectivity, and affinity to its template [13]. Therefore, it is necessary to know and study the number and strength of these interactions. Computational chemistry approaches are fast, robust and rational predictive tools used to screen the possible non-covalent interactions that occur in the pre-polymerization complex at the molecular level. Thus, it enables us to define the optimum conditions to prepare the MIP with high efficiency to recognize its analyte, instead of the usual experimental method for MIP synthesis which is costly, time-consuming, laborious and choosing the ideal imprinting conditions is typically done empirically based on chemical intuition and trial-and-error methods, spending large amounts of precursors reactants in the process [14]. Density functional theory (DFT) is one of the most accurate and precision of quantum mechanics methods, is used to gain a better understanding for electronic properties of a molecule, its strategies applied on MIP included such selecting the best template/FM molar ratio and the best type of FM based on calculated binding energies of pre-polymerized complex as the difference between complex total electronic energy and the reactants energies, as well as the suitable porogen which polymerization occur in it, and offers a distinctive comprehension of thermodynamic and spectroscopic aspects for a system from a molecular level perspective [15, 16]. Herein, we report the preparation of two MIPs using HMB as a template. the two FMs (MA and AM) were used to prepare, HMB-MIP1 and HMB-MIP2. Ethylene glycol dimethacrylate (EGDMA) as a crosslinker, benzoyl peroxide (BP) as the radical initiator of polymerization, and Methanol/Chloroform (50:50, V/V) as the porogen for synthesis. After that, they were tested for rebinding to HMB. Since the pre-polymerized complex may serve as a key for predicting MIP performance. Quantum Mechanical calculations approaches as DFT is used to focus on the intermolecular interactions for the structures of the HMB-FM complex at each molar ratio. Also, the complexation energies of their pre-polymerized complexes were studied in vacuum and different solvents. Thermodynamics parameters of the production of the pre-polymorized complexes in self-assembley reaction were estimated to evaluate the spontaneity of their formation. Also, the nature of the intermolecular interactions were inspected using QTAIM.

Experimental part

Chemicals

The solvents (chloroform/methanol) which were used in the preparation of MIPs are obtained from Merck (Darmstadt, Germany), while the other chemicals were purchased from Sigma-Aldrich (St. Louis-USA). The state corporation of drug and medical appliances (SDI-Samarra, Iraq) provided a reference of HMB as a grant.

Instrumentation

The prepared MIPs are examined using scanning electron microscopy (SEM) (TESCAN MIRA3-Czech Republic). UV–Visible Spectrophotometer 1800 PC (SHIMADZU-Japan) was used to perform measurements relevant to HMB determination in their solutions employing (1.0 cm) quartz cells. IRAffinity-1S (SHIMADZU-Japan) was used to record the infrared spectra. The polymer mixture is heated and agitated using an ultrasonic sensitive water bath from (SONOREX-GERMANY). Thermogravimetric (TGA) analysis were carried out between 25 and 600 °C using a maximum heating rate of 20 °C / min. in a nitrogen environment, using the SDT Q600 V20.9 Build 20 (TA Instruments, USA).

MIP synthesis

In two glass vials, two HMB-MIPs (HMB-MIP1 and HMB-MIP2) were synthesized using the two FMs MA and AM. The following chemicals were added into each vial: (0.27 mmol) of HMB, (1.95) mmol MA in first vial and (2.8 mmol) AM in the second vial as the FM. Then, (19.67 mmol) of EGDMA were added to 4.0 mL of methanol, and to this mixture (1.24 mmol) of BP was dissolved in 4.0 mL of chloroform was added into each vial to uniformly homogenize this mixture, the solutions were sonicated while they where purged with N2 gas in an ice/water slurry for 5 min to remove oxygen and, then, sealed tightly, after that they were moved into a different water bath at a higher temperature (60 °C) until polymerization completed. The polymerization time of HMB-MIP1 took longer than HMB-MIP2, about 24 h for the first, while about 15 h for the latter. The two synthesized polymers were rinsed using CH3OH and dried, then crushed using a mortar and pestle. The crushed samples were eluted from HMB in a Soxhlet using the following solvent mixture (methanol;acetic acid;distilled water:70;20;10) for several times until HMB disappeared entirely. The absorbance values were measured at 205 nm which indicated that HMB has been eluted. the final product are left at RT for slow drying.

Isothermal rebinding tests

0.2 and 0.4 g of each HMB-MIP mixed with 10 mL HMB solution of concentrations ranged from 10 to 40 ppm were incubated at 25 °C to assess their ability to bind to HMB. After a spectrophotometric measurement of the unbound HMB concentration in the supernatant at 205 nm, the binding capacity Q (μMole.g−1) was calculated using the following equation:

$$\mathbf{Q}=\frac{({\mathbf{C}}_{\varvec{init}}-{\mathbf{C}}_{\varvec{free}})\times \mathbf{V}}{{\varvec{M}}_{\varvec{MIP}}}$$
(1)

where V is the portion volume (mL), Cinit is the initial concentration (mMole.L−1), Cfree is the free final concentration of HMB and mMIP is the mass of the polymer particles (mg). Values from the isothermal equilibrium are used to decide wheather the Freundlich (Eq. 2) or Langmuir (Eq. 3) isotherm model by depending on the correlation coefficient (R2).

$${\mathrm{q}}_{\mathrm{e}}={\mathrm{K}}_{\mathrm{f}}\,{{\mathrm{C}}_{\mathrm{e}}}^{(1/\mathrm{n})}$$
(2)
$${\mathrm{q}}_{\mathrm{e}}=\frac{{\mathrm{q}}_{m}{K}_{L}\,{C}_{e} }{1+{K}_{L}\,{C}_{e}}$$
(3)

where Ce is the equilibrium concentration of HMB in solution, qe is the quantity of HMB adsorbed per mass unit of adsorbent, kf depicting the adsorption capacity, and n is the adsorption intensity, qm denotes the maximum adsorption quantity of monolayer model, kL denotes the Langmuir constant.

Subsequently, the results of the experiment on static adsorption were processed using Scatchard's Analysis (Eq. 4) to screen the HMB-MIPs binding parameters:

$$\frac{\mathrm{Q }}{{\mathrm{C}}_{free}}=\frac{({\mathrm{Q}}_{max}-\mathrm{Q})}{{K}_{d}}$$
(4)

The maximum adsorption capacity is represented by Qmax, whereas Kd is the dissociation constant at the binding site.

Theoretical part

Geometrical optimization of molecules

Molview.org was used to get the structures of the compounds HMB, MA and AM. All of our computational studies were carried out at DFT/B3LYP level and 6-31G as basis set. Using G09 [17], the structures of pre-polymerized complexes have optimized (S1). The optimized structures are ground true minima since there are no imaginary frequency for each of them. Addition, The molecular electrostatic potential surface (MEP) [18] has been used as a tool for mapping electron-rich and electron-poor sites to facilitate understanding of how the intermolecular interactions of complex formation occur between HMB-FMs.

Computational screening of the formed complexes between HMB and FMs

A computational study at the same theoretical level mentioned above was conducted to screen and establish stable configurations of different molar ratios for complexes arising between HMB and FM, which were based on strong overlaps between the electron-rich and electron-poor sites between them. Multiple interactions resulting in each configuration were also taken into account. We calculated the complexation energy for each of the ratios using the mathematical relationship as following:

$$\Delta \mathrm{E}={\mathrm{E}}_{\mathrm{complex}(\mathrm{HMB}-\mathrm{FM})}-[{\mathrm{E}}_{(\mathrm{HMB})}+\Sigma {\mathrm{E}}_{\mathrm{FMs}}]$$
(5)

where FMs represents the number of MA or AM that contributed to the molar ratio. Besides this, thermodynamic parameters [19] the following eqs.:

$$\mathrm{\Delta G}={\mathrm{G}}_{\mathrm{complex}(\mathrm{HMB}-\mathrm{FM})}-[{\mathrm{G}}_{(\mathrm{HMB})}+\Sigma {\mathrm{G}}_{\mathrm{FMs}}]$$
(6)
$$\mathrm{\Delta G}=\mathrm{E}+{\mathrm{G}}_{\mathrm{corr}}$$
(7)
$$\mathrm{\Delta H}=\mathrm{E}+{\mathrm{H}}_{\mathrm{corr}}$$
(8)

where E is the total electronic energy, the Gibbs free energy correction is Gcorr and the enthalpy correction is Hcorr.

Simulation in reaction media

Whereas the complexation energy was calculated in vacuum, solvents are known to reduce the interaction within FM-Template complex. Hence, it would be preferable if the solvent as reaction medium would possess the strongest intermolecular forces. When selecting a solvent as a porogen in MIP preparation, there are several aspects have to be considered. In terms of preparation, all components must be soluble and not to hinder the interactions between the FMs and template in the pre-polymerized complex FM-Template, but in terms of rebinding, the polarity of porogen in the imprinting process have to be preferably similar to the polarity of the aqueous matrix for analyte in order to maintain the microenvironment consistency that it can make it simple to rebind [20, 21].

QTAIM topology analysis

The QTAIM is one of the most popular and validated techniques for non-covalent interaction analysis [22, 23], which interprets weak interaction features based on the characteristics of the interatomic bond critical points (BCPs) [24]. These points are saddle points along the bond path, which the electronic density at it begins to increase gradually until it terminates at the nucleus, so these points are considered the most depictive points for interatomic interaction atoms [25, 26]. AIMALL program was used to carry out the QTAIM analysis [27].

Results and discussion

Characterization of HMB-MIPs: FT-IR spectra, morphology & TGA

The comparative FT-IR spectra of the HMB and HMB-MIPs are shown in Figs. 2 and 3. The values for the distinct peaks and their changes are listed in Tables 1 and 2. The HMB-MIPs spectra revealed three significant HMB peaks whose variations could be seen. First, for the stretching OH group. Next, for the stretching of (C-H) and (C = C) groups associated with the aromatic system of HMB, whose changes can be seen. The leached HMB-MIPs lack all of the foregoing HMB peaks, which indicates that the prepared MIPs were successful in eluting HMB from them. SEM has been used to analyze polymer morphology. The results show that the surfaces of the washed HMB-MIPs (Figs. 4b and 5b) were rough and less uniform, unlike the surfaces of the unwashed HMB-MIPs (Figs. 4a and 5a). Thus, the surfaces of the washed HMB-MIPs are capable of adsorbing HMB from its solutions.

Fig. 2
figure 2

FT-IR spectra of HMB, Unleached HMB-MIP1 & leached HMB-MIP1

Fig. 3
figure 3

FT-IR spectra of HMB, Unleached HMB-MIP2 & leached HMB-MIP2

Table 1 FT-IR spectra of HMB & HMB-MIP1
Table 2 FT-IR spectra of HMB & HMB-MIP2
Fig. 4
figure 4

SEM of HMB-MIP1

Fig. 5
figure 5

SEM of HMB-MIP2

For TGA measurements of samples (S2), once heating started, all curves have a significant moisture loss. For a HMB, at 225 °C it begin to decompose up to 350 °C.

The TGA thermograms of unleached and leached HMB-MIP1. The unleached started to decompose at lower temperatures which indicates that leached form is more thermaly stable. In the unleached, first the interactions between the HMB and MA monomers are broken at the binding cavities and the liberated molecules of monomer and crosslinker in the polymer begin to decompose [28]. At 240 °C the decomposition of the HMB begins, and about 270 °C the backbone of polymers decompose up to 425 °C, finally the process decomposition of polymers were completed from 475 to 525 °C. Unlike in leached HMB-MIP1, it differs from it only in that the decomposition of the polymer here took place in one stage, due to the absence the HMB in it. While in an unleached HMB-MIP2, at 225 °C the interactions between the HMB and AM monomers are broken and molecules of crosslinker and monomers are released, as well as ammonia and water vapors were evolved, by the imidization process [29] and at 230 °C the decomposition of the HMB begins. After that, about 300 °C up to 450 °C is attributed to the breakdown of backbone polymers and imides formed in the previous step. In contrast to in leached HMB-MIP2, it differs from it in the presence of two decomposition regions of the polymer, where the absence of HMB causes an increase in imidization reactions, which results in a higher heat resistance and a loss of initial weight of the polymer less than in the unleached. Eventually, we conclude that the HMB-MIP2 gives more stable thermal properties than the HMB-MIP1.

Active sites for individuals of pre-polymerized complexes

Each of the molecules that contributed to the construction of the HMB-FM complex, namely the HMB, MA, and AM, had their optimal conformers determined, and after that, using MEP, the active sites for each of these molecules were examined. These structures are presented in Figs. 6, 7 and 8.

Fig. 6
figure 6

Structure & MEP of HMB

Fig. 7
figure 7

Structure and MEP of MA

Fig. 8
figure 8

Structure & MEP of AM

The active sites (electron rich sites, red color in Figs. 6, 7 and 8) in the HMB are (Br1, O2, O19 and, O17) act as proton acceptors, and (the electron deficient sites, blue color in Figs. 6, 7 and 8) (H18, H45, H46, H26, H37, H41, H23, H32, H21, H36, H5, H8 and H28) act as proton donors. While in MA FM, the proton acceptors are (O1 and O2) and (H7, H8 and H9) are the proton donors. Finally, in an AM monomer, the proton acceptor is (O7) and (H9 and H10) are the proton donors.

Computational study for molar ratio of HMB-complexes

Under same theoretical level B3LYP/6-31G, various molar ratios were established to form stable complexes. All ratios are depicted in Figs. 9 and 10. We started with a ratio of 1:1, with gradually increasing the complexation energy continuing with it until the increase in energy after that was trivial due to the intermolecular interaction of the FM with itself reducing the selectivity [30]. As a result, this can be considered as a theoretical analysis [31] to determine the exact stoichiometric molar ratio between template and FM. Details of all the generated complexes are given in Tables 3 and 4. The complexes that formed between the HMB and the MA were obtained by two types of interactions. First, between the oxygen of carbonyl for MA interact with the hydrogen atoms in the HMB. Second, those intercations formed between the hydrogen of methyl for MA and the counter bromide ion of HMB or the oxygen atoms in the structure of the HMB. Whereas for the interactions that occur between the HMB and the AM, there are also two types; first, between the oxygen of carbonyl for AM and the hydrogen atoms in the HMB and second, those that were between the hydrogen of amine and the counter bromide ion or the oxygen atoms in the structure of the HMB. Comparing the results that are listed in Tables 3 and 4, we find that the binding energies of the complexes resulting from AM and the HMB are much stronger than in MA with the HMB, this is due to the strength of charge distribution in AM compared to MA, as we have seen in the MEP of the molecules in Figs. 7 and 8.

Fig. 9
figure 9

Configurations for Molar Ratios of HMB to Mas

Fig. 10
figure 10

Configurations for Molar Ratios of HMB to AMs

Table 3 Complexation Energy for complexes of HMB/MA
Table 4 Complexation Energy for complexes of HMB/AM

The resultant stoichiometric molar ratios of 1 to 7 and 1 to 10 correspond to HMB-Complex1 and HMB-Complex2. The latter had a higher molar ratio because the HMB required more AM to generate the stable complex in the end. The higher complexation energy of the HMB-Complex2 is also attributed to the strength of the interactions as well as to the abundance of multiple hydrogen bonding, not merely due to its greater molar ratio. Moreover, from thermodynamic parameters shown in Tables 5 and 6, the formation process of pre-polymerized HMB-Complexes is exothermic, since the enthalpy values (ΔH°) are negative. The enthalpy values are -57.58, -152.97 kcal.mol−1 for HMB-Complex1, and HMB-Complex2, respectively.

Table 5 Thermodynamic parameters in accordance with HMB + 7MA → HMB-Complex1 at 298.15 K
Table 6 Thermodynamic parameters in accordance with HMB + 10AM → HMB-Complex2 at 298.15 K

The negative entropy, ΔS°, values associated the formation of the pre-polymerized complexes which are -251.94, -363.05 cal.K−1.mol−1 for HMB-Complex1 and HMB-Complex2, respectively, indicates that the non-covalent interactions that have occurred throughout the imprinting process result in a transformation to more ordered state. The predicted ΔG° value for the HMB-Complex1 is positive + 17.53 kcal.mol−1, suggesting that the pre-polymerization complex is not thermodynamically favored (equilibrium constant, K < 1). As a result, stirring [32] is necessary to achieve the imprinting process. Also, MIPs are typically processed at mild temperatures between 50 and 60 °C, as heating above these causes the complex to lose its structural integrity. While a negative value for HMB-complex2 of -44.73 kcal.mol−1 indicates that AM facilitates the preparation of pre-polymerization complexes from a thermodynamic aspect. These results indicate that AM has greater affinity than MA, so it has the opportunity to be used as FM to synthesize MIP having better recognition properties on HMB.

Evaluating of selected porogen

Based on the simulation results for both pre-polymerized complexes, HMB-Complex1 and HMB-Complex2 in solvents as shown in Tables 7 and 8, it was found that the non-polar solvent has the highest complexation energies, while among the polar solvents, methanol had the higher complexation energy, more than both acetonitrile and DMSO, because it was revealed that increasing the value of the dielectric constant ε of the solvent with it the value of complexation energy decreases [14]. Therefore, the porogen used as a mixture between two immiscible solvents that differ in polarity was a good choice in the preparation of the HMB-MIPs in terms of experimental and theoretical. First, experimentally methanol dissolves HMB and improves the rebinding process because it provides a solvation environment for the imprinting process similar to that of HMB's solutions [33], and theoretically has a higher complexation energy value among polar solvents. The second is chloroform, a nonpolar solvent that has a weak effect on complexes between HMB and FMs, so theoretically it has the highest complexation energy value than any others.

Table 7 Complexation Energy of HMB-Complex1 in various solvents
Table 8 Complexation Energy of HMB-Complex2 in various solvents

QTAIM's interpretation of intermolecular interactions

The QTAIM study provides the following values: total electronic energy density H(r), Laplacian of electronic density ∇2ρ(r), potential energy density V(r), and kinetic energy density G(r). With the help of these parameters, the types of chemical interaction and their extents can be described. Also, the energy value of each interaction was estimated using Eint = V(r)/2 [34]. All values of ∇2ρ(r) were positive based on the results reported in Tables 9 and 10, which means that these interactions are closed-shell interactions or non-covalent interactions [35]. The nature of these interactions could be defined in terms of the values of the following parameters ρ(r), ∇2ρ(r) and Eint. In HMB-Complex1, the value are the highest at BCP H18 – O108 which are 0.03337 a.u., 0.121604 a.u., and -9.453 kcal.mol−1 for values of ρ(r), ∇2ρ(r), and Eint, respectively. This indicates that the interaction is stronger than others, this is supported by shorter interaction distances in comparison to the other interactions. The lowest values of ρ(r), ∇2ρ(r) and Eint occur at BCP C7–H114, the values are 0.003058 a.u., 0.009689 a.u., and -0.395 kcal.mol−1 for values of ρ(r), ∇2ρ(r), and Eint, respectively, implying that the interaction was weaker than others which is attributed to its longer interaction distances. The interactions are stronger in are in HMB-complex2, the highest values of ρ(r), ∇2ρ(r), and Eint occur at BCP H18-O123 which are 0.052787 au, 0.177764 au, and -15.1 kcal.mol−1, respectively, and the lowest values of ρ(r), ∇2ρ(r), and Eint occur at BCP H5-O103 which are 0.003393 a.u., 0.013952 a.u., and -0.559 kcal.mol−1, respectively.

Table 9 QTAIM for the pre-polymerized HMB-Complex1 at the imprinting site
Table 10 QTAIM for the pre-polymerized HMB-Complex2 at the imprinting site

Adsorption isotherms and scatchard analysis

The plots shown in (Figs. 11 and 12) and the data listed Tables 11 and 12 indicate that as Ci of HMB increased, Q increased along with it. Based on the Table 13 for the HMB-MIPs' experimental results, the Langmuir fitting model is proved to be more appropriate. This demonstrated that the hydrogen interactions between HMB and the specific binding sites on the surfaces of the HMB-MIPs were responsible for the monolayer adsorption. Also, we found that Q values in HMB-MIP2 are greater than HMB-MIP1. which indicates that the pre-polymerized complex HMB-Complex2 is more robust. For the scatchard analysis (Fig. 13), it revealed linear and a single straight line at both HMB-MIPs at 0.4 g, indicating homogeneity and affinity of their binding sites. The Kd and Qmax values for HMB-MIP1 were 0.0094 mM and 2.64 μmole.g−1, respectively. Whereas, with HMB-MIP2, Kd and Qmax were 0.012 mM and 3.2 μmole.g−1, respectively.

Fig. 11
figure 11

Binding Isotherm for HMB-MIPs at 0.2 g

Fig. 12
figure 12

Binding Isotherm for HMB-MIPs at 0.4 g

Table 11 Binding Values of HMB using HMB-MIP1 particles
Table 12 Binding Values of HMB using HMB-MIP2 particles
Table 13 Adsorption Isotherm Tests for HMB-MIPs
Fig. 13
figure 13

Scatchard Analysis of HMB-MIPs at 0.4 g

Conclusion

In conclusion, depending on the bulk polymerization, two types FMs, MA and AM were used to synthesize MIPs namely, HMB-MIP1 and HMB-MIP2 for HMB recognition. Understanding the mechanism of the imprinting process, describing how molecular interactions are constructed, study the potential of solvents used in the MIPs preparation and accessing their pre-polymerization complexes: HMB-Complex1 and HMB-Complex2 as the descriptor the performance MIPs, all these important points were crucially achieved through computational chemistry representing by DFT method. According to the theoretical results, the values for complexation energy and Gibbs free energy were -171.6, -44.73 kcal.mol−1 for HMB-Complex2 that were more preferable than -69.27, + 17.53 kcal.mol−1 of HMB-Complex1. Also, the data obtained by QTAIM indicates to strength of the interactions of HMB-Complex2. In terms of experiments, there were very compatible with theoretical results, compared to HMB-MIP1, we found that HMB-MIP2 had higher binding capacity Q values. As well as, TGA mesurements were proved that HMB-MIP2 was most thermally stable than HMB-MIP1 due to the strong interactions resulting from the use AM as monomer in its preparation. Therefore, HMB-MIP2 had stronger recognition properties on HMB than HMB-MIP1 to adsorb HMB from its aqueous solutions.