Fourier Approximation of magMEMS Oscillations: Neural Network Space Handling
Abstract
1. Introduction
2. Mathematical Model of magMEMS Oscillator
3. Approximate Periodic Solutions
3.1. Fourier Approximation
3.2. Minimization Strategy
- Initialization: For a given K (with ), initialize the parameter vectorand generate N equidistant time points .
- Loss Evaluation: Compute the Fourier residual at each and evaluate the mean squared error loss
- Gradient Update: Use the Adam optimizer to update by backpropagating the gradient of .
- Iteration: Perform the update for a fixed number of iterations (e.g., 1000 iterations). At each iteration, compare the current loss with the best loss recorded so far and save the corresponding if the current loss is lower.
- Output: After the final iteration, output the parameter vector that achieved the minimum loss along with its corresponding loss value.
3.3. Comparison with High-Precision Runge-Kutta ODE Solver
3.4. Neural Network Fitting of Amplitude-Frequency Parameters
3.5. Maximum Deflection Comparison with Exact Solution
4. Extension to Non-Zero Geometric Parameter
4.1. Generalized Fourier Approximation for Arbitrary
4.2. Two-Input Neural Network Architecture
Workflow Overview and Grid Summary
4.3. Validation Against High-Precision Solutions
4.4. Parameter Dependency Analysis
4.5. Three-Dimensional Parameter Surfaces
5. Proof-of-Concept Measurement and Error Budget
5.1. Prototype Experimental Set-Up
5.2. Experimental Perspective
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Younis, M.I. MEMS Linear and Nonlinear Statics and Dynamics; Springer: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
- Omarov, D.; Nurakhmetov, D.; Wei, D.; Skrzypacz, P. On the application of Sturm’s theorem to analysis of dynamic pull-in for a graphene-based MEMS model. Appl. Comput. Mech. 2018, 12, 59–72. [Google Scholar] [CrossRef]
- Skrzypacz, P.; Dongming, W.; Nurakhmetov, D.; Kostsov, E.G.; Sokolov, A.A.; Begzhigitov, M.; Ellis, G. Analysis of dynamic pull-in voltage and response time for a micro-electro-mechanical oscillator made of power-law materials. Nonlinear Dyn. 2021, 105, 227–240. [Google Scholar] [CrossRef]
- Nathanson, H.; Newell, W.; Wickstrom, R.; Davis, J. The resonant gate transistor. IEEE Trans. Electron Devices 1967, 14, 117–133. [Google Scholar] [CrossRef]
- Zhang, W.; Yan, H.; Peng, Z.-K.; Meng, G. Electrostatic pull-in instability in mems/nems: A review. Sens. Actuators A Phys. 2014, 214, 187–218. [Google Scholar] [CrossRef]
- Flores, G. On the dynamic pull-in instability in a mass-spring model of electrostatically actuated MEMS devices. J. Differ. Equ. 2017, 262, 3597–3609. [Google Scholar] [CrossRef]
- Park, B.; Li, M.; Liyanage, S.; Shafai, C. Lorentz force based resonant MEMS magnetic-field sensor with optical readout. Sens. Actuators A Phys. 2016, 241, 12–18. [Google Scholar] [CrossRef]
- Feng, X.L.; He, R.; Yang, P.; Roukes, M.L. Very high frequency silicon nanowire electromechanical resonators. Nano Lett. 2007, 7, 1953–1959. [Google Scholar] [CrossRef]
- Loh, O.Y.; Espinosa, H.D. Nanoelectromechanical contact switches. Nat. Nanotechnol. 2012, 7, 283–295. [Google Scholar] [CrossRef] [PubMed]
- Sun, W.P.; Lim, C.W.; Wu, B.S.; Wang, C. Analytical approximate solutions to oscillation of a current-carrying wire in a magnetic field. Nonlinear Anal. Real World Appl. 2009, 10, 1882–1890. [Google Scholar] [CrossRef]
- Senturia, S.D. Microsystem Design; Springer: Boston, MA, USA, 2001. [Google Scholar]
- Skrzypacz, P.; Ellis, G.; He, J.-H.; He, C.-H. Dynamic pull-in and oscillations of current-carrying filaments in magnetic micro-electro-mechanical system. Commun. Nonlinear Sci. Numer. Simul. 2022, 109, 106350. [Google Scholar] [CrossRef]
- He, J.-H.; Nurakhmetov, D.; Skrzypacz, P.; Wei, D. Dynamic Pull-in for Micro-Electro-Mechanical Device with a Current-Carrying Conductor. J. Low Freq. Noise Vib. Act. Control 2019, 40, 1059–1066. [Google Scholar] [CrossRef]
- He, J.-H.; Skrzypacz, P.S.; Zhang, Y.; Pang, J. Approximate periodic solutions to microelectromechanicalem oscillator subject to magnetostatic excitation. Math. Methods Appl. Sci. 2020. [Google Scholar] [CrossRef]
- Skrzypacz, P.; Ellis, G.; Pruchnik, B.; Putek, P. Generalized analysis of dynamic pull-in for singular magMEMS and MEMS oscillators. Sci. Rep. 2025, 15, 23691. [Google Scholar] [CrossRef] [PubMed]
- Bota, C.; Caruntu, B.; Bundau, O. Approximate periodic solutions for oscillatory phenomena modelled by nonlinear differential equations. Math. Probl. Eng. 2014, 2014, 513473. [Google Scholar] [CrossRef]
- Nayfeh, A.H.; Mook, D.T. Nonlinear Oscillations; John Wiley & Sons: Hoboken, NJ, USA, 2024. [Google Scholar]
- Raissi, M.; Perdikaris, P.; Karniadakis, G.E. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. Phys. 2019, 378, 686–707. [Google Scholar] [CrossRef]
- Wang, S.; Teng, Y.; Perdikaris, P. Understanding and mitigating gradient flow pathologies in physics-informed neural networks. SIAM J. Sci. Comput. 2021, 43, A3055-81. [Google Scholar] [CrossRef]
- Bottou, L. Large-Scale Machine Learning with Stochastic Gradient Descent. In Proceedings of COMPSTAT’2010; Springer: Berlin/Heidelberg, Germany, 2010; pp. 177–186. [Google Scholar]
- Kingma, D.P.; Ba, J. Adam: A Method for Stochastic Optimization. In Proceedings of the International Conference on Learning Representations (ICLR), San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
- Paszke, A.; Gross, S.; Massa, F.; Lerer, A.; Bradbury, J.; Chanan, G.; Killeen, T.; Lin, Z.; Gimelshein, N.; Antiga, L.; et al. PyTorch: An Imperative Style, High-Performance Deep Learning Library. Adv. Neural Inf. Process. Syst. 2019, 32, 8024–8035. [Google Scholar]
- Hendrycks, D.; Gimpel, K. Gaussian Error Linear Units (GELUs). arXiv 2016, arXiv:1606.08415. [Google Scholar]
- Loshchilov, I.; Hutter, F. SGDR: Stochastic Gradient Descent with Warm Restarts. In Proceedings of the International Conference on Learning Representations (ICLR), Toulon, France, 24–26 April 2017. [Google Scholar]
- Wolfram Research, Inc. Mathematica Version 14.3; Wolfram Research, Inc.: Champaign, IL, USA, 2025; Available online: https://www.wolfram.com/mathematica (accessed on 25 November 2025).















