1 Introduction

In classical general relativity, black holes do not radiate in the electromagnetic spectrum, so it is not possible to directly obtain information about an isolated black hole. However, black holes’ gravity in binary systems plays an important role in deriving all the radiation processes in the surrounding accretion disk. QPOs are one of the astrophysical phenomena in the electromagnetic spectrum found by using Fourier analyses of the noisy continuous X-ray data from the accretion disk in (micro)quasars. QPOs are called high-frequency (HF) when the peak frequencies are about 0.1–1 kHz and low-frequency (LF) when the frequencies are less than about 0.1 kHz peak. At present, a number of QPOs have been detected from the accretion disk surrounding not only black holes but also neutron stars and white dwarfs as well as their binary systems including companion stars [1,2,3]. Mostly, high-frequency Hz QPOs are observed in low-mass X-ray binaries (LMXBs) spectrum with different behaviors, suggesting that their origin mechanisms may differ. It has been proposed that QPOs from neutron star binary systems are strongly connected with the surface magnetic field of the star and its rotation period [4]. The mechanism of the electromagnetic emission from the accretion disk around the central black hole may be connected with particle oscillations along stable circular orbits. In fact, charged particles radiate with the frequency the same as their oscillation frequency. So, the dynamics of the charged test particles around black holes may explain the existence of QPOs based on their (quasi-) harmonic oscillations in radial and angular directions.

Despite lots of QPOs having been observed in such binary systems with high-accuracy measurements of the frequencies, no exact and unique physical mechanisms for QPOs have been found. The problem is still under active discussion in testing gravity theories and measurements of the inner edge of the accretion disc, which may help to get valuable information about ISCOs radii [5,6,7]. In our previous papers [8,9,10,11], we have shown that orbits of twin-peak QPOs with a frequency ratio close to 1 are located near ISCO with the distance in the order of error in observations. In this sense, the QPOs studies become a powerful tool to estimate the ISCO radius being the innermost regions of accretion disks as well as the central black hole mass, and more about gravity properties.

Microquasars are binary systems consisting of black holes & neutron stars and companion main sequence stars which can be observed as X-ray binary systems. Such systems containing gravitational compact objects may be helpful in testing gravity in a strong gravity regime. For the first time, QPOs have been discovered in analyses of the power spectra of X-ray flux from a low mass X-ray binary (LMXB) system [12]. The discovery of QPOs is also become a good study in testing the gravitational properties of the central object in microquasars [13]. Recent astrophysical measurements have provided precise information about the frequencies of twin-peaked QPOs that were observed with a ratio of 3 : 2 [13,14,15]. Several independent models explain the physical mechanisms in processes in QPOs by disk-seismic, hot-spot, warped disk, and resonance models, etc. [5, 7, 16,17,18,19,20].

Physical processes including electromagnetic radiation of charged particles in the accretion discs around black holes in both thin [21, 22] and thick accretion disc [23,24,25,26,27,28,29,30] models are formed by a non-linear interplay of various processes, such as gravity, viscosity, scattering, etc. and can be described by the magnetohydrodynamics (MHD) equations [31,32,33,34,35,36,37,38,39,40,41,42,43,44].

In this work, we plan to investigate charged particles’ oscillations in the spacetime of the Schwarzschild black hole in the presence of external uniform, dipolar, and parabolic magnetic fields together with the applications to QPOs, and to obtain constraints on magnetic field strength and mass of the central black hole using the observed QPOs data.

The paper is organized as follows. Section 2 is devoted to studying uniform, dipolar, and parabolic magnetic fields around the Schwarzschild black hole. In Sect. 3 we calculate frequencies of the charged particle’s radial and vertical oscillations at stable circular orbits around the Schwarzschild black hole in the presence of an external magnetic field with different configurations. The effects of the external magnetic field on upper and lower frequencies of twin peak QPOs are studied in Sect. 4. In Sect. 5 we have obtained constraints on the black hole mass at the center of the microquasars GRO J1655-40 and GRS 1915+105 using observed QPO frequencies. Finally, in Sect. 6 we summarize the main results obtained.

The spacetime is used with the signature \((-,+,+,+)\). The quantities are in the geometrized unit’s system as \(G = c = 1\). For astrophysical applications in converting the unit of frequency from \(cm^{-1}\) to Hz, we use the values of speed of light in a vacuum and gravitational constant as they are given in the Gaussian unit system. Furthermore, Latin indices take integer values from 1 to 3, while Greek ones take integer values from 0 to 3.

2 Charged test particles motion around a black hole in the presence of magnetic fields

In this section, we derive the equation of motion around the Schwarzschild black hole immersed in the above-mentioned external magnetic field configurations. The spacetime geometry around Schwarzschild black holes is written through spherical coordinates, (\(x^{\alpha }=\{t,r,\theta ,\phi \}\)) in the form,

