main content

structural dynamics of tuning fork -凯发k8网页登录

perform modal and transient analysis of a tuning fork.

a tuning fork is a u-shaped beam. when struck on one of its prongs or tines, it vibrates at its fundamental (first) frequency and produces an audible sound.

the first flexible mode of a tuning fork is characterized by symmetric vibration of the tines: they move towards and away from each other simultaneously, balancing the forces at the base where they intersect. the fundamental mode of vibration does not produce any bending effect on the handle attached at the intersection of tines. the lack of bending at the base enables easy handling of tuning fork without influencing its dynamics.

transverse vibration of the tines causes the handle to vibrate axially at the fundamental frequency. this axial vibration can be used to amplify the audible sound by bringing the end of the handle in contact with a larger surface area, like a metal table top. the next higher mode with symmetric mode shape is about 6.25 times the fundamental frequency. therefore, a properly excited tuning fork tends to vibrate with a dominant frequency corresponding to fundamental frequency, producing a pure audible tone. this example simulates these aspects of the tuning fork dynamics by performing a modal analysis and a transient dynamics simulation.

you can find the helper functions animatesixtuningforkmodes and tuningforkfft and the geometry file tuningfork.stl under matlab/r20xxx/examples/pde/main.

modal analysis of tuning fork

find natural frequencies and mode shapes for the fundamental mode of a tuning fork and the next several modes. show the lack of bending effect on the fork handle at the fundamental frequency.

first, create a structural model for modal analysis of a solid tuning fork.

model = createpde("structural","modal-solid");

to perform unconstrained modal analysis of a structure, it is enough to specify geometry, mesh, and material properties. first, import and plot the tuning fork geometry.

importgeometry(model,"tuningfork.stl");
figure
pdegplot(model)

specify young's modulus, poisson's ratio, and the mass density to model linear elastic material behavior. specify all physical properties in consistent units.

e = 210e9;
nu = 0.3;
rho = 8000;
structuralproperties(model,"youngsmodulus",e, ...
                           "poissonsratio",nu, ...
                           "massdensity",rho);

generate a mesh.

generatemesh(model,"hmax",0.001);

solve the model for a chosen frequency range. specify the lower frequency limit below zero so that all modes with frequencies near zero appear in the solution.

rf = solve(model,"frequencyrange",[-1,4000]*2*pi);

by default, the solver returns circular frequencies.

modeid = 1:numel(rf.naturalfrequencies);

express the resulting frequencies in hz by dividing them by 2π. display the frequencies in a table.

tmodalresults = table(modeid.',rf.naturalfrequencies/2/pi);
tmodalresults.properties.variablenames = {'mode','frequency'};
disp(tmodalresults);
    mode    frequency
    ____    _________
      1     0.0090573
      2      0.007208
      3     0.0058295
      4     0.0054257
      5     0.0049971
      6     0.0084112
      7        460.42
      8        706.34
      9        1911.5
     10        2105.5
     11        2906.5
     12        3814.7

because there are no boundary constraints in this example, modal results include the rigid body modes. the first six near-zero frequencies indicate the six rigid body modes of a 3-d solid body. the first flexible mode is the seventh mode with a frequency around 460 hz.

the best way to visualize mode shapes is to animate the harmonic motion at their respective frequencies. the animatesixtuningforkmodes function animates the six flexible modes, which are modes 7 through 12 in the modal results rf.

frames  = animatesixtuningforkmodes(rf);

to play the animation, use the following command:

movie(figure("units","normalized","outerposition",[0 0 1 1]),frames,5,30)

in the first mode, two oscillating tines of the tuning fork balance out transverse forces at the handle. the next mode with this effect is the fifth flexible mode with the frequency 2906.5 hz. this frequency is about 6.25 times greater than the fundamental frequency 460 hz.

transient analysis of tuning fork

simulate the dynamics of a tuning fork being gently and quickly struck on one of its tines. analyze vibration of tines over time and axial vibration of the handle.

first, create a structural transient analysis model.

tmodel = createpde("structural","transient-solid");

import the same tuning fork geometry you used for the modal analysis.

importgeometry(tmodel,"tuningfork.stl");

generate a mesh.

mesh = generatemesh(tmodel,"hmax",0.005);

specify young's modulus, poisson's ratio, and the mass density.

structuralproperties(tmodel,"youngsmodulus",e, ...
                            "poissonsratio",nu, ...
                            "massdensity",rho);

identify faces for applying boundary constraints and loads by plotting the geometry with the face labels.

figure("units","normalized","outerposition",[0 0 1 1])
pdegplot(tmodel,"facelabels","on")
view(-50,15)
title("geometry with face labels")

impose sufficient boundary constraints to prevent rigid body motion under applied loading. typically, you hold a tuning fork by hand or mount it on a table. a simplified approximation to this boundary condition is fixing a region near the intersection of tines and the handle (faces 21 and 22).

structuralbc(tmodel,"face",[21,22],"constraint","fixed");

approximate an impulse loading on a face of a tine by applying a pressure load for a very small fraction of the time period of the fundamental mode. by using this very short pressure pulse, you ensure that only the fundamental mode of a tuning fork is excited. to evaluate the time period t of the fundamental mode, use the results of modal analysis.

t = 2*pi/rf.naturalfrequencies(7);

specify the pressure loading on a tine as a short rectangular pressure pulse.

structuralboundaryload(tmodel,"face",11,"pressure",5e6,"endtime",t/300);

apply zero displacement and velocity as initial conditions.

structuralic(tmodel,"displacement",[0;0;0],"velocity",[0;0;0]);

solve the transient model for 50 periods of the fundamental mode. sample the dynamics 60 times per period of the fundamental mode.

ncycle = 50;
samplingfrequency = 60/t;
tlist = linspace(0,ncycle*t,ncycle*t*samplingfrequency);
r = solve(tmodel,tlist);

plot the time-series of the vibration of the tine tip, which is face 12. find nodes on the tip face and plot the y-component of the displacement over time, using one of these nodes.

excitedtinetipnodes = findnodes(mesh,"region","face",12);
tipdisp = r.displacement.uy(excitedtinetipnodes(1),:);
figure
plot(r.solutiontimes,tipdisp)
title("transverse displacement at tine tip")
xlim([0,0.1])
xlabel("time")
ylabel("y-displacement")

perform fast fourier transform (fft) on the tip displacement time-series to see that the vibration frequency of the tuning fork is close to its fundamental frequency. a small deviation from the fundamental frequency computed in an unconstrained modal analysis appears because of constraints imposed in the transient analysis.

[ftip,ptip] = tuningforkfft(tipdisp,samplingfrequency);
figure
plot(ftip,ptip) 
title({'single-sided amplitude spectrum', 'of tip vibration'})
xlabel("f (hz)")
ylabel("|p1(f)|")
xlim([0,4000])

transverse vibration of tines causes the handle to vibrate axially with the same frequency. to observe this vibration, plot the axial displacement time-series of the end face of the handle.

basenodes = tmodel.mesh.findnodes("region","face",6);
basedisp = r.displacement.ux(basenodes(1),:);
figure
plot(r.solutiontimes,basedisp)
title("axial displacement at the end of handle")
xlim([0,0.1])
ylabel("x-displacement")
xlabel("time")

perform an fft of the time-series of the axial vibration of the handle. this vibration frequency is also close to its fundamental frequency.

[fbase,pbase] = tuningforkfft(basedisp,samplingfrequency);
figure
plot(fbase,pbase) 
title({'single-sided amplitude spectrum', 'of base vibration'})
xlabel("f (hz)")
ylabel("|p1(f)|")
xlim([0,4000])

网站地图