MATLAB-Simulation-Based Analysis of Free RLC Oscillations
Abstract:
Targeting the LC oscillation commonly taught in high school, this study models a series RLC circuit using university-level circuit theory and ordinary differential equations. We derive the analytical solutions for the underdamped, critically damped and overdamped regimes, compare their time responses and energy dissipation, and visualize charge, current, and total energy via MATLAB. The work offers a quantitative, visual reference to bridge high-school and university instruction, and clarifies two often-confused issues: the opposite trends of the Q factor with resistance in series and parallel RLC circuits, and the condition under which critical damping is the fastest route to equilibrium. The main contributions are: (1) a classroom-oriented set of simulation plots for all three damping regimes; (2) a unified formulation based on the damping ratio and on energy dissipation; (3) simple guidance on how R, L and C affect the damping behavior.
Keywords:
LC oscillation; RLC model; damping characteristics.
APA Citation:
Jingbin Xue, Yuyang Qi, Dechao Lv (2026). MATLAB-Simulation-Based Analysis of Free RLC Oscillations. Transactions on Computer Science and Intelligent Systems Research, 12(1), 55-62. https://doi.org/10.62051/hdthzd63
References
- Faleski M C. Transient behavior of the driven RLC circuit[J]. American Journal of Physics, 2006, 74(5): 429–437. DOI: 10.1119/1.2174032.
- Bissell J J. On the ubiquity of classical harmonic oscillators and a universal equation for the natural frequency of a perturbed system[J]. American Journal of Physics, 2021, 89(12): 1094–1102. DOI: 10.1119/10.0005948.
- Westermann N, Staacks S, Heinke H, Möhrke P. Measuring the magnetic field of a low frequency LC-circuit with phyphox[J]. Physics Education, 2022, 57(6): 065024. DOI: 10.1088/1361-6552/ac920e.
- Agarwal A, Lang J H. Foundations of Analog and Digital Electronic Circuits[M]. Morgan Kaufmann/Elsevier, 2005.
- Ling S J, Sanny J, Moebs W. University Physics Volume 2: 14.6 RLC Series Circuits[EB/OL]. Houston: OpenStax, 2016-10-06[2025-09-15]. https://openstax.org/books/university-physics-volume-2/pages/14-6-rlc-series-circuits.
- Paulson J G, Ray M W. Exploration of the Q factor for a parallel RLC circuit[J]. American Journal of Physics, 2022, 90(12): 903–907. DOI: 10.1119/5.0074843.
- Lelas K, Poljak N, Jukić D. Damped harmonic oscillator revisited: The fastest route to equilibrium[J]. American Journal of Physics, 2023, 91(10): 767–775. DOI: 10.1119/5.0112573.
- Kowalski F V, Swantek J L, D’Esposito T, Brannum J. Voltage decay in an RLC circuit is not what is taught: An advanced laboratory exercise[J]. American Journal of Physics, 2024, 92(3): 186–188. DOI: 10.1119/5.0068145.
- Alizadeh S, Baleanu D, Rezapour S. Analyzing transient response of the parallel RCL circuit by using the Caputo–Fabrizio fractional derivative[J]. Advances in Difference Equations, 2020, 2020: 55. DOI: 10.1186/s13662-020-2527-0.
- Ahmed F, Iqbal M, Tariq I, Talat M. Virtual learning via spreadsheets: Real-time simulation of an RC circuit[J]. American Journal of Physics, 2024, 92(5): 328. DOI: 10.1119/5.0199004.