MUS420 Lecture Mass Striking a String (Simplified Piano Model)

Similar documents
Ideal String Struck by a Mass

CMPT 889: Lecture 8 Digital Waveguides

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

Music 206: Digital Waveguides

Cylinder with Conical Cap

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

Tutorial on Wave Digital Filters

St. Joseph s Anglo-Chinese School

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

Extra Circular Motion Questions

Thomas Whitham Sixth Form Mechanics in Mathematics

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

CMPT 889: Lecture 9 Wind Instrument Modelling

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)

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

Lecture 3: Acoustics

REVISING MECHANICS (LIVE) 30 JUNE 2015 Exam Questions

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

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

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

Lecture 2: Acoustics. Acoustics & sound

Chapter 28. Direct Current Circuits

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

Numerical Solution of Nonlinear Differential Equations in Musical Synthesis

2010 F=ma Solutions. that is

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

Study Guide Solutions

PHYSICAL SCIENCES: PAPER I

Lecture 9: Reflection, Transmission and Impedance

Module 13: Network Analysis and Directional Couplers

PHYS1015 MOTION AND RELATIVITY JAN 2015 EXAM ANSWERS

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

MOMENTUM, IMPULSE & MOMENTS

Engineering Fundamentals and Problem Solving, 6e

Summer AP Assignment 2016

Class 11 Physics NCERT Exemplar Solutions Motion in a Straight Line

AP Physics 1 Summer Assignment

North Carolina Essential Standards Assessment Examples Physics

physics for you February 11 Page 68

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

Practice Test for Midterm Exam

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.

AP Physics C - E & M

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

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

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

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

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


Physics 2514 Lecture 26

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

= y(x, t) =A cos (!t + kx)

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

0J2 - Mechanics Lecture Notes 2

Chapter 27. Current and Resistance

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

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

Chapter 6. Second order differential equations

1. Which one of the following situations is an example of an object with a non-zero kinetic energy?

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 + (!

PRACTICE TEST for Midterm Exam

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?

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

A-level PHYSICS (7408/1)

Problem Weight Score Total 100

Lecture 9 Infinite Impulse Response Filters

Answers to examination-style questions. Answers Marks Examiner s tips

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

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

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

Electrical Circuits (2)

CHAPTER 2 TEST REVIEW

PHYS225 Lecture 9. Electronic Circuits

Mechanics 1 Revision notes

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

Chapter 2: FORCE and MOTION

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

11. (7 points: Choose up to 3 answers) What is the tension,!, in the string? a.! = 0.10 N b.! = 0.21 N c.! = 0.29 N d.! = N e.! = 0.

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

AAPT UNITED STATES PHYSICS TEAM AIP 2008

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.

Wallace Hall Academy

Transmission lines. Shouri Chatterjee. October 22, 2014

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.

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

Transcription:

MUS420 Lecture 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 February 26, 2019 Outline Physical model Equivalent Circuit Impedance analysis Digital waveguide model 1

Ideal String Struck by a Mass The ideal struck string is modeled as a simple initial velocity distribution along the ideal string: v + (n) c v + (n-n/2) Bridge -1 (x = Hammer Position) -1 Nut v -(n) c - v (n+n/2) (x = 0) (x = L) Hammer momentum transferred to string at time 0 Hammer has bounced away after time 0 ( elastic collision ) We now derive a model in which the hammer strikes the string and remains in contact ( inelastic collision ) 2

Physical Model (Ideal String Struck by a Mass) x = 0 x... ms v(t)... 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 3

Equivalent Circuit (Ideal String Struck by a Mass) 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 4

Equivalent Circuit Analysis f m (t) + - ms + R v(t) R Kirchoff s Loop Rule: - + - f R (t) f R (t) The sum of voltages ( forces ) around any series loop is zero So f m (t)+f R (t)+f R (t) = 0 Laplace transform: F m (s)+2f R (s) = 0, 5

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) 6

Motion from Initial Conditions 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 ms+2r Since e at u(t) 1 s+a (where u(t) = unit step function), we find the velocity of the mass-string contact point to be v(t) = v 0 e 2R m t, t 0 7

Observations 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 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 9

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 10

Force Wave Variables Force Equation: 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 (t+x/c) f 2 (t,x) = f + 2 (t x/c)+f 2 (t+x/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:... f f... 11

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 12

Digital Waveguide Model Above we derived 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

DWM, Cont d We just derived 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 (R+ms)V RV 1 + +RV1 = 0 (R+ms)(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 ms+2r 14

By physical symmetry, the mass looks the same from string 2: ρ v 2 = V 2 + V2 = ρ v 1 = ms ms+2r (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) 15

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 R 2 +R 1 = Impedance Step 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. 16

Mass Reflectance In the mass-string-collision problem, we can immediately write down the force reflectance of the mass: ˆρ(s) = R mass+string R string R mass+string +R string = (ms+r) R (ms+r)+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 ms+2r 17

Mass Transmittance 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+ ms+2r = 2 ms+r ms+2r ˆτ v (s) = 1 ˆρ(s) = 1 ms ms+2r = 2R 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 18

Wave Scattering by a Mass on a String 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) ms+2r ˆτ f (s) = 1+ ˆρ(s) = 2(ms+R) (force transmittance) ms+2r We may say that the mass creates a dynamic scattering junction on the string 19

One-Filter Scattering Junction 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: Delay f + 1 (t) f + 2 (t) Delay f + (t) ˆρ(s) Delay f 1 (t) f 2 (t) Delay 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. Delays implemented using digital delay lines Mass reflectance digitize using the bilinear transform Force waves chosen Mass Reflectance: ˆρ(s) = Bilinear Transform: ms ms+2r = 1 1+ 2R ms s = 2 1 z 1 T 1+z 1 where T = sampling interval, yields (1) ˆρ d (z) = 1+ 2R m 1 = g 1 z 1 T 1+z 1 1 pz 1 2 1 z 1 21

Digitized Mass Reflectance where ˆρ 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 22

Why is the Mass Reflectance a DC-Blocker? 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 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 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. 23

Final Digital Waveguide Model (Mass-Terminated String) Delay f + 1 (n) f + 2 (n) Delay f + (n) ˆρ d (z) Delay f 1 (n) f 2 (n) Delay ˆρ d (z) 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 Delay lines use an unwarped, aliased frequency axis (simple sampling) digital waveguide model Frequency axes align well at low frequencies, or given sufficient oversampling 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