1. INTRODUCTION

Devices based on micro/nanoelectromechanical systems (M/NEMS) receive considerable attention due to their architectural simplicity and broad applicability. They need a few mechanical components and low voltage levels to actuate [1]. Numerous future technologies, including gas/mass sensors, detectors, memory systems, logic devices, wearable sensors, and gyroscopes, are the potential applications of M/NEMS [26]. To further utilize M/NEMS in various applications, it is essential to understand the mechanical and dynamic actions of the movable mechanisms of these systems.

The lumped parameters are the most important structural elements in many M/NEMS-based devices. Most of their configurations comprise a stationary base and a movable component under various conditions. Understanding the linear and nonlinear dynamic actions of the movable elements of such structures is very important for their successful implementation in several innovative technologies. Dynamic pull-in instability that depends on some parameters is an important phenomenon associated with M/NEMS devices. The analysis of pull-in instability, particularly the pull-in threshold value, is crucial for efficient operation and reliability of these devices. Exploring the vibratory behavior of M/NEMS, in addition to pull-in analysis, is a difficult task due to zero total energy (zero potential and kinetic energies) at the initial time moment. The appearance of dominating nonlinearities in M/NEMS structures is another significant challenge for researchers and engineers. If we ignore nonlinearities, they can lead to incorrect solutions. Actuation forces and detecting mechanisms are the core source of these nonlinearities. A lot of forces have an impact on M/NEMS, such as van der Waals attraction [7], electrostatic force [8], Casimir force [9], etc. The periodic behavior is difficult to predict under these circumstances.

In engineering and physics, it is a well-known fact that, when compared to the electrostatic force, the magnetic force is massive [10], and thus using it as the sensing force has benefits in many applications [1120]. Particularly, in such applications as vibration-based energy harvesting devices [3, 13, 15] and in M/NEMS of certain composition [14, 16, 17], the actuation by magnetic force or field is at an advantage. On the other hand, the nanobridge and switch stability in the magnetic field has been thoroughly analyzed in [1720]. The authors of these publications successfully proved the effects of the magnetic force on actuating devices, numerically estimated the pull-in threshold conditions, and analyzed periodicity.

Recently, Zhang and Pang [21] considered the following mathematical model of a nonlinear oscillator based on M/NEMS:

$$u''(t) + u(t) - {k \over {1 - u(t)}} = 0,\;u(t) < 1$$
((1))

under zero initial conditions:

$$u(0) = u'(0) = 0,$$
((2))

where u(t)—the displacement of the movable part at any given time, and k—the electromagnetic force parameter. Equation (1) describes the motion of the M/NEMS-based switch having a current-carrying conductor subjected to an electromagnetic excitation force with a linear spring restoring force. Electromagnetic actuation is responsible for the rational term in Eq. (1). For a detailed description of the model, readers can see the case study simulated by He et al. [10].

In their analysis, Zhang and Pang [21] applied the Laplace transform-based variational iteration method (VIM) to obtain the following nonlinear frequency ω of Eq. (1) (Eq. (21) in [21]):

$$\omega = \sqrt {{{1 + k - \sqrt {1 - 6k + {k^2}} } \over 2}} .$$
((3))

From Eq. (3), it is obvious that ω can be obtained only when k ≤ 0.17157. For k > 0.17157, the analytic solution of the MEMS-based oscillator cannot be achieved (dynamic pull-in occurs), which is given as follows (Eq. (19) in [21]):

$$\left. {u(t) = - {1 \over \omega }\left[ {\left( {{k \over {{\omega ^2}}} - 2k + {{{k^2}} \over {{\omega ^2}}} - {{3{k^2}} \over {2{\omega ^4}}}} \right){1 \over \omega }(1 - \cos \omega t)} \right. + \left( {{{{k^2}} \over {2{\omega ^2}}} - {{{k^2}} \over {2{\omega ^4}}}} \right){1 \over {3\omega }}(\cos \omega t - \cos 2\omega t)} \right].$$
((4))