$$\begin{aligned} ds^2=-f(r)dt^2 + \frac{1}{f(r)}dr^2+r^2 d\Omega ^2, \end{aligned}$$
(1)

where the radial function \(f(r)=1-2M/r\) and \(d\Omega ^2=d\theta ^2+\sin ^2\theta d\phi ^2\).

2.1 External magnetic field configurations

Now, we assume that the Schwarzschild black hole is immersed in external magnetic fields with asymptotically uniform (u), dipolar (d), and parabolic (p) configurations, and the electromagnetic four potentials for the fields can be expressed as follows [45,46,47]:

$$\begin{aligned} A_\phi =\frac{B_0}{2}\mathcal{H}_i(r)\mathcal{T}_i(\theta ), \end{aligned}$$
(2)

where i stands for udp and

$$\begin{aligned} \mathcal{H}_u(r)= & {} r^2, \quad \mathcal{T}_U(\theta )=\mathcal{T}_D(\theta )=\sin ^2\theta , \end{aligned}$$
(3)
$$\begin{aligned} \mathcal{H}_d(r)= & {} r^2\left[ \ln f(r)+\frac{2M}{r}\left( 1+\frac{M}{r} \right) \right] , \end{aligned}$$
(4)
$$\begin{aligned} \mathcal{H}_p(r)= & {} r^k, \qquad \mathcal{T}_P(\theta )= 1-|\cos \theta |, \end{aligned}$$
(5)

where \(B_0\) is the asymptotic value of the external magnetic field, k is the declination of the field lines, and \(k=3/4\) is the corresponding case of the parabolic shape of the external magnetic field [47].

One may immediately find the nonzero components of the electromagnetic field tensor using the definition \(F_{\mu \nu }=A_{\nu ,\mu }-A_{\mu ,\nu }\) for each configuration of the external magnetic field in the following form.

$$\begin{aligned} F_{r \phi }= & {} \frac{1}{2}B_0 \mathcal{H}_i'(r) \mathcal{T}_i(\theta ) , \end{aligned}$$
(6)
$$\begin{aligned} F_{\theta \phi }= & {} \frac{1}{2}B_0 \mathcal{H}_i(r) \mathcal{T}_i'(\theta ), \end{aligned}$$
(7)