| … | ||||
|---|---|---|---|---|
| … | ||||
| … | ||||
| ⋮ | ⋮ | ⋮ | ⋱ | ⋮ |
| … |
| Variables and Parameters | Value | Units | Description |
|---|---|---|---|
| 4 | current in coil wire | ||
| current in cantilever, used for K below | |||
| b | effective coil–cantilever separation | ||
| L | effective active length | ||
| spring constant of cantilever | |||
| vacuum permeability | |||
| 1 | relative permeability | ||
| excitation at mA | |||
| geometric parameter | |||
| quasi-static sensitivity () |
| DC (mA) | (pm) | (pm) | (pm) | (mA) |
|---|---|---|---|---|
| 0 | 5.54 | 1.11 | 0.00 | 0.000 |
| 2 | 4.29 | 0.86 | 0.00 | 0.000 |
| 4 | 6.95 | 1.39 | 4.20 | 0.092 |
| 6 | 8.46 | 1.69 | 6.40 | 0.140 |
| 8 | 6.74 | 1.35 | 3.80 | 0.083 |
| 10 | 7.19 | 1.44 | 4.60 | 0.100 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Skrzypacz, P.; Bolatov, A.; Dziedzic, A.; Ellis, G.; Tangirbergen, K.; Pruchnik, B.; Putek, P. Fourier Approximation of magMEMS Oscillations: Neural Network Space Handling. Micromachines 2025, 16, 1355. https://doi.org/10.3390/mi16121355
Skrzypacz P, Bolatov A, Dziedzic A, Ellis G, Tangirbergen K, Pruchnik B, Putek P. Fourier Approximation of magMEMS Oscillations: Neural Network Space Handling. Micromachines. 2025; 16(12):1355. https://doi.org/10.3390/mi16121355
Chicago/Turabian StyleSkrzypacz, Piotr, Arman Bolatov, Andrzej Dziedzic, Grant Ellis, Kaisar Tangirbergen, Bartosz Pruchnik, and Piotr Putek. 2025. "Fourier Approximation of magMEMS Oscillations: Neural Network Space Handling" Micromachines 16, no. 12: 1355. https://doi.org/10.3390/mi16121355
APA StyleSkrzypacz, P., Bolatov, A., Dziedzic, A., Ellis, G., Tangirbergen, K., Pruchnik, B., & Putek, P. (2025). Fourier Approximation of magMEMS Oscillations: Neural Network Space Handling. Micromachines, 16(12), 1355. https://doi.org/10.3390/mi16121355