Thus it can be concluded that Eq. (1) has oscillatory (periodic) solutions at k ≤ 0.17157, and pull-in instability occurs at k > 0.17157. Hence k = 0.17157 is the dynamic pull-in threshold value. However, according to He et al. [10], the exact threshold value is k = 0.20363. Consequently, the pull-in threshold has an error of more than 15% for the case of [21], too large to be used for practical applications.

There are several techniques to investigate the dynamics of nonlinear oscillatory M/NEMS: the harmonic balance method [22], the energy balance method [23], the variational approach [24], the max-min technique [25], the parameter expansion method [26], the higher-order Hamiltonian technique [27], Adomian decomposition method [28], the homotopy perturbation method [29], the variational iteration method [7], the two-scale fractal method [30] and some other well-known techniques [3133]. The variational iteration method is a powerful technique among them, capable of solving analytically nonlinear differential equations and leading to truthful results.

The VIM was first proposed in 1998 [34] and has been utilized to solve a spectrum of nonlinear problems [3539]. The method entails using a Lagrange multiplier to generate a suitable correction functional, which is optimally determined by the variational theory and integral transforms [40, 41]. Recently, the VIM and its various modifications [42, 43], including He–Laplace VIM [21], were widely applied to numerous applications [4446] and helped investigate the pull-in phenomena of M/NEMS oscillators [7, 21]. On the other hand, most authors did follow the standard solution process [34], and errors emerged in the simplified algorithm. This paper shows that the standard VIM algorithm [34] always leads to extremely high accuracy.

In this manuscript, we suggest using the VIM for investigating the nonlinear oscillatory behavior of Eq. (1). The term due to electromagnetic force is represented with the help of the well-known Taylor series. Then, we solve the transformed oscillatory problem by employing the VIM to obtain nonlinear approximate frequency and the corresponding analytic solution for zero initial conditions. This strategy also approximates the pull-in threshold in terms of model parameters. We compare the results of the VIM to those achieved computationally by the fourth-order Runge–Kutta method (RK4) for verification. We also match the VIM results to those attained by Zhang and Pang [21] to ensure the effectiveness of the approximation of actuation force.

2. PRELIMINARIES

2.1. Basic Concept of the VIM

To illustrate the basic idea, we consider a nonlinear differential equation in its general form

$$\tilde L[u(t)] + \tilde N[u(t)] = h(t),$$
((5))

where \(\tilde L\) and \(\tilde N\) are the linear and nonlinear operators, respectively, and h(t) is the inhomogeneous term. The VIM algorithm enrolls the following correction functional for Eq. (5):

$${u_{m + 1}}(t) = {u_m}(t) + \int\limits_0^t {\lambda (\xi )\{ \tilde L[{u_m}(\xi )] + \tilde N[{{\tilde u}_m}(\xi )] - h(\xi )\} {\rm{d}}\xi } .$$
((6))

Here λ is the Lagrange multiplier, which can be found optimally via the variational theory. The subscript m denotes the mth approximate solution, and \({\tilde u_m}\) is the restricted variation, i.e. \(\delta {\tilde u_m} = 0.\)

2.2. Generalized Cubic Formula

The generalized cubic formula [47] facilitates finding roots of the cubic equation in its general form:

$$p{x^3} + q{x^2} + rx + s = 0,\;p \ne 0,$$
((7))

where p, q, r, and s are the real coefficients of the cubic equation. Let

$${\Delta _0} = {q^2} - 3pr,\;{\Delta _1} = 2{q^3} - 9pqr + 27{p^2}s$$
((8))

and

$$G = \root 3 \of {{{{\Delta _1} \pm \sqrt {\Delta _1^2 - 4\Delta _0^3} } \over 2}} ,$$
((9))

where the symbols 3√ and √ correspond to any cube root and square root, respectively. The choice of using + or – is arbitrary in ±. All the roots of cubic Eq. (7) can be obtained by using the formula

