SciELO - Scientific Electronic Library Online

 
vol.64 issue1Aplicación de un dispositivo didáctico basado en el modelo holístico del pensamiento geométrico para mejorar la cognición espacial en problemas de análisis vectorialLos principios de la relatividad: una introducción pedagógica author indexsubject indexsearch form
Home Pagealphabetic serial listing  

Services on Demand

Journal

Article

Indicators

Related links

  • Have no similar articlesSimilars in SciELO

Share


Revista mexicana de física E

Print version ISSN 1870-3542

Rev. mex. fís. E vol.64 n.1 México Jan./Jun. 2018

 

Education

Variable length pendulum analyzed by a comparative Fourier and wavelet approach

M.T. Caccamoa 

S. Magazùa  b  * 

aDepartment of Mathematical and Informatics Sciences, Physical Sciences and Earth Sciences of Messina University, Viale Ferdinando Stagno D’ Alcontres 31, 98166 Messina, Italy.

bLe Studium, Loire Valley Institute for Advanced Studies, Orléans & Tours, France, CBM (CNRS), rue Charles Sandron, 45071 Orléans, France.


Abstract

The motion of a pendulum with a variable length is analyzed by means of a comparative Fourier and Wavelet approach. In particular Fourier and continuous Wavelet transforms have been jointly employed to investigate the non stationary signal of a variable length pendulum in an easy-to-interpret scenario addressed to undergraduate and graduate students. The comparison between the two data analysis protocols allows to easily show that while the Fourier transform is able to extract only an average frequency value for the variable length pendulum motion, Wavelet analysis furnishes information on the time behaviour of the motion spectral content, i.e. provides a joint time-frequency analysis.

Keywords: Variable length pendulum; Fourier transform; wavelet transform

PACS: 01.40.Fk; 01.50.pa; 02.30.Nw

1. Introduction

The basic assumption of this work is to show how, in teaching and learning Mathematics and Physics, the close interrelation between the two disciplines and with Laboratory should not be circumvented or bypassed. On the contrary their interplay and mutual influence as well as their deep epistemological affinities should be promoted. In this framework Mathematics does not just provide tools for Physics but also drives physical insight; vice-versa Physics and its Laboratory can provide a simple access to Mathematical topics of not straighforward comprehension. Recent student learning investigations suggest that the understanding of Physics and Mathematics topics can be significantly facilitated by means of an integrated approach (see Fig. 1) with Laboratory activities, so allowing to enreach topics of meanings.

Figure 1. In undergraduate and graduate courses, Physics, Laboratory and Mathematics often tend to be autonomous through the delimitation of their frontiers and the building of specialistic languages. An open dialogue among Mathematics, Physics and Laboratory allows to confer to formal issues concrete form and utility and vice-versa allows to provide effective analysis tools to physical insights. 

In other words, in undergraduate and graduate courses, disciplines as Physics and Mathematics are frequently set in an autonomous way by means of the delimitation of their frontiers, the building of specialistic languages and the employment of specific techniques and tools; such an approach furnishes points of strength to the single disciplines but at the same time furnishes the limits of the disciplinary knowledge. Disciplines are observation windows on the World, points of view on reality but if disciplines forget to be a part of a wider system of knowledge the interdisciplinary boundary limits become barriers and, in such a case, the word discipline recover its original meaning of whip for who intends to break the disciplinary walls.

In this reference contest, due to complexities encountered in dealing with time dependent frequencies, the study of variable length pendula as well as the study of Fourier and Wavelet transforms are rarely included within the program of Physics courses addressed to ungraduate and graduate students.

Such physical systems are characterized by a chirp-like time behavior, i.e. by local (i.e. time-dependent) pseudo-frequencies 1,2.

