Mechanical Music Digest^{™} 
You Are Not Logged In  Login/Get New Account 
Please Log In. Accounts are free!
Logged In users are granted additional features including a more current version of the Archives and a simplified process for submitting articles. 
MMD Tech qval 
EndofSummer Fundraising Drive In Progress. Please visit out home page to see this and other announcements:
https://www.mmdigest.com Thank you. Jody

Resonators and Q valueby Johan LiljencrantsResonances, resonators, and characteristics of those is an engineering topic of widespread use, particularly in electronics, acoustics, and mechanics. A complete treatment of this involves a good deal of math that many students have to endure. However, let us here just briefly illustrate with a few examples what this is all about, and point out a few practical standard thumb rules in the area. What is a resonatorA resonator, whether electrical, mechanical, acoustical, or whatever, always involves an inertial element M and a compliant element C. You can excite the resonator by injecting a certain energy into it. In the resonator this energy will then periodically oscillate between static (in the compliant member C) and kinetic (in the inertial M). Because of inevitable losses this oscillation will decrease with time if the resonator is left alone. In circuit theory the loss mechanism is represented with a resistance R.It is customary to characterize a resonator with three secondary properties which can be computed from its primary RMC elements:
These two responses are interrelated, they tell the same story about the resonator, but in different ways. You can translate from one to the other analytically by way of the Laplace transform, something that is way too complicated to enter here. You can also transform between signals in the two domains in a computer, using the Fourier transform (FFT). A general observation in connection with the transform theory is that time is an inverse to frequency, they have a dual relation. In technical jargon you can say that the 'time window' times the 'frequency window' is unity. An important consequence is, in plain words:
Time domain impulse responseYou set the resonance in motion with a single impulse, and then you study how the resonance motion develops with time. For example, pluck a string, strike a xylophone, and record the sound wave. Typical resulting waveforms are shown in the upper graphs in each pair in fig 1, momentary deflection (or voltage, current, pressure, speed, etc.) vs. time.The vertically displayed momentary value obeys the basic function of time t: y = A_{0}*exp(p*F_{0}*t/Q)*sin(2*p*F_{0}*t+f) where F_{0} is the resonance (or natural) frequency, and Q is the quality factor. We return to these below. f is a phase angle that depends on the precise start conditions and is mostly of little interest. The formula has a sine factor that portrays the oscillation. The initial amplitude A_{0} together with the exponential function define a decreasing momentary amplitude. Frequency domain continuous responseYou excite the resonator continuously with an external sinusoidal signal, and then you study how the resonance motion behaves when you vary the frequency of that signal. This exemplifies what is often thought of as filtering. Typical corresponding outcomes are shown in the lower graph of each pair in fig 1, the amplitude (=peak value of momentary deflection) vs. frequency. The frequency response displays its resonance peak where the exciting frequency coincides with the resonance frequency.
Formulas for frequency responses are generally straight forward, but rather tedious and unweildy to derive directly from a circuit diagram. Here is an example that applies to the lowpass case of Fig 1 and Fig 5, top. The magnitude of the ratio between output and input, as function of frequency F, can be found as H = F_{0}^{2} / sqrt{ (F_{0}F/Q)^{2} + (F_{0}^{2}F^{2})^{2} } When frequency F=0 this reduces to H=1, and at resonance, for F=F_{0}, we get H=Q.
Logarithmic scales and dBThe frequency responses of Fig 1 include also another feature, ubiquitously used: the amplitude is displayed on a logarithmic scale, in decibels (dB). Some variations on scale usage are shown in fig 2. In its top sample with linear scales you easily identify the resonance peak, but you get no reliable impression on what happens at frequencies away from the resonance.The Bel unit was defined by CCITT (Comité Consultatif International Télégraphique et Téléphonique, now part of ITU, International Telecommunication Union) in 1922 as the logarithm (to the base of 10) of a ratio of powers and was named in honor of Alexander Graham Bell. Its primary purpose was to describe how big fraction of power going into a telephone cable that eventually came out the other end, that is, the attenuation of the cable. To have a unit similar in magnitude to the attenuation measure used earlier (namely MSC = Miles of Standard Cable) it was recommended to use a tenth of the base unit, that is deciBel, dB, the 'deci' is a proper standard prefix. Thus attenuation in dB is defined as D = 10*log(W_{in}/W_{out}) . Since it is practically much more difficult to measure power than for instance voltage you mostly rewrite the formula in terms of the latter. But power W in a resistance R is proportional to the square of its voltage V, or current I, W = V^{2}/R = RI^{2}. So measuring one of those 'field quantities' at the ports of your object, rather than power, you find attenuation as e.g. D = 10*log(V_{in}^{2}/V_{out}^{2}) = 20*log(V_{in}/V_{out}).  From this it is no large step to describe about any ratio in terms of dB. This is indeed done with almost any conceivable technical unit. To describe an absolute value you then need a reference value to divide with, in order to obtain a ratio. Among ISO standardized reference values we might mention that for sound pressure, P_{0}=20 mPa=0.0002 mbar, about corresponding to the hearing threshold. A quantity measured in decibels is called level. When we display amplitude in terms of decibels, then the quantity is called amplitude level. A level is always given in relation to a reference. If we choose to use some reference amplitude A_{0}, then for an amplitude A the amplitude level is L_{A} = 20*log(A/A_{0}) (For field quantities like voltage, current, force, speed, pressure, flow) The logarithm is to the base of 10. The log scale has two purposes. One is to make it easy to compress a wide range of amplitudes such that you can read big as well as small signals on one and the same scale. The other is to adapt to human perception  grossly, a sound level increase of 8 db is perceived as 'twice as loud'. This is somewhat at difference to the physical relation where an increase of 6 db corresponds to twice the amplitude (20*log(2)=6). And 10 times in amplitude corresponds to 20 dB. Then that extra twist coming from that energy and power are proportional to amplitude squared. But a comparison in terms of level is by definition supposed to give the same number of decibels, no matter you mean amplitude or power. So if we choose some reference power W_{0}, then for a power W the power level is L_{W} = 10*log(W/W_{0}) (For energy quantities like energy, power, intensity) 10 times in amplitude ratio means 100 times in power ratio. In both cases 20 dB. The bottom frequency responses in Fig 1 have linear frequency scales, such are often used. But an even better alternative is the engineering practice to use a logarithmic scale also for frequency, like at bottom of Fig 2. Here the figures show the frequencies, while these figures are placed along the axis in proportion to their logarithms. Though not conventional, it is perfectly reasonable to talk about a tonal octave as being 6 dB in frequency level, a semitone is 0.5 dB. In music the prevailing, and historically much older practice is to call those half dB steps C, C#, D, etc., together with an octave name for reference. In engineering jargon it is very common to describe something that is 'proportional to frequency' as 'sloping 6 dB/octave'. There is a competing logarithmic measure, not so much used, that is called Neper (Np) after John Napier, inventor of the logarithm. This is based on the natural logarithm of the ratio between field quantities. 1 Np = 8.686 dB. Finding resonance frequencyFrom the graphic responses this is trivial. In the impulse response you recognize the resonance frequency as the number of cycles per unit of time. In the frequency response you locate a frequency where the graph has its peak. The resonator makes maximal excursions when you drive it at its resonance. Alternatively you may use the formula relating M and C to the resonance frequencyF_{0} = 1/(2*p*sqrt(MC)) In engineering formulas you often prefer to use angular frequency w = 2pF (in radians per second) as this gives a simpler appearance. For the above, for instance w_{0}^{2} MC = 1 Electrical example: An inductor of 10 H (henry) M=10, is combined with a capacitor of 0.1 uF (microfarad) C=0.0000001. The resonance F_{0} = 1/(2*p*sqrt(10*0.0000001))=159.2 Hz. Mechanical example: A 100 gram mass, M=0.1 kg is suspended by a spring of compliance C=0.001 m/N. The resonance F_{0} = 1/(2*p*sqrt(0.1*0.001))=15.92 Hz. Finding the Q valueThere are always some losses in a resonating system, the energy oscillating in it is more or less rapidly dissipated. This is characterized with the 'Quality factor', mostly called 'Q value'. The formal definition of this is:Q = 2p(oscillating energy) / (energy loss per cycle of oscillation) This definition is seldom used as is. Instead, to bypass a lot of math, there are a few practical derived ways to find it out: Fig 3. Finding Q from the impulse response. From the impulse response waveform: Pick out two successive periods. The first period has a peaktopeak amplitude that is some factor a > 1 times the amplitude of the next period. From this you can compute Q = p / ln(a) (p=3.1416, ln is natural logarithm) This works when Q is moderately low, but when high you will not get an accurate value for a, it will be too close to unity. Then, instead measure amplitudes at places N periods apart, compute the formula and then multiply its result by N, Fig 3. Another, and simpler alternative: find out how many periods N it takes for the amplitude to fall to 1/2. Then Q = N * p / ln(2) = 4.53 * N We may also refer to the concept of reverberation time as used in room acoustics. In principle this is the time for a transient signal to decay 60 dB, that is a=1000 instead of 2 in the above formula. Also knowing that this time T_{60} will include N = T_{60} * F_{0} periods leads to T_{60} = Q*ln(1000)/pF_{0} = 2.2*Q/F_{0} = 2.2/B where B is the resonance bandwidth as coming now. Fig 4. Finding Q from the frequency response. From the frequency response graph: Locate the two frequencies F_{1} and F_{2} where the amplitude is 0.707 (3 dB) of the value at the resonance peak at frequency F_{0}, Fig 4. The difference between those is commonly called the 'resonance bandwidth' B = F_{2}F_{1} which obeys the simple relation Q = F_{0} / B, or B = F_{0} / Q This very important relation you can solve (at quite some effort) from the frequency response equation below Fig 1, setting the '3 dB band limit' H=Q/sqrt(2) and neglecting small higher order terms containing 1/Q. So this is accurate only when the Q value is reasonably high, say 5 or more, as mostly encountered in music instrument applications. For lower Q you normally must resort to the basic math that we have bypassed for simplicity, belongs more in the field of filter design, e.g. of loudspeakers. Different resonant structuresFig 5. A few sample resonator configurations, in electrical representation. Three resonator elements R, M, and C are driven by a generator G. These are the technically most important ones, there are other possible alternatives.Some features depend on the precise layout of the resonator, e.g. in filters you can divide between lowpass, bandpass and highpass systems. The most common and basic class is that of lowpass systems, Fig 5, top. Such settle to a finite nonzero amplitude when you impose a constant DC excitation. (Bandpass and highpass systems then get zero amplitude). Like connecting a battery to an electric filter, holding still a string pulled sideways, or putting a weight on an elastic bar. This corresponds to the zero dB (reference) amplitude at zero frequency in fig 1. Now, the important rule for a lowpass: If you impose the same magnitude of excitation (same voltage, force, etc.), but instead oscillating at the resonance frequency F_{0}, then you arrive at the peak.  The resulting amplitude is then Q times bigger than for the DC value of the same excitation. Fig 6. Example series resonator. So far only parallel resonators have been mentioned. There is another, dual world of series resonators, one example is shown in Fig 6. A most typical difference between them is that when you study some quantity in them the frequency response may be 'turned upside down'. You get a resonance dip instead of a resonance peak. For the same M, C, and Q the loss resistance element differs widely depending on if parallel (R) or series connected (r). From the formulas in Figs 5 and 6 you can derive R = r * Q^{2} In a practical mechanical or acoustical resonator you can often estimate the M and C elements using ruler, balance, or other primitive instruments, but loss resistances are notoriously elusive. Much because often they are not localized to any specific element or place. Indeed, the normal way to estimate them is indirect, you measure the Q value for a resonator where they are part. Then finally you can compute an equivalent loss resistance as R = Qw_{0}M = Q/w_{0}C (parallel circuit), or r = w_{0}M/Q = 1/Qw_{0}C (series circuit). Further details must be analyzed in scope of the particular topology
of the circuit and quantity studied, something beyond this short note.
20020623, 20020627 




CONTACT FORM: Click HERE to write to the editor, or to post a message about Mechanical Musical Instruments to the MMD Unless otherwise noted, all opinions are those of the individual authors and may not represent those of the editors. Compilation copyright 19952019 by Jody Kravitz. Please read our Republication Policy before copying information from or creating links to this web site. Click HERE to contact the webmaster regarding problems with the website. 


