Ideal String Struck by a Mass

Similar documents
MUS420 Lecture Mass Striking a String (Simplified Piano Model)

Cylinder with Conical Cap

Smith, Kuroda, Perng, Van Heusen, Abel CCRMA, Stanford University ASA November 16, Smith, Kuroda, Perng, Van Heusen, Abel ASA / 31

Music 420 Lecture Elementary Finite Different Schemes

CMPT 889: Lecture 8 Digital Waveguides

Music 206: Digital Waveguides

Basic Electronics. Introductory Lecture Course for. Technology and Instrumentation in Particle Physics Chicago, Illinois June 9-14, 2011

Tutorial on Wave Digital Filters

General Appendix A Transmission Line Resonance due to Reflections (1-D Cavity Resonances)

Physics Fall Mechanics, Thermodynamics, Waves, Fluids. Lecture 20: Rotational Motion. Slide 20-1

single uniform density, but has a step change in density at x = 0, with the string essentially y(x, t) =A sin(!t k 1 x), (5.1)

CMPT 889: Lecture 9 Wind Instrument Modelling

St. Joseph s Anglo-Chinese School

Energy stored in a mechanical wave

Honors Differential Equations

Applications of Second-Order Differential Equations

Some of the different forms of a signal, obtained by transformations, are shown in the figure. jwt e z. jwt z e

AP Physics C Mechanics Objectives

Work and energy. 15 m. c. Find the work done by the normal force exerted by the incline on the crate.

Lecture 3: Acoustics

1. The diagram below shows the variation with time t of the velocity v of an object.

Extra Circular Motion Questions

Chapter 28. Direct Current Circuits

Lecture 2: Acoustics. Acoustics & sound

REVISING MECHANICS (LIVE) 30 JUNE 2015 Exam Questions

Thomas Whitham Sixth Form Mechanics in Mathematics

2010 F=ma Solutions. that is

0 t < 0 1 t 1. u(t) =

Numerical Solution of Nonlinear Differential Equations in Musical Synthesis

Study Guide Solutions

PHYSICAL SCIENCES: PAPER I

Module 13: Network Analysis and Directional Couplers

Some students failed to realise that the force in the diagram and resistance force in the graph referred only to the ship and not to the tugboat.

Chapter 3: Electric Current And Direct-Current Circuits

Engineering Fundamentals and Problem Solving, 6e

Distance travelled time taken and if the particle is a distance s(t) along the x-axis, then its instantaneous speed is:

AP Physics 1 Summer Assignment

This question was generally well done, although some students treated it as if the car was doing a vertical loop.

Summer AP Assignment 2016

ENGG 225. David Ng. Winter January 9, Circuits, Currents, and Voltages... 5

Practice Test for Midterm Exam

Lecture Sound Waves Review. Physics Help Q&A: tutor.leiacademy.org. Force on a Charge Moving in a Magnetic Field

System Modeling. Lecture-2. Emam Fathy Department of Electrical and Control Engineering

Q1. For the two physical quantities, impulse and force, which one of the following is correct?

Chapter 12. Magnetism and Electromagnetism

Review of Lectures 1, 2 and 3

Lecture 9: Reflection, Transmission and Impedance

EECS 117 Lecture 3: Transmission Line Junctions / Time Harmonic Excitation

Scattering. N-port Parallel Scattering Junctions. Physical Variables at the Junction. CMPT 889: Lecture 9 Wind Instrument Modelling

AP PHYSICS 1 BIG IDEAS AND LEARNING OBJECTIVES

4) Vector = and vector = What is vector = +? A) B) C) D) E)


MOMENTUM, IMPULSE & MOMENTS

0J2 - Mechanics Lecture Notes 2

PHYS1015 MOTION AND RELATIVITY JAN 2015 EXAM ANSWERS

Chapter 27. Current and Resistance

Chapter 6. Second order differential equations

Lecture #3. Review: Power

