Finding Common period of multiple waveforms

Click For Summary

Discussion Overview

The discussion revolves around finding a common period for multiple waveforms to calculate the average power of their summation. The context includes analytical integration of oscillating functions with varying frequencies, particularly in relation to energy dissipation in a damper system.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant describes their approach to calculating average power by integrating the square of the sum of multiple sine waveforms with different frequencies.
  • The participant expresses difficulty in finding a common period analytically when allowing for decimal values of "n".
  • Another participant provides a mathematical method for finding the least common multiple (LCM) of two decimal values, suggesting a numerical approach to the problem.
  • A later reply clarifies the goal of finding a common period T to simplify the integration process, noting that if T is found, certain integrals will evaluate to zero under specific conditions.
  • The participant outlines the integration process for each waveform and emphasizes the periodic nature of the oscillations in their calculations.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the method for finding the common period, as one suggests a numerical approach while another seeks an analytical solution. The discussion remains unresolved regarding the best approach to tackle the problem.

Contextual Notes

The discussion highlights limitations in finding a common period analytically, particularly when "n" can take on decimal values, and the dependence on the periodicity of the waveforms for simplification in integration.

macmosher
Messages
4
Reaction score
0
Hi Everyone,

First time poster, longtime viewer of these forums. Love the help that the community gives.

Just so you know where I am coming from:

I am trying to calculate the average power by first calculating the total energy of my system. Specifically I am looking at the energy dissipated in a damper, Cg. This turns out to be Cg multiplied by the integral of the velocity squared in my system over time (where Cg is fixed).

However, each of the velocities of the system are made up of the addition of multiple waveforms oscillating at different frequencies. Their respective periods are as follows:

2Pi/w
2Pi/((n+1)*w)
2Pi/((2n+1)*w)

Where "n" can be any number. In order to take the integration is done properly I need to find a common period amongst the added waveforms (squared). Now, this problem is fine so long as "n" is an integer, but once I allow it to have a decimal value the problem gets a bit more complicated.

This has been racking my brain for the past couple days, any thoughts?

I tried google, but of course it gave me common periods of different types of waves :P

Cheers!
 
Physics news on Phys.org
LCM(1.35, 1.7) = LCM(1.3*100, 1.7*100) / 100 = LCM(135, 170) / 100 = 45.9
45.9 / 1.35 = 34
45.9 / 1.7 = 27

lcm(a, b) = a*b / gcd(a, b)
 
Thanks for your reply.

I should have mentioned I am trying to solve this analytically. I am attempting to do the integration analytically so that my optimization code doesn't have to run through it each and every iteration
 
Problem Solved (via problem avoidance)

As mentioned I am trying to find the average power of the summation of multiple wave forms. The problem is essentially this without all the coefficients:
<br /> P_{avg}=\frac{\int_0^T[sin(wt)+sin(w(n+1)t)+sin(w(2n+1)t)]^2}{T}<br />
where T is a common integer multiple of the period amongst the three oscillators. The issue was that it was very difficult to find T analytically.

However, we know once T is found that:

int(sin(wt)*sin(n*wt),t=0..T)=0 so long n is an integer or their is a common period between the two waveforms.

So the whole point of finding T was to have that portion of the integration be zero. We can assume that the T does indeed exist and knowing that because the oscillations are periodic we can take the average of one full cycle rather than "x" number required to have a common period.

Therefore,
<br /> P_{avg}=\frac{\int_0^{\frac{2\pi}{w}} sin^2(wt)dt}{\frac{2\pi}{w}}+\frac{\int_0^{\frac{2\pi}{(n+1)w}} sin^2((n+1)wt)dt}{\frac{2\pi}{(n+1)w}}+\frac{\int_0^{\frac{2\pi}{(2n+1)w}} sin^2((2n+1)wt)dt}{\frac{2\pi}{(2n+1)w}}<br />

Don't know if that will help anyone else with similar problems or not.
 

Similar threads

Replies
7
Views
3K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 78 ·
3
Replies
78
Views
7K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 38 ·
2
Replies
38
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K