In the present work it will be shown how while Fourier Transform (FT) reveals an effective tool in analyzing stationary signals, in the presence of a time changing spectral content FT is not able to furnish detailed information on the different physical states of the oscillating system but provides only an average information on the motion frequency components; on the contrary in this latter case Wavelet Transform (WT) represents an effective tool for the time analysis of the non stationary signal allowing to precisely characterize the time variation of the oscillation motion frequency content 3,4,5. WT is nowadays extensively used in several fields of applications, such as audio, images, light and neutron scattering spectra analysis, spectroscopy, geophysics time series, biology and medicine 6,7,8,9,10,11,12,13,14,15,16.

In the following, in order to analyse the dynamics of a pendulum with a time-varying length, we apply both the FT with the WT approaches putting into evidence the pros et cons of the two analysis techniques.

2. Comparison between Fourier and wavelet transforms - historical background

From the historical point of view it is useful to mention that in 1822, Joseph Fourier, French mathematician and physicist who accompanied Napoleon on his Egyptian campaign, published the treatise titled “Theorie Analytique de la Chaleur” where he introduced the idea of expanding functions in sine or cosine trigonometric series to solve the heat conduction equation he had developed.

Starting from this study, FT allows to decompose a signal and to reconstruct it without loss of information even if such an analysis is localized in frequency but not in time; in other words FT allows to properly analyse stationary signals 17.

In order to overcome the limitations of FT a new analysis has been introduced later; such an analysis consists in introducing a “window” function of given length which slides along the time axis to execute a “time-localized” FT. This approach gives rise to the Short Time Fourier Transform (STFT) which was first introduced in 1946 by Dennis Gabor, a Hungarian mathematician. Gabor chose as window function a Gaussian but soon he realized that STFT furnished an equal resolution in time for lower and higher frequencies and that the width of the window function was the same for the entire analysis process 18.

In the mid 1970s Jean Morlet, a French geophysics working for an oil company, while investigating the acoustic echoes sent into the soil for identifying the existence of oil on the earth’s crest, developed the method of scaling and shifting the STFT. In order to analyse such echoes, Morlet first employed the STFT and observed that when holding constant the width of the window function the analysis didn’t run well; so, he proposed to maintain fixed the frequency of the window function and to change the width of the window by a dilatation or compression procedure 19.

This new approach led to the term “ondelette” introduced by Jean Morlet et Alex Grossmann in 1984. At first, the term was French and then was translated in English as wavelet:

i.e. wave (onde) and let (petite). Figure 2 shows the historical route of the wavelet concept genesis which starting from Joseph Fourier with FT (1822), through Dennis Gabor with STFT (1946), arrives to Jean Morlet (1984) with WT.

Figure 2. Historical route of the Wavelet genesis which starting from Joseph Fourier with FT (1822), through Dennis Gabor with FTFT (1946), arrives to Jean Morlet (1984) with WT. 

From a mathematical point of view Fourier series allow to decompose a periodic function f (x) defined for 0x2π into a sum of sine or cosine functions 20,21:

f(x)a02+k=1[akcos(kx)+bksin(kx)] (1)

where a0, ak and bk are the Fourier coefficient, defined as:

a0=12π02πf(x)dx; (2)

ak=1π02πfxdx cos(kx); (3)

bk=1π02πfxdx sin(kx); (4)

Figure 3 shows, as an example, the partial sums of the Fourier series for a square wave.

Figure 3. Partial sums of the Fourier series for a square wave. 

The Fourier Transform is an extension of the Fourier series to non-periodic functions which decompose it into a set of sine (or cosine) waves of different frequencies ω:

f^(ω)=-f(t)e-iωtdt, (5)

It should be stressed that in such a case it is not possible to provide a connection between the frequency spectrum and the signal evolution in time.

On this regard, WT results more advantageous in respect to Fourier transform; in fact WT approach allows to decompose a signal into its wavelets components, by means of mother wavelet ψ:

fψ(a,τ)=1a-f(t)ψ*t-τadt (6)