y(t) = y 0 t! 1 2 gt 2. With y(t final ) = 0, we can solve this for v 0 : v 0 A ĵ. With A! ĵ =!2 and A! = (2) 2 + (!

E246 Electronics & Instrumentation. Lecture 1: Introduction and Review of Basic Electronics

g E. An object whose weight on 6 Earth is 5.0 N is dropped from rest above the Moon s surface. What is its momentum after falling for 3.0s?

Lecture 7: Laplace Transform and Its Applications Dr.-Ing. Sudchai Boonto

Differential Equations and Linear Algebra Exercises. Department of Mathematics, Heriot-Watt University, Edinburgh EH14 4AS

North Carolina Essential Standards Assessment Examples Physics

A-level PHYSICS (7408/1)

Class 11 Physics NCERT Exemplar Solutions Motion in a Straight Line

Problem Weight Score Total 100

Thursday, August 4, 2011

ENGI9496 Modeling and Simulation of Dynamic Systems Bond Graphs

THE SYRINX: NATURE S HYBRID WIND INSTRUMENT

Solved Problems. Electric Circuits & Components. 1-1 Write the KVL equation for the circuit shown.

Lecture 9 Infinite Impulse Response Filters

2. What are the 4 steps of the Scientific Method as described by Mr. Martin?

AQA Forces Review Can you? Scalar and vector quantities Contact and non-contact forces Resolving forces acting parallel to one another

The graph shows how an external force applied to an object of mass 2.0 kg varies with time. The object is initially at rest.

A B = AB cos θ = 100. = 6t. a(t) = d2 r(t) a(t = 2) = 12 ĵ

Transient response of RC and RL circuits ENGR 40M lecture notes July 26, 2017 Chuan-Zheng Lee, Stanford University

physics for you February 11 Page 68

Electrical Circuits (2)

AP Physics C - E & M

CHAPTER 2 TEST REVIEW

PHYS225 Lecture 9. Electronic Circuits

AP Physics I Summer Work

Mechanics 1 Revision notes

Page 2. Example Example Example Jerk in a String Example Questions B... 39

Tuesday 24 May 2016 Morning Time allowed: 1 hour 30 minutes

Nov. 27, 2017 Momentum & Kinetic Energy in Collisions elastic collision inelastic collision. completely inelastic collision

Chapter 2 Direct Current Circuits

Louisiana State University Physics 2102, Exam 2, March 5th, 2009.

I Laplace transform. I Transfer function. I Conversion between systems in time-, frequency-domain, and transfer

General Physics - E&M (PHY 1308) - Lecture Notes. General Physics - E&M (PHY 1308) Lecture Notes

The... of a particle is defined as its change in position in some time interval.

Chapter 6 DIRECT CURRENT CIRCUITS. Recommended Problems: 6,9,11,13,14,15,16,19,20,21,24,25,26,28,29,30,31,33,37,68,71.

You should be able to demonstrate and show your understanding of:

HATZIC SECONDARY SCHOOL

PHYSICS. Hence the velocity of the balloon as seen from the car is m/s towards NW.

Transmission lines. Shouri Chatterjee. October 22, 2014

Exam 2 Solutions. PHY2054 Spring Prof. Paul Avery Prof. Pradeep Kumar Mar. 18, 2014

3. Kinetics of Particles

Mechanics. Time (s) Distance (m) Velocity (m/s) Acceleration (m/s 2 ) = + displacement/time.

Transcription:

Ideal String Struck by a Mass MUS420/EE367A Lecture 7 Mass Striking a String (Simplified Piano Model) Julius O. Smith III (jos@ccrma.stanford.edu) Center for Computer Research in Music and Acoustics (CCRMA) Department of Music, Stanford University Stanford, California 94305 March 24, 2014 Previously (and in the text), the ideal struck string was modeled as a simple initial velocity distribution along the ideal string: v (n) Bridge -1 c (x = Hammer Position) -1 v (n-n/2) Nut Outline v -(n) c - v (nn/2) Physical model Equivalent Circuit Impedance analysis Digital waveguide model (x = 0) (x = L) Hammer momentum transferred to string at time 0. Hammer gone after time 0 ( elastic collision ) We now derive a model in which the hammer strikes the string and remains in contact ( inelastic collision ) 1 2

Physical Model (Ideal String Struck by a Mass) Equivalent Circuit (Ideal String Struck by a Mass)... x = 0 ms v(t) x String infinitely long no gravity or air Wave impedance R Mass m strikes string at x = 0 (a single point!) Collision speed v 0 Horizontal motion neglected At time 0, our model switches from 1. mass-in-flight and ideal string, to 2. two ideal strings joined by mass m at x = 0 Note that the mass and two string-segment impedances are in series because they all move together... f m (t) - ms R v(t) R - - f R (t) f R (t) Mass = inductor of m Henrys (impedance ms) String endpoint = resistor of R Ohms (impedance R) One common velocity for all three elements series Series order is arbitrary Note that string wave impedance appears twice Polarity (reference direction) for each element defines positive current for that element: Current is positive when flowing from to Positive current corresponds to a positive voltage drop 3 4

Equivalent Circuit Analysis f m (t) - ms R v(t) Kirchoff s Loop Rule: So R - - f R (t) f R (t) The sum of voltages ( forces ) around any series loop is zero Laplace transform: f m (t)f R (t)f R (t) = 0 F m (s)2f R (s) = 0, Laplace Transform Analysis From the equivalent circuit, we derived where F m (s)2f R (s) = 0, F m (s) = Laplace transform of upward mass force F R (s) = Laplace transform of upward force on each string segment Recall: F m (s) = L s {f m } = Equations of motion for elements: String: 0 f m (t)e st dt f R (t) = Rv(t) F R (s) = RV(s) where V(s) = L s {v} is the Laplace transform of v(t) Mass: f m (t) = ma(t) = m v(t) F m (s) = m[sv(s) v 0 ] (recall the Laplace-transform differentiation theorem) 5 6

Motion from Initial Conditions Observations From the equivalent circuit, we derived where Substituting gives Solving for V(s) gives F m (s)2f R (s) = 0 F R (s) = RV(s) F m (s) = msv(s) mv 0 msv(s) mv 0 2RV(s) = 0 V(s) = mv 0 Since e at u(t) 1 sa (where u(t) = unit step function), we find the velocity of the mass-string contact point to be We derived that the velocity of the mass-string contact point is v(t) = v 0 e 2R m t, t 0 At time zero the mass velocity is v 0, as it must be Velocity decays exponentially to zero with time-constant m/2r Decay rate is proportional to R/m Since R = Kǫ, decay is faster if either string tension K or mass-density ǫ is increased String displacement at x = 0 is given by the integral of transverse velocity: t m ] y(t,0) = v(τ)dτ = v 0 [1 e 2R m t 2R 0 where we define initial displacement to be y(0,0) = 0 v(t) = v 0 e 2R m t, t 0 7 8

Momentum Transfer Force applied to the two string endpoints by the mass is given by f m (t) = 2Rv(t) From Newton s Law, f = ma = m v, momentum mv is the time integral of force: t t ( ) f m (τ)dτ = 2R v(τ)dτ = mv 0 1 e 2R m t 0 0 Thus, momentum delivered to the string by the mass starts at zero and grows as a relaxing exponential to mv 0 as t Inelastic mass-string collision is not an instantaneous momentum transfer Mass momentum transfers exponentially over time This is why contact width can be zero In a real piano, the hammer, which strikes in an upward direction, falls away from the string a short time after collision, but it may remain in contact with the string for a substantial fraction of a period Looking at the Mass from the String Model: Mass divides string into two segments String segment model = digital waveguide Mass model = scattering junction Force Equation: where f m (t)f 1m (t)f 2m (t) = 0, f 1m (t) = force applied by string-segment 1 to the mass f 2m (t) = force applied by string-segment 2 to the mass f m (t) = mass inertial force Force is positive in the up direction 9 10

Force Equation: Force Wave Variables f m (t)f 1m (t)f 2m (t) = 0, Traveling-Wave Decomposition of String Force: String Force: where f 1 (t,x) = f 1 (t x/c)f 1 (tx/c) f 2 (t,x) = f 2 (t x/c)f 2 (tx/c) K = string tension y = string slope f(t,x) = Ky (t,x) Note that string force pulls up to the right. That is, a string segment with negative slope pulls up to the right and down to the left: In the present problem, our force equation f m (t)f 1m (t)f 2m (t) = 0, becomes, in terms of mass inertial force and string forces: m v(t)ky 1(t,0) Ky 2(t,0) = 0 or, using string force-wave notation: f m (t) f 1 (t)f 2 (t) = 0 These force relations can be checked individually: For string 1, m v(t)ky 1(t,0) = 0 = positive slope on left accelerates mass down For string 2, m v(t) Ky 2(t,0) = 0 = positive slope on right accelerates mass up... f f... 11 12

Above we derived Digital Waveguide Model f m (t) f 1 (t)f 2 (t) = 0 We now perform the traveling-wave decompositions f 1 = f 1 f 1 f 2 = f 2 f 2 and apply the Ohm s law relations f i = Rv i f i = Rv i, i = 1,2 to obtain a digital waveguide model By symmetry, the mass must look identical from either string segment 1 or 2 Therefore, let f 2 In the Laplace domain, we have 0 and excite from string 1 0 = F m F 1 F 2 = F m (F 1 F 1 )F 2 (since F 2 = 0) 13 We just derived DWM, Cont d F m (s) F 1 (s)f 1 (s)f 2 (s) = 0 (no incoming wave from string 2) Substitute to obtain F i (s) = RV i (s) Fi (s) = RVi (s) F m (s) = msv(s) msv RV 1 RV 1 RV 2 = 0 We always have V = V 1 V 1 = V 2 V 2 (series combination) Since V2 = 0, we have V 2 = V, and (Rms)V RV 1 RV1 = 0 (Rms)(V 1 V1 ) RV 1 RV1 = 0. Solving for the velocity reflection transfer function (or velocity reflectance) of the mass from string 1 gives ρ v 1 = V 1 V 1 = ms 14

By physical symmetry, the mass looks the same from string 2: ρ v 2 = V 2 V2 = ρ v 1 = ms (reflectance of a mass m at the end of a string of wave impedance R) Limiting Behavior: When m = 0, reflectance is zero (no reflected wave) When m, ρ v 1 1 (rigid termination) Simplified Impedance Analysis The above results are quickly derived from the general reflection-coefficient for force waves (or voltage waves, pressure waves, etc.): ρ = R 2 R 1 Impedance Step = R 2 R 1 Impedance Sum where ρ = reflection coefficient of impedance R 2 as seen from impedance R 1 When a force wave crosses from impedance R 1 to R 2 it splits into 1. a reflected wave f = ρf in R 1, and 2. a transmitted wave (1ρ)f in R 2 Therefore, a velocity wave v splits into 1. reflected wave v = ρv and 2. transmitted wave (1 ρ)v These relations are of course unchanged in the Laplace domain, by linearity of the Laplace transform. 15 16

Mass Reflectance Mass Transmittance In the mass-string-collision problem, we can immediately write down the force reflectance of the mass: ˆρ(s) = R massstring R string R massstring R string = (msr) R (msr)r = The velocity reflectance is simply ˆρ(s), since ˆρ(s) = F F = RV RV = V V Simplified impedance analysis is a nice shortcut Be careful to correctly identify the impedance jump ms Force transmittance is similarly derived: ˆτ f (s) = F F = F F F as is velocity transmittance: ˆτ v (s) = V V = V V V For the mass-on-string problem: = 1 F = 1 ˆρ(s) F = 1 V = 1 ˆρ(s) V ms ˆτ f (s) = 1 ˆρ(s) = 1 = 2 msr ˆτ v (s) = 1 ˆρ(s) = 1 ms = 2R Limiting Behavior: For m = 0, both transmission filters become 1, as expected For m =, ˆτ v (s) 0, which makes good physical sense (infinite mass = rigid termination) For m =, ˆτ f (s) 2! Recall that signal power is force times velocity 17 18

Wave Scattering by a Mass on a String One-Filter Scattering Junction We have derived the reflectance and transmittance of a mass m as seen from either string at impedance R. We can now derive the complete scattering relations: For force waves, the outgoing waves are F 1 (s) = ˆρ(s)F 1 (s) ˆτ f (s)f 2 (s) F 2 (s) = ˆτ f (s)f 1 (s) ˆρ(s)F 2 (s) where the incoming waves are F 1 and F 2, and ms ˆρ(s) = (force reflectance) ˆτ f (s) = 1 ˆρ(s) = 2(msR) (force transmittance) We may say that the mass creates a dynamic scattering junction on the string The scattering relations above can be said to be in Kelly-Lochbaum form. The general relation ˆτ f = 1 ˆρ can be used to simplify to a one-filter dynamic scattering junction F 1 = ˆρF 1 (1 ˆρ)F 2 = F 2 ˆρ (F 1 F 2 ) F 2 = (1 ˆρ)F 1 ˆρF 2 = F 1 ˆρ (F 1 F 2 ) The one-filter form follows from the observation that ˆρ (F 1 F 2 ) appears in both computations, and therefore need only be implemented once: F = ˆρ (F 1 F 2 ) F 1 = ˆρF 1 (1 ˆρ)F 2 = F 2 F F 2 = (1 ˆρ)F 1 ˆρF 2 = F 1 F Signal Flow Diagram: f 1 (t) f 2 (t) f (t) ˆρ(s) f 1 (t) f 2 (t) 19 20

Digital Waveguide Model: Ideal String Struck by a Mass We have derived an analog waveguide model for the ideal string struck by an ideal mass. We now digitize that model. s implemented using digital delay lines Mass reflectance digitize using the bilinear transform Force waves chosen Mass Reflectance: ms ˆρ(s) = = 1 1 2R ms Bilinear Transform: s = 2 1 z 1 T 1z 1 where T = sampling interval, yields (1) where Digitized Mass Reflectance ˆρ d (z) = g 1 z 1 1 pz 1 g = 1 1 RT m < 1 p = RT 1 m 1 RT < 1 m Thus, the mass reflectance is a one-pole, one-zero filter: Zero at dc Real pole close to dc at high sampling rates Unity gain at f s /2 Classic dc-blocking filter ˆρ d (z) = 1 2R m 1 = g 1 z 1 T 1z 1 1 pz 1 2 1 z 1 21 22

Why is the Mass Reflectance a DC-Blocker? Final Digital Waveguide Model (Mass-Terminated String) Physical intuition: The mass reflectance is zero at dc because sufficiently slow force waves can freely move a mass of any finite size R dominates f 1 (n) f (n) ˆρ d (z) f 2 (n) The reflectance is 1 at infinite frequency because there is no time for the mass to move before it is pushed in the opposite direction f 1 (n) ˆρ d (z) f 2 (n) In summary, the mass becomes a rigid termination at infinite frequency, and negligible at zero frequency i.e., the mass reflectance is a dc blocker. g p z 1 Final Notes Mass reflectance uses a warped, unaliased frequency axis (due to the bilinear transform) it can be viewed as a Wave Digital Filter (WDF) mass model lines use an unwarped, aliased frequency axis (simple sampling) digital waveguide model Frequency axes align well at low frequencies, or given sufficient oversampling 23 24

Mass model is 1st-order in both analog and digital domains A higher order digital filter can be used for the mass to improve frequency response accuracy at high frequency Antisymmetric FIR preserves purely imaginary phase Keep impedance phase within ( π/2, π/2) for passivity Example: https://ccrma.stanford.edu/~jos/finitedifferen 25