Describing Harmonic Motion in Linear and Nonlinear Circuits

November 13, 2020 Cadence PCB Solutions

Key Takeaways

  • Harmonic motion is normally discussed in terms of transient or driven oscillations, which arise in linear circuits.

  • Complex nonlinear circuits with feedback can exhibit strange oscillatory behavior that does not resemble simple harmonic motion.

  • If you are building a nonlinear circuit, you should use simulation and analysis tools to help control oscillations and produce the electrical behavior your application needs.

Harmonic motion of a pendulum

A pendulum is a typical example of harmonic motion.

Go back to your basic mechanics or physics classes, and there is one particular example that is always used to introduce oscillations: harmonic motion. This basic type of periodic motion describes the most basic type of oscillation, where a system moves with a sinusoidal trajectory. Although this is a fundamental topic that underlies the mathematics of so many other phenomena, real oscillations in circuits and mechanics don’t always follow pure harmonic motion. Instead, oscillations can arise from a complicated mix of frequencies, leading to periodic behavior that is anything but sinusoidal.

When you analyze complex circuits with nonlinear components, you’ll likely notice a range of complex oscillatory behavior, even when the system is driven with purely harmonic sources. What causes this type of behavior and how does it affect electrical behavior? If you have nonlinear components in your system, then it pays to use some basic simulations to understand how different frequencies will give rise to deviations from harmonic motion and even chaotic oscillations. Read more to learn where these anharmonic oscillations can occur and how they arise in different types of systems.

Simple Harmonic Motion Review

To better understand why a system may exhibit unstable behavior, we need to briefly review how simple harmonic motion arises. Once we see where nonlinearity occurs in these systems, it becomes much clearer how a nonlinear system cannot be simply solved by inserting a sinusoidal solution.

To get started, we have the basic equation for a linear oscillator as defined below. The quantity u(t) could be mechanical motion, voltage, current, or some other relevant quantity in a system; the f(t) term is a forcing function, which could be any continuous or piecewise function of time. For an electrical system, this is the equation you would use to describe oscillations in an RLC circuit, or in a nonlinear circuit operating in the linear regime.

Harmonic motion forced

Voltage, current, or power in a linear circuit driven with a time-dependent forcing function.

When f(t) = 𝛽 = 0, we have no damping and simple harmonic motion when the system is displaced from equilibrium. In other words, the system will oscillate at its natural frequency when the system is not forced. We will still have u(t) being sinusoidal as long as f(t) is a sinusoidal source.

In the case where 𝛽 is nonzero, we still have an oscillation in both cases, which will depend on whether the system is displaced and released (transient response, see the graph below), or whether the system is driven with an arbitrary source.

  • Displaced and released: As an example from RLC circuits, this would apply when the system initially has some charge on the capacitor and is short-circuited; the charge will have some electrostatic potential energy via Coulomb’s law, causing the capacitor to discharge. The discharging capacitor will drive a damped oscillation in the RLC circuit.

  • Driven with a time-dependent source: For a harmonic source, the system will also be sinusoidal and could enter resonance when the system is underdamped. For a non-periodic source, the system will exhibit a damped transient oscillation as the system transitions to a new equilibrium.

Transient response vs harmonic motion

Example transient response for a square wave driving source.

Nonlinear Oscillators and Stability

Even a real pendulum is a nonlinear system as its potential energy is a nonlinear function of its position. In electronics, there are cases where a component in the system is also nonlinear, which leads to anharmonic behavior. When we refer to “potential energy” in the context of an electronic component, we’re referring to how the voltage and current are related mathematically. If the current in a component is a nonlinear function of the voltage drop across the component, then there is the possibility of nonlinear behavior.

Mathematically, the easiest way to examine the effects of nonlinear components on a system’s response is to transform the system’s second-order differential equation into a system of coupled first-order differential equations. From here, you can determine the eigenvalues of the system quite easily. This gives the formulation shown below:

First-order system harmonic motion

Transformed first-order system.

Taking the right-hand side of the equation and calculating the determinant gives a characteristic equation for the system:

Stability analysis in a first-order system harmonic motion

Calculating eigenvalues of a first-order system for stability analysis

By looking at the eigenvalues, you can tell whether the system will enter a limit cycle (stable oscillation), collapse to a stable equilibrium point, or diverge and become unstable. In the case of a stable oscillation, the system will have periodic motion, but it may not be sinusoidal. This process is fundamental in stability analysis, which is used in many areas of engineering beyond electronics.

The alternative approach to examining stability in nonlinear circuits is to use a transient analysis simulation, which is directly applicable to nonlinear circuits and systems. This shows you the behavior in the time domain, and you can see exactly how the system will evolve from the initial conditions you specify. Any circuit design program with a SPICE simulator will allow you to perform this type of analysis.

You can see how well your system’s electrical behavior matches harmonic motion or chaotic oscillations when you use the best PCB design and layout software with a full suite of simulation tools. Allegro PCB Editor integrates with the analysis tools in PSpice Simulator to give you a complete design and simulation platform. You can examine the electrical behavior of linear and nonlinear circuits as you prepare to create your PCB layout.

If you’re looking to learn more about how Cadence has the solution for you, talk to us and our team of experts.


About the Author

Cadence PCB solutions is a complete front to back design tool to enable fast and efficient product creation. Cadence enables users accurately shorten design cycles to hand off to manufacturing through modern, IPC-2581 industry standard.

Follow on Linkedin Visit Website More Content by Cadence PCB Solutions

No Previous Articles

Next Article
Reaffirm Signal Integrity Using S-Parameter Simulation
Reaffirm Signal Integrity Using S-Parameter Simulation

A look into S-parameter simulation, and discussion on how these parameters can help maintain signal integri...


Achieving PCI-e Compliance: Getting It Right the First Time

First Name
Last Name
Opt-in to future emails and I understand I can unsubscribe at any time.
I agree to the terms of use
Terms of Use
Thank you!
Error - something went wrong!