$${x_n} = - {1 \over {3p}}\left( {q + {\eta ^n}G + {{{\Delta _0}} \over {{\eta ^n}G}}} \right),\;n \in \{ 0,\;1,\;2\} ,$$
((10))

where \(\eta = {{( - 1 + \sqrt { - 3} )} \mathord{\left/ {\vphantom {{( - 1 + \sqrt { - 3} )} 2}} \right. \kern-\nulldelimiterspace} 2}.\) The formula stated in Eq. (10) is invalid if we cannot express the roots with cube roots.

3. STANDARD VIM ALGORITHM FOR PROBLEM SOLUTION

The variational iteration method is used in this section to improve the solution of Eq. (1) under zero initial conditions. We can approximate the actuation force term involved in Eq. (1) as

$${1 \over {1 - u}} = \sum\limits_{i = 0}^\infty {{{( - 1)}^i}{u^i}} .$$
((11))

Thus Eq. (1) can be rewritten as

$${{{{\rm{d}}^2}u} \over {{\rm{d}}{t^2}}} + u - k\left[ {\sum\limits_{i = 0}^\infty {{{( - 1)}^i}{u^i}} } \right] = 0.$$
((12))

Due to Eq. (5), the above equation can be expressed as

$${{{{\rm{d}}^2}u(t)} \over {{\rm{d}}{t^2}}} + {\omega ^2}u(t) + \tilde N[u(t)] = 0,$$
((13))

where

$$\tilde L[u(t)] = {{{{\rm{d}}^2}u} \over {{\rm{d}}{t^2}}} + {\omega ^2}u,$$
((14))
$$\tilde N[u(t)] = u - k\left[ {\sum\limits_{i = 0}^\infty {{{( - 1)}^i}{u^i}} } \right] - {\omega ^2}u.$$
((15))

By utilizing Eq. (6), we can construct the correction functional:

$${u_{m + 1}}(t) = {u_m}(t) + \int\limits_0^t {\lambda (\xi )\left\{ {{{{{\rm{d}}^2}{u_m}(\xi )} \over {{\rm{d}}{t^2}}} + {\omega ^2}{u_m}(\xi ) + \tilde N[{{\tilde u}_m}(\xi )]} \right\}{\rm{d}}\xi } .$$
((16))

To find the Lagrange multiplier, we have to calculate the variation of Eq. (16). As \({\tilde u_m}(\xi )\) is the restricted variation, we have \(\delta \tilde N[{\tilde u_m}(\xi )] = 0.\) Therefore, the variation of Eq. (16) can be calculated as

$$\delta {u_{m + 1}}(t) = \delta {u_m}(t) + \int\limits_0^t {\lambda (\xi )\left\{ {\delta {{{{\rm{d}}^2}{u_m}(\xi )} \over {{\rm{d}}{t^2}}} + {\omega ^2}\delta {u_m}(\xi )} \right\}{\rm{d}}\xi } $$
$$ = \delta {u_m}(t) + \lambda (\xi )\delta \left. {{{{\rm{d}}{u_m}(\xi )} \over {{\rm{d}}\xi }}} \right|_{\xi = 0}^t - \delta {u_m}(\xi )\left. {{{{\rm{d}}\lambda (\xi )} \over {{\rm{d}}\xi }}} \right|_{\xi = 0}^t$$
$$ + \int\limits_0^t {\left( {{{{{\rm{d}}^2}\lambda (\xi )} \over {{\rm{d}}{\xi ^2}}} + {\omega ^2}\lambda (\xi )} \right)\delta {u_m}(\xi ){\rm{d}}\xi } = 0.$$
((17))

The initial conditions u(0) = u′(0) = 0 imply that δum(0) = δum(0) = 0. Thus we can deduce the following equations:

$${{{{\rm{d}}^2}\lambda (\xi )} \over {{\rm{d}}{\xi ^2}}} + {\omega ^2}\lambda (\xi ) = 0,$$
$$1 - {\left. {{{{\rm{d}}\lambda (\xi )} \over {{\rm{d}}\xi }}} \right|_{\xi = t}} = 0,$$
((18))
$$\lambda (t) = 0.$$