where the parameter a > 0 denotes the scale and its value is the inverse of the frequency; the parameter τ represent the shift of the scaled wavelet along the time axis. ψ* represents the complex conjugation of the wavelet while the mother wavelet ψ can be expressed by 22:

ψa,τ(t)=1aψt-τa (7)

In Fig. 4, as an example, scaled and shifted versions of the mother wavelet are reported.

Figure 4. Scaled and shifted versions of the mother wavelet 

Differently from FT, which shows only which signal frequencies are present, WT, in addition, also shows where, or at what scale they are. Furthermore, while FT allows to decompose the signal only in cosine and sine component functions, the WT takes into account several wavelet mother functions, that can be chosen according to the similarity degree of the mother functions with the investigated signal 23,24,25,26,27,28,29,30.

In this paper, according to the behavior of the investigated oscillator, the wavelet Morlet has been chosen as mother wavelet:

ψ(t)=eiω0-t22σ2 (8)

where ω0 represents the center pseudo-frequency and ? provides the wavelet bandwidth 31.

It should be noticed that in the special case in which the wavelet mother is ψ(t)=e-2πit the WT transform reduces to the FT.

3. Theoretical background

Let us first focus the attention on a pendulum, a toy physics system full of lots of meanings (see Fig. 5), of length l(t) whose mass is m in the absence of any friction.

Figure 5. Pendulum as represented by Lucia Grasso painter. 

From the physical point of view the dynamics of such a system can be obtained by applying the fundamental second law equation dynamics equation:

ma=F (9)

ms¨=-mg sin θ (10)

where a is the acceleration, F is the total force acting on the mass, θ is the pendulum angular deviation from the equilibrium position, s=l(t)θ(t) is the length spanned by the oscillation during its motion, s¨=d2s/dt2 is its second derivative, and finally g is the gravity acceleration 32,33,34,35,36,37.

Being:

s(t)=l(t)θ(t) (11)

it results:

s˙t= l(t)̇θ(t)+l(t)θ(t)̇ (12)

and

s̈=l¨θ+l˙θ˙+l˙θ˙+l˙θ¨=l¨θ+2l˙θ˙+lθ¨ (13)

Under the hypothesis that the pendulum length during the oscillation changes with a constant rate, i.e. l˙=const., it is: l¨=(d2l)/(dt2)=0. Furthermore if one can assume that, during the oscillation, the pendulum length l(t) changes in time slowly in respect to the θ(t) time changes, i.e.l̇θ˙, one can s̈=lθ̈ 38,39,40,41.

Under these assumption, Eq. (10) becomes:

mltθẗ=-mg sin θ(t) (14)

and making the further assumption that θ(t)1 and hence sinθ(t)θ(t), it results:

θ¨(t)=-gl(t)θ(t) (15)

whose solution can be put under the form:

θ(t)=θ0sin(ω(t)t+φ) (16)

where:

ω(t)gl(t) (17)

4. The experimental setup and results

The experimental set-up includes:

  • a spherical mass whose weight is 100 g;

  • a fixed support to fix the pendulum;

  • a step by step rotating device for changing the pendulum length;

  • a computer equipped with data acquisition program (Logger Lite) and spreadsheet (Excel);

  • an ultrasonic sensor device to measure the distance between itself and the oscillating mass which directly transmit the recorded data to a PC.

As far as the experiment procedure is concerned, the pendulum motion was sampled through a GoMotion-Vernier sensor. The system length variation as a function of time was assured by the step by step rotating device and was registered through a PC.

During the first part of the experience, the condition in which the pendulum length is fixed was investigated, reiteratly registering the motion at different pendulum lengths. The oscillation period evaluated for different lengths is reported in Fig. 6 that, as expected, fulfills the expected T=2πl/g law.

Figure 6. Behavior of the oscillation period T as a function of the pendulum length under stationary conditions. 

