Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Harmonic oscillator
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Universal oscillator equation== The equation <math display="block">\frac{\mathrm{d}^2q}{\mathrm{d} \tau^2} + 2 \zeta \frac{\mathrm{d}q}{\mathrm{d}\tau} + q = 0</math> is known as the '''universal oscillator equation''', since all second-order linear oscillatory systems can be reduced to this form.{{citation needed|date=October 2018}} This is done through [[nondimensionalization]]. If the forcing function is {{math|1=''f''(''t'') = cos(''Οt'') = cos(''Οt<sub>c</sub>Ο'') = cos(''ΟΟ'')}}, where {{math|1=''Ο'' = ''Οt''<sub>''c''</sub>}}, the equation becomes <math display="block">\frac{\mathrm{d}^2q}{\mathrm{d} \tau^2} + 2 \zeta \frac{\mathrm{d}q}{\mathrm{d}\tau} + q = \cos(\omega \tau).</math> The solution to this differential equation contains two parts: the "transient" and the "steady-state". === Transient solution === The solution based on solving the [[ordinary differential equation]] is for arbitrary constants ''c''<sub>1</sub> and ''c''<sub>2</sub> <math display="block">q_t (\tau) = \begin{cases} e^{-\zeta\tau} \left( c_1 e^{\tau \sqrt{\zeta^2 - 1}} + c_2 e^{- \tau \sqrt{\zeta^2 - 1}} \right) & \zeta > 1 \text{ (overdamping)} \\ e^{-\zeta\tau} (c_1+c_2 \tau) = e^{-\tau}(c_1+c_2 \tau) & \zeta = 1 \text{ (critical damping)} \\ e^{-\zeta \tau} \left[ c_1 \cos \left(\sqrt{1-\zeta^2} \tau\right) + c_2 \sin\left(\sqrt{1-\zeta^2} \tau\right) \right] & \zeta < 1 \text{ (underdamping)} \end{cases}</math> The transient solution is independent of the forcing function. === Steady-state solution === Apply the "[[complex analysis|complex variables]] method" by solving the [[auxiliary equation]] below and then finding the real part of its solution: <math display="block">\frac{\mathrm{d}^2 q}{\mathrm{d}\tau^2} + 2 \zeta \frac{\mathrm{d}q}{\mathrm{d}\tau} + q = \cos(\omega \tau) + i\sin(\omega \tau) = e^{ i \omega \tau}.</math> Supposing the solution is of the form <math display="block">q_s(\tau) = A e^{i (\omega \tau + \varphi) }. </math> Its derivatives from zeroth to second order are <math display="block">q_s = A e^{i (\omega \tau + \varphi) }, \quad \frac{\mathrm{d}q_s}{\mathrm{d} \tau} = i \omega A e^{i (\omega \tau + \varphi) }, \quad \frac{\mathrm{d}^2 q_s}{\mathrm{d} \tau^2} = -\omega^2 A e^{i (\omega \tau + \varphi) } .</math> Substituting these quantities into the differential equation gives <math display="block">-\omega^2 A e^{i (\omega \tau + \varphi)} + 2 \zeta i \omega A e^{i(\omega \tau + \varphi)} + A e^{i(\omega \tau + \varphi)} = (-\omega^2 A + 2 \zeta i \omega A + A) e^{i (\omega \tau + \varphi)} = e^{i \omega \tau}.</math> Dividing by the exponential term on the left results in <math display="block">-\omega^2 A + 2 \zeta i \omega A + A = e^{-i \varphi} = \cos\varphi - i \sin\varphi.</math> Equating the real and imaginary parts results in two independent equations <math display="block">A (1 - \omega^2) = \cos\varphi, \quad 2 \zeta \omega A = -\sin\varphi.</math> ==== Amplitude part ==== [[Image:Harmonic oscillator gain.svg|thumb|[[Bode plot]] of the frequency response of an ideal harmonic oscillator]] Squaring both equations and adding them together gives <math display="block">\left. \begin{aligned} A^2 (1-\omega^2)^2 &= \cos^2\varphi \\ (2 \zeta \omega A)^2 &= \sin^2\varphi \end{aligned} \right\} \Rightarrow A^2[(1 - \omega^2)^2 + (2 \zeta \omega)^2] = 1.</math> Therefore, <math display="block">A = A(\zeta, \omega) = \sgn \left( \frac{-\sin\varphi}{2 \zeta \omega} \right) \frac{1}{\sqrt{(1 - \omega^2)^2 + (2 \zeta \omega)^2}}.</math> Compare this result with the theory section on [[resonance]], as well as the "magnitude part" of the [[RLC circuit]]. This amplitude function is particularly important in the analysis and understanding of the [[frequency response]] of second-order systems. ==== Phase part ==== To solve for {{math|''Ο''}}, divide both equations to get <math display="block">\tan\varphi = -\frac{2 \zeta \omega}{1 - \omega^2} = \frac{2 \zeta \omega}{\omega^2 - 1}~~ \implies ~~ \varphi \equiv \varphi(\zeta, \omega) = \arctan \left( \frac{2 \zeta \omega}{\omega^2 - 1} \right ) + n\pi.</math> This phase function is particularly important in the analysis and understanding of the [[frequency response]] of second-order systems. === Full solution === Combining the amplitude and phase portions results in the steady-state solution <math display="block">q_s(\tau) = A(\zeta,\omega) \cos(\omega \tau + \varphi(\zeta, \omega)) = A\cos(\omega \tau + \varphi).</math> The solution of original universal oscillator equation is a [[Superposition principle|superposition]] (sum) of the transient and steady-state solutions: <math display="block">q(\tau) = q_t(\tau) + q_s(\tau).</math>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)