Upon solving Eq. (18), we can find the Lagrange multiplier:

$$\lambda (\xi ) = - {1 \over \omega }\sin \;(\omega (t - \xi )).$$
((19))

Thus the iterative formula for Eq. (16) has the form

$${u_{m + 1}}(t) = {u_m}(t) - {1 \over \omega }\int\limits_0^t {\sin (\omega (t - \xi ))} \left\{ {{{{{\rm{d}}^2}u(\xi )} \over {{\rm{d}}{t^2}}} + {\omega ^2}u(\xi ) + \tilde N[\tilde u(\xi )]} \right\}{\rm{d}}\xi .$$
((20))

Now consider the integral

$$\int\limits_0^t {\sin \omega (t - \xi )\left[ {{{{{\rm{d}}^2}{u_m}(\xi )} \over {{\rm{d}}{t^2}}} + {\omega ^2}{u_m}(\xi )} \right]{\rm{d}}\xi } = \omega {u_m}(t) - \sin \omega t{\left. {{{{\rm{d}}{u_m}(t)} \over {{\rm{d}}t}}} \right|_{t = 0}} - \omega {u_m}(0)\cos \omega t.$$

Using the above relation, Eq. (20) acquires the form

$${u_{m + 1}}(t) = \sin \omega t{\left. {{{{\rm{d}}{u_m}(t)} \over {{\rm{d}}t}}} \right|_{t = 0}} + \omega {u_m}(0)\cos \omega t - {1 \over \omega }\int\limits_0^t {\sin (\omega (t - \xi ))\{ \tilde N[{{\tilde u}_m}(\xi )]\} {\rm{d}}\xi } .$$
((21))

By employing zero initial conditions, the iterative formula can further be reduced to

$${u_{m + 1}}(t) = - {1 \over \omega }\int\limits_0^t {\sin (\omega (t - \xi ))\{ \tilde N[{{\tilde u}_m}(\xi )]\} {\rm{d}}\xi } .$$
((22))

According to the condition u(0) = u′(0) = 0, it is realistic to adopt the initial guess to zero, i.e. u0(t) = 0. Using this value of the initial guess in Eq. (15), we have \(\tilde N[u(t) = 0] = k.\) Thus, the first-order approximate solution of Eq. (1) can be obtained using Eq. (22):

$${u_1}(t) = - {k \over {{\omega ^2}}}(1 - \cos \omega t).$$
((23))

To achieve a higher-order solution, we expand the binomial series up to the third degree in Eq. (15), and, when Eq. (23) is substituted, one can obtain

$$\tilde N[{u_1}(t)] = \left( {{k \over {{\omega ^2}}} - 2k - {{{k^2}} \over {{\omega ^2}}} - {{{k^3}} \over {{\omega ^4}}} - {{{k^4}} \over {{\omega ^6}}}} \right) + {{{k^4}} \over {{\omega ^6}}}{\cos ^3}\omega t$$
$$ - \left( {{{{k^3}} \over {{\omega ^4}}} + {{3{k^4}} \over {{\omega ^6}}}} \right){\cos ^2}\omega t + \left( { - {\kappa \over {{\omega ^2}}} + \kappa + {{{\kappa ^2}} \over {{\omega ^2}}} + {{2{\kappa ^3}} \over {{\omega ^4}}} + {{3{\kappa ^4}} \over {{\omega ^6}}}} \right)\cos \omega t.$$

After simple calculations we obtain

$$\tilde N[{u_1}(t)] = \left( {{k \over {{\omega ^2}}} - 2k - {{{k^2}} \over {{\omega ^2}}} - {{3{k^3}} \over {2{\omega ^4}}} - {{5{k^4}} \over {2{\omega ^6}}}} \right) + {{{k^4}} \over {4{\omega ^6}}}\cos 3\omega t$$
$$ - \left( {{{{k^3}} \over {2{\omega ^4}}} + {{3{k^4}} \over {2{\omega ^6}}}} \right)\cos 2\omega t + \left( { - {\kappa \over {{\omega ^2}}} + \kappa + {{{\kappa ^2}} \over {{\omega ^2}}} + {{2{\kappa ^3}} \over {{\omega ^4}}} + {{15{\kappa ^4}} \over {4{\omega ^6}}}} \right)\cos \omega t.$$
((24))