where \('\) denotes partial derivative over \(\mathcal{H}_i\) and \(\mathcal{T}_i\) is with respect to the coordinates r and \(\theta \), respectively.

The components of the magnetic field around the black hole measured by a zero angular momentum observer (ZAMO) can be calculated as,

$$\begin{aligned} B^i= & {} \frac{1}{2}\eta ^{i \beta \sigma \mu } F_{\beta \sigma } w_{\mu }, \end{aligned}$$
(8)

where \(i=(r,\theta ,\phi )\), \(w_{\mu }\) is the four-velocity of the ZAMO with \(w^{\mu }=1/\sqrt{f(r)}(1,0,0,0)\), \(\eta _{\alpha \beta \sigma \gamma }\) is the pseudo-tensorial form of the Levi-Civita symbol \(\epsilon _{\alpha \beta \sigma \gamma }\) with the relations

$$\begin{aligned} \eta _{\alpha \beta \sigma \gamma }=\sqrt{-g}\epsilon _{\alpha \beta \sigma \gamma }, \quad \eta ^{\alpha \beta \sigma \gamma }=-\frac{1}{\sqrt{-g}}\epsilon ^{\alpha \beta \sigma \gamma }, \end{aligned}$$
(9)

and \(g=\mathrm{det|g_{\mu \nu }|}=-r^4\sin ^2\theta \) for spacetime metric (1) \(\epsilon _{0123}=1\) with even permutations and \(-1\) for odd ones, and it is zero for other combinations. One can obtain expressions for the non-zero orthonormal components of the magnetic field using the tetrads carried by the ZAMO [48],

$$\begin{aligned} B^{{\hat{r}}}= & {} B_0\frac{\mathcal{H}_i(r) \mathcal{T}_i'(\theta )}{2r^2\sin \theta }, \end{aligned}$$
(10)
$$\begin{aligned} B^{\hat{\theta }}= & {} B_0\frac{\mathcal{H}_i'(r)\mathcal{T}_i(\theta )}{2r\sin \theta } \sqrt{f(r)}. \end{aligned}$$
(11)

2.2 Equations of motion of charged particles in magnetized black hole environment

Here, we investigate the dynamics of charged particles in circular orbits around the magnetized Schwarzschild black hole using the Hamilton-Jacobi equation

$$\begin{aligned} g^{\mu \nu }\Big (\frac{\partial \mathcal{S}}{\partial x^{\mu }}-q A_{\mu }\Big )\Big (\frac{\partial \mathcal{S}}{\partial x^{\nu }}-q A_{\nu }\Big )=-m^2. \end{aligned}$$
(12)

The action for charged particles at a constant plane (where \(\theta =const\) and \({\dot{\theta }}=0\)) can be described by the following separable form,

$$\begin{aligned} \mathcal{S}=-Et+l\phi +\mathcal{S}_r+\mathcal{S}_\theta , \end{aligned}$$
(13)

which allows for separating the variables in the Hamilton–Jacobi equation.

One may find the conserved quantities using the time independence of the metric tensor (1) and the external magnetic field in the following separable form:

$$\begin{aligned} {\dot{t}}=\frac{\mathcal{E}}{f(r)}, \quad {\dot{\phi }}=\frac{l}{g_{\phi \phi }}-\omega _{\textrm{B}}, \end{aligned}$$
(14)

where \(\omega _{\textrm{B}}=qB_0/(2mc)\) is the magnetic coupling parameter which corresponds to the interaction of the magnetic field and orbiting charged particle.

The equation for the radial motion of charged test particles can be found as

$$\begin{aligned} {\dot{r}}^2=\mathcal{{E}}^2-V_{\textrm{eff}}(r), \end{aligned}$$
(15)

where \(\mathcal{E}=E/m\) is the specific energy of the particles and the effective potential for the radial motion of the charged particles has the following form:

$$\begin{aligned} V_{\textrm{eff}}(r)=f(r)\left\{ 1+\frac{1}{g_{\phi \phi }}\left[ \mathcal{L}+{\omega _B\mathcal{H}_i(r)}\mathcal{T}_i(\theta )\right] ^2\right\} , \end{aligned}$$
(16)

where \(\mathcal{L}=l/m\) is specific angular momentum of the particle.

2.3 Stable circular orbits

The stable circular orbits occur at the radius where the minimum of the effective potential takes place. The innermost stable circular orbits (ISCOs) which satisfy the conditions \(\partial _{rr}V_\textrm{eff}=0\) and \(\partial _{r}{\mathcal{L}_c}=0\) that gives the same results.

Fig. 1
figure 1

ISCO radius against \(\omega _B\) for uniform, dipolar, and parabolic magnetic fields

Figure 1 demonstrates the effect of the magnetic field on the ISCO radius around the Schwarzschild black hole. For all three cases, \(\omega _B=0\) corresponds to \(R_{ISCO}=6M\), recovering the standard Schwarzschild result in the vacuum case. These graphs can be reflected across the \(\omega _B=0\) line by the transformation \(\mathcal{L} \rightarrow -\mathcal{L}\), which does not change the physics for a Schwarzschild black hole. It is seen that the effect of magnetic interaction causes decreasing the ISCO radius in the case of the uniform magnetic field. However, in the dipolar and parabolic magnetic field configuration cases, the positive values of \(\omega _B\) reduce the increase of ISCO radius.

3 Epicyclic frequencies for charged particles around magnetized Schwarzschild black hole

In this section, we study oscillations of charged particles around a Schwarzschild black immersed in the above-mentioned magnetic-field configurations. In fact, the periodical motion of the charged particles along stable circular orbits around black holes occurs at the orbits where \(r\ge r_{isco}\) and effective potential take minimum. The unperturbed circular motion is a non-geodesic motion obeying the equation,

$$\begin{aligned} \frac{du^{\alpha }}{d \tau } + \Gamma ^\alpha _{\mu \nu } u^{\mu } u^{\nu } = \frac{q}{m}F^\alpha _{\,\beta }u^\beta , \end{aligned}$$
(17)

where \(u^{\mu }\) is the four-velocity of the particle. \(\Gamma ^\alpha _{\mu \nu }\) are Christoffel symbols related to the metric (1).

Now, we assume the charged particle is displaced from its circular position \(X^\mu \) by a very small \(\eta ^\mu \) taking the actual position \(X^\mu =x^\mu +\eta ^\mu \) and correspondingly, its four-velocity is \(U^\mu =u^\mu +{\dot{\eta }}^\mu \).

Consequently, the modified non-geodesic equation takes the form

$$\begin{aligned} \frac{dU^\alpha }{d\tau }+\Gamma ^\alpha _{\mu \nu }(X^\mu ) U^{\mu } U^{\nu }=\frac{q}{m}F^\alpha _{\,\beta }u^\beta . \end{aligned}$$
(18)

One may immediately get the equation of the oscillations of the particles using the above modified nongeodesic equation as

$$\begin{aligned}{} & {} \ddot{\eta }^\mu +2\Gamma ^\mu _{\alpha \beta }u^\alpha {\dot{\eta }}^\beta +\partial _\nu \Gamma ^\mu _{\alpha \beta }u^\alpha u^\beta \eta ^\nu \nonumber \\{} & {} \quad =e\left( F^\mu _{~\nu }{\dot{\eta }}^\nu +\partial _\lambda F^\mu _{~\nu }u^\nu \eta ^\lambda \right) . \end{aligned}$$
(19)

Here, we are interested to study the oscillations in the radial and vertical directions and the corresponding harmonic oscillator equation which can be described as follows

$$\begin{aligned} \ddot{\eta }^i+\omega _i^2\eta ^i=0, \quad \textrm{where} \quad i=(r,\theta ). \end{aligned}$$
(20)

The \(\theta \) component,

$$\begin{aligned}{} & {} \ddot{\eta }^\theta +\omega _\theta ^2\eta ^\theta =0, \end{aligned}$$
(21)
$$\begin{aligned}{} & {} \omega _\theta ^2=\partial _\theta \left( \Gamma ^\theta _{ij}u^iu^j+eg^{\theta \theta }F_{i\theta }u^i \right) , \quad (i,j=t,\theta ) . \end{aligned}$$
(22)

After simple algebraic calculations, we have the frequency of vertical oscillations in the following form:

$$\begin{aligned} \omega _\theta ^2= & {} \partial _\theta \Gamma ^\theta _{tt}(u^t)^2+2\partial _\theta \Gamma ^\theta _{t\phi }u^tu^\phi +\partial _\theta \Gamma ^\theta _{\phi \phi }(u^\phi )^2 \nonumber \\{} & {} +e\left[ \partial _\theta (g^{\theta \theta }F_{t\theta })u^t+\partial _\theta (g^{\theta \theta }F_{\phi \theta })u^\phi \right] . \end{aligned}$$
(23)

Similarly, one can calculate the oscillation frequencies in the radial directions,

$$\begin{aligned} \ddot{\eta }^r+ & {} \partial _r\left( \Gamma ^r_{ij}u^iu^j+eg^{rr}F_{ir}u^i \right) \eta ^r\nonumber \\+ & {} \left( 2\Gamma ^r_{ji}u^i+eg^{rr}F_{jr} \right) {\dot{\eta }}^j=0, \quad (i,j=t,\theta ), \end{aligned}$$
(24)

where

$$\begin{aligned} \omega _r^2= & {} \partial _r\left( \Gamma ^r_{ij}u^iu^j+eg^{rr}F_{ir}u^i\right) \nonumber \\{} & {} +2e\left( g^{ik}\Gamma ^r_{kj}-g^{rr}\Gamma ^i_{rj}\right) F_{ir}u^j+e^2g^{rr}g^{ij}F_{ir}F_{jr}\nonumber \\{} & {} -4\Gamma ^r_{ik}\Gamma ^k_{rj}u^iu^j\,\quad (i,j,k=t,\phi ). \end{aligned}$$
(25)

Thus, the Keplerian frequency (\(\omega _K=d\phi /dt\)), can be calculated using the equations of motion,

$$\begin{aligned} \omega ^2_{k}&=\left[ 1+4g_{\phi \phi }\left( \frac{qA_{\phi ,r}}{mg_{\phi \phi ,r}}\right) ^2\right] ^{-1}\left\{ {\omega _{0}^2}-2{g_{tt}}\left( \frac{qA_{\phi ,r}}{mg_{\phi \phi ,r}}\right) ^2\right. \nonumber \\&\pm 2\omega _{0}^2\left. \frac{qA_{\phi ,r}}{mg_{\phi \phi ,r}}\sqrt{g_{\phi \phi }-\frac{g_{tt}}{\omega _{0}^2}+\left( \frac{g_{tt}}{\omega _{0}^2g_{\phi \phi ,r}^2}\right) ^2}\right\} \,, \end{aligned}$$
(26)

and it is easy to see that for neutral particles case and/or in the absence of external magnetic field \(q=0, \ A_\phi =0 \rightarrow qA_\phi =0\), the above equation turns simply to \(\omega _0^2=-g_{tt,r}/g_{\phi \phi ,r}\) that refers to the Keplerian frequency for the neutral particle orbiting the spherical symmetric black hole as \(\omega _{k}^2=\omega _0^2=M/r^3.\)

From Eqs. (25), (23) and (26) one can define epicyclic frequencies \(\omega _{r}\) and \(\omega _{\theta }\) as follows:

$$\begin{aligned} \omega _{r}^2= & {} \frac{g_{tt,r}^2}{g_{tt}g_{rr}}-\frac{g_{tt,rr}}{g_{rr}}+\frac{\omega _{k}^2}{g_{rr}}\left( \frac{g_{\phi \phi ,r}^2}{g_{\phi \phi }}-\frac{g_{\phi \phi ,rr}}{2}\right) \nonumber \\{} & {} - \frac{q}{m}\frac{\omega _{k}}{g_{rr}}\left( A_{\phi ,rr}-2A_{\phi ,r}\frac{g_{\phi \phi ,r}}{g_{\phi \phi }}\right) \left( -g_{tt}-\omega _{k}^{2}g_{\phi \phi }\right) ^{1/2}\nonumber \\{} & {} -\left( \frac{q}{m}\right) ^2\frac{A_{\phi ,r}^2}{g_{rr}}\left( \omega _{k}^2+\frac{g_{tt}}{g_{\phi \phi }}\right) \,, \end{aligned}$$
(27)
$$\begin{aligned} \omega _{\theta }^2= & {} \frac{g_{tt,\theta }^2}{g_{tt}g_{\theta \theta }}-\frac{g_{tt,\theta \theta }}{g_{\theta \theta }}+\frac{\omega _{k}^2}{g_{\theta \theta }}\left( \frac{g_{\phi \phi ,\theta }^2}{g_{\phi \phi }}-\frac{g_{\phi \phi ,\theta \theta }}{2}\right) \nonumber \\{} & {} - \frac{q}{m}\frac{\omega _{k}}{g_{\theta \theta }}\left( A_{\phi ,\theta \theta }-2A_{\phi ,\theta }\frac{g_{\phi \phi ,\theta }}{g_{\phi \phi }}\right) \left( -g_{tt}-\omega _{k}^{2}g_{\phi \phi }\right) ^{1/2}\nonumber \\{} & {} -\left( \frac{q}{m}\right) ^2\frac{A_{\phi ,\theta }^2}{g_{\theta \theta }}\left( \omega _{k}^2+\frac{g_{tt}}{g_{\phi \phi }}\right) . \end{aligned}$$
(28)

One can see that the expressions of the fundamental frequencies \(\omega _{k,r,\theta }\) have complicated forms. Therefore, we will present graphical analyses converting their units to Hz using the following expression:

$$\begin{aligned} \nu _{k,r,\theta }=\frac{1}{2\pi }\frac{c^3}{GM} \omega _{k,r,\theta }, \end{aligned}$$
(29)

where G and c are the gravitational field constant and speed of light in vacuum. The above frequency can be measured by distant observers located at infinity and can be directly used to analyse the observed data.

Fig. 2
figure 2

Keplerian (top row) and radial (bottom row) oscillation frequency against radial distance in dipolar (middle row), uniform (left column), and parabolic (right column) magnetic field

Figure 2 presents the effect of different magnetic field configurations on the Keplerian (\(\nu _k = \nu _\phi \)) and radial oscillation frequencies of a charged particle for the case of \(M = 5M_{\odot }\). For the Keplerian frequency, the particle in a uniform field configuration is much more sensitive to the value of \(\omega _B\) than in dipolar and parabolic fields. Furthermore, as \(r/M \rightarrow \infty \), \(\nu _k\) approaches the classical cyclotron frequency instead of decreasing to 0 in the uniform field with non-zero \(\omega _B\). This is expected since as the distance from the black hole increases, the effect of gravity becomes weaker and the motion of the particle just depends on the magnetic field. Both dipolar and parabolic fields decrease when \(r/M \rightarrow \infty \), but the uniform field stays constant. Meanwhile, for the radial frequency, both the uniform and parabolic fields have a huge influence with a small \(\omega _B\), while the dipolar field does not distort the graphs too much.

It is also observed from the bottom-left panel, which is a uniform case, that the frequency of radial oscillations at \(\omega _B=0.05\) decrease and becomes zero about 15–18 M. It means that there is a region of stable circular orbits between innermost and outermost ones for \(\omega >0\). Also, the wideness of the region decrease as \(\omega _B\) increase.

4 Quasiperiodic oscillations in relativistic precession model

We study QPOs originated by charged particle oscillations orbiting the central Schwarzschild black hole embedded in external magnetic fields. We investigate relationships between upper and lower frequencies of twin peak QPOs around the magnetized Schwarzschild black hole, and we compare the obtained results on the frequency relation with the neutral particles orbiting both Schwarzschild and Kerr black holes [15].

First, we obtain equations for the upper and lower frequencies in the relativistic procession (RP) model where the upper and lower frequencies of twin peak QPOs are defined by the radial and orbital frequencies as \(\nu _U=\nu _\phi \) and \(\nu _L=\nu _\phi -\nu _r\), respectively [49]. We provide graphical analyses of the upper-lower frequency diagram in the dipolar, uniform, and parabolic magnetic field configuration cases.

Fig. 3
figure 3

Upper versus lower QPO frequencies using RP model for dipolar (left), uniform (middle), and parabolic (right) magnetic field configurations

Figure 3 demonstrates upper and lower frequencies for the external uniform, dipolar, and parabolic magnetic field configurations, as well as in the Schwarzschild and Kerr black hole cases without any external magnetic fields. Similar to Fig. 2, the uniform magnetic field model is the most sensitive to the value of \(\omega _B\). On the other hand, by tuning the spin parameter a in the Kerr black hole, its curve can be made nearly overlapping any curve with finite \(\omega _B\) for dipolar and parabolic external magnetic fields. This means that both a Kerr black hole without an external magnetic field and a Schwarzschild black hole with a magnetic field can produce almost identical QPO frequencies by charged particles around them, and distinguishing the two cases requires other types of observational data and theoretical analysis. So, there is a degeneracy between the spin of the Kerr black holes and the external magnetic field around Schwarzschild black holes.

5 Constraints on the BH mass and magnetic field

Testing gravity theories and astrophysical magnetic fields through data from observations is an important and actual issue in relativistic astrophysics. There are several observational data to obtain valuable information about gravitational properties of the spacetime and electromagnetic fields around astrophysical black holes. One of them is frequency data from QPOs observed in microquasars a binary system of a central compact object and companion star, in which the central massive object is assumed to be a candidate for (stellar-mass) black holes. However, in realistic cases, it is impossible to know the exact type of black holes and magnetic field configurations. Therefore, we can test the black hole solutions and magnetic field configurations in theoretical studies of the origin mechanisms of QPOs.

In this section, we focus to get constraints on the magnetic field value around the Schwarzschild black hole and its mass using frequencies of the QPOs from the microquasars GRO J1655-40 and GRS 1915+105 assuming that the accreting matter surrounding the central black hole consists of charged particles primarily electrons and protons and the black hole is immersed in external magnetic fields with the uniform, dipolar and parabolic-like configurations. According to the relativistic precession model, the frequencies of the periastron precession \(\nu _{\textrm{per}}\) and the nodal precession \(\nu _{\textrm{nod}}\) are defined by the following relations: \(\nu _\textrm{per }=\nu _{\phi }-\nu _{r}\) and \(\nu _{ \mathrm nod }=\nu _{\phi }-\nu _{\theta }\), respectively [49, 50].

In order to obtain the estimation for the five parameters as the peak frequencies of QPOs observed in the microquasars, we perform the \(\chi ^2\) analysis with [51]

$$\begin{aligned} \chi ^{2}(M,B,r_{1},r_{2})= & {} \frac{(\nu _{1\phi }-\nu _{1\mathrm U})^{2} }{\sigma _{1\mathrm U}^2}+\frac{(\nu _{1\mathrm per}-\nu _{1\mathrm L})^{2} }{\sigma _{1 \mathrm L}^2}\nonumber \\{} & {} +\frac{(\nu _{1\mathrm nod}-\nu _{1\mathrm C})^{2} }{\sigma _{1\mathrm C}^2}+\frac{(\nu _{2\phi }-\nu _{2\mathrm U})^{2}}{\sigma _{2\mathrm U}^2}\nonumber \\{} & {} +\frac{(\nu _{2\mathrm nod}-\nu _{2\mathrm C})^{2}}{\sigma _{2\mathrm C}^2}. \end{aligned}$$
(30)

In fact, the best estimates for the values of the parameters M, \(\omega _B\), \(r_{1}\) and \(r_{2}\) should be at the minimum of \(\chi _{\textrm{min}}^{2}\) and the range of the parameters at the confidence level (C.L.) can be determined in the interval \(\chi _\textrm{min}^{2}+\Delta \chi ^{2}\).

5.1 GRO J1655-40

Here, we get constraints on the mass of the black hole and surrounding magnetic fields in the microquasar GRO J1655-40 using the two sets of QPO frequencies in the astrophysical observations [31],

$$\begin{aligned} \nu _{1\textrm{U}}=441\mathrm {~Hz},&\sigma _{1\textrm{U}}=2\mathrm {~Hz},\nonumber \\ \nu _{1\textrm{L}}=298\mathrm {~Hz},&\sigma _{1\textrm{L}}=4\mathrm {~Hz},\nonumber \\ \nu _{1\textrm{C}}=17.3\mathrm {~Hz},&\sigma _{1\textrm{C}}=0.1\mathrm {~Hz} \end{aligned}$$
(31)

and

$$\begin{aligned} \nu _{2\textrm{U}}=451\mathrm {~Hz},&\sigma _{2\textrm{U}}=5\mathrm {~Hz},\nonumber \\ \nu _{2\textrm{C}}=18.3\mathrm {~Hz},&\sigma _{2\textrm{C}}=0.1\mathrm {~Hz}. \end{aligned}$$
(32)

5.2 GRS 1915+105

Also, we perform a similar analysis on the GRS 1915 + 105 microquasar with QPO frequencies [52],

$$\begin{aligned} \nu _{1 \textrm{U}}=184.10 \mathrm{~Hz},&\sigma _{1\textrm{U}}=1.84\mathrm{~Hz},\nonumber \\ \nu _{2\textrm{U}}=142.98\mathrm{~Hz},&\sigma _{2\textrm{U}}=3.48\mathrm{~Hz}, \end{aligned}$$
(33)

and

$$\begin{aligned} \nu _{1\textrm{L}}=67.40 \mathrm{~Hz},&\sigma _{1\textrm{L}}=0.60\mathrm{~Hz},\nonumber \\ \nu _{2\textrm{L}}=65.89\mathrm{~Hz},&\sigma _{2\textrm{L}}=0.52\mathrm{~Hz},\nonumber \\ \nu _{3\textrm{L}}=69.58\mathrm{~Hz},&\sigma _{3\textrm{L}}=0.49\mathrm{~Hz}. \end{aligned}$$
(34)
Fig. 4
figure 4

Constraints on the black hole mass and the magnetic field parameter for GRO J1655-40 (top row) and GRS 1915+105 (bottom row) in uniform (left panel) and dipolar (right panel) magnetic field configurations

In Fig. 4 we have provided the best values of \(\omega _B\) and mass of the central black hole at the center of GRO J1655-40 immersed in an external uniform (left panel) and dipolar (right panel) magnetic fields. Furthermore, we present the contour levels 1\(\sigma \), 2\(\sigma \), and 3\(\sigma \) of \(\omega _B\) and \(M/M_\odot \). The best-fit values of the radii of the circular orbits associated with the two sets of QPOs in GRO J1655-40 (GRS 1915+105) are found to be about \(r_1=3.46M\), \(r_2=5.15M\) (\(r_1=5.14M\), \(r_2=7.97M\)) and \(r_1=4.67M\), \(r_2=4.77M\) (\(r_1=4.74M\), \(r_2=7.69M\)) for uniform and dipolar magnetic fields, respectively. Also, it is obtained that the magnetic coupling parameter is about 0.0098 & 0.157 (0.047 & 2.35) and the black hole mass is about 11.7 & 6.737 (18.2 & 8.83) solar mass in uniform and dipolar magnetic field models for the microquasar GRO J1655-40 (GRS 1915+105).

5.3 Estimating magnetic field values

In this subsection, we get constraints on magnetic field strength by treating electrons and protons as test-charged particles. In the accretion disk of black holes, the astrophysical plasma consists of ions and electrons because of the high temperature in the accretion disc. Since hydrogen is likely the most abundant ion in the disk, we choose electrons and protons as concrete examples.

In plasma, collective behavior in the motion of charged particles arises due to the interplay between induced electric and magnetic fields and the motion of charged particles. Collective motion gives rise to phenomena such as plasma waves, instabilities, and other collective modes in particle oscillations. So, the dynamics of the system are better described by the MHD equations rather by those of single particle motion. Although this would prevent a particle or a charged fluid element from experiencing the exact same dynamics as described in Sect. 3, we have decided to neglect plasma effects to show a potential application of the results presented above. It is out of the scope of this paper to study to what extent this is a suitable approximation for the system under study

Fig. 5
figure 5

Constraints on the black hole mass and magnetic field values for GRO J1655-40 in uniform (top row) and dipolar (bottom row) magnetic field configurations for the electron (left column) proton (right column)

Figure 5 presents the estimates of black hole mass M and magnetic field B using a uniform magnetic field (top row) and dipolar magnetic field (bottom row) configurations. It is found that the parabolic magnetic field model disagrees with the observed data, so constraints are not presented. Therefore, we can obtain constraints on the black hole mass and magnetic field for the dipolar and uniform magnetic field configuration cases. Since there are five degrees of freedom in the observational data, we have taken the values for \(\Delta \chi ^{2}\), 5.89, 11.29, and 17.96 corresponding to the error bar \(1\sigma ,2\sigma \), and \(3\sigma \), which gives confidence level \(68.3\%, 95.4\%,\) and \(99.7\%\), respectively. The dipolar field model gives the best-fit values of mass \(M/M_{\odot } = 6.737_{-0.055}^{+0.061}\) and magnetic field value \(B[G] = 5.355_{-0.061}^{+0.058}\) for the case where the charged particle tested is an electron, and for the uniform field model, the black hole mass is \(M/M_{\odot } = 11.707 \pm 0.002\), and the magnetic field value \(B[G] = 0.3363^{+0.0007}_{-0.0005}\). If the charged particle is a proton, then the dipolar field is \(B[kG] = 9.85_{-0.13}^{+0.12}\) and the uniform field is \(B[kG] = 0.618 \pm {0.001}\).

Fig. 6
figure 6

The same figure with Fig. 5, but for the microquasar GRS 1915+105

Figure 6 presents the estimates of the central black hole mass M and the magnetic field B around it for the uniform magnetic field (top row) and dipolar magnetic field (bottom row) configurations using the same confidence levels as in Sect. 5.1. The dipolar field model gives \(M/M_{\odot } = 8.83_{-0.48}^{+0.53}\), and \(B[G] = 80.12_{-2.86}^{+2.38}\) for electrons. The uniform field model gives \(M/M_{\odot } = 18.2_{-1.4}^{+1.6}\), and \(B[G] = 1.60 \pm 0.13\) for electron. Moreover, in the case when the charged particle is a proton, the dipolar field \(B[kG] = 147.4_{-5.3}^{+4.4}\) and uniform field \(B[kG] = 2.94 \pm {0.24}\) with the same mass as obtained in the electron case.

5.4 Comparisons of black hole mass constraints

The independent observations of the X-ray timing techniques estimated that the central black hole in the microquasar GRO J1655-40 has mass \(M/M_{\odot } = 5.31 \pm 0.07\) [53]. While estimations on the black hole mass using QPOs around rotating Kerr black holes generated by charged test particles without external magnetic field in the RP model have shown that is about \(M/M_{\odot } = 5.3 \pm 0.1\) [54]. The constraints are close to that value what we have got in the dipolar magnetic field case (\(\sim 6.7M_\odot \)). However, both mass constrains are significantly smaller than our findings in uniform magnetic case. This implies that the magnetic field near the microquasar where the accretion disk is located is better suited for dipolar magnetic field configuration.

The infrared spectroscopy technique estimates that the central black hole in the microquasar GRS 1915+105 has mass \(M/M_{\odot } = 12 \pm 1.4\) [55]. Authors in Ref. [56] have studied QPOs around rotating Kerr black holes in the absence of magnetic field in the RP model, and have estimated that the mass of the central black hole is about \(M/M_{\odot } = 13.1 \pm 0.2\). In this case, our constraints on the black hole mass in both dipolar and uniform magnetic field configurations are sufficiently different from the above ones, with the dipolar field configuration results being slightly closer. This suggests the magnetic field in the microquasar GRS 1915+105 may be dipole-like, but the results are not fully conclusive.

6 Discussions and conclusions

The idea of this paper is to explore the possibility of getting constraints on the black hole mass and magnetic field values abound of the central black hole in the microquasars using observed QPO frequencies.

In the present work, we have assumed Schwarzschild black holes are immersed in external magnetic fields with asymptotically uniform, dipolar, and parabolic configurations. Then, we studied the dynamics of charged test particles around the magnetized Schwarzschild black hole. We also calculated the oscillation frequencies of the charged particles along stable circular orbits in the vertical and radial directions.

It is obtained that the Keplerian frequency of the particles in the parabolic magnetic field is smaller than the uniform and dipolar ones. However, the frequencies of radial oscillations are bigger in the parabolic case with compare to the other configurations. It is also found that in the presence of a uniform magnetic field with positive \(\omega _B\) there are two limits for stable circular orbits: inner (ISCO) and outer (OSCO) where radial oscillation frequency is zero. The distance between ISCO and OSCO is called the width of the accretion disc consisting of charged particles. Also, this width is negatively correlated to the value of \(\omega _B\).

We have also investigated the effect of the external magnetic fields on the upper and lower frequencies of twin-peak QPOs in the RP model. Our analyses have shown that the frequency ratio increases (decreases) for \(\omega _B<0\) (\(\omega _B>0\)) for the three magnetic field configurations. Furthermore, the ratio is more sensitive to the field strength in the uniform case than in dipole and parabolic cases.

We have obtained constraints on the central black hole mass and the magnetic field parameter by applying \(\chi ^2\) analysis by fitting observational data from observed frequencies of QPOs in microquasars GRO J1655-40 and GRS 1915+105 in the RP model. Our numerical results have shown that the uniform and dipolar field models can fit the observation data and could be a source of QPOs, however, the parabolic magnetic field can not fit the observational QPO data. Also, it is obtained that the magnetic coupling parameter is about 0.0098 & 0.157 (0.047 & 2.35) and the black hole mass is about 11.7 & 6.737 (18.2 & 8.83) solar mass in uniform and dipolar magnetic field models for the microquasar GRO J1655-40 (GRS 1915+105).

Finally, to obtain estimations for magnetic field values, we have treated electrons and protons as test-charged particles. Our \(\chi ^2\) analyses have shown that for the dipolar magnetic field configuration when the test charged particles are treated as electrons, the best-fit values of the central black hole mass \(M/M_{\odot } = 6.737_{-0.055}^{+0.061}\) in the microquasar GRO J1655-40, and the magnetic field around the central black hole is \(B[G] = 5.355_{-0.061}^{+0.058}\), and for the uniform field configuration, the black hole mass is \(M/M_{\odot } = 11.707 \pm 0.002\), and the magnetic field value is \(B[G] = 0.3363^{+0.0007}_{-0.0005}\).

The results for the microquasars GRS 1915+105 have shown that the dipolar field model gives \(M/M_{\odot } = 8.83_{-0.48}^{+0.53}\), and \(B[G] = 80.12_{-2.86}^{+2.38}\) for electrons. The uniform field model gives \(M/M_{\odot } = 18.2_{-1.4}^{+1.6}\), and \(B[G] = 1.60 \pm 0.13\) for protons.