First, we have studied the system under stationary conditions, i.e. at fixed pendulum length, and then we have investigated and the analyzed, by a WT approach, a set of measurements in which the length changed linearly as a function of time 42,43,44,45,39,40. In Fig. 7, as an example, the length variation versus time plot is reported. As it can be seen the pendulum length as a function of time fulfils a linear trend with a constant slope of Δl/Δt=0.025 ms-1.

Figure 7. Length variation versus time. The pendulum length as a function of time fulfils an linear trend with a slope of -0.025 m/s. 

Figure 8 reports a picture of the analyzed signal. In particular, on the top, the collected oscillation signal in the condition of length change is shown. It is clear that oscillation frequency increases with time. FT, that is reported on the right of the picture, provides only an average of the frequencies of the investigated signal; while, on the bottom of the picture, the WT scalogram shows that the oscillation pseudo-frequency changes with the time.

Figure 8. Comparison of the investigated signal analyzed by means of FT and WT. More precisely, on the top of the figure the collected oscillation signal, under the condition of varying length is shown; on the right of the figure its FT showing only an average of the registered signal frequencies; on the bottom of the figure the WT scalogram that shows how the oscillation pseudo-frequency changes with time. 

5. Conclusion

The present paper shows an example of how it is possible to promote a fruitful alliance among different disciplines on a specific study case which allows to access in an user-friendly way to mathematical operations such as Fourier and Wavelet transforms. Both these approaches have been applied to characterize the effects of the pendulum length change on the following time-dependent oscillation frequency. It is shown that WT outperforms the FT approach highlighting which frequencies are present (as FT) and, in addition, where they are, so providing an easy-to-interpret physical significance of time-frequency analysis.

References

1. R.A. Carmona, W.L. Hwang, and B. Torresani, IEEE Trans. Signal Process. 47 (1999) 480-492. [ Links ]

2. A. Arneodo, E. Bacry, and J.F. Muzy, Phys. Rev. Lett. 74 (199) 4823-4826. [ Links ]

3. M.T. Caccamo and S. Magazù, Eur. J. Phys. 38 (2017). [ Links ]

4. I. Daubechies, IEEE Trans. Inf. Theory 36 (1990). [ Links ]

5. L. Debnath, Fourier Transforms and Their Applications in Wavelet Transforms and Their Applications (Boston, MA: Birkhäuser Boston, 2002). [ Links ]

6. H. Adeli, Z. Zhou, and N. Dadmehr, J. Neurosci. Methods 123 (2003) 69-87. [ Links ]

7. A. Arnéodo, N. Decoster, P. Kestener, and S.G. Roux, Adv. Imaging Electr. Phys. (2003) 1-92. [ Links ]

8. S. Magazù, F. Migliardo, and M.T. Caccamo, J. Phys. Chem. B 116 (2012) 9417-9423. [ Links ]

9. F. Migliardo, M. T. Caccamo, and S. Magazù, Food Biophys. 9 (2014) 99-104. [ Links ]

10. S. Magazù, F. Migliardo, B.G. Vertessy, and M.T. Caccamo, Chem. Phys. 424 (2013) 56-61. [ Links ]

11. F. Migliardo, S. Magaz¨´, and M.T. Caccamo, J. Mol. Struct. 1048 (2013) 261-266. [ Links ]

12. M.T. Caccamo and S. Magazù, Vib. Spectrosc. 85 (2016) 222-227. [ Links ]

13. X.-G. Miao and W.M. Moon, Geosci. J. 3 (1999) 171-179. [ Links ]

14. A. Prokoph and R.T. Patterson, Atmosphere-Ocean. 42 (2004) 201-212. [ Links ]

15. A. Arneodo, C. Vaillant, B. Audit, F. Argoul, Y. d’Aubenton-Carafac, and C. Thermesc, Phys. Rep. 498 (2011) 45-188. [ Links ]

16. E. Gerasimova et al., Front. Physiol. 5 (2014) 176. [ Links ]

17. J.-B.-J. Fourier, The analytical theory of heat (Cambridge University Press, 2009). [ Links ]