The coefficient of cos ωt (the secular term) must be equal to zero in order to ensure the periodicity in the solution, i.e.

$${\omega ^6} + (k - 1){\omega ^4} + 2{k^2}{\omega ^2} + {{15} \over 4}{k^3} = 0.$$
((25))

By substituting Eq. (24) into Eq. (22), the second-order approximate solution can be expressed as

$$u(t) = \left( { - {k \over {{\omega ^2}}} + 2k + {{{k^2}} \over {{\omega ^2}}} + {{3{k^3}} \over {2{\omega ^4}}} + {{5{k^4}} \over {2{\omega ^6}}}} \right){1 \over {{\omega ^2}}}(1 - \cos \omega t)$$
$$ + {{{k^4}} \over {4{\omega ^6}}}{1 \over {8{\omega ^2}}}(\cos 3\omega t - \cos \omega t) - \left( {{{{k^3}} \over {2{\omega ^4}}} + {{3{k^4}} \over {2{\omega ^6}}}} \right){1 \over {3{\omega ^2}}}(\cos 2\omega t - \cos \omega t).$$
((26))

Hence the nonlinear frequency and the approximate solution of Eq. (1) can be attained by Eq. (25) and (26), respectively.

4. RESULTS AND DISCUSSION

4.1. Dynamic Pull-In Analysis

From basic oscillation theory, it is known that an oscillatory problem under zero initial conditions has a periodic solution if it is in the range of critical value, while the pull-in solution occurs beyond that acute value. This critical value is called the pull-in threshold, and, to find this, we utilize the generalized formula for cubic polynomials.

From Eq. (26), no secular term can be rewritten after the substitution ω2 = v:

$${v^3} + (k - 1){v^2} + 2{k^2}v + {{15} \over 4}{k^3} = 0.$$
((27))

To solve the above cubic equation, we just implement the generalized cubic formula discussed in the Sect. 2.2. For this

$${\Delta _0} = - 80{k^2} - 32k + 16,\;{\Delta _1} = 5456{k^3} + 768{k^2} + 384k - 128,$$
((28))
$$G = [{1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-\nulldelimiterspace} 2}(5456{k^3} + 768{k^2} + 384k - 128) \pm (31815936{k^6}$$
$$ + 10838016{k^5} + 4534272{k^4} - 1658880{k^3}{)^{{1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-\nulldelimiterspace} 2}}}{]^{{1 \mathord{\left/ {\vphantom {1 3}} \right. \kern-\nulldelimiterspace} 3}}}.$$
((29))

Here the discriminant term

$$\sqrt {\Delta _1^2 - 4\Delta _0^3} = \sqrt {31815936{k^6} + 10838016{k^5} + 4534272{k^4} - 1658880{k^3}} $$

has the single nonnegative real root k = 0.20498. This is the acute value, which differentiates the periodic solution from the pull-in solution. Pull-in occurs when k > 0.20498, but we have periodicity in the solution below that critical value. Thus the pull-in thrеshold value is k = 0.20498 with a percentage inaccuracy of less than 1% as compared to the values specified by Zhang and Pang [21]. Hence the threshold error is optimized from 15% to no more than 1%.

The nonlinear frequency can approximately be calculated by using Eq. (10):

((30))

where \(\eta = {{( - 1 + \sqrt { - 3} )} \mathord{\left/ {\vphantom {{( - 1 + \sqrt { - 3} )} 2}} \right. \kern-\nulldelimiterspace} 2}.\)

4.2. Supremacy of the Proposed Solution

The nonlinear approximate frequency of the M/NEMS-based oscillator can be calculated from Eq. (30) at various values of the electromagnetic force parameter k. Frequency values obtained by the VIM (Eq. (30)), He–Laplace VIM [21] (Eq. (3)), and RK4 method are compared in Table 1. It displays the correctness of the nonlinear frequency achieved by the VIM as compared to the frequency obtained by Zhang and Pang [21]. Thus, the extreme percentage error is no more than 2% in the case of the VIM and more than 4% in the case of [21] at the parameter k ≤ 0.17. Moreover, the present study helps compute the nonlinear frequency at k > 0.17 up to the exact threshold value presented by He et al. [10], whereas the study stated by Zhang and Pang [21] failed to do so. This fact guarantees the supremacy of the present technique over the existing one.

Table 2 displays the error of the maximum amplitude obtained by the VIM and by the method proposed by Zhang and Pang [21] at the same parameter k. It is seen that the error is smaller for the case of the VIM at all k: the maximum error is less than 2% at k ≤ 0.17 and less than 3% at k > 0.17. On the other hand, there is a greater than 6% error at k ≤ 0.17 in the case of [21]. Thus, we can conclude that the present method is far better than the method developed by Zhang and Pang [21].

Table 1. Comparison of nonlinear frequencies obtained by the VIM, method proposed in [21], and RK4 method
Table 2. Comparison of maximum amplitudes obtained by the VIM, method proposed in [21], and RK4 method//////

Figures 1 and 2 include the results obtained by the VIM [21] and the RK4 method. Three different values of electromagnetic force parameter k are adopted far from the threshold value (Fig. 1), whereas three are near the threshold value (Fig. 2). The left column of Figs. 1 and 2 shows solutions obtained by the RK4 method (blue line), He–Laplace VIM [21] (black line), and VIM (red line). These comparisons authenticate that the analytical results obtained approximately by the VIM match remarkably well to the computational results of the RK4 method. We also plot an error-time graph for similar values of the parameter k in the right column of Figs. 1 and 2. Black stars and red circles along lines specify the error of the He–Laplace VIM (the RK4 solution minus the He–Laplace VIM solution [21]) and the VIM error (the RK4 solution minus the VIM solution from Eq. (26)), respectively. From Fig. 1 it is seen that both errors are negligible, but all right-hand panels confirm the supremacy of the proposed strategy over the existing technique [21]. Throughout the time span considered here, the error is observed to be very close to zero. However, from Fig. 2 it is seen that, as the threshold value is approached, the error of [21] also increases, while it is negligible in the case of the VIM. During the time mentioned here, the maximum absolute error of the proposed strategy is 0.00632, 0.0087, 0.0185 at k = 0.15, 0.16, 0.17, respectively. On the other hand, the maximum absolute error is 0.00993, 0.0238, 0.0701 at the same values of k for the method proposed by Zhang and Pang [21]. This fact ensures that the current strategy is superior to the previous one [21].

Fig. 1.
figure 1

Comparison of approximate solutions and error analysis at small values of parameter k (color online).

Fig. 2.
figure 2

Comparison of approximate solutions and error analysis at near-threshold values of parameter k (color online).

5. CONCLUSIONS

Many engineering applications require a highly accurate estimation of the pull-in instability of micro/nanoelectromechanical systems (M/NEMS). The variational iteration method is engaged in this manuscript to improve the solution of a nonlinear oscillator based on M/NEMS by approximating the actuation force. We achieved the following objectives in this study.

We suggested a scheme for the analytical solution of oscillatory systems under zero initial conditions.

By employing the proposed technique, the pull-in threshold value, the nonlinear approximate frequency, and the corresponding approximate solution of the nonlinear model were optimized with great success. The relative error was low even when the system reaches the pull-in instability.

As a result, the present study is far better than the existing one (where rational functions are not approximated) to analyze the system before its implementation in M/NEMS-based devices.

Consequently, this strategy to employ the approximant of the actuation force can be applied to other lumped parameter-based M/NEMS where the initial conditions are zero as well.