18. D. Gabor, J. Inst. Elec. Eng. 93 (1946) 429-457. [ Links ]

19. J. Morlet, G. Arens, E. Fourgeau, and D. Glard, Geophysics 47 (1982) 203-221. [ Links ]

20. G.B. Arfken and H.-J. Weber, Mathematical methods for physicists (Academic Press, 1995). [ Links ]

21. T.W. Körner, Fourier analysis (Cambridge University Press, 1988). [ Links ]

22. C. Torrence and G.P. Compo, Bull. Am. Meteorol. Soc. 79 (1998) 61-78. [ Links ]

23. A. Graps, IEEE Comput. Sci. Eng. 2 (1995) 50-61. [ Links ]

24. M. T. Caccamo and S. Magazù, Spectrosc. Lett. 50 (2017) 130-136. [ Links ]

25. N. Ahuja, S. Lertrattanapanich, and N.K. Bose, IEE Proc. - Vision, Image, Signal Process. 152 (2005) 659. [ Links ]

26. A.W. Galli, G.T. Heydt, and P.F. Ribeiro, IEEE Comput. Appl. Power 9 (1996) 37-41. [ Links ]

27. S. Magazù, F. Migliardo, and M.T. Caccamo, Adv. Mater. Sci. Eng. (2013). [ Links ]

28. M. B. Priestley, J. Time Ser. Anal. 17 (1996) 85-103. [ Links ]

29. M.T. Caccamo and S. Magazù, Appl. Spectrosc. 71 (2017) 401-409. [ Links ]

30. S.G. Mallat, IEEE Trans. Pattern Anal. Mach. Intell. 11 (1989) 674-693. [ Links ]

31. J. Morlet, G. Arens, E. Fourgeau, and D. Giard, Geophysics, 47 (1982) 222-236. [ Links ]

32. R.A. Serway, R.J. Beichner, and J.W. Jewett , Physics for scientists and engineers. (Brooks/Cole-Thomson Learning, 2000). [ Links ]

33. X. Xin and Y. Liu, Commun. Nonlinear Sci. Numer. Simul. 19 (2014) 1544-1556. [ Links ]

34. I.T. Osmond, Science 22 (1905) 311-312. [ Links ]

35. L.D. Patterson, Osiris 10 (1952) 277-321. [ Links ]

36. M. Delgado, A. Portnoy, and J.A. Fuquene, Rev. Bras. Biom. 24 (2010) 66-84. [ Links ]

37. L.D. Akulenko and S.V. Nesterov, J. Appl. Math. Mech. 73 (2009) 642-647. [ Links ]

38. R.P. Feynman, R.B. Leighton, and M.L. Sands, The Feynman lectures on physics. Reading Mass.: (Addison-Wesley Pub. Co, 1963). [ Links ]

39. M.S. Tiersten, Am. J. Phys. 37 (1969) 82-87. [ Links ]

40. A. Sommerfeld, Chapter I - Thermodynamics. General Considerations, in Lectures on Theoretical Physics, (Academic Press, 1964). [ Links ]

41. S. Gil and E. Rodríguez, Física re-creativa: experimentos de física usando nuevas tecnologías. (Prentice-Hall, 2001). [ Links ]

42. V.K. Gupta, G. Shanker, and N.K. Sharma, Am. J. Phys. 54 (1986) 619-622. [ Links ]

43. P.T. Squire, Am. J. Phys. 54 (1986) 984-991. [ Links ]

44. X.-J. Wang, C. Schmitt, and M. Payne, J. Phys. 23 (2002) 155-164. [ Links ]

45. A. Arneodo, E. Bacry, S. Jaffard, and J.F. Muzy, J. Fourier Anal. Appl. 4 (1998) 159-174. [ Links ]

Received: July 14, 2017; Accepted: November 10, 2017

*e-mail: smagazu@unime.it

Creative Commons License This is an open-access article distributed under the terms of the Creative Commons Attribution License